1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-28 14:16:41 +07:00

lost page

This commit is contained in:
Fedor Katurov 2019-12-02 12:57:56 +07:00
parent 5e9fed4124
commit 0e4c1acc3f
5 changed files with 55 additions and 53 deletions

View file

@ -1,16 +1,16 @@
import React, { FC } from 'react';
import styles from './styles.scss';
import { createPortal } from 'react-dom';
import { GodRays } from '~/components/main/GodRays';
interface IProps {}
const ErrorNotFound: FC<IProps> = ({}) => (
<div className={styles.wrap}>
<div className={styles.content}>
<div className={styles.sign}>НЕ НАЙДЕН</div>
<div>Нам очень жаль.</div>
</div>
<div className={styles.image} />
</div>
);
const ErrorNotFound: FC<{}> = () =>
createPortal(
<div className={styles.wrap}>
<GodRays />
<h2 className={styles.sign}>Страница утеряна</h2>
<div>Нам очень жаль</div>
</div>,
document.body
);
export { ErrorNotFound };