diff --git a/apps/scandic-web/components/TempDesignSystem/TeaserCard/Sidepeek/index.tsx b/apps/scandic-web/components/TempDesignSystem/TeaserCard/Sidepeek/index.tsx
index 034a3540d..53d5a1320 100644
--- a/apps/scandic-web/components/TempDesignSystem/TeaserCard/Sidepeek/index.tsx
+++ b/apps/scandic-web/components/TempDesignSystem/TeaserCard/Sidepeek/index.tsx
@@ -39,10 +39,12 @@ export default function TeaserCardSidepeek({
handleClose={() => setSidePeekIsOpen(false)}
openInRoot
>
-
+ {content ? (
+
+ ) : null}
{primary_button && (
{
- const link = transformPageLink(data)
- if (link) {
- return link
- }
- return data
- }),
- })
- ),
- }),
- }),
+ content: z
+ .object({
+ json: z.any(),
+ embedded_itemsConnection: z.object({
+ edges: z.array(
+ z.object({
+ node: z
+ .discriminatedUnion("__typename", [
+ imageContainerSchema,
+ sysAssetSchema,
+ accountPageSchema,
+ collectionPageSchema,
+ contentPageSchema,
+ destinationCityPageSchema,
+ destinationCountryPageSchema,
+ destinationOverviewPageSchema,
+ hotelPageSchema,
+ loyaltyPageSchema,
+ startPageSchema,
+ ])
+ .transform((data) => {
+ const link = transformPageLink(data)
+ if (link) {
+ return link
+ }
+ return data
+ }),
+ })
+ ),
+ }),
+ })
+ .nullish(),
has_primary_button: z.boolean().default(false),
primary_button: buttonSchema,
has_secondary_button: z.boolean().default(false),