1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +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>
);
};