mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
Merge pull request #2620 from apple502j/titled-404
Set title for 404 pages
This commit is contained in:
commit
f26e6f2190
1 changed files with 20 additions and 14 deletions
|
@ -1,10 +1,15 @@
|
||||||
const React = require('react');
|
const React = require('react');
|
||||||
|
const Helmet = require('react-helmet').default;
|
||||||
const FormattedMessage = require('react-intl').FormattedMessage;
|
const FormattedMessage = require('react-intl').FormattedMessage;
|
||||||
const FlexRow = require('../../components/flex-row/flex-row.jsx');
|
const FlexRow = require('../../components/flex-row/flex-row.jsx');
|
||||||
|
|
||||||
require('./not-available.scss');
|
require('./not-available.scss');
|
||||||
|
|
||||||
const ProjectNotAvailable = () => (
|
const ProjectNotAvailable = () => (
|
||||||
|
<React.Fragment>
|
||||||
|
<Helmet>
|
||||||
|
<title>Scratch - Imagine, Program, Share</title>
|
||||||
|
</Helmet>
|
||||||
<div className="not-available-outer">
|
<div className="not-available-outer">
|
||||||
<FlexRow className="inner">
|
<FlexRow className="inner">
|
||||||
<img
|
<img
|
||||||
|
@ -19,6 +24,7 @@ const ProjectNotAvailable = () => (
|
||||||
</p>
|
</p>
|
||||||
</FlexRow>
|
</FlexRow>
|
||||||
</div>
|
</div>
|
||||||
|
</React.Fragment>
|
||||||
);
|
);
|
||||||
|
|
||||||
module.exports = ProjectNotAvailable;
|
module.exports = ProjectNotAvailable;
|
||||||
|
|
Loading…
Reference in a new issue