18 lines
626 B
TypeScript
18 lines
626 B
TypeScript
'use client'
|
|
import { useEffect } from 'react'
|
|
|
|
export default function SettingsPage() {
|
|
// 自動重新導向到個人檔案頁面
|
|
useEffect(() => {
|
|
window.location.href = '/profile'
|
|
}, [])
|
|
|
|
return (
|
|
<div className="min-h-screen bg-gradient-to-br from-blue-50 to-indigo-100 flex items-center justify-center">
|
|
<div className="bg-white rounded-xl shadow-lg p-8 text-center">
|
|
<div className="animate-spin rounded-full h-8 w-8 border-b-2 border-blue-600 mx-auto mb-4"></div>
|
|
<p className="text-gray-600">正在跳轉到個人檔案頁面...</p>
|
|
</div>
|
|
</div>
|
|
)
|
|
} |