text: import React from "react"
  import { useStaticQuery, graphql } from "gatsby"
  
  const Header = () => {
    const data = useStaticQuery(graphql`
      query SiteTitleQuery {
        site {
          siteMetadata {
            title
          }
        }
      }
    `)
  
    return (
      <header>
        <h1>{data.site.siteMetadata.title}</h1>
      </header>
    )
  }
  
  export default Header
  