Merged in fix/SW-2987-image-card-sidebar (pull request #2314)

fix(SW-2987): add image to content card in sidebar

* fix(SW-2987): add image to content card in sidebar


Approved-by: Erik Tiekstra
This commit is contained in:
Matilda Landström
2025-06-10 07:38:56 +00:00
parent be643e68a7
commit d16bac844e

View File

@@ -55,6 +55,7 @@ export default function Sidebar({ blocks }: SidebarProps) {
bodyText={block.scripted_card.body_text}
scriptedTopTitle={block.scripted_card.scripted_top_title}
theme={block.scripted_card.theme ?? "image"}
backgroundImage={block.scripted_card.backgroundImage}
/>
)
case SidebarEnums.blocks.TeaserCard: