From 22d07519ff133e0568007e18e9a1417f256164cc Mon Sep 17 00:00:00 2001 From: "Siddhesh.More" Date: Wed, 12 Feb 2025 13:30:02 +0530 Subject: [PATCH] update --- src/Routes/Nav.ts | 32 ++++++++++++++++---------------- src/Routes/Routes.ts | 39 ++++++++++++++++++++++++++------------- 2 files changed, 42 insertions(+), 29 deletions(-) diff --git a/src/Routes/Nav.ts b/src/Routes/Nav.ts index 83956b9..16cee72 100644 --- a/src/Routes/Nav.ts +++ b/src/Routes/Nav.ts @@ -17,18 +17,18 @@ export const nav = [ }, { title: "Manage Users", - path: "/register-users", + path: "/manage-users", Icon: BiUserPin, type:'multiple', children: [ { title: "Register Users", - path: "/register-users", + path: "/manage-users/register-users", Icon: GoDotFill, }, { title: "Deactivated Accounts", - path: "/deactivated-accounts", + path: "/manage-users/deactivated-accounts", Icon: GoDotFill, }, ], @@ -65,33 +65,33 @@ export const nav = [ }, { title: "Manage CMS", - path: "/faq", + path: "/manage-cms", Icon: AiOutlineFileText, type:'multiple', children: [ { title: "FAQs", - path: "/faq", + path: "/manage-cms/faq", Icon: GoDotFill, }, { title: "About Us", - path: "/about-us", + path: "/manage-cms/about-us", Icon: GoDotFill, }, { title: "Privacy Policy", - path: "/privacy-policy", + path: "/manage-cms/privacy-policy", Icon: GoDotFill, }, { title: "Terms And Conditions", - path: "/terms-conditions", + path: "/manage-cms/terms-conditions", Icon: GoDotFill, }, { title: "Privacy", - path: "/privacy", + path: "/manage-cms/privacy", Icon: GoDotFill, }, ], @@ -104,38 +104,38 @@ export const nav = [ }, { title: "Master Module", - path: "/agency-master", + path: "/master-module", Icon: BsBoxes, type:'multiple', children: [ { title: "Agency Master", - path: "/agency-master", + path: "/master-module/agency-master", Icon: GoDotFill, }, { title: "Template Master", - path: "/template-master", + path: "/master-module/template-master", Icon: GoDotFill, }, { title: "Job Type", - path: "/job-type", + path: "/master-module/job-type", Icon: GoDotFill, }, { title: "Workspace Mode", - path: "/workspace-mode", + path: "/master-module/workspace-mode", Icon: GoDotFill, }, { title: "Country", - path: "/country", + path: "/master-module/country", Icon: GoDotFill, }, { title: "Job Status", - path: "/job-status", + path: "/master-module/job-status", Icon: GoDotFill, }, ], diff --git a/src/Routes/Routes.ts b/src/Routes/Routes.ts index c014a40..d1fcb50 100644 --- a/src/Routes/Routes.ts +++ b/src/Routes/Routes.ts @@ -27,27 +27,40 @@ import { Spinner } from "../components/Sipnner/Spinner"; export const RouteLink = [ { path: "/", Component: Dashboard }, { path: "/dashboard", Component: Dashboard }, - { path: "/register-users", Component: RegisterUsers }, - { path: "/deactivated-accounts", Component: DeactivatedAccounts }, + { path: "/manage-users/register-users", Component: RegisterUsers }, + { path: "/manage-users/deactivated-accounts", Component: DeactivatedAccounts }, { path: "/manage-post", Component: ManagePost }, { path: "/sub-admin", Component: SubAdmin}, { path: "/manage-jobs", Component: ManageJobs}, { path: "/manage-groups", Component: ManageGroups }, { path: "/manage-contact", Component: ManageContact}, - { path: "/faq", Component: FAQ}, - { path: "/about-us", Component: AboutUs}, - { path: "/privacy-policy", Component: PrivacyPolicy}, - { path: "/terms-conditions", Component: TermsAndConditions}, - { path: "/privacy", Component: Privacy}, + + + + { path: "/manage-cms/faq", Component: FAQ}, + { path: "/manage-cms/about-us", Component: AboutUs}, + { path: "/manage-cms/privacy-policy", Component: PrivacyPolicy}, + { path: "/manage-cms/terms-conditions", Component: TermsAndConditions}, + { path: "/manage-cms/privacy", Component: Spinner}, + + + { path: "/my-profile", Component: MyProfile}, { path: "/manage-notification", Component: Notification}, + + + + + { path: "/profile", Component: Profile}, - { path: "/agency-master", Component: AgencyMaster}, - { path: "/template-master", Component: TemplateMaster}, - { path: "/job-type", Component: JobType}, - { path: "/workspace-mode", Component: WorkspaceMode}, - { path: "/country", Component: Country}, - { path: "/job-status", Component: JobStatus}, + + + { path: "/master-module/agency-master", Component: AgencyMaster}, + { path: "/master-module/template-master", Component: TemplateMaster}, + { path: "/master-module/job-type", Component: JobType}, + { path: "/master-module/workspace-mode", Component: WorkspaceMode}, + { path: "/master-module/country", Component: Country}, + { path: "/master-module/job-status", Component: JobStatus}, // { path: "/job-status", Component: Spinner}, ] \ No newline at end of file