feat: route structure, providers, layouts, and placeholder pages
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
export default function AccountLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<div className="flex min-h-screen">
|
||||
<aside className="w-64 border-r bg-muted/30 p-4">
|
||||
<h2 className="mb-4 text-lg font-semibold">账号设置</h2>
|
||||
<nav className="space-y-2 text-sm text-muted-foreground">
|
||||
<div>个人资料</div>
|
||||
<div>钱包</div>
|
||||
<div>通知</div>
|
||||
<div>身份认证</div>
|
||||
</nav>
|
||||
</aside>
|
||||
<main className="flex-1 p-6">{children}</main>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
export default function NotificationsPage() {
|
||||
return (
|
||||
<div>
|
||||
<h1 className="text-2xl font-bold">通知中心</h1>
|
||||
<p className="mt-2 text-muted-foreground">订单通知、社区通知、系统通知</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
export default function SettingsPage() {
|
||||
return (
|
||||
<div>
|
||||
<h1 className="text-2xl font-bold">个人设置</h1>
|
||||
<p className="mt-2 text-muted-foreground">资料编辑、身份切换、联系方式、通知偏好</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
export default function VerifyPage() {
|
||||
return (
|
||||
<div>
|
||||
<h1 className="text-2xl font-bold">身份认证</h1>
|
||||
<p className="mt-2 text-muted-foreground">申请打手或店主身份认证</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
export default function WalletPage() {
|
||||
return (
|
||||
<div>
|
||||
<h1 className="text-2xl font-bold">钱包</h1>
|
||||
<p className="mt-2 text-muted-foreground">充值、余额、支付记录、收入明细、提现</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user