From 679ae31a4e407b0b7b63dcef159179512cf67231 Mon Sep 17 00:00:00 2001 From: shiva raj badu Date: Thu, 9 Apr 2026 15:08:01 +0545 Subject: [PATCH] feat: New template improvements --- .../ProductOverview/BusinessChallengesGridSlide.tsx | 4 ++-- .../ProductOverview/ComparisonChartSlide.tsx | 6 +++--- .../ProductOverview/ImageGallerySlide.tsx | 6 +++--- .../ProductOverview/KpiCardsSlide.tsx | 6 +++--- .../ProductOverview/PricingPlanSlide.tsx | 4 ++-- .../ProductOverview/ReportSnapshotSlide.tsx | 8 ++++---- .../ProductOverview/TableOfContentSlide.tsx | 8 ++++---- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/electron/servers/nextjs/app/presentation-templates/ProductOverview/BusinessChallengesGridSlide.tsx b/electron/servers/nextjs/app/presentation-templates/ProductOverview/BusinessChallengesGridSlide.tsx index df91222f..1c337423 100644 --- a/electron/servers/nextjs/app/presentation-templates/ProductOverview/BusinessChallengesGridSlide.tsx +++ b/electron/servers/nextjs/app/presentation-templates/ProductOverview/BusinessChallengesGridSlide.tsx @@ -54,7 +54,7 @@ const BusinessChallengesGridSlide = ({ data }: { data: Partial }) => <>
}) =>
{challenges?.map((challenge, index) => ( diff --git a/electron/servers/nextjs/app/presentation-templates/ProductOverview/ComparisonChartSlide.tsx b/electron/servers/nextjs/app/presentation-templates/ProductOverview/ComparisonChartSlide.tsx index a221de3e..a2ac164a 100644 --- a/electron/servers/nextjs/app/presentation-templates/ProductOverview/ComparisonChartSlide.tsx +++ b/electron/servers/nextjs/app/presentation-templates/ProductOverview/ComparisonChartSlide.tsx @@ -150,7 +150,7 @@ const ComparisonChartSlide = ({ data }: { data: Partial }) => { {columns?.map((column, index) => (
}) => { style={{ borderColor: "var(--stroke,#c5cccb)" }} >
}) => { {cells?.map((status, cellIndex) => (
}) => { {title}

{description} @@ -134,12 +134,12 @@ const ImageGallerySlide = ({ data }: { data: Partial }) => { {bottomCenterImage?.__image_prompt__} {bottomRightImage?.__image_prompt__}

diff --git a/electron/servers/nextjs/app/presentation-templates/ProductOverview/KpiCardsSlide.tsx b/electron/servers/nextjs/app/presentation-templates/ProductOverview/KpiCardsSlide.tsx index d81f16bb..19a9235b 100644 --- a/electron/servers/nextjs/app/presentation-templates/ProductOverview/KpiCardsSlide.tsx +++ b/electron/servers/nextjs/app/presentation-templates/ProductOverview/KpiCardsSlide.tsx @@ -8,10 +8,10 @@ export const slideLayoutDescription = const KpiSchema = z.object({ value: z.string().max(5).meta({ - description: "Primary KPI value shown in a card.", + description: "Primary KPI value shown in a card. Should be less than 5 characters.", }), - body: z.string().max(20).meta({ - description: "Short KPI supporting text.", + body: z.string().max(16).meta({ + description: "Short KPI supporting text. Should be less than 16 characters.", }), }); diff --git a/electron/servers/nextjs/app/presentation-templates/ProductOverview/PricingPlanSlide.tsx b/electron/servers/nextjs/app/presentation-templates/ProductOverview/PricingPlanSlide.tsx index 9bcc9f87..95b10c34 100644 --- a/electron/servers/nextjs/app/presentation-templates/ProductOverview/PricingPlanSlide.tsx +++ b/electron/servers/nextjs/app/presentation-templates/ProductOverview/PricingPlanSlide.tsx @@ -10,11 +10,11 @@ const PlanSchema = z.object({ price: z.string().min(4).max(12).meta({ description: "Plan price label shown at the top of each card.", }), - description: z.string().max(20).meta({ + description: z.string().max(18).meta({ description: "Short statement describing the plan.", }), features: z - .array(z.string().max(18)) + .array(z.string().max(14)) .max(4) .meta({ diff --git a/electron/servers/nextjs/app/presentation-templates/ProductOverview/ReportSnapshotSlide.tsx b/electron/servers/nextjs/app/presentation-templates/ProductOverview/ReportSnapshotSlide.tsx index cc33eaf3..d158a8e6 100644 --- a/electron/servers/nextjs/app/presentation-templates/ProductOverview/ReportSnapshotSlide.tsx +++ b/electron/servers/nextjs/app/presentation-templates/ProductOverview/ReportSnapshotSlide.tsx @@ -365,7 +365,7 @@ const ReportSnapshotSlide = ({ data }: { data: Partial }) => { {taglineLabel}

{taglineBody} @@ -374,7 +374,7 @@ const ReportSnapshotSlide = ({ data }: { data: Partial }) => {

@@ -660,10 +660,10 @@ const ReportSnapshotSlide = ({ data }: { data: Partial }) => {
-
+
{visibleMetricCards.map((metric, index) => (
}) => { >
-
+
{sections?.map((section, index) => (
@@ -75,12 +75,12 @@ const TableOfContentSlide = ({ data }: { data: Partial }) => { > {section.title}

-

{section.description} -

+

}