feat(SW-1391): add join scandic friends block

This commit is contained in:
Christian Andolf
2025-02-05 15:08:57 +01:00
parent 9ad8d39712
commit 4d63cc57c5
13 changed files with 343 additions and 2 deletions

View File

@@ -13,5 +13,6 @@ export namespace BlocksEnums {
HotelListing = "HotelListing",
FullWidthCampaign = "FullWidthCampaign",
CarouselCards = "CarouselCards",
JoinScandicFriends = "JoinScandicFriends",
}
}

View File

@@ -4,6 +4,7 @@ export namespace StartPageEnum {
CardsGrid = "StartPageBlocksCardsGrid",
CarouselCards = "StartPageBlocksCarouselCards",
FullWidthCampaign = "StartPageBlocksFullWidthCampaign",
JoinScandicFriends = "StartPageBlocksJoinScandicFriends",
}
}
}

View File

@@ -1,6 +1,7 @@
import type { z } from "zod"
import type { fullWidthCampaignSchema } from "@/server/routers/contentstack/schemas/blocks/fullWidthCampaign"
import type { joinScandicFriendsSchema } from "@/server/routers/contentstack/schemas/blocks/joinScandicFriends"
import type {
blocksSchema,
startPageRefsSchema,
@@ -20,3 +21,7 @@ export type Block = z.output<typeof blocksSchema>
export type FullWidthCampaign = z.output<
typeof fullWidthCampaignSchema
>["full_width_campaign"]
export type JoinScandicFriends = z.output<
typeof joinScandicFriendsSchema
>["join_scandic_friends"]