import React from 'react'

const NotFoundPage = () => (
  <div>
    <h1>NOT FOUND</h1>
    <p>You just hit a route that doesn&#39;t exist... the sadness.</p>
  </div>
)

export default NotFoundPage

import React from 'react'
import Layout from '../components/Layout'
import { Helmet } from 'react-helmet'

export default ({ location }) => (
  <Layout
    location={location}
    title="404"
    description="You really need a description for a 404 page?"
  >
    <Helmet title={'404'} />
    <p>Nothing here.</p>
    <p>
      Send me a tweet at{' '}
      <a href="https://twitter.com/sderosiaux">@sderosiaux</a> if you think it's
      not normal, and I'm sorry about that!
    </p>
  </Layout>
)

Customize 404