From 63d9566ee4fe5f473f1064b6852ca19e10f89636 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Wed, 22 Apr 2026 09:31:11 +0200 Subject: [PATCH] fix(pitch-deck): KPICard NaN for string values, remove cap-table + Land&Expand - KPICard: accept string values (e.g. "380+") without NaN - Remove cap-table slide from order + sidebar - Remove Land & Expand arrow from Pricing slide Co-Authored-By: Claude Opus 4.6 (1M context) --- pitch-deck/components/slides/BusinessModelSlide.tsx | 10 ---------- pitch-deck/components/ui/KPICard.tsx | 4 ++-- pitch-deck/lib/i18n.ts | 2 -- pitch-deck/lib/slide-order.ts | 1 - 4 files changed, 2 insertions(+), 15 deletions(-) diff --git a/pitch-deck/components/slides/BusinessModelSlide.tsx b/pitch-deck/components/slides/BusinessModelSlide.tsx index b8e20ef..99dac25 100644 --- a/pitch-deck/components/slides/BusinessModelSlide.tsx +++ b/pitch-deck/components/slides/BusinessModelSlide.tsx @@ -5,7 +5,6 @@ import { t } from '@/lib/i18n' import GradientText from '../ui/GradientText' import FadeInView from '../ui/FadeInView' import GlassCard from '../ui/GlassCard' -import { ArrowRight } from 'lucide-react' interface BusinessModelSlideProps { lang: Language @@ -92,15 +91,6 @@ export default function BusinessModelSlide({ lang }: BusinessModelSlideProps) { ))} - {/* Expansion arrow */} - - Starter - - Professional - - Enterprise - {de ? 'Land & Expand' : 'Land & Expand'} - ) } diff --git a/pitch-deck/components/ui/KPICard.tsx b/pitch-deck/components/ui/KPICard.tsx index d29492e..0327e47 100644 --- a/pitch-deck/components/ui/KPICard.tsx +++ b/pitch-deck/components/ui/KPICard.tsx @@ -6,7 +6,7 @@ import AnimatedCounter from './AnimatedCounter' interface KPICardProps { label: string - value: number + value: number | string prefix?: string suffix?: string decimals?: number @@ -43,7 +43,7 @@ export default function KPICard({

{label}

- + {typeof value === 'string' ? `${prefix}${value}${suffix}` : }

{trend !== 'neutral' && ( diff --git a/pitch-deck/lib/i18n.ts b/pitch-deck/lib/i18n.ts index 038bd6f..1aa886e 100644 --- a/pitch-deck/lib/i18n.ts +++ b/pitch-deck/lib/i18n.ts @@ -23,7 +23,6 @@ const translations = { 'Wettbewerb', 'Team', 'The Ask', - 'Investition & Cap Table', 'Kundenersparnis', 'KI Q&A', 'Anhang: Strategie', @@ -319,7 +318,6 @@ const translations = { 'Competition', 'Team', 'The Ask', - 'Investment & Cap Table', 'Customer Savings', 'AI Q&A', 'Appendix: Strategy', diff --git a/pitch-deck/lib/slide-order.ts b/pitch-deck/lib/slide-order.ts index 4b72434..1fe3ac2 100644 --- a/pitch-deck/lib/slide-order.ts +++ b/pitch-deck/lib/slide-order.ts @@ -16,7 +16,6 @@ export const SLIDE_ORDER: SlideId[] = [ 'competition', 'team', 'the-ask', - 'cap-table', 'customer-savings', 'ai-qa', 'annex-strategy',