import React from 'react'; import { Database, GitBranch, Bot, Globe, Server, ArrowRight, Cpu, HardDrive, Share2 } from 'lucide-react'; import { motion } from 'framer-motion'; import { useTranslation } from 'react-i18next'; export default function ArchitectureMap() { const { t } = useTranslation(); const nodes = [ { id: 'data', label: t('overview.arch.data_layer'), icon: Database, color: 'bg-emerald-500', desc: t('overview.arch.data_desc'), status: 'operational' }, { id: 'workflow', label: t('overview.arch.orchestration'), icon: GitBranch, color: 'bg-blue-500', desc: t('overview.arch.orch_desc'), status: 'processing' }, { id: 'agent', label: t('overview.arch.agent_core'), icon: Bot, color: 'bg-purple-500', desc: t('overview.arch.agent_desc'), status: 'operational' }, { id: 'app', label: t('overview.arch.application'), icon: Globe, color: 'bg-orange-500', desc: t('overview.arch.app_desc'), status: 'active' } ]; return (

{t('overview.arch.title')}

{t('overview.arch.system_online')}
{/* Connecting Line (Desktop) */}
{nodes.map((node, idx) => (
{node.status === 'processing' && ( )}
{node.label}
{node.desc}
{/* Status Dot */}
{t(`overview.arch.status.${node.status}`)}
{/* Arrow (except last) */} {idx < nodes.length - 1 && (
)} {idx < nodes.length - 1 && ( )}
))}
{/* Metrics Row */}
{t('overview.arch.load')}
34%
{t('overview.arch.latency')}
45ms
{t('overview.arch.storage')}
1.2GB
); }