feat: replace arrow icon with mouse pointer icon and add bounce animation for 'in_attesa' status

This commit is contained in:
Marco Pedone 2026-03-12 13:48:45 +01:00
parent db63591bcb
commit 547b1d6ce6

View file

@ -10,6 +10,7 @@ import {
ClockFading, ClockFading,
ExternalLink, ExternalLink,
type LucideIcon, type LucideIcon,
MousePointerClick,
PackageCheck, PackageCheck,
Trash2, Trash2,
} from "lucide-react"; } from "lucide-react";
@ -221,9 +222,14 @@ const ServizioLinkCard = ({
<span>{t.servizio.status[status]}</span> <span>{t.servizio.status[status]}</span>
</div> </div>
<div className="flex items-center gap-2 rounded-md text-muted-foreground group-hover:text-foreground"> <div
className={cn(
"flex items-center gap-2 rounded-md text-muted-foreground group-hover:text-foreground",
status === "in_attesa" && "animate-bounce",
)}
>
<span>{t.servizio.vai_al_servizio}</span> <span>{t.servizio.vai_al_servizio}</span>
<ArrowRight /> <MousePointerClick />
</div> </div>
</CardContent> </CardContent>
</Card> </Card>