18 lines
371 B
TypeScript
18 lines
371 B
TypeScript
import Navigation from "./Navigation";
|
|
import Footer from "./Footer";
|
|
|
|
interface LayoutProps {
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
export default function Layout({ children }: LayoutProps) {
|
|
return (
|
|
<div className="min-h-screen flex flex-col">
|
|
<Navigation />
|
|
<main className="flex-grow">
|
|
{children}
|
|
</main>
|
|
<Footer />
|
|
</div>
|
|
);
|
|
}
|