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 11import React from "react"
2- import styled from "@emotion/styled"
32import { graphql , PageProps } from "gatsby"
3+ import { Box , Flex } from "@chakra-ui/react"
44
55import Link from "../components/Link"
66import Translation from "../components/Translation"
77
8- import { Page , Content } from "../components/SharedStyledComponents"
9-
10- const StyledPage = styled ( Page ) `
11- margin-top: 4rem;
12- `
13-
148const 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" >
1711 < h1 >
1812 < Translation id = "we-couldnt-find-that-page" />
1913 </ h1 >
@@ -24,8 +18,8 @@ const NotFoundPage = (props: PageProps) => (
2418 </ Link >
2519 .
2620 </ p >
27- </ Content >
28- </ StyledPage >
21+ </ Box >
22+ </ Flex >
2923)
3024
3125export default NotFoundPage
You can’t perform that action at this time.
0 commit comments