Changeset 79a0317 for imaps-frontend/src/App.jsx
- Timestamp:
- 01/21/25 03:08:24 (3 days ago)
- Branches:
- main
- Parents:
- 0c6b92a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/src/App.jsx
r0c6b92a r79a0317 19 19 import {AppProvider} from "./components/AppContext/AppContext.jsx"; 20 20 import AdminPage from "./pages/AdminPage/AdminPage.jsx"; 21 import {AuthCallback} from "./pages/AuthCallback.jsx"; 22 import PrivacyPolicy from "./pages/PrivacyPolicy/PrivacyPolicy.jsx"; 23 import TermsOfService from "./pages/TermsOfService/TermsOfService.jsx"; 21 24 22 25 … … 30 33 31 34 <Route element={<ProtectedRoute/>}> 32 <Route path="/myMaps/ :mapName/Draw" element={<Draw/>}/>35 <Route path="/myMaps/Draw/:mapName" element={<Draw/>}/> 33 36 <Route path="/myMaps" element={<MyMaps/>}/> 34 <Route path="/myMaps/ :mapName/View" element={<MapView isPrivate={true}/>}/>37 <Route path="/myMaps/View/:mapName" element={<MapView isPrivate={true}/>}/> 35 38 <Route path="/Admin" element={<AdminPage/>}/> 36 39 </Route> 37 40 <Route path="/" element={<IMaps/>}/> 38 <Route path="/Maps/ :mapName/View" element={<MapView isPrivate={false}/>}/>41 <Route path="/Maps/View/:mapName" element={<MapView isPrivate={false}/>}/> 39 42 <Route path="/Maps" element={<BrowseMaps/>}/> 43 <Route path="/auth-callback" element={<AuthCallback/>}/> 44 <Route path={"/privacy-policy"} element={<PrivacyPolicy/>}/> 45 <Route path={"/terms-of-service"} element={<TermsOfService/>}/> 40 46 41 47
Note:
See TracChangeset
for help on using the changeset viewer.