Merged in feat/SW-1391-join-scandic-friends-startpage (pull request #1260)

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

Approved-by: Chuma Mcphoy (We Ahead)
This commit is contained in:
Christian Andolf
2025-02-06 15:05:06 +00:00
14 changed files with 348 additions and 4 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"]