main
Last change
on this file since 28b3398 was 28b3398, checked in by 223021 <daniel.ilievski.2@…>, 3 weeks ago |
Implemented job application functionality, added job advertisement filtering and replaced text areas with editors
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Rev | Line | |
---|
[d8b6c91] | 1 |
|
---|
| 2 | import {Route, Router, Routes} from 'react-router-dom'
|
---|
| 3 | import {Dashboard} from "../views/dashboard/Dashboard";
|
---|
| 4 | import {SignInForm} from "../views/auth/SignInForm";
|
---|
| 5 | import {SignUpRecruiterForm} from "../views/auth/SignUpRecruiterForm";
|
---|
| 6 | import {SignUpJobSeekerForm} from "../views/auth/SignUpJobSeekerForm";
|
---|
[19398ad] | 7 | import {JobAdvertisements} from "../views/job_advertisements/JobAdvertisements";
|
---|
| 8 | import {JobAdDetails} from "../views/job_advertisements/JobAdDetails";
|
---|
[28b3398] | 9 | import {ApplicationsByJobAd} from "../views/applications/ApplicationsByJobAd";
|
---|
| 10 | import {ApplicationsByJobSeeker} from "../views/applications/ApplicationsByJobSeeker";
|
---|
[d8b6c91] | 11 | export const RoutesConfig = () => {
|
---|
| 12 |
|
---|
| 13 | return (
|
---|
| 14 | <Routes>
|
---|
| 15 | <Route path="/" element={<Dashboard/>}></Route>
|
---|
| 16 | <Route path="/signin" element={<SignInForm/>}></Route>
|
---|
| 17 | <Route path="/signup/recruiter" element={<SignUpRecruiterForm/>}></Route>
|
---|
| 18 | <Route path="/signup/job-seeker" element={<SignUpJobSeekerForm/>}></Route>
|
---|
[19398ad] | 19 | <Route path="/my-job-advertisements" element={<JobAdvertisements/>}></Route>
|
---|
[28b3398] | 20 | <Route path="/my-applications" element={<ApplicationsByJobSeeker/>}></Route>
|
---|
| 21 | <Route path="/job-advertisements/:id" element={<JobAdDetails/>}></Route>
|
---|
| 22 | <Route path="/my-job-advertisements/:advertisement_id/applications" element={<ApplicationsByJobAd/>}></Route>
|
---|
[d8b6c91] | 23 | </Routes>
|
---|
| 24 | )
|
---|
| 25 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.