diff --git a/.gitignore b/.gitignore index 926b36b..a576c85 100644 Binary files a/.gitignore and b/.gitignore differ diff --git a/public/immagini/Logo.png b/public/immagini/Logo.png new file mode 100644 index 0000000..b1a068b Binary files /dev/null and b/public/immagini/Logo.png differ diff --git a/src/app/(management)/layout.tsx b/src/app/(management)/layout.tsx index c6d9bf4..ab58449 100644 --- a/src/app/(management)/layout.tsx +++ b/src/app/(management)/layout.tsx @@ -3,6 +3,7 @@ import { redirect } from "next/navigation"; import { auth } from "@/src/auth"; import SignOutButton from "@/src/components/auth/SignOutButton"; import Navbar from "@/src/components/Navbar"; +import { StabilimentoProvider } from "@/src/contexts/StabilimentoContext"; export default async function ManagementLayout({ children, @@ -16,19 +17,21 @@ export default async function ManagementLayout({ } return ( -
- } /> -
-
-
-

Area gestionale

-

- {session.user.utente} -

+ +
+ } /> +
+
+
+

Area gestionale

+

+ {session.user.utente} +

+
-
-
-
{children}
-
+ +
{children}
+ + ); } diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 3cfe1aa..f1778e8 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -5,8 +5,9 @@ // @version: "1.0.0 2026-05-07" //==================================== "use client" -import { useState , MouseEvent, ReactNode} from "react"; +import { ReactNode} from "react"; import Link from "next/link"; +import Image from "next/image"; import GlobalStabilimentoSelector from "./GlobalStabilimentoSelector"; interface NavLink { @@ -30,9 +31,16 @@ export default function Navbar({ actions }: { actions?: ReactNode }) { {/* Logo */} - LOGO + MagRicambi {/* Navigation Links */}