feat: replace arrow icon with mouse pointer icon and add bounce animation for 'in_attesa' status
This commit is contained in:
parent
db63591bcb
commit
547b1d6ce6
1 changed files with 8 additions and 2 deletions
|
|
@ -10,6 +10,7 @@ import {
|
|||
ClockFading,
|
||||
ExternalLink,
|
||||
type LucideIcon,
|
||||
MousePointerClick,
|
||||
PackageCheck,
|
||||
Trash2,
|
||||
} from "lucide-react";
|
||||
|
|
@ -221,9 +222,14 @@ const ServizioLinkCard = ({
|
|||
|
||||
<span>{t.servizio.status[status]}</span>
|
||||
</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>
|
||||
<ArrowRight />
|
||||
<MousePointerClick />
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue