Merge pull request #2620 from apple502j/titled-404

Set title for 404 pages
This commit is contained in:
Benjamin Wheeler 2019-01-09 14:44:09 -05:00 committed by GitHub
commit f26e6f2190
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,15 @@
const React = require('react');
const Helmet = require('react-helmet').default;
const FormattedMessage = require('react-intl').FormattedMessage;
const FlexRow = require('../../components/flex-row/flex-row.jsx');
require('./not-available.scss');
const ProjectNotAvailable = () => (
<React.Fragment>
<Helmet>
<title>Scratch - Imagine, Program, Share</title>
</Helmet>
<div className="not-available-outer">
<FlexRow className="inner">
<img
@ -19,6 +24,7 @@ const ProjectNotAvailable = () => (
</p>
</FlexRow>
</div>
</React.Fragment>
);
module.exports = ProjectNotAvailable;