fix: add login/logout buttons

This commit is contained in:
Christel Westerberg
2024-05-29 17:20:27 +02:00
parent 0ec6d58d6a
commit 37843af507
9 changed files with 191 additions and 12 deletions

View File

@@ -11,4 +11,6 @@ export type MainMenuProps = {
logo: Image
topMenuMobileLinks: TopMenuHeaderLink[]
languageSwitcher: React.ReactNode
bookingHref: string
isLoggedIn: boolean
}

View File

@@ -1,3 +1,5 @@
import { Lang } from "@/constants/languages"
import type { TopMenuHeaderLink } from "@/types/requests/currentHeader"
export type TopMenuProps = {
@@ -5,5 +7,5 @@ export type TopMenuProps = {
homeHref: string
links: TopMenuHeaderLink[]
languageSwitcher: React.ReactNode
lang: string
lang: Lang
}