feat: use avatar component in hamburger dropdown
This commit is contained in:
committed by
Michael Zetterberg
parent
7419aed0d3
commit
634e9651ec
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user