feat: Pass User in to main menu and introduce avatar and dropdown
This commit is contained in:
committed by
Michael Zetterberg
parent
88795b673d
commit
1326789683
@@ -5,6 +5,7 @@ import type {
|
||||
CurrentHeaderLink,
|
||||
TopMenuHeaderLink,
|
||||
} from "@/types/requests/currentHeader"
|
||||
import { User } from "@/types/user"
|
||||
|
||||
export type MainMenuProps = {
|
||||
frontpageLinkText: string
|
||||
@@ -15,6 +16,6 @@ export type MainMenuProps = {
|
||||
languageSwitcher: React.ReactNode | null
|
||||
myPagesMobileDropdown: React.ReactNode | null
|
||||
bookingHref: string
|
||||
isLoggedIn: boolean
|
||||
user: User | null
|
||||
lang: Lang
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user