From dc7dbc4166533d220c26648312dd95de8dfb0418 Mon Sep 17 00:00:00 2001 From: AV77web Date: Tue, 14 Jul 2026 15:23:05 +0200 Subject: [PATCH] modifica al Night Mode --- index.html | 8 +--- src/App.tsx | 2 +- src/components/AppSidebar.tsx | 10 +---- src/components/ThemeProvider.tsx | 6 +++ src/components/ThemeToggle.tsx | 75 -------------------------------- src/components/ui/sonner.tsx | 5 +-- src/pages/Login.tsx | 12 ++--- 7 files changed, 19 insertions(+), 99 deletions(-) delete mode 100644 src/components/ThemeToggle.tsx diff --git a/index.html b/index.html index 14bf9b9..668897f 100644 --- a/index.html +++ b/index.html @@ -4,16 +4,12 @@ - + Academy Aziendale diff --git a/src/App.tsx b/src/App.tsx index 43852b0..d657438 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -23,7 +23,7 @@ import Statistiche from "@/pages/Statistiche"; export default function App() { return ( - + diff --git a/src/components/AppSidebar.tsx b/src/components/AppSidebar.tsx index b3e06ad..fb513f0 100644 --- a/src/components/AppSidebar.tsx +++ b/src/components/AppSidebar.tsx @@ -7,7 +7,6 @@ import { NavLink, useNavigate } from "react-router-dom"; import { LogOut } from "lucide-react"; -import ThemeToggle from "@/components/ThemeToggle"; import { getNavItemsForRole } from "@/config/navigation"; import { Button } from "@/components/ui/button"; import { Badge } from "@/components/ui/badge"; @@ -35,13 +34,8 @@ export default function AppSidebar({ onNavigate }: AppSidebarProps) { return (