forked from SmartDropLabs/smartdrop-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnot-found.tsx
More file actions
36 lines (35 loc) · 923 Bytes
/
Copy pathnot-found.tsx
File metadata and controls
36 lines (35 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import { Button, Flex, Text } from "@chakra-ui/react";
import NextLink from "next/link";
export default function NotFound() {
return (
<Flex
direction="column"
align="center"
justify="center"
textAlign="center"
gap={4}
px={6}
py={24}
minH="60vh"
>
<Text
fontSize={{ base: "5xl", md: "7xl" }}
fontWeight="extrabold"
letterSpacing="tight"
bgGradient="linear(to-r, app.text, app.accent)"
bgClip="text"
>
404
</Text>
<Text fontSize="xl" fontWeight="semibold" color="app.text">
This page doesn't exist
</Text>
<Text color="app.muted" maxW="440px">
The link you followed may be broken, or the page may have moved.
</Text>
<Button as={NextLink} href="/" colorScheme="green" bg="app.accent" mt={2}>
Back to home
</Button>
</Flex>
);
}