--- interface Props { summary?: { audience: string; painPoint: string; impact: { metric: string; detail: string }[]; stack: string[]; jumpLinks?: { business?: string; architecture?: string; result?: string }; }; lang?: 'en' | 'zh'; } const { summary, lang = 'en' } = Astro.props; if (!summary) return null; const labels = lang === 'zh' ? { badge: '⚡ 核心速览 · Executive Summary', for: '适用读者:', problem: '核心痛点', impact: '交付成果与指标', stack: '涉及技术栈', nav: '快速跳读', btnBiz: '看商业/交付结果 ↓', btnArch: '看系统架构与排障 ↓', btnLesson: '看复盘与避坑指南 ↓' } : { badge: '⚡ Executive Summary', for: 'Target Audience:', problem: 'The Problem', impact: 'Key Outcomes & Metrics', stack: 'Architecture Stack', nav: 'Quick Jump', btnBiz: 'Business Outcome ↓', btnArch: 'Architecture & Root Cause ↓', btnLesson: 'Lessons Learned ↓' }; ---