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
+8 -1
View File
@@ -1,3 +1,10 @@
import { Header } from "@/components/header"
export default function OrderLayout({ children }: { children: React.ReactNode }) {
return <div className="min-h-screen bg-muted/30">{children}</div>
return (
<div className="flex min-h-screen flex-col">
<Header />
<main className="flex-1 bg-muted/30">{children}</main>
</div>
)
}