Profession page init [AI]

This commit is contained in:
MikanD
2025-06-01 16:48:44 +03:00
parent 83af205e7e
commit 9c6272db25
4 changed files with 91 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ import {MainPage} from "./pages/MainPage.tsx";
import {SurveyPage} from "./pages/SurveyPage.tsx";
import {DashboardPage} from "./pages/DashboardPage.tsx";
import { SurveyResultPage } from './pages/SurveyResultPage.tsx';
import { ProfessionPage } from './pages/ProfessionPage.tsx';
@@ -17,9 +18,10 @@ export default function App() {
<Routes>
<Route path="/" element={<MainPage/>}/>
<Route path="/surveys/results/:scoreVariableId/" element={<SurveyResultPage/>}/>
<Route path="/surveys/professions/:professionId/" element={<ProfessionPage/>}/>
<Route path="/surveys/:surveyId/" element={<SurveyPage/>}/>
<Route path="/dashboard/" element={<DashboardPage/>}/>
<Route path="*" element={<Navigate to="/"/>}/>
{/* <Route path="*" element={<Navigate to="/"/>}/> */}
</Routes>
</Router>
);