's'
This commit is contained in:
17
app/components/Layout.tsx
Normal file
17
app/components/Layout.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { ReactNode } from 'react'
|
||||
import Header from './Header'
|
||||
import Footer from './Footer'
|
||||
|
||||
interface LayoutProps {
|
||||
children: ReactNode
|
||||
}
|
||||
|
||||
export default function Layout({ children }: LayoutProps) {
|
||||
return (
|
||||
<div className="flex flex-col min-h-screen">
|
||||
<Header />
|
||||
<main className="flex-grow">{children}</main>
|
||||
<Footer />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user