1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

new lab banner

This commit is contained in:
Fedor Katurov 2023-10-31 17:55:23 +06:00
parent acacc42ccf
commit 44640595f5
4 changed files with 1985 additions and 3 deletions

View file

@ -0,0 +1,26 @@
import React, { FC } from 'react';
import { Group } from '~/components/containers/Group';
import styles from './styles.module.scss';
interface LabFactoryBannerProps {}
const LabFactoryBanner: FC<LabFactoryBannerProps> = () => (
<div className={styles.banner}>
<Group>
<div className={styles.title}>Лаборатория!</div>
<Group className={styles.content}>
<p>
<strong>
Всё, что происходит здесь &mdash; всего лишь эксперимент, о котором
не узнает никто за пределами Убежища.
</strong>
</p>
</Group>
</Group>
</div>
);
export { LabFactoryBanner };

View file

@ -0,0 +1,23 @@
@import 'src/styles/variables';
.banner {
@include outer_shadow;
display: flex;
aspect-ratio: 0.7;
background: url('/images/peoples_lab.svg') 50% 100%;
background-size: cover;
padding: $gap;
border-radius: $radius;
}
.title {
font: $font_24_bold;
text-transform: uppercase;
}
.content {
font: $font_14_medium;
line-height: 19px;
opacity: 0.7;
}