Create hero and text with image components

This commit is contained in:
itsfinniii
2026-03-20 20:48:53 +01:00
parent 50dc6ec4c0
commit a5efc7415b
7 changed files with 42 additions and 4 deletions

View File

@@ -47,6 +47,7 @@ export function dataToPage(pageRecord: any): WebPage {
title: component["twsi_title"],
text: component["twsi_text"],
imageSide: component["twsi_image_side"],
imageSize: component["twsi_image_size"],
image: {
url: getImageUrl(component["image"]["filename_disk"]),
width: component["image"]["width"],