mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-13 08:46:56 +08:00
⚒️ Create 404 page.
This commit is contained in:
parent
82bdb9f4d6
commit
e3b7156f90
@ -1,9 +1,21 @@
|
|||||||
import React from "react";
|
import CustomLink from "@/common/link";
|
||||||
|
import { Flex, Center, Heading, Text, Button } from "@chakra-ui/react";
|
||||||
|
import { House } from "phosphor-react";
|
||||||
|
|
||||||
type Props = {};
|
const Error = () => {
|
||||||
|
return (
|
||||||
const Error = (props: Props) => {
|
<>
|
||||||
return <div>Error 404</div>;
|
<Center>
|
||||||
|
<Flex direction="column" justifyContent="center" alignItems="center">
|
||||||
|
<Heading mb="2">Error 404</Heading>
|
||||||
|
<Text mb="3">The page you are trying to access does not exist.</Text>
|
||||||
|
<CustomLink href="/">
|
||||||
|
<Text fontFamily="Inter-Semibold">Go home</Text>
|
||||||
|
</CustomLink>
|
||||||
|
</Flex>
|
||||||
|
</Center>
|
||||||
|
</>
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default Error;
|
export default Error;
|
||||||
|
Loading…
Reference in New Issue
Block a user