mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
removed messages reducer
This commit is contained in:
parent
82308d2a91
commit
5849e68258
61 changed files with 314 additions and 898 deletions
|
@ -8,7 +8,6 @@ import { selectAuthProfile, selectUser } from "~/redux/auth/selectors";
|
|||
import { ProfilePageLeft } from "~/containers/profile/ProfilePageLeft";
|
||||
import { Container } from "~/containers/main/Container";
|
||||
import { FlowGrid } from "~/components/flow/FlowGrid";
|
||||
import { Sticky } from "~/components/containers/Sticky";
|
||||
import { ProfilePageStats } from "~/containers/profile/ProfilePageStats";
|
||||
import { Card } from "~/components/containers/Card";
|
||||
import { useFlowStore } from "~/store/flow/useFlowStore";
|
||||
|
@ -35,8 +34,8 @@ const ProfileLayout: FC<Props> = observer(
|
|||
|
||||
return (
|
||||
<Container className={styles.wrap}>
|
||||
<div className={styles.left}>
|
||||
<Sticky>
|
||||
<div className={styles.grid}>
|
||||
<div className={styles.stamp}>
|
||||
<div className={styles.row}>
|
||||
<ProfilePageLeft profile={profile} username={username} />
|
||||
</div>
|
||||
|
@ -50,10 +49,8 @@ const ProfileLayout: FC<Props> = observer(
|
|||
<div className={styles.row}>
|
||||
<ProfilePageStats />
|
||||
</div>
|
||||
</Sticky>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className={styles.grid}>
|
||||
<FlowGrid nodes={nodes} user={user} onChangeCellView={console.log} />
|
||||
</div>
|
||||
</Container>
|
||||
|
|
|
@ -2,15 +2,13 @@
|
|||
|
||||
.wrap {
|
||||
display: grid;
|
||||
grid-template-columns: $cell auto;
|
||||
grid-template-columns: auto;
|
||||
grid-column-gap: $gap;
|
||||
}
|
||||
|
||||
.grid {
|
||||
@include flow_grid;
|
||||
}
|
||||
.left {
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-bottom: $gap;
|
||||
|
@ -21,3 +19,7 @@
|
|||
text-align: center;
|
||||
padding: $gap * 2 $gap;
|
||||
}
|
||||
|
||||
.stamp {
|
||||
grid-row-end: span 2;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue