Alleggerisce Squadra e Classifica con sezioni a tendina e limita i prossimi eventi a 4.

Rimuove anche Scout Live dalle statistiche di squadra per snellire la schermata.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ivan Cacciari
2026-09-04 12:01:13 +02:00
co-authored by Cursor
parent 9aef361bf0
commit fe1ac5434c
4 changed files with 77 additions and 31 deletions
+3 -3
View File
@@ -2,7 +2,7 @@ import { createFileRoute, Link } from "@tanstack/react-router";
import { ChevronRight, RefreshCw } from "lucide-react";
import { cn } from "@/lib/utils";
import { formatData } from "@/lib/crapp-data";
import { PageHeader, Section } from "@/components/crapp/ui-bits";
import { PageHeader, Section, SezioneTendina } from "@/components/crapp/ui-bits";
import { useScoutMatches } from "@/lib/scout-store";
import { useCsi } from "@/lib/csi";
import { isNostraSquadra, matchDaPartitaCsi, partiteGiocate } from "@/lib/csi-core";
@@ -123,7 +123,7 @@ function Classifica() {
</div>
</Section>
<Section titolo="Storico match">
<SezioneTendina titolo="Storico match">
{tuttiMatch.length === 0 ? (
<p className="rounded-3xl bg-card p-4 text-center text-xs text-muted-foreground shadow-card">
Nessun match disponibile.
@@ -194,7 +194,7 @@ function Classifica() {
})}
</div>
)}
</Section>
</SezioneTendina>
</>
);
}