import React, { VFC } from 'react';

import { createPortal } from 'react-dom';

import { GodRays } from '~/components/main/GodRays';

import styles from './styles.module.scss';

const ErrorNotFound: VFC = () =>
  createPortal(
    <div className={styles.wrap}>
      <GodRays />
      <h2 className={styles.sign}>Страница утеряна</h2>
      <div>Нам очень жаль</div>
    </div>,
    document.body
  );

export { ErrorNotFound };
