Ignore:
Timestamp:
06/20/24 11:57:13 (5 months ago)
Author:
223021 <daniel.ilievski.2@…>
Branches:
main
Children:
0f0add0
Parents:
befb988
Message:

Did more refactoring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jobvista-frontend/src/auth/RoutesConfig.js

    rbefb988 r08f82ec  
    44import {SignUpRecruiterForm} from "../views/auth/SignUpRecruiterForm";
    55import {SignUpJobSeekerForm} from "../views/auth/SignUpJobSeekerForm";
    6 import {Workspace} from "../views/job_advertisements/RecruiterWorkspace";
     6import {Workspace} from "../views/job_advertisements/JobManagementHub";
    77import {JobAdDetails} from "../views/job_advertisements/JobAdDetails";
    88import {ApplicationsByJobAd} from "../views/applications/ApplicationsByJobAd";
     
    1010
    1111import {AdminPanel} from "../views/admin_panel/AdminPanel";
    12 import {RecruiterProfile} from "../views/recruiters/RecruiterProfile";
     12import {RecruiterProfile} from "../views/profiles/RecruiterProfile";
    1313import {AboutUs} from "../views/static/AboutUs";
    14 import {JobSeekerEditProfile} from "../views/edit_profile/JobSeekerEditProfile";
    15 import {RecruiterEditProfile} from "../views/edit_profile/RecruiterEditProfile";
     14import {JobSeekerEditProfile} from "../views/profiles/JobSeekerEditProfile";
     15import {RecruiterEditProfile} from "../views/profiles/RecruiterEditProfile";
    1616import Roles from "../enumerations/Roles";
    1717import {useSelector} from "react-redux";
    1818import {useEffect, useState} from "react";
    1919import {ErrorPage} from "../views/static/ErrorPage";
     20import {NoAccess} from "../views/static/NoAccess";
    2021
    2122export const PrivateRoutes = [
     
    158159            Roles.JOBSEEKER,
    159160            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,
    160171        ]
    161172    },
Note: See TracChangeset for help on using the changeset viewer.