added pages for top header nav links

This commit is contained in:
Ebube
2024-03-18 17:42:36 +01:00
parent df6fe828e3
commit dde4072593
9 changed files with 73 additions and 14 deletions
+7
View File
@@ -10,6 +10,9 @@ import {
DashboardVerificationPage,
DashboardpaymentsPage,
TermsAndConditionPage,
BusinessBankingPage,
CooperateBankingPage,
PersonalBankingPage,
} from "../pages";
import { DashboardAuth } from "../components";
@@ -23,6 +26,10 @@ const Routers = () => {
path={RouteHandler.termsAndConditions}
element={<TermsAndConditionPage />}
/>
<Route path={RouteHandler.businessBanking} element={<BusinessBankingPage />} />
<Route path={RouteHandler.cooperateBanking} element={<CooperateBankingPage />} />
<Route path={RouteHandler.personalBanking} element={<PersonalBankingPage />} />
<Route element={<DashboardAuth />}>
<Route
path={RouteHandler.dashboardHome}
+3
View File
@@ -1,6 +1,9 @@
export class RouteHandler {
static homepage = "/";
static loginpage = "/login";
static personalBanking = "/personal-banking";
static businessBanking = "/business-banking";
static cooperateBanking = "/cooperate-banking";
static getStarted = "/get-started";
static dashboardHome = "/dashboard/home";
static dashboardProfile = "/dashboard/profile";