diff --git a/gatsby-config.js b/gatsby-config.js index a35f225..4c6142a 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -3,12 +3,13 @@ const siteUrl = "https://dcbot.tribalwarshelp.com"; module.exports = { siteMetadata: { title: `TWHelp Discord Bot`, - description: `Discord bot for online game Tribalwars. | Notifications about lost/conquered village in near real-time.`, + description: `Discord bot for online game Tribalwars. | Real-time notifications about lost/conquered village.`, siteUrl, twhelpUrl: "https://tribalwarshelp.com", botInviteUrl: "https://discord.com/oauth2/authorize?client_id=707859810900508703&scope=bot&permissions=8", languages: ["en", "pl"], + author: "Dawid WysokiƄski", }, plugins: [ `gatsby-plugin-react-helmet`, diff --git a/src/components/Layout/Footer.js b/src/components/Layout/Footer.js index f55a1d3..d1c3361 100644 --- a/src/components/Layout/Footer.js +++ b/src/components/Layout/Footer.js @@ -25,7 +25,7 @@ const locales = { }, }; -function Footer({ title, lang }) { +function Footer({ author, lang }) { const classes = useStyles(); const translations = locales[lang] || locales["en"]; @@ -38,7 +38,7 @@ function Footer({ title, lang }) { svgbackgrounds.com - .
© {new Date().getFullYear()} {title} + .
© {new Date().getFullYear()} {author} @@ -47,7 +47,7 @@ function Footer({ title, lang }) { } Footer.propTypes = { - title: PropTypes.string.isRequired, + author: PropTypes.string.isRequired, lang: PropTypes.string.isRequired, }; diff --git a/src/components/Layout/Layout.js b/src/components/Layout/Layout.js index f578ce1..f0afcbf 100644 --- a/src/components/Layout/Layout.js +++ b/src/components/Layout/Layout.js @@ -37,6 +37,7 @@ const Layout = ({ title twhelpUrl languages + author } } } @@ -58,7 +59,7 @@ const Layout = ({ >
{children}
- {showFooter &&