oktopus/frontend/src/pages/404.js
Leandro Antônio Farias Machado d297fecc62 chore: create proj structure
2023-03-07 13:33:32 +00:00

81 lines
1.9 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import Head from 'next/head';
import NextLink from 'next/link';
import ArrowLeftIcon from '@heroicons/react/24/solid/ArrowLeftIcon';
import { Box, Button, Container, SvgIcon, Typography } from '@mui/material';
const Page = () => (
<>
<Head>
<title>
404 | Devias Kit
</title>
</Head>
<Box
component="main"
sx={{
alignItems: 'center',
display: 'flex',
flexGrow: 1,
minHeight: '100%'
}}
>
<Container maxWidth="md">
<Box
sx={{
alignItems: 'center',
display: 'flex',
flexDirection: 'column'
}}
>
<Box
sx={{
mb: 3,
textAlign: 'center'
}}
>
<img
alt="Under development"
src="/assets/errors/error-404.png"
style={{
display: 'inline-block',
maxWidth: '100%',
width: 400
}}
/>
</Box>
<Typography
align="center"
sx={{ mb: 3 }}
variant="h3"
>
404: The page you are looking for isnt here
</Typography>
<Typography
align="center"
color="text.secondary"
variant="body1"
>
You either tried some shady route or you came here by mistake.
Whichever it is, try using the navigation
</Typography>
<Button
component={NextLink}
href="/"
startIcon={(
<SvgIcon fontSize="small">
<ArrowLeftIcon />
</SvgIcon>
)}
sx={{ mt: 3 }}
variant="contained"
>
Go back to dashboard
</Button>
</Box>
</Container>
</Box>
</>
);
export default Page;