feat(ui): unify content shell layout

This commit is contained in:
zetaloop
2026-04-26 01:53:15 +08:00
parent 30c336345e
commit 58dc001146
16 changed files with 42 additions and 39 deletions
+2 -4
View File
@@ -12,11 +12,9 @@ export default function OrderLayout({ children }: { children: React.ReactNode })
)
return (
<div className="flex min-h-screen flex-col">
<div className="flex min-h-screen flex-col bg-muted/20">
<Header />
<main className="flex-1 bg-muted/30">
{shouldGuard ? <AuthGuard>{children}</AuthGuard> : children}
</main>
<main className="flex-1">{shouldGuard ? <AuthGuard>{children}</AuthGuard> : children}</main>
</div>
)
}