feat: Add my pages linkk to desktop main menu and hide on mobile

This commit is contained in:
Chuma McPhoy
2024-06-19 10:37:00 +02:00
committed by Michael Zetterberg
parent 665d757102
commit d5c9a934f8
2 changed files with 12 additions and 3 deletions

View File

@@ -147,9 +147,11 @@ export function MainMenu({
) : null}
</ul>
<div className={styles.buttonContainer}>
<Link className={styles.link} href={myPages[lang]}>
{intl.formatMessage({ id: "My pages" })}
</Link>
<div className={styles.myPagesDesktopLink}>
<Link className={styles.link} href={myPages[lang]}>
{intl.formatMessage({ id: "My pages" })}
</Link>
</div>
<BookingButton href={bookingHref} />
{myPagesMobileDropdown && user ? (
<div