feat(ui): unify content shell layout
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user