added pages for top header nav links
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user