text: import React from "react"
  import PropTypes from "prop-types"
  
  import Header from "./header"
  import "./layout.css"
  
  const Layout = ({ children }) => {
  
    return (
      <>
        <Header />
          <main>{children}</main>
          <footer>
            © {new Date().getFullYear()}, Built by
            {` `}
            <a href="https://davidwalsh.dev">David Walsh</a>
          </footer>
      </>
    )
  }
  
  Layout.propTypes = {
    children: PropTypes.node.isRequired,
  }
  
  export default Layout
  