+
+
+
+ )}
+
+
+
+
+
+
diff --git a/src/App.tsx b/src/App.tsx index 4b92cca..e93d4d6 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,5 +1,5 @@ import { useState } from 'react' -import { Routes, Route } from 'react-router-dom' +import { Routes, Route, useLocation } from 'react-router-dom' import Sidebar from './components/Sidebar' import TopBar from './components/TopBar' import Glance from './pages/Glance' @@ -8,6 +8,8 @@ import Infrastructure from './pages/Infrastructure' function App() { const [sidebarCollapsed, setSidebarCollapsed] = useState(false) const sidebarWidth = sidebarCollapsed ? 64 : 200 + const location = useLocation() + const showHero = location.pathname === '/infrastructure' return (
+
+
-
-
- {/* Sub-tabs + Add Resource, overlaid on the banner */}
-