mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-28 14:16:41 +07:00
added 404 page
This commit is contained in:
parent
f837924ad4
commit
f0acb1ee66
5 changed files with 53 additions and 3 deletions
16
src/containers/pages/ErrorNotFound/index.tsx
Normal file
16
src/containers/pages/ErrorNotFound/index.tsx
Normal file
|
@ -0,0 +1,16 @@
|
|||
import React, { FC } from 'react';
|
||||
import styles from './styles.scss';
|
||||
|
||||
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>
|
||||
);
|
||||
|
||||
export { ErrorNotFound };
|
27
src/containers/pages/ErrorNotFound/styles.scss
Normal file
27
src/containers/pages/ErrorNotFound/styles.scss
Normal file
|
@ -0,0 +1,27 @@
|
|||
.wrap {
|
||||
@include outer_shadow();
|
||||
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
justify-content: flex-start;
|
||||
background: $content_bg;
|
||||
border-radius: $radius;
|
||||
}
|
||||
|
||||
.content {
|
||||
flex: 2;
|
||||
padding: $gap * 4;
|
||||
}
|
||||
|
||||
.image {
|
||||
flex: 1 1;
|
||||
background: red;
|
||||
display: flex;
|
||||
border-radius: 0 $radius $radius 0;
|
||||
}
|
||||
|
||||
.sign {
|
||||
font: $font_24_semibold;
|
||||
font-size: 72px;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue