mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
18 lines
425 B
TypeScript
18 lines
425 B
TypeScript
import Navbar from "@/components/Navbar";
|
|
import Footer from "@/components/Footer";
|
|
import { ReactNode } from "react";
|
|
|
|
export default function Layout({
|
|
children, // will be a page or nested layout
|
|
}: {
|
|
children: ReactNode;
|
|
}) {
|
|
return (
|
|
<div className="h-screen min-h-[600px] bg-white dark:bg-gray-800 font-sans leading-normal tracking-normal">
|
|
<Navbar />
|
|
{children}
|
|
<Footer />
|
|
</div>
|
|
);
|
|
}
|