fix: refactor breadcrumbs to take page type variants to better match margins

This commit is contained in:
Christel Westerberg
2025-01-03 11:39:24 +01:00
parent 053ef4a1c9
commit 5901cab440
46 changed files with 286 additions and 175 deletions
+6 -5
View File
@@ -1,4 +1,5 @@
import { Lang } from "@/constants/languages"
import type { Lang } from "@/constants/languages"
import type { PageContentTypeEnum } from "./requests/contentType"
export type SearchParams<S = {}> = {
searchParams: S & { [key: string]: string }
@@ -18,10 +19,10 @@ export type StatusParams = {
export type ContentTypeParams = {
contentType:
| "loyalty-page"
| "content-page"
| "hotel-page"
| "collection-page"
| PageContentTypeEnum.loyaltyPage
| PageContentTypeEnum.contentPage
| PageContentTypeEnum.hotelPage
| PageContentTypeEnum.collectionPage
}
export type ContentTypeWebviewParams = {