diff --git a/src/components/NavigationHeader.jsx b/src/components/NavigationHeader.jsx index 7fea130..ec515eb 100644 --- a/src/components/NavigationHeader.jsx +++ b/src/components/NavigationHeader.jsx @@ -1,6 +1,6 @@ import React from 'react'; import { Link, useLocation, useNavigate } from 'react-router-dom'; -import { Home, Wrench, ShoppingBag, AlertTriangle, UserCheck, ShieldCheck, LogOut, Plug } from 'lucide-react'; +import { Wrench, ShoppingBag, AlertTriangle, UserCheck, ShieldCheck, LogOut, Plug } from 'lucide-react'; import { useAuth } from '../context/useAuth'; export function NavigationHeader({ @@ -40,22 +40,10 @@ export function NavigationHeader({ <>
- {/* Left Section: Home/Back Button + Page Title */} + {/* Left Section: Page Title */}
- { - if (onResetHome) onResetHome(); - }} - title="Navigate to Catalog" - className="group flex items-center gap-2 rounded-full bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-600 hover:to-amber-700 text-white px-4 py-2 text-xs font-semibold shadow-sm transition-all duration-200 active:scale-95 hover:shadow-md" - > - - {role === 'admin' ? 'Home / Catalog' : 'Home / Workspace'} - - {title && ( -
+
{TitleIcon && (