Sposta Completa il tuo profilo sopra Prossimo impegno in home.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ivan CacciariandCursor committed 2026-09-04 12:50:43 +02:00
1 parent 438076c572
commit 952f7b43d3
1 file changed
+7 -7
+7 -7
View File
@@ -97,9 +97,11 @@ function Index() {
<PromemoriaPalloni /> <PromemoriaPalloni />
<CompletaProfilo giocatoreId={giocatore.id} indice={1} />
<Section <Section
titolo="Prossimo impegno" titolo="Prossimo impegno"
indice={1} indice={2}
azione={ azione={
<Link <Link
to="/calendario" to="/calendario"
@@ -118,9 +120,7 @@ function Index() {
)} )}
</Section> </Section>
<CompletaProfilo giocatoreId={giocatore.id} indice={2} /> <Section titolo="Da confermare" indice={3}>
<Section titolo="Da confermare" indice={2}>
<div className="space-y-3"> <div className="space-y-3">
{prossimi.slice(1).map((e) => { {prossimi.slice(1).map((e) => {
const link = linkPerEvento(e); const link = linkPerEvento(e);
@@ -131,7 +131,7 @@ function Index() {
<Section <Section
titolo="Ultima partita" titolo="Ultima partita"
indice={3} indice={4}
azione={ azione={
<Link <Link
to="/squadra" to="/squadra"
@@ -190,7 +190,7 @@ function Index() {
<Section <Section
titolo="Obiettivo di squadra" titolo="Obiettivo di squadra"
indice={4} indice={5}
azione={ azione={
<Link <Link
to="/squadra" to="/squadra"
@@ -218,7 +218,7 @@ function Index() {
) : null} ) : null}
</Section> </Section>
<Section titolo="Colpo d'occhio" indice={5}> <Section titolo="Colpo d'occhio" indice={6}>
<div className="grid grid-cols-3 gap-2"> <div className="grid grid-cols-3 gap-2">
<StatTile valore={giocatore.presenze} label="Presenze" hint="+2 questo mese" /> <StatTile valore={giocatore.presenze} label="Presenze" hint="+2 questo mese" />
<StatTile valore={giocatore.mediaVoto || "—"} label="Media voto" /> <StatTile valore={giocatore.mediaVoto || "—"} label="Media voto" />