File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change 1
1
import React from "react"
2
- import styled from "@emotion/styled"
3
2
import { graphql , PageProps } from "gatsby"
3
+ import { Box , Flex } from "@chakra-ui/react"
4
4
5
5
import Link from "../components/Link"
6
6
import Translation from "../components/Translation"
7
7
8
- import { Page , Content } from "../components/SharedStyledComponents"
9
-
10
- const StyledPage = styled ( Page ) `
11
- margin-top: 4rem;
12
- `
13
-
14
8
const NotFoundPage = ( props : PageProps ) => (
15
- < StyledPage >
16
- < Content >
9
+ < Flex flexDir = "column" align = "center" w = "full" mt = { 16 } mb = { 0 } mx = "auto" >
10
+ < Box py = { 4 } px = { 8 } w = "full" >
17
11
< h1 >
18
12
< Translation id = "we-couldnt-find-that-page" />
19
13
</ h1 >
@@ -24,8 +18,8 @@ const NotFoundPage = (props: PageProps) => (
24
18
</ Link >
25
19
.
26
20
</ p >
27
- </ Content >
28
- </ StyledPage >
21
+ </ Box >
22
+ </ Flex >
29
23
)
30
24
31
25
export default NotFoundPage
You can’t perform that action at this time.
0 commit comments