Files
coriolis/src/app/pages/NotFoundPage.jsx
William dfffc3a268 Fix/no adsense (#412)
* No adsense

* remove script tag
2018-10-24 09:06:24 +11:00

31 lines
569 B
JavaScript

import React from 'react';
import Page from './Page';
/**
* 404 Page
*/
export default class NotFoundPage extends Page {
/**
* Constructor
* @param {Object} props React Component properties
*/
constructor(props) {
super(props);
this.state = {
title: 'Page Not Found'
};
}
/**
* Render the Page
* @return {React.Component} The page contents
*/
renderPage() {
return (
<div className="page" style={{ marginTop: 30 }}>
Page <small>{this.context.route.path}</small> Not Found
</div>
);
}
}