2020-03-04 00:56:39 +00:00
|
|
|
import React from 'react'
|
|
|
|
import Nav from '../components/nav'
|
|
|
|
import Footer from '../components/footer'
|
|
|
|
import layoutStyles from './layout.module.css'
|
2019-12-11 21:34:32 +00:00
|
|
|
|
2020-01-23 20:28:26 +00:00
|
|
|
export default ({ path, editLink, children }) => (
|
2019-12-11 21:34:32 +00:00
|
|
|
<>
|
2020-01-23 20:28:26 +00:00
|
|
|
<Nav path={path} />
|
2020-01-23 21:06:44 +00:00
|
|
|
<main className={layoutStyles.layout}>
|
|
|
|
<article>{children}</article>
|
|
|
|
</main>
|
2019-12-14 16:10:54 +00:00
|
|
|
<Footer editLink={editLink} />
|
2019-12-11 21:34:32 +00:00
|
|
|
</>
|
|
|
|
)
|