/** * ScoreRing.jsx * Animated SVG circular score ring used in the candidate table. */ export default function ScoreRing({ score, size = 56 }) { const radius = 20; const circumference = 2 * Math.PI * radius; // ≈ 125.6 const offset = circumference - (score / 100) * circumference; const color = score >= 70 ? '#10b981' : score >= 50 ? '#f59e0b' : '#ef4444'; return ( {/* Background ring */} {/* Score ring */} {/* Score text (needs rotate back) */} {score.toFixed(0)} ); }