mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
left panel with git logs at boris
This commit is contained in:
parent
13ac60a1e6
commit
cb518f0528
15 changed files with 211 additions and 44 deletions
|
@ -21,6 +21,7 @@ import { Footer } from '~/components/main/Footer';
|
|||
import { Sticky } from '~/components/containers/Sticky';
|
||||
import { Placeholder } from '~/components/placeholders/Placeholder';
|
||||
import { selectBorisStats } from '~/redux/boris/selectors';
|
||||
import { BorisStats } from '~/components/boris/BorisStats';
|
||||
|
||||
const mapStateToProps = state => ({
|
||||
node: selectNode(state),
|
||||
|
@ -118,33 +119,19 @@ const BorisLayoutUnconnected: FC<IProps> = ({
|
|||
<Sticky>
|
||||
<Group className={styles.stats__container}>
|
||||
<div className={styles.stats__about}>
|
||||
<h4>Господи-боженьки, где это я?</h4>
|
||||
|
||||
<p>
|
||||
Всё впорядке, это — главный штаб суицидальных роботов, строящих Убежище.
|
||||
</p>
|
||||
<p>Здесь мы сидим и слушаем всё, что вас беспокоит.</p>
|
||||
<p>Все виновные будут наказаны. Невиновные, впрочем, тоже. Такова жизнь.</p>
|
||||
<p>
|
||||
Все виновные будут наказаны. Невиновные, впрочем, тоже.{' '}
|
||||
<span className="grey">// Такова жизнь.</span>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/*
|
||||
<div className={styles.stats__title}>Контент</div>
|
||||
|
||||
<Placeholder width="35%" />
|
||||
<Placeholder width="40%" />
|
||||
<Placeholder width="35%" />
|
||||
<Placeholder width="20%" />
|
||||
|
||||
<div className={styles.stats__title}>Хранилище</div>
|
||||
|
||||
<Placeholder width="35%" />
|
||||
<Placeholder width="35%" />
|
||||
<Placeholder width="40%" />
|
||||
*/}
|
||||
|
||||
<div className={styles.stats__title}>Изменения</div>
|
||||
|
||||
<Placeholder width="50%" />
|
||||
<Placeholder width="100%" />
|
||||
<Placeholder width="50%" />
|
||||
<Placeholder width="70%" />
|
||||
<Placeholder width="60%" />
|
||||
<Placeholder width="100%" />
|
||||
<BorisStats stats={stats} />
|
||||
</Group>
|
||||
</Sticky>
|
||||
</Group>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
}
|
||||
|
||||
.content {
|
||||
flex: 3;
|
||||
flex: 4;
|
||||
z-index: 2;
|
||||
border-radius: $radius;
|
||||
padding: 0;
|
||||
|
@ -117,6 +117,12 @@
|
|||
flex-direction: column;
|
||||
padding-top: 10px;
|
||||
|
||||
h4 {
|
||||
font: $font_20_semibold;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: $gap * 2;
|
||||
}
|
||||
|
||||
&__container {
|
||||
background: darken($content_bg, 4%);
|
||||
border-radius: 0 $radius $radius 0;
|
||||
|
@ -137,7 +143,7 @@
|
|||
line-height: 1.4em;
|
||||
|
||||
p {
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: $gap;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue