From 3cf383d58de209a583121c456fcceda308ad6e57 Mon Sep 17 00:00:00 2001 From: pixelyunicorn Date: Tue, 6 Nov 2018 01:53:49 -0500 Subject: [PATCH] Give 404 page a proper layout --- src/pages/404.js | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/pages/404.js b/src/pages/404.js index a091a00..d17d3e3 100644 --- a/src/pages/404.js +++ b/src/pages/404.js @@ -1,10 +1,15 @@ import React from 'react' +import Layout from '../components/Layout' -const NotFoundPage = () => ( -
-

NOT FOUND

-

You just hit a route that doesn't exist... the sadness.

-
-) +class NotFoundPage extends React.Component { + render() { + return ( + +

Not Found

+

You just hit a route that doesn't exist... the sadness.

+
+ ) + } +} export default NotFoundPage