Add admin help center entry points

This commit is contained in:
Codex Agent
2026-01-23 08:55:37 +01:00
parent 2c55857699
commit 8ddc361c91
11 changed files with 765 additions and 5 deletions

View File

@@ -41,6 +41,8 @@ const MobileSettingsPage = React.lazy(() => import('./mobile/SettingsPage'));
const MobileDataExportsPage = React.lazy(() => import('./mobile/DataExportsPage'));
const MobileLoginPage = React.lazy(() => import('./mobile/LoginPage'));
const MobilePublicHelpPage = React.lazy(() => import('./mobile/PublicHelpPage'));
const MobileHelpCenterPage = React.lazy(() => import('./mobile/HelpCenterPage'));
const MobileHelpArticlePage = React.lazy(() => import('./mobile/HelpArticlePage'));
const MobileForgotPasswordPage = React.lazy(() => import('./mobile/ForgotPasswordPage'));
const MobileResetPasswordPage = React.lazy(() => import('./mobile/ResetPasswordPage'));
const MobileDashboardPage = React.lazy(() => import('./mobile/DashboardPage'));
@@ -214,6 +216,8 @@ export const router = createBrowserRouter([
{ path: 'mobile/notifications/:notificationId', element: <MobileNotificationsPage /> },
{ path: 'mobile/profile', element: <MobileProfilePage /> },
{ path: 'mobile/profile/account', element: <MobileProfileAccountPage /> },
{ path: 'mobile/help', element: <MobileHelpCenterPage /> },
{ path: 'mobile/help/:slug', element: <MobileHelpArticlePage /> },
{ path: 'mobile/billing', element: <RequireAdminAccess><MobileBillingPage /></RequireAdminAccess> },
{ path: 'mobile/billing/shop', element: <RequireAdminAccess><MobilePackageShopPage /></RequireAdminAccess> },
{ path: 'mobile/settings', element: <RequireAdminAccess><MobileSettingsPage /></RequireAdminAccess> },