spee.ch/react/containers/FourOhFourPage/view.jsx

25 lines
561 B
React
Raw Normal View History

2018-02-09 19:53:59 +01:00
import React from 'react';
import NavBar from 'containers/NavBar/index';
import Helmet from 'react-helmet';
2018-02-09 19:53:59 +01:00
class FourOhForPage extends React.Component {
render () {
const {title, host} = this.props;
2018-02-09 19:53:59 +01:00
return (
<div>
<Helmet>
<title>{title} - 404</title>
<link rel='canonical' href={`${host}/404`} />
</Helmet>
<NavBar />
<div className='row row--padded'>
<h2>404</h2>
<p>That page does not exist</p>
2018-02-09 19:53:59 +01:00
</div>
</div>
);
}
};
export default FourOhForPage;