NotFound.js
1.25 KB
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
53
54
55
56
import React from 'react';
import { makeStyles } from '@material-ui/styles';
import { Grid, Typography } from '@material-ui/core';
const useStyles = makeStyles(theme => ({
root: {
padding: theme.spacing(4)
},
content: {
paddingTop: 150,
textAlign: 'center'
},
image: {
marginTop: 50,
display: 'inline-block',
maxWidth: '100%',
width: 560
}
}));
const NotFound = () => {
const classes = useStyles();
return (
<div className={classes.root}>
<Grid
container
justify="center"
spacing={4}
>
<Grid
item
lg={6}
xs={12}
>
<div className={classes.content}>
<Typography variant="h1">
404: The page you are looking for isn’t here
</Typography>
<Typography variant="subtitle2">
You either tried some shady route or you came here by mistake.
Whichever it is, try using the navigation
</Typography>
<img
alt="Under development"
className={classes.image}
src="/images/undraw_page_not_found_su7k.svg"
/>
</div>
</Grid>
</Grid>
</div>
);
};
export default NotFound;