From 1a10afdbadc34fe1d7c53ccafc6645d517108e61 Mon Sep 17 00:00:00 2001 From: Erik Tiekstra Date: Thu, 28 Aug 2025 07:22:07 +0000 Subject: [PATCH] fix(SW-3305): Added preamble to carousel cards block MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Approved-by: Matilda Landström Approved-by: Chuma Mcphoy (We Ahead) --- apps/scandic-web/components/Blocks/CarouselCards/index.tsx | 2 ++ .../trpc/lib/graphql/Fragments/Blocks/CarouselCards.graphql | 1 + .../lib/routers/contentstack/schemas/blocks/carouselCards.ts | 3 +++ 3 files changed, 6 insertions(+) diff --git a/apps/scandic-web/components/Blocks/CarouselCards/index.tsx b/apps/scandic-web/components/Blocks/CarouselCards/index.tsx index d064b1a83..ff541be00 100644 --- a/apps/scandic-web/components/Blocks/CarouselCards/index.tsx +++ b/apps/scandic-web/components/Blocks/CarouselCards/index.tsx @@ -16,6 +16,7 @@ import type { CarouselCardsProps } from "@/types/components/blocks/carouselCards export default function CarouselCards({ carousel_cards }: CarouselCardsProps) { const { heading, + preamble, enableFilters, defaultFilter, filterCategories, @@ -37,6 +38,7 @@ export default function CarouselCards({ carousel_cards }: CarouselCardsProps) { group.cards).flat(), @@ -121,6 +123,7 @@ export const carouselCardsSchema = z.object({ return { heading: data.heading, + preamble: data.preamble, enableFilters: true, filterCategories, cards: data.card_groups.map((group) => group.cards).flat(),