From 8532a2558e21e5aa728fc148e72ae9940663988f Mon Sep 17 00:00:00 2001 From: vkuchenik Date: Thu, 4 Jun 2026 15:35:11 -0700 Subject: [PATCH] now all routes added but some are broken bc of bad refrences --- client/src/App.jsx | 4 ++++ client/src/components/Sidebar/Sidebar.jsx | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/client/src/App.jsx b/client/src/App.jsx index a19dcd0..df48bf8 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -9,6 +9,8 @@ import Header from "@/components/Header/Header.jsx"; import Home from "./components/Canvas/views/Home.jsx"; import RegionalMap from "./components/Canvas/views/RegionalMap.jsx"; import Volcano from "@/components/Canvas/views/Volcano.jsx"; +import GlobalMap from "./components/Canvas/views/GlobalMap.jsx"; +import Admin from "./components/Canvas/views/Admin.jsx"; function AppFoundation({children}) { const recipe = useRecipe({ key: "dashboard" }); @@ -51,8 +53,10 @@ function App() { } /> } /> + } /> } /> } /> + } /> ); } diff --git a/client/src/components/Sidebar/Sidebar.jsx b/client/src/components/Sidebar/Sidebar.jsx index 7fe5267..0e9069d 100644 --- a/client/src/components/Sidebar/Sidebar.jsx +++ b/client/src/components/Sidebar/Sidebar.jsx @@ -30,10 +30,10 @@ export default function Sidebar() { const buttons = [ {icon: House, name: "Home", url: "/home"}, - {icon: Earth, name: "Global Map", url: "/GlobalMap"}, + {icon: Earth, name: "Global Map", url: "/global-map"}, {icon: MapPin, name: "Regional Map", url: "/regional-map"}, {icon: Mountain, name: "Volcano", url: "/volcano"}, - {icon: ShieldUser, name: "Admin", url: "/medataentry"} + {icon: ShieldUser, name: "Admin", url: "/admin"} ]; const toggleSidebar = () => {