'use client' interface SprintInfo { sprintId: string productName: string sprintGoal: string taskCount: number daysLeft: number } interface Props { sprints: SprintInfo[] } function daysLeftColor(daysLeft: number): string { if (daysLeft >= 3) return 'text-[color:var(--status-done)]' if (daysLeft >= 1) return 'text-[color:var(--priority-medium)]' return 'text-[color:var(--priority-critical)]' } function truncate(text: string, max: number): string { return text.length > max ? text.slice(0, max) + '…' : text } export function SprintInfoStrip({ sprints }: Props) { if (sprints.length === 0) return null return (