Merge pull request #133 from pixelyunicorn/patch-1

Give 404 page a proper layout
This commit is contained in:
Joaquin Bravo 2018-11-08 17:32:22 -06:00 committed by GitHub
commit 40f6b8a1e1
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