Scrum4Me/components/solo/no-active-sprint.tsx
2026-04-26 16:29:31 +02:00

25 lines
881 B
TypeScript

import Link from 'next/link'
interface NoActiveSprintProps {
productId: string
productName: string
}
export function NoActiveSprint({ productId, productName }: NoActiveSprintProps) {
return (
<div className="flex flex-col items-center justify-center h-full gap-4 text-center px-6">
<div className="text-4xl text-muted-foreground">🏃</div>
<h2 className="text-lg font-medium text-foreground">Geen actieve sprint</h2>
<p className="text-sm text-muted-foreground max-w-sm">
Er is nog geen actieve sprint voor <span className="font-medium text-foreground">{productName}</span>.
Start een sprint in het Sprint Board om hier je taken te zien.
</p>
<Link
href={`/products/${productId}/sprint`}
className="text-sm text-primary hover:underline"
>
Naar Sprint Board
</Link>
</div>
)
}