Merged in feat/SW-1443-carousel-destination-overview-page (pull request #1289)

feat(SW-1443): added carousel block on hotel overview page

* feat(SW-1443): added carousel block on hotel overview page


Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
Approved-by: Chuma Mcphoy (We Ahead)
This commit is contained in:
Erik Tiekstra
2025-02-11 06:56:38 +00:00
parent a86f0f3993
commit f021c60c2a
11 changed files with 177 additions and 30 deletions

View File

@@ -3,6 +3,7 @@ import type { Block as CollectionPageBlock } from "@/types/trpc/routers/contents
import type { Block as ContentPageBlock } from "@/types/trpc/routers/contentstack/contentPage"
import type { Block as DestinationCityPageBlock } from "@/types/trpc/routers/contentstack/destinationCityPage"
import type { Block as DestinationCountryPageBlock } from "@/types/trpc/routers/contentstack/destinationCountryPage"
import type { Block as DestinationOverviewPageBlock } from "@/types/trpc/routers/contentstack/destinationOverviewPage"
import type { Block as LoyaltyPageBlock } from "@/types/trpc/routers/contentstack/loyaltyPage"
import type { Block as StartPageBlock } from "@/types/trpc/routers/contentstack/startPage"
@@ -12,6 +13,7 @@ export type Blocks =
| ContentPageBlock
| DestinationCityPageBlock
| DestinationCountryPageBlock
| DestinationOverviewPageBlock
| LoyaltyPageBlock
| StartPageBlock

View File

@@ -0,0 +1,7 @@
export namespace DestinationOverviewPageEnum {
export namespace ContentStack {
export const enum blocks {
CarouselCards = "DestinationOverviewPageBlocksCarouselCards",
}
}
}

View File

@@ -1,6 +1,7 @@
import type { z } from "zod"
import type {
blocksSchema,
countryPageUrlSchema,
destinationOverviewPageRefsSchema,
destinationOverviewPageSchema,
@@ -19,3 +20,5 @@ export interface DestinationOverviewPageRefs
export interface GetCountryPageUrlData
extends z.input<typeof countryPageUrlSchema> {}
export type Block = z.output<typeof blocksSchema>