Ridisegna EventoCard e toglie infortunato dagli eventi extra-campo.

Card cliccabile con icone presenza compatte, senza barra percentuale; avatar home leggermente più grande.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ivan Cacciari
2026-09-07 10:58:57 +02:00
co-authored by Cursor
parent c44fd8495e
commit a6799b91d3
4 changed files with 156 additions and 88 deletions
+2 -2
View File
@@ -53,14 +53,14 @@ export function Card({
*/
export function LinkProfilo() {
const g = useIo();
if (!g) return <TeamLogo className="h-11 w-11" />;
if (!g) return <TeamLogo className="h-12 w-12" />;
return (
<Link
to="/profilo"
aria-label="Il tuo profilo"
className="premi shrink-0 rounded-2xl ring-2 ring-primary-foreground/30"
>
<Avatar id={g.id} fallback={g.iniziali} className="h-11 w-11 text-lg" />
<Avatar id={g.id} fallback={g.iniziali} className="h-12 w-12 text-lg" />
</Link>
);
}