import React from 'react'; import { SystemStatus } from '../types'; interface StatusItemProps { label: string; status: string; color: string; } const StatusItem: React.FC = ({ label, status, color }) => (
{label} {status}
); interface SystemMonitorProps { codexStatus: SystemStatus; } const SystemMonitor: React.FC = ({ codexStatus }) => { const getCodexStatusColor = () => { switch (codexStatus) { case 'SYNCED': return 'text-cyan-400'; case 'RECOVERING': return 'text-yellow-400 animate-pulse'; case 'ERROR': return 'text-red-500 animate-pulse'; default: return 'text-gray-500'; } } return (

SYSTEM MONITOR

> Peace Through Formal Strength

> All systems nominal.

); }; export default SystemMonitor;