import { HardDrive, Cpu, Zap, Activity } from "lucide-react";
import { motion } from "framer-motion";
interface SystemStatusProps {
status?: {
cpuLoad: number;
memoryUsage: number;
memoryTotal: number;
storageUsage: number;
activeRunners: number;
uptime: string;
};
}
// Glowing ring gauge component
function GlowingGauge({
value,
icon: Icon,
label,
gradientColors
}: {
value: number;
icon: typeof Cpu;
label: string;
gradientColors: [string, string];
}) {
const radius = 40;
const circumference = 2 * Math.PI * radius;
const strokeDashoffset = circumference - (circumference * value) / 100;
return (