Changeset 08f82ec for jobvista-frontend/src/auth
- Timestamp:
- 06/20/24 11:57:13 (5 months ago)
- Branches:
- main
- Children:
- 0f0add0
- Parents:
- befb988
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jobvista-frontend/src/auth/RoutesConfig.js
rbefb988 r08f82ec 4 4 import {SignUpRecruiterForm} from "../views/auth/SignUpRecruiterForm"; 5 5 import {SignUpJobSeekerForm} from "../views/auth/SignUpJobSeekerForm"; 6 import {Workspace} from "../views/job_advertisements/ RecruiterWorkspace";6 import {Workspace} from "../views/job_advertisements/JobManagementHub"; 7 7 import {JobAdDetails} from "../views/job_advertisements/JobAdDetails"; 8 8 import {ApplicationsByJobAd} from "../views/applications/ApplicationsByJobAd"; … … 10 10 11 11 import {AdminPanel} from "../views/admin_panel/AdminPanel"; 12 import {RecruiterProfile} from "../views/ recruiters/RecruiterProfile";12 import {RecruiterProfile} from "../views/profiles/RecruiterProfile"; 13 13 import {AboutUs} from "../views/static/AboutUs"; 14 import {JobSeekerEditProfile} from "../views/ edit_profile/JobSeekerEditProfile";15 import {RecruiterEditProfile} from "../views/ edit_profile/RecruiterEditProfile";14 import {JobSeekerEditProfile} from "../views/profiles/JobSeekerEditProfile"; 15 import {RecruiterEditProfile} from "../views/profiles/RecruiterEditProfile"; 16 16 import Roles from "../enumerations/Roles"; 17 17 import {useSelector} from "react-redux"; 18 18 import {useEffect, useState} from "react"; 19 19 import {ErrorPage} from "../views/static/ErrorPage"; 20 import {NoAccess} from "../views/static/NoAccess"; 20 21 21 22 export const PrivateRoutes = [ … … 158 159 Roles.JOBSEEKER, 159 160 Roles.ADMIN 161 ] 162 }, 163 { 164 component: NoAccess, 165 path: '/no-access', 166 title: 'No Access', 167 exact: true, 168 permission: [ 169 Roles.GUEST, 170 Roles.RECRUITER, 160 171 ] 161 172 },
Note:
See TracChangeset
for help on using the changeset viewer.