Generateurv2/frontend/components/Layout.js

18 lines
308 B
JavaScript
Raw Normal View History

2022-05-18 10:15:54 +02:00
import Head from "next/head";
import NavBar from "./NavBar.jsx";
2022-06-11 23:39:03 +02:00
export default function Layout({ children, page }) {
return (
<>
<Head>
<title>{page}</title>
</Head>
2022-06-24 13:42:16 +02:00
<main className="container">
2022-06-11 23:39:03 +02:00
<NavBar />
2022-06-24 13:42:16 +02:00
{children}{" "}
</main>
2022-06-11 23:39:03 +02:00
</>
);
}