2020-01-18 02:07:52 +05:30
|
|
|
import React, { ComponentType } from 'react';
|
2017-05-26 00:41:57 +05:30
|
|
|
import { Link } from 'react-router-dom';
|
2017-01-09 03:31:04 +05:30
|
|
|
import { FormattedMessage as Message } from 'react-intl';
|
2019-12-30 12:59:39 +05:30
|
|
|
import { Helmet } from 'react-helmet-async';
|
2019-12-30 14:17:29 +05:30
|
|
|
import { FooterMenu } from 'app/components/footerMenu';
|
2017-01-09 03:31:04 +05:30
|
|
|
|
|
|
|
import styles from './404.scss';
|
2019-12-08 00:32:00 +05:30
|
|
|
import profileStyles from '../profile/profile.scss';
|
2017-01-09 03:31:04 +05:30
|
|
|
|
2020-01-18 02:07:52 +05:30
|
|
|
const PageNotFound: ComponentType = () => (
|
2020-05-24 04:38:24 +05:30
|
|
|
<div className={styles.page}>
|
2020-06-04 22:11:27 +05:30
|
|
|
<Message key="title" defaultMessage="Page not found">
|
|
|
|
{(pageTitle) => <Helmet title={pageTitle as string} />}
|
|
|
|
</Message>
|
2017-01-09 03:31:04 +05:30
|
|
|
|
2020-05-24 04:38:24 +05:30
|
|
|
<div className={styles.loading}>
|
|
|
|
<div className={styles.cube} />
|
|
|
|
<div className={styles.road} />
|
|
|
|
<div className={styles.rocks}>
|
|
|
|
<span className={styles.rockOne} />
|
|
|
|
<span className={styles.rockTwo} />
|
|
|
|
<span className={styles.rockThree} />
|
|
|
|
<span className={styles.rockFour} />
|
|
|
|
<span className={styles.rockFive} />
|
|
|
|
</div>
|
|
|
|
<div className={styles.clouds}>
|
|
|
|
<span className={styles.cloudOne} />
|
|
|
|
<span className={styles.cloudTwo} />
|
|
|
|
<span className={styles.cloudThree} />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<p className={styles.text}>
|
2020-06-04 22:11:27 +05:30
|
|
|
<Message key="nothingHere" defaultMessage="This is not a place that you are looking for" />
|
2020-05-24 04:38:24 +05:30
|
|
|
</p>
|
|
|
|
<p className={styles.subText}>
|
|
|
|
<Message
|
2020-06-04 22:11:27 +05:30
|
|
|
key="returnToTheHomePage"
|
|
|
|
defaultMessage="Try to go back to the {link}"
|
2020-05-24 04:38:24 +05:30
|
|
|
values={{
|
|
|
|
link: (
|
|
|
|
<Link to="/">
|
2020-06-04 22:11:27 +05:30
|
|
|
<Message key="homePage" defaultMessage="main page" />
|
2020-05-24 04:38:24 +05:30
|
|
|
</Link>
|
|
|
|
),
|
|
|
|
}}
|
|
|
|
/>
|
|
|
|
</p>
|
2020-01-18 02:07:52 +05:30
|
|
|
|
2020-05-24 04:38:24 +05:30
|
|
|
<div className={profileStyles.footer}>
|
|
|
|
<FooterMenu />
|
|
|
|
</div>
|
2020-01-18 02:07:52 +05:30
|
|
|
</div>
|
|
|
|
);
|
|
|
|
|
|
|
|
export default PageNotFound;
|