Give 404 page a proper layout
This commit is contained in:
parent
b6632e0e10
commit
3cf383d58d
1 changed files with 11 additions and 6 deletions
|
|
@ -1,10 +1,15 @@
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
import Layout from '../components/Layout'
|
||||||
|
|
||||||
const NotFoundPage = () => (
|
class NotFoundPage extends React.Component {
|
||||||
<div>
|
render() {
|
||||||
<h1>NOT FOUND</h1>
|
return (
|
||||||
<p>You just hit a route that doesn't exist... the sadness.</p>
|
<Layout location={this.props.location}>
|
||||||
</div>
|
<h1>Not Found</h1>
|
||||||
)
|
<p>You just hit a route that doesn't exist... the sadness.</p>
|
||||||
|
</Layout>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export default NotFoundPage
|
export default NotFoundPage
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue