From 4dcc6f67b37bf756c7afb7e40f700a838906113b Mon Sep 17 00:00:00 2001 From: Lena Date: Sun, 28 Feb 2021 04:15:21 +0100 Subject: Add backlink to 404 page #10 --- webui/src/pages/notfound/NotFoundPage.tsx | 42 +++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 13 deletions(-) (limited to 'webui/src') diff --git a/webui/src/pages/notfound/NotFoundPage.tsx b/webui/src/pages/notfound/NotFoundPage.tsx index ae84ac3e..2aba9cef 100644 --- a/webui/src/pages/notfound/NotFoundPage.tsx +++ b/webui/src/pages/notfound/NotFoundPage.tsx @@ -1,19 +1,34 @@ +import wrap from '@arrows/composition/internal/wrap'; import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; +import ArrowBackIcon from '@material-ui/icons/ArrowBack'; const useStyles = makeStyles((theme) => ({ main: { maxWidth: 1000, margin: 'auto', - marginTop: theme.spacing(20), + marginTop: theme.spacing(10), }, logo: { height: '350px', + display: 'block', + marginLeft: 'auto', + marginRight: 'auto', }, - container: { - display: 'flex', - alignItems: 'center', + icon: { + display: 'block', + marginLeft: 'auto', + marginRight: 'auto', + fontSize: '80px', + }, + backLink: { + textDecoration: 'none', + color: theme.palette.text.primary, + }, + header: { + fontSize: '30px', + textAlign: 'center', }, })); @@ -21,15 +36,16 @@ function NotFoundPage() { const classes = useStyles(); return (
-
-

404 – Page not found

- git-bug -

Go back to start page

-
+

404 – Page not found

+ git-bug + +

Go back to start page

+ +
); } -- cgit