Ignore:
Timestamp:
01/21/25 03:08:24 (3 days ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
0c6b92a
Message:

F4 Finalna Verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/src/App.jsx

    r0c6b92a r79a0317  
    1919import {AppProvider} from "./components/AppContext/AppContext.jsx";
    2020import AdminPage from "./pages/AdminPage/AdminPage.jsx";
     21import {AuthCallback} from "./pages/AuthCallback.jsx";
     22import PrivacyPolicy from "./pages/PrivacyPolicy/PrivacyPolicy.jsx";
     23import TermsOfService from "./pages/TermsOfService/TermsOfService.jsx";
    2124
    2225
     
    3033
    3134                    <Route element={<ProtectedRoute/>}>
    32                         <Route path="/myMaps/:mapName/Draw" element={<Draw/>}/>
     35                        <Route path="/myMaps/Draw/:mapName" element={<Draw/>}/>
    3336                        <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}/>}/>
    3538                        <Route path="/Admin" element={<AdminPage/>}/>
    3639                    </Route>
    3740                    <Route path="/" element={<IMaps/>}/>
    38                     <Route path="/Maps/:mapName/View" element={<MapView isPrivate={false}/>}/>
     41                    <Route path="/Maps/View/:mapName" element={<MapView isPrivate={false}/>}/>
    3942                    <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/>}/>
    4046
    4147
Note: See TracChangeset for help on using the changeset viewer.