help page fixed
This commit was merged in pull request #51.
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -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 ? (
|
||||
<>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user