From d4a02fb6061ba270b131f06da9d1aaec1bd17886 Mon Sep 17 00:00:00 2001 From: Davide Grilli Date: Sun, 6 Sep 2026 10:21:14 +0200 Subject: [PATCH] Rimuove il link duplicato per tornare al calendario, basta la navbar in basso. Co-Authored-By: Claude Sonnet 5 --- src/routes/allenamento.$id.tsx | 19 ++----------------- src/routes/eventi.tsx | 13 ++----------- src/routes/partita.$id.tsx | 19 ++----------------- 3 files changed, 6 insertions(+), 45 deletions(-) diff --git a/src/routes/allenamento.$id.tsx b/src/routes/allenamento.$id.tsx index 2558279..9ed462b 100644 --- a/src/routes/allenamento.$id.tsx +++ b/src/routes/allenamento.$id.tsx @@ -1,5 +1,5 @@ -import { createFileRoute, Link } from "@tanstack/react-router"; -import { ArrowLeft, MapPin, Clock, Users, Dumbbell, CalendarDays } from "lucide-react"; +import { createFileRoute } from "@tanstack/react-router"; +import { MapPin, Clock, Users, Dumbbell, CalendarDays } from "lucide-react"; import { PageHeader, Section } from "@/components/crapp/ui-bits"; import { formatData } from "@/lib/crapp-data"; import { convocatiEvento, useEvento } from "@/lib/eventi"; @@ -43,12 +43,6 @@ function AllenamentoDetail() { if (!evento) { return (
- - Torna al calendario -

Allenamento non trovato

); @@ -56,15 +50,6 @@ function AllenamentoDetail() { return ( <> -
- - Calendario - -
-
diff --git a/src/routes/eventi.tsx b/src/routes/eventi.tsx index c8c0732..e48d2f2 100644 --- a/src/routes/eventi.tsx +++ b/src/routes/eventi.tsx @@ -1,6 +1,6 @@ import { useState } from "react"; -import { createFileRoute, Link } from "@tanstack/react-router"; -import { ArrowLeft, CalendarPlus, Loader2, Pencil, Trash2 } from "lucide-react"; +import { createFileRoute } from "@tanstack/react-router"; +import { CalendarPlus, Loader2, Pencil, Trash2 } from "lucide-react"; import { toast } from "sonner"; import { cn } from "@/lib/utils"; import { Campo, classiInput, PageHeader, Section } from "@/components/crapp/ui-bits"; @@ -101,15 +101,6 @@ function GestioneEventi() { return ( <> -
- - Calendario - -
-
diff --git a/src/routes/partita.$id.tsx b/src/routes/partita.$id.tsx index 9105fc1..7095b9b 100644 --- a/src/routes/partita.$id.tsx +++ b/src/routes/partita.$id.tsx @@ -1,5 +1,5 @@ -import { createFileRoute, Link } from "@tanstack/react-router"; -import { ArrowLeft, MapPin, Clock, Users, Trophy, Swords, Download } from "lucide-react"; +import { createFileRoute } from "@tanstack/react-router"; +import { MapPin, Clock, Users, Trophy, Swords, Download } from "lucide-react"; import { cn } from "@/lib/utils"; import { Card, PageHeader, Section } from "@/components/crapp/ui-bits"; import { formatData } from "@/lib/crapp-data"; @@ -59,12 +59,6 @@ function PartitaDetail() { if (!evento) { return (
- - Torna al calendario -

Partita non trovata

); @@ -97,15 +91,6 @@ function PartitaDetail() { return ( <> -
- - Calendario - -
-