added some component to dashboard home page

This commit was merged in pull request #14.
This commit is contained in:
victorAnumudu
2024-03-16 17:47:17 +01:00
parent 9d86fc51c8
commit 81b2f439ce
17 changed files with 143 additions and 23 deletions
+6 -6
View File
@@ -1,6 +1,6 @@
import { Route, Routes } from "react-router-dom";
import { RouteHandler } from "./routes";
import { GetStartedPage, HomePage, LoginPage, DashboardHome, DashboardLegals, DashboardProfile, DashboardVerification, Dashboardpayments } from "../pages";
import { GetStartedPage, HomePage, LoginPage, DashboardHomePage, DashboardLegalsPage, DashboardProfilePage, DashboardVerificationPage, DashboardpaymentsPage } from "../pages";
import { DashboardAuth } from "../components";
const Routers = () => {
@@ -10,11 +10,11 @@ const Routers = () => {
<Route path={RouteHandler.loginpage} element={<LoginPage />} />
<Route path={RouteHandler.getStarted} element={<GetStartedPage />} />
<Route element={<DashboardAuth />}>
<Route path={RouteHandler.dashboardHome} element={<DashboardHome />} />
<Route path={RouteHandler.dashboardProfile} element={<DashboardProfile />} />
<Route path={RouteHandler.dashboardVerification} element={<DashboardVerification />} />
<Route path={RouteHandler.dashboardPayments} element={<Dashboardpayments />} />
<Route path={RouteHandler.dashboardLegals} element={<DashboardLegals />} />
<Route path={RouteHandler.dashboardHome} element={<DashboardHomePage />} />
<Route path={RouteHandler.dashboardProfile} element={<DashboardProfilePage />} />
<Route path={RouteHandler.dashboardVerification} element={<DashboardVerificationPage />} />
<Route path={RouteHandler.dashboardPayments} element={<DashboardpaymentsPage />} />
<Route path={RouteHandler.dashboardLegals} element={<DashboardLegalsPage />} />
</Route>
<Route path='*'element={<>Error Page</>} />
</Routes>