text: import React from 'react'
  import { StaticQuery, graphql } from 'gatsby'
  import Helmet from 'react-helmet'
  
  import Header from './header'
  import Footer from './Footer'
  import favicon from '../images/favicon.ico'
  
  import './index.css'
  require('typeface-montserrat')
  require('typeface-merriweather')
  
  const Layout = ({ children }) => (
    <StaticQuery
      query={graphql`
        query HeadingQuery {
          site {
            siteMetadata {
              title
            }
          }
        }
      `}
      render={data => (
        <>
          <Helmet
            title={data.site.siteMetadata.title}
            meta={[
              { name: 'description', content: 'Sample' },
              { name: 'keywords', content: 'sample, something' },
            ]}
            link={[
                {"rel": "icon", 
                 "type": "image/png", 
                 "href": favicon
                }
               ]}
          />
          <Header siteTitle={data.site.siteMetadata.title} />
          <div>{children}</div>
          <Footer />
        </>
      )}
    />
  )
  
  export default Layout
  