2016-06-03 00:56:09 +05:30
|
|
|
import React 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';
|
|
|
|
import messages from './PageNotFound.intl.json';
|
2019-12-08 00:32:00 +05:30
|
|
|
import profileStyles from '../profile/profile.scss';
|
2017-01-09 03:31:04 +05:30
|
|
|
|
2016-06-03 00:56:09 +05:30
|
|
|
export default function PageNotFound() {
|
2019-11-27 14:33:32 +05:30
|
|
|
return (
|
|
|
|
<div className={styles.page}>
|
|
|
|
<Message {...messages.title}>
|
2019-12-30 14:17:29 +05:30
|
|
|
{pageTitle => <Helmet title={pageTitle as string} />}
|
2019-11-27 14:33:32 +05:30
|
|
|
</Message>
|
2017-01-09 03:31:04 +05:30
|
|
|
|
2019-11-27 14:33:32 +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} />
|
2017-01-09 03:31:04 +05:30
|
|
|
</div>
|
2019-11-27 14:33:32 +05:30
|
|
|
</div>
|
|
|
|
<p className={styles.text}>
|
|
|
|
<Message {...messages.nothingHere} />
|
|
|
|
</p>
|
|
|
|
<p className={styles.subText}>
|
|
|
|
<Message
|
|
|
|
{...messages.returnToTheHomePage}
|
|
|
|
values={{
|
|
|
|
link: (
|
|
|
|
<Link to="/">
|
|
|
|
<Message {...messages.homePage} />
|
|
|
|
</Link>
|
|
|
|
),
|
|
|
|
}}
|
|
|
|
/>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<div className={profileStyles.footer}>
|
|
|
|
<FooterMenu />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
2016-06-03 00:56:09 +05:30
|
|
|
}
|