19 lines
329 B
TypeScript
19 lines
329 B
TypeScript
import { Header } from '@/widgets/header'
|
|
import { Footer } from '@/widgets/footer'
|
|
|
|
export default function SiteLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<>
|
|
<Header />
|
|
<main className="flex-1 pt-[var(--header-height)]">
|
|
{children}
|
|
</main>
|
|
<Footer />
|
|
</>
|
|
)
|
|
}
|