diff --git a/site/src/components/footer.js b/site/src/components/footer.js index 73a1c8b..90be795 100644 --- a/site/src/components/footer.js +++ b/site/src/components/footer.js @@ -1,7 +1,18 @@ import React from "react"; import { Link } from "gatsby"; +import { useStaticQuery, graphql } from "gatsby"; export default function footer() { + const data = useStaticQuery(graphql` + query FooterQuery { + site { + siteMetadata { + title + } + } + } + `); + return (
@@ -11,7 +22,7 @@ export default function footer() { to="/" className="no-underline text-gray-700 hover:text-gray-500" > - © SketchXConf 2020 + ©{data.site.siteMetadata.title}