Give 404 page a proper layout

This commit is contained in:
pixelyunicorn 2018-11-06 01:53:49 -05:00 committed by GitHub
parent b6632e0e10
commit 3cf383d58d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,15 @@
import React from 'react'
import Layout from '../components/Layout'
const NotFoundPage = () => (
<div>
<h1>NOT FOUND</h1>
<p>You just hit a route that doesn&#39;t exist... the sadness.</p>
</div>
)
class NotFoundPage extends React.Component {
render() {
return (
<Layout location={this.props.location}>
<h1>Not Found</h1>
<p>You just hit a route that doesn&#39;t exist... the sadness.</p>
</Layout>
)
}
}
export default NotFoundPage