From 03e3e0da774515f5f084df14adf2654111060c74 Mon Sep 17 00:00:00 2001 From: sauravniraula Date: Mon, 28 Jul 2025 15:33:35 +0545 Subject: [PATCH] fix(layout): reduces scatter plot max to 20 from 100 --- .../general/ChartWithBulletsSlideLayout.tsx | 2 +- servers/nextjs/presentation-layouts/general/TeamSlideLayout.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/nextjs/presentation-layouts/general/ChartWithBulletsSlideLayout.tsx b/servers/nextjs/presentation-layouts/general/ChartWithBulletsSlideLayout.tsx index a7154e8f..47515393 100644 --- a/servers/nextjs/presentation-layouts/general/ChartWithBulletsSlideLayout.tsx +++ b/servers/nextjs/presentation-layouts/general/ChartWithBulletsSlideLayout.tsx @@ -21,7 +21,7 @@ const scatterChartDataSchema = z.object({ data: z.array(z.object({ x: z.number().meta({ description: "X coordinate" }), y: z.number().meta({ description: "Y coordinate" }), - })).min(2).max(100) + })).min(2).max(20) }) const chartWithBulletsSlideSchema = z.object({ diff --git a/servers/nextjs/presentation-layouts/general/TeamSlideLayout.tsx b/servers/nextjs/presentation-layouts/general/TeamSlideLayout.tsx index 5de04d87..8c7551f6 100644 --- a/servers/nextjs/presentation-layouts/general/TeamSlideLayout.tsx +++ b/servers/nextjs/presentation-layouts/general/TeamSlideLayout.tsx @@ -26,7 +26,7 @@ const teamSlideSchema = z.object({ companyDescription: z.string().min(10).max(150).default('Ginyard International Co. is a leading provider of innovative digital solutions tailored for businesses. Our mission is to empower organizations to achieve their goals through cutting-edge technology and strategic partnerships.').meta({ description: "Company description or team introduction text", }), - teamMembers: z.array(teamMemberSchema).min(2).max(3).default([ + teamMembers: z.array(teamMemberSchema).min(2).max(4).default([ { name: 'Juliana Silva', position: 'CEO',