Skip to content

Commit 269dc91

Browse files
committed
404 page styling
1 parent e491dee commit 269dc91

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

src/pages/404.js

+11-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,17 @@ import Layout from '../components/layout'
33

44
const NotFoundPage = () => (
55
<Layout>
6-
<h1>404: Not Found</h1>
7-
<p>You just hit a route that doesn&#39;t exist... the sadness.</p>
6+
<div
7+
style={{
8+
display: 'flex',
9+
flexDirection: 'column',
10+
justifyContent: 'center',
11+
alignItems: 'center',
12+
}}
13+
>
14+
<h1>404: Not Found</h1>
15+
<p>You just hit a route that doesn&#39;t exist... the sadness.</p>
16+
</div>
817
</Layout>
918
)
1019

0 commit comments

Comments
 (0)