mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-08 06:28:37 +00:00
16 lines
433 B
TypeScript
16 lines
433 B
TypeScript
import { SiteFooter } from "@/components/site-footer"
|
|
import { SiteHeader } from "@/components/site-header"
|
|
|
|
export default function AppLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<div
|
|
data-slot="layout"
|
|
className="bg-background relative z-10 flex min-h-svh flex-col"
|
|
>
|
|
<SiteHeader />
|
|
<main className="flex flex-1 flex-col">{children}</main>
|
|
<SiteFooter />
|
|
</div>
|
|
)
|
|
}
|