Add link to NotFound page
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
|||||||
Group,
|
Group,
|
||||||
} from "@mantine/core";
|
} from "@mantine/core";
|
||||||
import Meta from "../components/Meta";
|
import Meta from "../components/Meta";
|
||||||
|
import { NextLink } from "@mantine/next";
|
||||||
|
|
||||||
const useStyles = createStyles((theme) => ({
|
const useStyles = createStyles((theme) => ({
|
||||||
root: {
|
root: {
|
||||||
@@ -46,10 +47,15 @@ const ErrorNotFound = () => {
|
|||||||
<Title align="center" order={3}>
|
<Title align="center" order={3}>
|
||||||
Oops this page doesn't exist.
|
Oops this page doesn't exist.
|
||||||
</Title>
|
</Title>
|
||||||
<Text color="dimmed" align="center" className={classes.description}>
|
<Text
|
||||||
</Text>
|
color="dimmed"
|
||||||
|
align="center"
|
||||||
|
className={classes.description}
|
||||||
|
></Text>
|
||||||
<Group position="center">
|
<Group position="center">
|
||||||
<Button variant="light">Bring me back</Button>
|
<Button component={NextLink} href="/" variant="light">
|
||||||
|
Bring me back
|
||||||
|
</Button>
|
||||||
</Group>
|
</Group>
|
||||||
</Container>
|
</Container>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user