Added 404 route

This commit is contained in:
Jori Lallo
2016-08-03 14:55:56 +03:00
parent c21b635297
commit 030dfd383b
3 changed files with 47 additions and 5 deletions

View File

@ -0,0 +1,25 @@
import React from 'react';
import { Link } from 'react-router';
import Layout from 'components/Layout';
import CenteredContent from 'components/CenteredContent';
class Error404 extends React.Component {
render() {
return (
<Layout
titleText="Not Found"
>
<CenteredContent>
<h1>Not Found</h1>
<p>We're unable to find the page you're trying to find the page you're accessing.</p>
<p>Maybe you want to try <Link to="/search">search</Link> instead?</p>
</CenteredContent>
</Layout>
);
}
}
export default Error404;