File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 1
1
import type { GetStaticProps } from "next"
2
2
import { serverSideTranslations } from "next-i18next/serverSideTranslations"
3
- import { Box , Flex , Heading , Text } from "@chakra-ui/react"
4
3
5
4
import { BasePageProps , Lang } from "@/lib/types"
6
5
@@ -35,20 +34,20 @@ export const getStaticProps = (async ({ locale }) => {
35
34
} ) satisfies GetStaticProps < BasePageProps >
36
35
37
36
const NotFoundPage = ( ) => (
38
- < Flex flexDir = "column" align = "center" w = "full" mt = { 16 } mb = { 0 } mx = "auto ">
39
- < Box as = { MainArticle } py = { 4 } px = { 8 } w = " full">
40
- < Heading as = "h1" size = "2xl" my = { 8 } >
37
+ < div className = "mx-auto mb-0 mt-16 flex w-full flex-col items-center ">
38
+ < MainArticle className = "my-8 w- full space-y-8 px-8 py-4 ">
39
+ < h1 >
41
40
< Translation id = "we-couldnt-find-that-page" />
42
- </ Heading >
43
- < Text mb = { 8 } >
41
+ </ h1 >
42
+ < p >
44
43
< Translation id = "try-using-search" /> { " " }
45
44
< InlineLink href = "/" >
46
45
< Translation id = "return-home" />
47
46
</ InlineLink >
48
47
.
49
- </ Text >
50
- </ Box >
51
- </ Flex >
48
+ </ p >
49
+ </ MainArticle >
50
+ </ div >
52
51
)
53
52
54
53
export default NotFoundPage
You can’t perform that action at this time.
0 commit comments