13 lines
333 B
JavaScript
13 lines
333 B
JavaScript
import React from "react"
|
|
import Nav from "../components/nav"
|
|
import Footer from "../components/footer"
|
|
import layoutStyles from "./layout.module.css"
|
|
|
|
export default ({ path, editLink, children }) => (
|
|
<>
|
|
<Nav path={path} />
|
|
<div className={layoutStyles.layout}>{children}</div>
|
|
<Footer editLink={editLink} />
|
|
</>
|
|
)
|