Skip to content

Commit 94cb92d

Browse files
committed
[UPD] 404 page basic styling
1 parent 4d6298e commit 94cb92d

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

src/pages/404.js

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,29 @@
1+
import { Trans } from "gatsby-plugin-react-i18next"
12
import * as React from "react"
23

34
import Layout from "../components/layout"
45
import SEO from "../components/seo"
6+
import SiteBorderStyles from "../styles/SiteBorderStyles"
57

68
const NotFoundPage = () => (
79
<Layout>
8-
<SEO title="404: Not found" />
9-
<h1>404: Not Found</h1>
10-
<p>You just hit a route that doesn&#39;t exist... the sadness.</p>
10+
<SEO title="404" />
11+
<SiteBorderStyles>
12+
<section>
13+
<div className="text-left md:text-center py-4 md:pt-16 md:pb-8 lg:pt-24 md:pb-8">
14+
<h2 className="text-3xl lg:text-4xl">
15+
<span className="highlight-red">
16+
404
17+
</span>
18+
<Trans> Not Found</Trans>
19+
</h2>
20+
<p className="text-xl lg:text-2xl my-4" style={{color: `var(--darkgrey)`}}>
21+
<Trans>You just hit a route that doesn&#39;t exist... the sadness.</Trans>
22+
</p>
23+
</div>
24+
</section>
25+
26+
</SiteBorderStyles>
1127
</Layout>
1228
)
1329

0 commit comments

Comments
 (0)