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,
|
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>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue