help page fixed

This commit was merged in pull request #51.
This commit is contained in:
victorAnumudu
2024-09-05 19:31:03 +01:00
parent 724e846826
commit 9b2e0a6857
4 changed files with 14 additions and 6 deletions
+6 -3
View File
@@ -1,8 +1,11 @@
import { Content } from "../../../_digifi/layout/components/content";
export default function HelpPage() {
return (
<div className="w-100 h-100">
<h1 className="fs-2hx fw-bold text-gray-800">Help</h1>
</div>
<Content>
<div className="w-100 h-100">
<h1 className="fs-2hx fw-bold text-gray-800">Help</h1>
</div>
</Content>
)
}
-2
View File
@@ -11,7 +11,6 @@ import {PrivateRoutes} from './PrivateRoutes'
import {ErrorsPage} from '../modules/errors/ErrorsPage'
import {Logout, AuthPage, useAuth} from '../modules/auth'
import {App} from '../App'
import HelpPage from '../modules/help/HelpPage'
/**
* Base URL of the website.
@@ -27,7 +26,6 @@ const AppRoutes: FC = () => {
<Routes>
<Route element={<App />}>
<Route path='error/*' element={<ErrorsPage />} />
<Route path='/help' element={<HelpPage />} />
<Route path='logout' element={<Logout />} />
{currentUser ? (
<>
+2
View File
@@ -6,6 +6,7 @@ import { DashboardWrapper } from "../pages/dashboard/DashboardWrapper";
// import {MenuTestPage} from '../pages/MenuTestPage'
import { getCSSVariableValue } from "../../_digifi/assets/ts/_utils";
import { WithChildren } from "../../_digifi/helpers";
import HelpPage from "../modules/help/HelpPage";
// import BuilderPageWrapper from '../pages/layout-builder/BuilderPageWrapper'
const PrivateRoutes = () => {
@@ -98,6 +99,7 @@ const PrivateRoutes = () => {
</SuspensedView>
}
/>
<Route path='/help' element={<HelpPage />} />
{/* Page Not Found */}
<Route path="*" element={<Navigate to="/error/404" />} />
</Route>