aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/notfound
diff options
context:
space:
mode:
authorLena <lena.becker-3@mni.thm.de>2021-02-28 02:58:53 +0100
committerSascha <GlancingMind@outlook.com>2021-03-15 16:35:14 +0100
commitcdf655f869bd0993b52f4268f058571740b1cf4d (patch)
tree75889b23ebacc9a9b82f49b3e4acf843788fa3e1 /webui/src/pages/notfound
parentc223c75c11f3ec903413207dd275152e1ec97fcc (diff)
downloadgit-bug-cdf655f869bd0993b52f4268f058571740b1cf4d.tar.gz
Add 404 page #10
Diffstat (limited to 'webui/src/pages/notfound')
-rw-r--r--webui/src/pages/notfound/NotFoundPage.tsx37
1 files changed, 37 insertions, 0 deletions
diff --git a/webui/src/pages/notfound/NotFoundPage.tsx b/webui/src/pages/notfound/NotFoundPage.tsx
new file mode 100644
index 00000000..ae84ac3e
--- /dev/null
+++ b/webui/src/pages/notfound/NotFoundPage.tsx
@@ -0,0 +1,37 @@
+import React from 'react';
+
+import { makeStyles } from '@material-ui/core/styles';
+
+const useStyles = makeStyles((theme) => ({
+ main: {
+ maxWidth: 1000,
+ margin: 'auto',
+ marginTop: theme.spacing(20),
+ },
+ logo: {
+ height: '350px',
+ },
+ container: {
+ display: 'flex',
+ alignItems: 'center',
+ },
+}));
+
+function NotFoundPage() {
+ const classes = useStyles();
+ return (
+ <main className={classes.main}>
+ <div className={classes.container}>
+ <h1>404 – Page not found</h1>
+ <img
+ src="/logo-alpha-flat-outline.svg"
+ className={classes.logo}
+ alt="git-bug"
+ />
+ <h1>Go back to start page</h1>
+ </div>
+ </main>
+ );
+}
+
+export default NotFoundPage;