'use client'; import { useState } from 'react'; // Icon components using Google Material Icons style const ComputeIcon = () => ( ); const ServerlessIcon = () => ( ); const ContainerIcon = () => ( ); const StorageIcon = () => ( ); const DatabaseIcon = () => ( ); const CacheIcon = () => ( ); const AIIcon = () => ( ); const VisionIcon = () => ( ); const TextIcon = () => ( ); const FileIcon = () => ( ); // Icon mapping const getProductIcon = (productName: string) => { const iconMap: { [key: string]: JSX.Element } = { 'Amazon EC2': , 'AWS Lambda': , 'Amazon ECS': , 'Amazon S3': , 'Amazon EBS': , 'Amazon EFS': , 'Amazon RDS': , 'Amazon DynamoDB': , 'Amazon ElastiCache': , 'Amazon SageMaker': , 'Amazon Rekognition': , 'Amazon Comprehend': , }; return iconMap[productName] || ; }; interface AWSProductsSectionProps { currentLang: string; } export default function AWSProductsSection({ currentLang }: AWSProductsSectionProps) { const [activeCategory, setActiveCategory] = useState('compute'); const content = { 'zh-CN': { title: 'AWS 主流产品', subtitle: '全面的云计算服务产品组合', categories: { compute: '计算服务', storage: '存储服务', database: '数据库服务', ai: 'AI/ML服务', }, products: { compute: [ { name: 'Amazon EC2', description: '可扩展的云计算容量', features: ['按需付费', '多种实例类型', '全球部署', '高可用性'], icon: 'Amazon EC2', }, { name: 'AWS Lambda', description: '无服务器计算服务', features: ['事件驱动', '自动扩展', '按使用付费', '多语言支持'], icon: 'AWS Lambda', }, { name: 'Amazon ECS', description: '容器编排服务', features: ['Docker支持', '微服务架构', '负载均衡', '服务发现'], icon: 'Amazon ECS', }, ], storage: [ { name: 'Amazon S3', description: '对象存储服务', features: ['99.999999999%持久性', '无限扩展', '多种存储类别', '数据加密'], icon: 'Amazon S3', }, { name: 'Amazon EBS', description: '块存储服务', features: ['高性能', '快照备份', '加密支持', '多种卷类型'], icon: 'Amazon EBS', }, { name: 'Amazon EFS', description: '文件存储服务', features: ['完全托管', '自动扩展', 'POSIX兼容', '高吞吐量'], icon: 'Amazon EFS', }, ], database: [ { name: 'Amazon RDS', description: '关系数据库服务', features: ['多引擎支持', '自动备份', '读取副本', '监控告警'], icon: 'Amazon RDS', }, { name: 'Amazon DynamoDB', description: 'NoSQL数据库服务', features: ['毫秒级延迟', '自动扩展', '全球表', '备份恢复'], icon: 'Amazon DynamoDB', }, { name: 'Amazon ElastiCache', description: '内存缓存服务', features: ['Redis/Memcached', '高性能', '自动故障转移', '监控分析'], icon: 'Amazon ElastiCache', }, ], ai: [ { name: 'Amazon SageMaker', description: '机器学习平台', features: ['端到端ML', '预构建算法', '模型部署', 'AutoML'], icon: 'Amazon SageMaker', }, { name: 'Amazon Rekognition', description: '图像和视频分析', features: ['人脸识别', '对象检测', '文本识别', '内容审核'], icon: 'Amazon Rekognition', }, { name: 'Amazon Comprehend', description: '自然语言处理', features: ['情感分析', '实体识别', '语言检测', '主题建模'], icon: 'Amazon Comprehend', }, ], }, }, 'zh-TW': { title: 'AWS 主流產品', subtitle: '全面的雲端運算服務產品組合', categories: { compute: '運算服務', storage: '儲存服務', database: '資料庫服務', ai: 'AI/ML服務', }, products: { compute: [ { name: 'Amazon EC2', description: '可擴展的雲端運算容量', features: ['按需付費', '多種實例類型', '全球部署', '高可用性'], icon: 'Amazon EC2', }, { name: 'AWS Lambda', description: '無伺服器運算服務', features: ['事件驅動', '自動擴展', '按使用付費', '多語言支援'], icon: 'AWS Lambda', }, { name: 'Amazon ECS', description: '容器編排服務', features: ['Docker支援', '微服務架構', '負載平衡', '服務發現'], icon: 'Amazon ECS', }, ], storage: [ { name: 'Amazon S3', description: '物件儲存服務', features: ['99.999999999%持久性', '無限擴展', '多種儲存類別', '資料加密'], icon: 'Amazon S3', }, { name: 'Amazon EBS', description: '區塊儲存服務', features: ['高效能', '快照備份', '加密支援', '多種卷類型'], icon: 'Amazon EBS', }, { name: 'Amazon EFS', description: '檔案儲存服務', features: ['完全託管', '自動擴展', 'POSIX相容', '高吞吐量'], icon: 'Amazon EFS', }, ], database: [ { name: 'Amazon RDS', description: '關聯式資料庫服務', features: ['多引擎支援', '自動備份', '讀取副本', '監控告警'], icon: 'Amazon RDS', }, { name: 'Amazon DynamoDB', description: 'NoSQL資料庫服務', features: ['毫秒級延遲', '自動擴展', '全球表', '備份恢復'], icon: 'Amazon DynamoDB', }, { name: 'Amazon ElastiCache', description: '記憶體快取服務', features: ['Redis/Memcached', '高效能', '自動故障轉移', '監控分析'], icon: 'Amazon ElastiCache', }, ], ai: [ { name: 'Amazon SageMaker', description: '機器學習平台', features: ['端到端ML', '預構建演算法', '模型部署', 'AutoML'], icon: 'Amazon SageMaker', }, { name: 'Amazon Rekognition', description: '圖像和影片分析', features: ['人臉識別', '物件檢測', '文字識別', '內容審核'], icon: 'Amazon Rekognition', }, { name: 'Amazon Comprehend', description: '自然語言處理', features: ['情感分析', '實體識別', '語言檢測', '主題建模'], icon: 'Amazon Comprehend', }, ], }, }, en: { title: 'AWS Core Products', subtitle: 'Comprehensive cloud computing service portfolio', categories: { compute: 'Compute Services', storage: 'Storage Services', database: 'Database Services', ai: 'AI/ML Services', }, products: { compute: [ { name: 'Amazon EC2', description: 'Scalable cloud computing capacity', features: [ 'Pay-as-you-go', 'Multiple instance types', 'Global deployment', 'High availability', ], icon: 'Amazon EC2', }, { name: 'AWS Lambda', description: 'Serverless computing service', features: [ 'Event-driven', 'Auto scaling', 'Pay per use', 'Multi-language support', ], icon: 'AWS Lambda', }, { name: 'Amazon ECS', description: 'Container orchestration service', features: [ 'Docker support', 'Microservices', 'Load balancing', 'Service discovery', ], icon: 'Amazon ECS', }, ], storage: [ { name: 'Amazon S3', description: 'Object storage service', features: [ '99.999999999% durability', 'Unlimited scaling', 'Multiple storage classes', 'Data encryption', ], icon: 'Amazon S3', }, { name: 'Amazon EBS', description: 'Block storage service', features: [ 'High performance', 'Snapshot backup', 'Encryption support', 'Multiple volume types', ], icon: 'Amazon EBS', }, { name: 'Amazon EFS', description: 'File storage service', features: [ 'Fully managed', 'Auto scaling', 'POSIX compatible', 'High throughput', ], icon: 'Amazon EFS', }, ], database: [ { name: 'Amazon RDS', description: 'Relational database service', features: [ 'Multi-engine support', 'Automated backups', 'Read replicas', 'Monitoring & alerts', ], icon: 'Amazon RDS', }, { name: 'Amazon DynamoDB', description: 'NoSQL database service', features: [ 'Millisecond latency', 'Auto scaling', 'Global tables', 'Backup & restore', ], icon: 'Amazon DynamoDB', }, { name: 'Amazon ElastiCache', description: 'In-memory caching service', features: [ 'Redis/Memcached', 'High performance', 'Auto failover', 'Monitoring & analytics', ], icon: 'Amazon ElastiCache', }, ], ai: [ { name: 'Amazon SageMaker', description: 'Machine learning platform', features: [ 'End-to-end ML', 'Pre-built algorithms', 'Model deployment', 'AutoML', ], icon: 'Amazon SageMaker', }, { name: 'Amazon Rekognition', description: 'Image and video analysis', features: [ 'Face recognition', 'Object detection', 'Text recognition', 'Content moderation', ], icon: 'Amazon Rekognition', }, { name: 'Amazon Comprehend', description: 'Natural language processing', features: [ 'Sentiment analysis', 'Entity recognition', 'Language detection', 'Topic modeling', ], icon: 'Amazon Comprehend', }, ], }, }, ko: { title: 'AWS 핵심 제품', subtitle: '포괄적인 클라우드 컴퓨팅 서비스 포트폴리오', categories: { compute: '컴퓨팅 서비스', storage: '스토리지 서비스', database: '데이터베이스 서비스', ai: 'AI/ML 서비스', }, products: { compute: [ { name: 'Amazon EC2', description: '확장 가능한 클라우드 컴퓨팅 용량', features: [ '사용한 만큼 지불', '다양한 인스턴스 유형', '글로벌 배포', '고가용성', ], icon: 'Amazon EC2', }, { name: 'AWS Lambda', description: '서버리스 컴퓨팅 서비스', features: [ '이벤트 기반', '자동 확장', '사용량 기반 요금', '다중 언어 지원', ], icon: 'AWS Lambda', }, { name: 'Amazon ECS', description: '컨테이너 오케스트레이션 서비스', features: ['Docker 지원', '마이크로서비스', '로드 밸런싱', '서비스 검색'], icon: 'Amazon ECS', }, ], storage: [ { name: 'Amazon S3', description: '객체 스토리지 서비스', features: [ '99.999999999% 내구성', '무제한 확장', '다양한 스토리지 클래스', '데이터 암호화', ], icon: '🗄️', }, { name: 'Amazon EBS', description: '블록 스토리지 서비스', features: ['고성능', '스냅샷 백업', '암호화 지원', '다양한 볼륨 유형'], icon: '💾', }, { name: 'Amazon EFS', description: '파일 스토리지 서비스', features: ['완전 관리형', '자동 확장', 'POSIX 호환', '높은 처리량'], icon: '📁', }, ], database: [ { name: 'Amazon RDS', description: '관계형 데이터베이스 서비스', features: [ '다중 엔진 지원', '자동 백업', '읽기 전용 복제본', '모니터링 및 알림', ], icon: 'Amazon RDS', }, { name: 'Amazon DynamoDB', description: 'NoSQL 데이터베이스 서비스', features: [ '밀리초 지연 시간', '자동 확장', '글로벌 테이블', '백업 및 복원', ], icon: 'Amazon DynamoDB', }, { name: 'Amazon ElastiCache', description: '인메모리 캐싱 서비스', features: [ 'Redis/Memcached', '고성능', '자동 장애 조치', '모니터링 및 분석', ], icon: 'Amazon ElastiCache', }, ], ai: [ { name: 'Amazon SageMaker', description: '머신러닝 플랫폼', features: ['엔드투엔드 ML', '사전 구축된 알고리즘', '모델 배포', 'AutoML'], icon: 'Amazon SageMaker', }, { name: 'Amazon Rekognition', description: '이미지 및 비디오 분석', features: ['얼굴 인식', '객체 감지', '텍스트 인식', '콘텐츠 조정'], icon: 'Amazon Rekognition', }, { name: 'Amazon Comprehend', description: '자연어 처리', features: ['감정 분석', '개체 인식', '언어 감지', '주제 모델링'], icon: 'Amazon Comprehend', }, ], }, }, ja: { title: 'AWS コア製品', subtitle: '包括的なクラウドコンピューティングサービスポートフォリオ', categories: { compute: 'コンピューティングサービス', storage: 'ストレージサービス', database: 'データベースサービス', ai: 'AI/MLサービス', }, products: { compute: [ { name: 'Amazon EC2', description: 'スケーラブルなクラウドコンピューティング容量', features: [ '従量課金制', '複数のインスタンスタイプ', 'グローバル展開', '高可用性', ], icon: 'Amazon EC2', }, { name: 'AWS Lambda', description: 'サーバーレスコンピューティングサービス', features: [ 'イベント駆動', '自動スケーリング', '使用量ベース課金', '多言語サポート', ], icon: 'AWS Lambda', }, { name: 'Amazon ECS', description: 'コンテナオーケストレーションサービス', features: [ 'Dockerサポート', 'マイクロサービス', 'ロードバランシング', 'サービス検出', ], icon: 'Amazon ECS', }, ], storage: [ { name: 'Amazon S3', description: 'オブジェクトストレージサービス', features: [ '99.999999999%の耐久性', '無制限スケーリング', '複数のストレージクラス', 'データ暗号化', ], icon: 'Amazon S3', }, { name: 'Amazon EBS', description: 'ブロックストレージサービス', features: [ '高性能', 'スナップショットバックアップ', '暗号化サポート', '複数のボリュームタイプ', ], icon: 'Amazon EBS', }, { name: 'Amazon EFS', description: 'ファイルストレージサービス', features: [ 'フルマネージド', '自動スケーリング', 'POSIX互換', '高スループット', ], icon: 'Amazon EFS', }, ], database: [ { name: 'Amazon RDS', description: 'リレーショナルデータベースサービス', features: [ 'マルチエンジンサポート', '自動バックアップ', 'リードレプリカ', 'モニタリング&アラート', ], icon: 'Amazon RDS', }, { name: 'Amazon DynamoDB', description: 'NoSQLデータベースサービス', features: [ 'ミリ秒レイテンシ', '自動スケーリング', 'グローバルテーブル', 'バックアップ&リストア', ], icon: 'Amazon DynamoDB', }, { name: 'Amazon ElastiCache', description: 'インメモリキャッシングサービス', features: [ 'Redis/Memcached', '高性能', '自動フェイルオーバー', 'モニタリング&分析', ], icon: 'Amazon ElastiCache', }, ], ai: [ { name: 'Amazon SageMaker', description: '機械学習プラットフォーム', features: [ 'エンドツーエンドML', '事前構築アルゴリズム', 'モデルデプロイ', 'AutoML', ], icon: 'Amazon SageMaker', }, { name: 'Amazon Rekognition', description: '画像・動画分析', features: [ '顔認識', 'オブジェクト検出', 'テキスト認識', 'コンテンツモデレーション', ], icon: 'Amazon Rekognition', }, { name: 'Amazon Comprehend', description: '自然言語処理', features: [ '感情分析', 'エンティティ認識', '言語検出', 'トピックモデリング', ], icon: 'Amazon Comprehend', }, ], }, }, }; const currentContent = content[currentLang] || content.en; const currentProducts = currentContent.products[activeCategory]; return (
{/* Header */}

{currentContent.title}

{currentContent.subtitle}

{/* Category Tabs */}
{Object.entries(currentContent.categories).map(([key, label]) => ( ))}
{/* Products Grid */}
{currentProducts.map((product, index) => (
{/* Product Icon & Name */}
{getProductIcon(product.icon)}

{product.name}

{product.description}

{/* Features */}
{product.features.map((feature, featureIndex) => (
{feature}
))}
{/* Learn More Button */}
))}
); }