2022-05-11 11:36:51 +02:00
|
|
|
import {
|
|
|
|
Button,
|
|
|
|
Container,
|
2023-03-10 09:01:33 +01:00
|
|
|
createStyles,
|
2022-05-11 11:36:51 +02:00
|
|
|
Group,
|
2023-03-10 09:01:33 +01:00
|
|
|
Text,
|
|
|
|
Title,
|
2022-05-11 11:36:51 +02:00
|
|
|
} from "@mantine/core";
|
2022-10-31 11:20:54 +01:00
|
|
|
import Link from "next/link";
|
2023-03-10 09:01:33 +01:00
|
|
|
import Meta from "../components/Meta";
|
2022-05-11 11:36:51 +02:00
|
|
|
|
|
|
|
const useStyles = createStyles((theme) => ({
|
|
|
|
root: {
|
|
|
|
paddingTop: 80,
|
|
|
|
paddingBottom: 80,
|
|
|
|
},
|
|
|
|
|
|
|
|
label: {
|
|
|
|
textAlign: "center",
|
|
|
|
fontWeight: 900,
|
|
|
|
fontSize: 220,
|
|
|
|
lineHeight: 1,
|
2023-03-10 09:01:33 +01:00
|
|
|
marginBottom: `calc(${theme.spacing.xl} * 100)`,
|
2022-05-11 11:36:51 +02:00
|
|
|
color: theme.colors.gray[2],
|
|
|
|
|
|
|
|
[theme.fn.smallerThan("sm")]: {
|
|
|
|
fontSize: 120,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
description: {
|
|
|
|
maxWidth: 500,
|
|
|
|
margin: "auto",
|
2023-03-10 09:01:33 +01:00
|
|
|
marginBottom: `calc(${theme.spacing.xl} * 100)`,
|
2022-05-11 11:36:51 +02:00
|
|
|
},
|
|
|
|
}));
|
|
|
|
|
|
|
|
const ErrorNotFound = () => {
|
|
|
|
const { classes } = useStyles();
|
|
|
|
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<Meta title="Not found" />
|
|
|
|
<Container className={classes.root}>
|
|
|
|
<div className={classes.label}>404</div>
|
|
|
|
<Title align="center" order={3}>
|
|
|
|
Oops this page doesn't exist.
|
|
|
|
</Title>
|
2022-05-11 19:57:30 +02:00
|
|
|
<Text
|
|
|
|
color="dimmed"
|
|
|
|
align="center"
|
|
|
|
className={classes.description}
|
|
|
|
></Text>
|
2022-05-11 11:36:51 +02:00
|
|
|
<Group position="center">
|
2022-10-31 11:20:54 +01:00
|
|
|
<Button component={Link} href="/" variant="light">
|
2022-05-11 19:57:30 +02:00
|
|
|
Bring me back
|
|
|
|
</Button>
|
2022-05-11 11:36:51 +02:00
|
|
|
</Group>
|
|
|
|
</Container>
|
|
|
|
</>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
export default ErrorNotFound;
|