text: /**
   * Layout component that queries for data
   * with Gatsby's useStaticQuery component
   *
   * See: https://www.gatsbyjs.org/docs/use-static-query/
   */
  
  import React from 'react'
  import PropTypes from 'prop-types'
  import './layout.css'
  
  const Layout = ({ children }) => {
    return (
      <>
        <div>
          <main>{children}</main>
          <footer>
            <p>Robert Agthe</p>
          </footer>
        </div>
      </>
    )
  }
  
  Layout.propTypes = {
    children: PropTypes.node.isRequired
  }
  
  export default Layout
  