aswi2022code-of-duty-gitlab/frontend/src/features/NotFound/NotFound.tsx @ ff40cb89
1 | 456b0111 | Vaclav Honzik | import { Button, Stack } from "@mui/material" |
---|---|---|---|
2 | import { Link as RouterLink } from 'react-router-dom' |
||
3 | |||
4 | c7d2ced1 | Václav Honzík | const NotFound = () => { |
5 | |||
6 | return ( |
||
7 | 456b0111 | Vaclav Honzik | <Stack alignItems={"center"} sx={{my: 4}}> |
8 | <h1>Page Not Found 😔</h1> |
||
9 | <Button variant="outlined" component={RouterLink} to="/" >Return Home</Button> |
||
10 | </Stack> |
||
11 | c7d2ced1 | Václav Honzík | )
|
12 | }
|
||
13 | |||
14 | export default NotFound |