Generateurv2/frontend/components/Layout.js
2022-06-24 13:42:16 +02:00

18 lines
308 B
JavaScript

import Head from "next/head";
import NavBar from "./NavBar.jsx";
export default function Layout({ children, page }) {
return (
<>
<Head>
<title>{page}</title>
</Head>
<main className="container">
<NavBar />
{children}{" "}
</main>
</>
);
}