1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

add experimental room

This commit is contained in:
Fedor Katurov 2023-10-26 18:38:33 +06:00
parent 0605ceb263
commit 39eb97b777
7 changed files with 309 additions and 7 deletions

View file

@ -0,0 +1,51 @@
import React, { FC } from 'react';
import { Container } from '~/containers/main/Container';
import markdown from '~/styles/common/markdown.module.scss';
import styles from './styles.module.scss';
interface RoomLayoutProps {}
const RoomLayout: FC<RoomLayoutProps> = () => (
<div className={styles.container}>
<div className={styles.room}>
<Container>
<div className={styles.info}>
<div className={markdown.wrapper}>
<h1>Рум</h1>
<p>
Пока ещё концепт, над которым я размышляю, ты видишь его, потому
что включил суперсилы в <a href="/boris">Борисе</a>.
</p>
<p>
Все идеи насчёт этого раздела можно посмотреть{' '}
<a
href="https://github.com/muerwre/vault-frontend/issues/158"
target="_blank"
rel="noreferrer"
>
на гитхабе
</a>
.
</p>
<p>
Здесь, скорее всего, будет возможность добавить несколько песен и
картинок для слайдшоу.
</p>
<p>
Если помните einsam.ru или раздел Nowhere на старой версии сайта,
то будет что-то такое.
</p>
</div>
</div>
</Container>
</div>
<div className={styles.items}></div>
</div>
);
export { RoomLayout };

View file

@ -0,0 +1,22 @@
@import 'src/styles/variables';
.container {
height: 100vh;
width: 100%;
margin-top: -$header_height;
}
.room {
height: 100vh;
width: 100vw;
display: flex;
align-items: center;
justify-content: center;
background: url('/images/room.svg') 50% 50%;
background-size: cover;
}
.info {
max-width: 400px;
min-height: 40vh;
}