text: import React from 'react'
  import PropTypes from 'prop-types'
  import Helmet from 'react-helmet'
  import { graphql, StaticQuery } from 'gatsby'
  import './layout.scss'
  import Navbar from './navbar/navbar'
  import Footer from './footer/footer'
  import favicon from '../images/blockstart-favicon.png'
  
  const Layout = ({ children }) => (
    <StaticQuery
      query={graphql`
        query SiteTitleQuery {
          site {
            siteMetadata {
              title
            }
          }
        }
      `}
      render={data => (
        <>
          <Helmet
            title={data.site.siteMetadata.title}
            meta={[
              { name: 'description', content: 'Sample' },
              { name: 'keywords', content: 'sample, something' },
            ]}
          >
            <link rel="shortcut icon" type="image/png" href={favicon}/>
            <html lang="en"/>
          </Helmet>
          <Navbar/>
          {children}
          <Footer/>
        </>
      )}
    />
  )
  
  Layout.propTypes = {
    children: PropTypes.node.isRequired,
  }
  
  export default Layout
  