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:
parent
acacc42ccf
commit
44640595f5
4 changed files with 1985 additions and 3 deletions
26
src/components/lab/LabFactoryBanner/index.tsx
Normal file
26
src/components/lab/LabFactoryBanner/index.tsx
Normal 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>
|
||||
Всё, что происходит здесь — всего лишь эксперимент, о котором
|
||||
не узнает никто за пределами Убежища.
|
||||
</strong>
|
||||
</p>
|
||||
</Group>
|
||||
</Group>
|
||||
</div>
|
||||
);
|
||||
|
||||
export { LabFactoryBanner };
|
23
src/components/lab/LabFactoryBanner/styles.module.scss
Normal file
23
src/components/lab/LabFactoryBanner/styles.module.scss
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue