1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 21:06:42 +07:00

added sample user profile page

This commit is contained in:
Fedor Katurov 2022-08-14 18:04:33 +07:00
parent aee4b662d5
commit db9948803a
6 changed files with 60 additions and 45 deletions

View file

@ -29,17 +29,11 @@ const ProfilePageLeft: FC<IProps> = ({ username, profile, isLoading }) => {
<div className={styles.name}>
{isLoading ? <Placeholder /> : profile?.fullname}
</div>
`
<div className={styles.username}>
{isLoading ? <Placeholder /> : `~${profile?.username}`}
</div>
</div>
{!!profile?.description && (
<Markdown className={styles.description}>
{formatText(profile.description)}
</Markdown>
)}
</div>
);
};

View file

@ -2,6 +2,7 @@
.wrap {
@include outer_shadow;
@include blur;
padding: $gap $gap $gap * 2;
box-sizing: border-box;
@ -9,7 +10,6 @@
align-items: stretch;
justify-content: stretch;
flex-direction: column;
background: $content_bg_light;
height: 100%;
border-radius: $radius;
}