diff --git a/components/Blocks/CardsGrid.tsx b/components/Blocks/CardsGrid.tsx index 6c9d84b15..1c07b73ec 100644 --- a/components/Blocks/CardsGrid.tsx +++ b/components/Blocks/CardsGrid.tsx @@ -45,8 +45,10 @@ export default function CardsGrid({ theme={cards_grid.theme ?? "one"} key={card.system.uid} scriptedTopTitle={card.scripted_top_title} + heading={card.heading} bodyText={card.body_text} - {...card} + secondaryButton={card.secondaryButton} + primaryButton={card.primaryButton} /> ) case CardsGridEnum.cards.TeaserCard: @@ -55,15 +57,21 @@ export default function CardsGrid({ key={card.system.uid} title={card.heading} description={card.body_text} - {...card} + primaryButton={card.primaryButton} + secondaryButton={card.secondaryButton} + sidePeekButton={card.sidePeekButton} + sidePeekContent={card.sidePeekContent} + image={card.image} /> ) case CardsGridEnum.cards.LoyaltyCard: return ( ) }