text: // @flow
  // delete & creat Icons
  import { useStaticQuery, graphql } from 'gatsby';
  
  const useSiteMetadata = () => {
    const { site } = useStaticQuery(
      graphql`
        query SiteMetaData {
          site {
            siteMetadata {
              author {
                name
                bio
                photo
                contacts {
                  email
                  github
                }
              }
              menu {
                label
                path
              }
              url
              title
              subtitle
              copyright
              disqusShortname
            }
          }
        }
      `
    );
  
    return site.siteMetadata;
  };
  
  export default useSiteMetadata;
  