feat: use avatar component in hamburger dropdown

This commit is contained in:
Chuma McPhoy
2024-06-19 10:18:31 +02:00
committed by Michael Zetterberg
parent 7419aed0d3
commit 634e9651ec
2 changed files with 6 additions and 8 deletions

View File

@@ -76,8 +76,11 @@ export function MainMenu({
<ul className={styles.linkRow}>
{!!user ? (
<>
<li>
<div className={styles.loggedInLogo} />
<li className={styles.avatarWrapper}>
<Avatar
firstName={user.firstName}
lastName={user.lastName}
/>
</li>
<li className={styles.mobileLinkRow}>
<Link

View File

@@ -180,13 +180,8 @@
padding: 15px 15px 15px 5px;
}
.loggedInLogo {
height: 35px;
width: 35px;
border-radius: 50px;
background-color: #000;
.avatarWrapper {
margin-right: 4px;
margin-left: -4px;
}
.mobileLinkButton {