Merge pull request #133 from pixelyunicorn/patch-1
Give 404 page a proper layout
This commit is contained in:
commit
40f6b8a1e1
1 changed files with 11 additions and 6 deletions
|
|
@ -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'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't exist... the sadness.</p>
|
||||
</Layout>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export default NotFoundPage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue