15 lines
292 B
JavaScript
15 lines
292 B
JavaScript
|
import Head from "next/head";
|
||
|
import NavBar from "./NavBar.jsx";
|
||
|
|
||
|
export default function Layout({children, page}){
|
||
|
return (<>
|
||
|
<Head>
|
||
|
<title>{page}</title>
|
||
|
</Head>
|
||
|
<header>
|
||
|
<NavBar />
|
||
|
</header>
|
||
|
{children}
|
||
|
|
||
|
</>)
|
||
|
}
|