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 Helmet from 'react-helmet';
  
  import Footer from './footer';
  
  import './normalize.css';
  import './layout.css';
  
  const Layout = ({ children }) => {
    return (
      <>
        <Helmet>
          <link
            href="https://fonts.googleapis.com/css?family=Chivo:400,700&display=swap"
            rel="stylesheet"
          />
        </Helmet>
        <main>{children}</main>
        <Footer />
      </>
    );
  };
  
  Layout.propTypes = {
    children: PropTypes.node.isRequired,
  };
  
  export default Layout;
  