feat: route structure, providers, layouts, and placeholder pages
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
export default function AuthLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<div className="flex min-h-screen items-center justify-center bg-muted/30">
|
||||
<div className="w-full max-w-md rounded-lg border bg-background p-6 shadow-sm">
|
||||
{children}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
export default function LoginPage() {
|
||||
return (
|
||||
<div>
|
||||
<h1 className="text-2xl font-bold">登录</h1>
|
||||
<p className="mt-2 text-sm text-muted-foreground">登录你的聚玩账号</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
export default function RegisterPage() {
|
||||
return (
|
||||
<div>
|
||||
<h1 className="text-2xl font-bold">注册</h1>
|
||||
<p className="mt-2 text-sm text-muted-foreground">创建你的聚玩账号</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user