spee.ch/react/components/FourOhFourPage/index.jsx

24 lines
596 B
JavaScript

import React from 'react';
import NavBar from 'containers/NavBar';
import Helmet from 'react-helmet';
const { details: { title, host } } = require('../../../config/siteConfig.js');
class FourOhForPage extends React.Component {
render () {
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>
</div>
</div>
);
}
};
export default FourOhForPage;