text: import React from "react"
  import Layout from "../components/layout"
  import contactModule from "../styles/contact.module.scss"
  import { graphql, useStaticQuery } from "gatsby"
  
  const Contact = props => {
    const data = useStaticQuery(graphql`
      {
        site {
          siteMetadata {
            github
          }
        }
      }
    `)
    return (
      <Layout header="white">
        <div className={`container text-center ${contactModule.contact__main}`}>
          <h1 className={`${contactModule.contact__h1}`}>Contact me</h1>
          <p className={`${contactModule.contact__p}`}>
            If you want to talk, you can find me at:
          </p>
          <p className={`email ${contactModule.contact__email}`}>
            <b>hello@developer.com</b>
          </p>
          <p>
            <a href={`${data.site.siteMetadata.github}`}>
              <span className={`fa fa-github ${contactModule.github}`} />
            </a>
          </p>
        </div>
      </Layout>
    )
  }
  
  export default Contact
  