Rende collassabili badge e tesseramento nel profilo e toglie Scout Live dalla home.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ivan Cacciari
2026-09-04 12:43:53 +02:00
co-authored by Cursor
parent fe1ac5434c
commit 438076c572
4 changed files with 17 additions and 16 deletions
+3 -3
View File
@@ -3,7 +3,7 @@ import { useEffect, useRef, useState } from "react";
import { toast } from "sonner";
import { Flame, Camera, Trash2, Bell, LogOut, ShieldCheck, Bug, Lightbulb } from "lucide-react";
import { cn } from "@/lib/utils";
import { PageHeader, Section, StatTile } from "@/components/crapp/ui-bits";
import { PageHeader, Section, SezioneTendina, StatTile } from "@/components/crapp/ui-bits";
import { Avatar } from "@/components/crapp/Avatar";
import {
caricaAvatar,
@@ -201,9 +201,9 @@ function Profilo() {
<SerieGriglia g={g} />
</Section>
<Section titolo="Collezione badge" indice={3}>
<SezioneTendina titolo="Collezione badge" indice={3}>
<CollezioneBadge g={g} votiSocial={votiSocial.data ?? []} />
</Section>
</SezioneTendina>
<ProfiloAmministrativo giocatoreId={g.id} indice={4} />