diff --git a/src/components/Layout/Header.js b/src/components/Layout/Header.js index 74ff58b..ef046c4 100644 --- a/src/components/Layout/Header.js +++ b/src/components/Layout/Header.js @@ -26,6 +26,9 @@ const useStyles = makeStyles(theme => ({ marginRight: theme.spacing(1), }, }, + link: { + width: "100%", + }, })); function Header({ twhelpUrl, lang, languages, pathname }) { @@ -89,9 +92,10 @@ function Header({ twhelpUrl, lang, languages, pathname }) { title="Home" color="inherit" underline="none" - href={routes[lang].HOME} + className={classes.link} + to={routes[lang].HOME} > - Home + Homepage diff --git a/src/pages/404.js b/src/pages/404.js index 8b6f97e..480e28f 100644 --- a/src/pages/404.js +++ b/src/pages/404.js @@ -13,6 +13,9 @@ const useStyles = makeStyles(() => ({ justifyContent: "center", textAlign: "center", }, + layout: { + minHeight: "100vh", + }, })); const NotFoundPage = ({ location, pageContext }) => { @@ -22,6 +25,7 @@ const NotFoundPage = ({ location, pageContext }) => {