-
-
Save canertuzunar/40d28e39a1c6bf7989acc2db7b3243b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const data = useStaticQuery(graphql` | |
query HeaderQuery { | |
site { | |
siteMetadata { | |
title | |
} | |
} | |
} | |
`) | |
return ( | |
<header> | |
<h1>{data.site.siteMetadata.title}</h1> | |
</header> | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment