'use client' import { Language, PitchFeature, PitchCompetitor } from '@/lib/types' import { t } from '@/lib/i18n' import { ShieldCheck, Code2, ScanLine, FileSearch, Package, Bug } from 'lucide-react' import GradientText from '../ui/GradientText' import FadeInView from '../ui/FadeInView' import FeatureMatrix from '../ui/FeatureMatrix' import GlassCard from '../ui/GlassCard' import BrandName from '../ui/BrandName' interface CompetitionSlideProps { lang: Language features: PitchFeature[] competitors: PitchCompetitor[] } const securityFeatures = { de: [ { icon: ShieldCheck, title: 'DevSecOps Security Suite', desc: '6 integrierte Security-Tools fuer kontinuierliche Sicherheitsueberwachung' }, { icon: ScanLine, title: 'SAST & Secrets Detection', desc: 'Automatische Code-Analyse (Semgrep) + Secrets-Scanning (Gitleaks) in der CI/CD Pipeline' }, { icon: Bug, title: 'Container & Dependency Scanning', desc: 'Trivy + Grype scannen Container-Images und Abhaengigkeiten auf CVEs' }, { icon: Package, title: 'SBOM-Generator (NIS2-konform)', desc: 'CycloneDX/SPDX Software Bill of Materials fuer NIS2 und ISO 27001 Compliance' }, { icon: FileSearch, title: 'Software-Risikoanalyse', desc: 'Automatisierte Risikoklassifizierung fuer Embedded-Entwicklung und AI-Act-konforme Systeme' }, { icon: Code2, title: 'KI-Code-Assistent (1000b)', desc: 'Das Cloud-LLM unterstuetzt Entwickler bei Code-Reviews, Security-Fixes und Compliance-Dokumentation' }, ], en: [ { icon: ShieldCheck, title: 'DevSecOps Security Suite', desc: '6 integrated security tools for continuous security monitoring' }, { icon: ScanLine, title: 'SAST & Secrets Detection', desc: 'Automatic code analysis (Semgrep) + secrets scanning (Gitleaks) in CI/CD pipeline' }, { icon: Bug, title: 'Container & Dependency Scanning', desc: 'Trivy + Grype scan container images and dependencies for CVEs' }, { icon: Package, title: 'SBOM Generator (NIS2 compliant)', desc: 'CycloneDX/SPDX Software Bill of Materials for NIS2 and ISO 27001 compliance' }, { icon: FileSearch, title: 'Software Risk Analysis', desc: 'Automated risk classification for embedded development and AI Act compliant systems' }, { icon: Code2, title: 'AI Code Assistant (1000b)', desc: 'Cloud LLM assists developers with code reviews, security fixes and compliance documentation' }, ], } export default function CompetitionSlide({ lang, features, competitors }: CompetitionSlideProps) { const i = t(lang) const coreFeatures = features.filter(f => f.category !== 'security') const secFeats = securityFeatures[lang] return (

{i.competition.title}

{i.competition.subtitle}

{/* Feature Matrix (Core Compliance) */} {/* Security & Developer Features — nur bei ComplAI */}

{lang === 'de' ? <>Integrierte Security & Developer Tools — nur bei : <>Integrated Security & Developer Tools — only}

{secFeats.map((feat, idx) => { const Icon = feat.icon return (
{feat.title}

{feat.desc}

) })}
{/* Competitor Summary */}
{competitors.map((c, idx) => (

{c.name}

{c.customers_count.toLocaleString()} {lang === 'de' ? 'Kunden' : 'customers'}

{c.pricing_range}

{(c.weaknesses || []).slice(0, 2).map((w, widx) => ( {w} ))}
))}
) }