blob: 433f464a3d80559bda24e2158e76c095582d2462 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
import Link from "next/link"
export default function AuthLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<div className="flex min-h-screen flex-col">
<header className="flex items-center justify-between border-b border-border px-6 py-3">
<Link href="/" className="text-text-primary">
asa.news
</Link>
<Link
href="/"
className="text-text-secondary transition-colors hover:text-text-primary"
>
home
</Link>
</header>
<div className="flex flex-1 items-center justify-center px-4">
<div className="w-full max-w-sm space-y-6">{children}</div>
</div>
</div>
)
}
|