mirror of
https://github.com/docmost/docmost.git
synced 2026-05-15 05:04:06 +08:00
e56f7933f4
* refactor forgot password system * ready
26 lines
819 B
TypeScript
26 lines
819 B
TypeScript
import { Title, Text, Button, Container, Group } from "@mantine/core";
|
|
import classes from "./error-404.module.css";
|
|
import { Link } from "react-router-dom";
|
|
import { Helmet } from "react-helmet-async";
|
|
|
|
export function Error404() {
|
|
return (
|
|
<>
|
|
<Helmet>
|
|
<title>404 page not found - Docmost</title>
|
|
</Helmet>
|
|
<Container className={classes.root}>
|
|
<Title className={classes.title}>404 Page Not Found</Title>
|
|
<Text c="dimmed" size="lg" ta="center" className={classes.description}>
|
|
Sorry, we can't find the page you are looking for.
|
|
</Text>
|
|
<Group justify="center">
|
|
<Button component={Link} to={"/home"} variant="subtle" size="md">
|
|
Take me back to homepage
|
|
</Button>
|
|
</Group>
|
|
</Container>
|
|
</>
|
|
);
|
|
}
|