aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/notfound/NotFoundPage.tsx
blob: 2c6f68540029055944c15cb4ee4e758d3c1c197a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import React from 'react';

import { makeStyles } from '@material-ui/core/styles';

import BackToListButton from '../../components/BackToListButton';

const useStyles = makeStyles((theme) => ({
  main: {
    maxWidth: 1000,
    margin: 'auto',
    marginTop: theme.spacing(10),
  },
  logo: {
    height: '350px',
    display: 'block',
    marginLeft: 'auto',
    marginRight: 'auto',
  },
  icon: {
    display: 'block',
    marginLeft: 'auto',
    marginRight: 'auto',
    fontSize: '80px',
  },
  backLink: {
    marginTop: theme.spacing(1),
    textAlign: 'center',
  },
  header: {
    fontSize: '30px',
    textAlign: 'center',
  },
}));

function NotFoundPage() {
  const classes = useStyles();
  return (
    <main className={classes.main}>
      <h1 className={classes.header}>404 – Page not found</h1>
      <img
        src="/logo-alpha-flat-outline.svg"
        className={classes.logo}
        alt="git-bug Logo"
      />
      <div className={classes.backLink}>
        <BackToListButton />
      </div>
    </main>
  );
}

export default NotFoundPage;