import React from 'react'; import { useLanguage } from '../../contexts/LanguageContext'; import { Search, Plus, MoreHorizontal, MessageSquare } from 'lucide-react'; import { motion, AnimatePresence } from 'framer-motion'; // Mock data based on the provided design interface AgentMock { id: string; name: string; description: string; status: 'running' | 'stopped'; updatedAt: string; iconEmoji: string; iconBgClass: string; } const mockAgents: AgentMock[] = [ { id: '1', name: 'agent1Name', description: 'agent1Desc', status: 'running', updatedAt: 'agent1Time', iconEmoji: '๐งโ๐ป', iconBgClass: 'bg-indigo-50' }, { id: '2', name: 'agent2Name', description: 'agent2Desc', status: 'running', updatedAt: 'agent2Time', iconEmoji: '๐ป', iconBgClass: 'bg-green-50' }, { id: '3', name: 'agent3Name', description: 'agent3Desc', status: 'running', updatedAt: 'agent3Time', iconEmoji: '๐', iconBgClass: 'bg-blue-50' }, { id: '4', name: 'agent4Name', description: 'agent4Desc', status: 'stopped', updatedAt: 'agent4Time', iconEmoji: '๐งช', iconBgClass: 'bg-slate-100' }, { id: '5', name: 'agent5Name', description: 'agent5Desc', status: 'running', updatedAt: 'agent5Time', iconEmoji: '๐', iconBgClass: 'bg-purple-50' }, { id: '6', name: 'agent6Name', description: 'agent6Desc', status: 'running', updatedAt: 'agent6Time', iconEmoji: 'โ๏ธ', iconBgClass: 'bg-orange-50' }, { id: '7', name: 'agent7Name', description: 'agent7Desc', status: 'running', updatedAt: 'agent7Time', iconEmoji: '๐', iconBgClass: 'bg-red-50' } ]; export const AgentsView: React.FC = () => { const { t } = useLanguage(); return (
{t('agentDesc')}
{t(agent.description as any)}