text: import React from 'react';
  import PropTypes from 'prop-types';
  import Helmet from 'react-helmet';
  import { StaticQuery, graphql } from 'gatsby';
  
  import '../../assets/styles/sass/main.scss';
  
  const Layout = ({ children }) => (
    <StaticQuery
      query={graphql`
        query SiteTitleQuery {
          site {
            siteMetadata {
              title
            }
          }
        }
      `}
      render={data => (
        <>
          <Helmet
            title={data.site.siteMetadata.title}
            meta={[
              { name: 'description', content: 'Hyperspace' },
              { name: 'keywords', content: 'site, web' },
            ]}
          >
            <html lang="en" />
          </Helmet>
          <div>{children}</div>
        </>
      )}
    />
  );
  
  Layout.propTypes = {
    children: PropTypes.node.isRequired,
  };
  
  export default Layout;