feat: global shell — header, footer, sidebars, and layout integration

This commit is contained in:
zetaloop
2026-02-20 13:27:33 +08:00
parent 02cd8a23df
commit f7c76db00f
9 changed files with 520 additions and 36 deletions
+9 -11
View File
@@ -1,16 +1,14 @@
import { AccountSidebar } from "@/components/account-sidebar"
import { Header } from "@/components/header"
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 className="flex min-h-screen flex-col">
<Header />
<div className="flex flex-1">
<AccountSidebar />
<main className="flex-1 p-6">{children}</main>
</div>
</div>
)
}