diff --git a/electron/servers/nextjs/app/presentation-templates/ProductOverview/BusinessChallengesGridSlide.tsx b/electron/servers/nextjs/app/presentation-templates/ProductOverview/BusinessChallengesGridSlide.tsx index 3426444a..56e8e510 100644 --- a/electron/servers/nextjs/app/presentation-templates/ProductOverview/BusinessChallengesGridSlide.tsx +++ b/electron/servers/nextjs/app/presentation-templates/ProductOverview/BusinessChallengesGridSlide.tsx @@ -9,7 +9,7 @@ const BlockSchema = z.object({ heading: z.string().max(30).meta({ description: "Short heading for a single block of text.", }), - body: z.string().max(100).meta({ + body: z.string().max(80).meta({ description: "Description text for a single block of text.", }), }); diff --git a/electron/servers/nextjs/app/presentation-templates/ProductOverview/ComparisonChartSlide.tsx b/electron/servers/nextjs/app/presentation-templates/ProductOverview/ComparisonChartSlide.tsx index 514c1e58..5d1f5e59 100644 --- a/electron/servers/nextjs/app/presentation-templates/ProductOverview/ComparisonChartSlide.tsx +++ b/electron/servers/nextjs/app/presentation-templates/ProductOverview/ComparisonChartSlide.tsx @@ -122,7 +122,7 @@ function StatusIcon({ return {checkIconAlt}; } - return

{status}

+ return

{status}

} const ComparisonChartSlide = ({ data }: { data: Partial }) => { @@ -135,14 +135,14 @@ const ComparisonChartSlide = ({ data }: { data: Partial }) => { checkIcon, crossIcon, } = data; - const safeColumns = columns && columns.length > 0 ? columns : DEFAULT_COLUMNS; + const safeColumns = columns && columns.length > 0 ? columns : []; const resolvedHighlightedColumnIndex = highlightedColumnIndex && highlightedColumnIndex >= 1 && highlightedColumnIndex <= safeColumns.length ? highlightedColumnIndex : Math.min(4, safeColumns.length); - const safeRows = rows && rows.length > 0 ? rows : DEFAULT_ROWS; + const safeRows = rows && rows.length > 0 ? rows : []; const normalizedRows = safeRows.map((row) => { const rowCells = "cells" in row @@ -195,7 +195,7 @@ const ComparisonChartSlide = ({ data }: { data: Partial }) => { }} >
- {safeColumns.map((column, index) => ( + {safeColumns.map((column: any, index: any) => (
}) => { {bottomWideImage?.__image_prompt__} }) => { }} >

}) => { {card.heading}