feat: add candidate profile, questionnaire and company forms
This commit is contained in:
1 parent
3a61a8e8bb
commit
f81cd0ae09
68 files changed
+9517
-54
No files matched your search
@@ -1,10 +1,13 @@
|
||||
import { redirect, type RouteObject } from "react-router-dom";
|
||||
import { LoginPage, RegisterPage, VerifyEmailPage } from "../../pages/auth";
|
||||
import { CandidateOnboardingPage } from "../../pages/candidate-onboarding";
|
||||
import { CompanyPage } from "../../pages/company";
|
||||
import { ConsentsPage } from "../../pages/consents";
|
||||
import { SessionGate } from "../../entities/session";
|
||||
import { NotFoundPage } from "../../pages/not-found";
|
||||
import { PlaceholderPage } from "../../pages/placeholder";
|
||||
import { ProfilePage } from "../../pages/profile";
|
||||
import { QuestionnairePage } from "../../pages/questionnaire";
|
||||
import { StatusPage } from "../../pages/status";
|
||||
import { WelcomePage } from "../../pages/welcome";
|
||||
import { paths } from "../../shared/config";
|
||||
@@ -47,7 +50,11 @@ export const routes: RouteObject[] = [
|
||||
{ path: paths.candidate.onboarding, element: <CandidateOnboardingPage /> },
|
||||
{
|
||||
path: paths.candidate.profile,
|
||||
element: <PlaceholderPage screen="candidateProfile" />,
|
||||
element: <ProfilePage />,
|
||||
},
|
||||
{
|
||||
path: paths.candidate.questionnaire,
|
||||
element: <QuestionnairePage />,
|
||||
},
|
||||
{
|
||||
path: paths.candidate.assessment,
|
||||
@@ -85,7 +92,7 @@ export const routes: RouteObject[] = [
|
||||
{ index: true, loader: () => redirect(paths.employer.company) },
|
||||
{
|
||||
path: paths.employer.company,
|
||||
element: <PlaceholderPage screen="employerCompany" />,
|
||||
element: <CompanyPage />,
|
||||
},
|
||||
{ path: paths.employer.needs, element: <PlaceholderPage screen="employerNeeds" /> },
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user