text: import React from 'react';
  import {graphql, useStaticQuery} from 'gatsby';
  import footerStyles from './footer.module.scss'
  
  const Footer = () => {
      const data = useStaticQuery(graphql`
      query {
          site {
              siteMetadata {
                  author
              }
          }
      }
    `)
      return ( 
          <footer className={footerStyles.footer}>
              <p>Posted by {data.site.siteMetadata.author}, &copy; 2021</p>
          </footer>
       );
  }
   
  export default Footer;