import React, { useState } from 'react' interface ProductsSectionProps { language?: 'zh' | 'en' } export const ProductsSection: React.FC = ({ language = 'zh' }) => { const [activeTab, setActiveTab] = useState(0) const content = { zh: { title: '我们的产品与服务', subtitle: '全面覆盖企业AI转型的各个阶段', tabs: ['AI平台', '数据分析', '自动化流程', '智能客服'], products: [ { title: 'TuringFlow AI平台', description: '企业级AI开发与部署平台,支持多模态AI模型训练、推理和监控', features: [ '支持主流深度学习框架', '可视化模型训练界面', '自动化模型调优', '实时性能监控', ], cta: '了解详情', }, { title: '智能数据分析套件', description: '一站式数据分析解决方案,从数据采集到智能洞察的全流程覆盖', features: [ '实时数据流处理', '智能异常检测', '预测性分析', '可视化报表', ], cta: '查看案例', }, { title: '流程自动化引擎', description: '基于RPA和AI的流程自动化平台,实现业务流程的智能化改造', features: [ '无代码流程设计', '智能文档处理', '跨系统集成', '流程监控与优化', ], cta: '免费试用', }, { title: '智能客服解决方案', description: '融合NLP和知识图谱的智能客服系统,提升客户服务效率和质量', features: [ '多轮对话理解', '情感分析', '知识库管理', '人工客服协同', ], cta: '预约演示', }, ], }, en: { title: 'Our Products & Services', subtitle: 'Comprehensive coverage of all stages of enterprise AI transformation', tabs: ['AI Platform', 'Data Analytics', 'Automation', 'Intelligent Support'], products: [ { title: 'TuringFlow AI Platform', description: 'Enterprise-grade AI development and deployment platform supporting multimodal AI model training, inference, and monitoring', features: [ 'Support for mainstream deep learning frameworks', 'Visual model training interface', 'Automated model tuning', 'Real-time performance monitoring', ], cta: 'Learn More', }, { title: 'Intelligent Analytics Suite', description: 'End-to-end data analytics solution covering the entire process from data collection to intelligent insights', features: [ 'Real-time data stream processing', 'Intelligent anomaly detection', 'Predictive analytics', 'Visual reporting', ], cta: 'View Cases', }, { title: 'Process Automation Engine', description: 'RPA and AI-based process automation platform for intelligent business process transformation', features: [ 'No-code process design', 'Intelligent document processing', 'Cross-system integration', 'Process monitoring and optimization', ], cta: 'Free Trial', }, { title: 'Intelligent Support Solution', description: 'NLP and knowledge graph integrated intelligent customer service system to enhance service efficiency and quality', features: [ 'Multi-turn conversation understanding', 'Sentiment analysis', 'Knowledge base management', 'Human agent collaboration', ], cta: 'Book Demo', }, ], }, } const t = content[language] return (

{t.title}

{t.subtitle}

{/* Tabs */}
{t.tabs.map((tab, index) => ( ))}
{/* Active Product */}
{/* Left Side - Content */}
旗舰产品

{t.products[activeTab].title}

{t.products[activeTab].description}

    {t.products[activeTab].features.map((feature, index) => (
  • {feature}
  • ))}
{/* Right Side - Visual */}
{/* Decorative Circles */}
{/* Product Visualization */}
TF

实时监控面板

性能指标可视化

{/* Stats Grid */}
99.9%
可用性
50ms
响应时间
1M+
请求/秒
24/7
监控
{/* Performance Chart */}
性能趋势 +12%
{/* All Products Grid */}
{t.products.map((product, index) => (
setActiveTab(index)} aria-label={`查看${product.title}`} role="button" tabIndex={0} onKeyDown={(e) => e.key === 'Enter' && setActiveTab(index)} >
{index + 1}

{product.title}

{product.description}

))}
) }