/**
 * Layout component that queries for data
 * with Gatsby's useStaticQuery component
 *
 * See: https://www.gatsbyjs.com/docs/how-to/querying-data/use-static-query/
 */

import React from "react"

import Header from "./Header"
import Footer from "./Footer"

const Layout = ({menu, children }) => {

    return (
        <>
            <Header/>
            <div>
                <main>{children}</main>
            </div>
            <Footer/>
        </>
    )
}

export default Layout
