WIP, psts in place, parsing mostly correclty
This commit is contained in:
@@ -1,11 +1,19 @@
|
||||
import React from "react";
|
||||
import Header from './header';
|
||||
import Footer from './footer';
|
||||
import Nav from './nav';
|
||||
|
||||
export default function Layout({ children }) {
|
||||
return (
|
||||
<body>
|
||||
<div>
|
||||
<Header />
|
||||
{children}
|
||||
</body>
|
||||
<Nav />
|
||||
<main>
|
||||
<div className="container">
|
||||
{children}
|
||||
</div>
|
||||
</main>
|
||||
<Footer />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user