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 = () => {