export type LogEntry = { id: string; type: "info" | "warn" | "ban" | "twitch" | "sub" | "unban"; text: string; reason?: string; time: string; }; const typeStyles = { info: { border: "border-l-[#4aff8c]/60", icon: "✅" }, warn: { border: "border-l-yellow-400/60", icon: "⚠️" }, ban: { border: "border-l-red-500/60", icon: "🔨" }, unban: { border: "border-l-blue-400/60", icon: "🔓" }, twitch: { border: "border-l-purple-400/60", icon: "📡" }, sub: { border: "border-l-[#4aff8c]/60", icon: "🎖️" }, }; const MOCK_LOGS: LogEntry[] = [ { id: "1", type: "ban", text: "DragonSlayer99 banni par Marouette", reason: "Spam répété", time: "il y a 12 min" }, { id: "2", type: "warn", text: "ChaosGremlin — avertissement", reason: "Langage inapproprié", time: "il y a 28 min" }, { id: "3", type: "sub", text: "Rôle Sub attribué à HunterX42", reason: "Abonnement Twitch détecté", time: "il y a 1h" }, { id: "4", type: "info", text: "Rôle Viewer donné à NoviceHunter", time: "il y a 1h" }, { id: "5", type: "twitch", text: "EventSub enregistré : stream.online", time: "il y a 2h" }, { id: "6", type: "info", text: "RATHIAN éveillé — connexion établie", time: "il y a 2h" }, ]; export default function LogFeed({ logs = MOCK_LOGS }: { logs?: LogEntry[] }) { return (