This commit is contained in:
IGNY8 VPS (Salman)
2026-01-13 01:23:54 +00:00
parent 78c9cd38e0
commit 47a5a8b1da
10 changed files with 343 additions and 488 deletions

View File

@@ -73,7 +73,6 @@ const AccountSettingsPage = lazy(() => import("./pages/account/AccountSettingsPa
// TeamManagementPage - Now integrated as tab in AccountSettingsPage
const UsageAnalyticsPage = lazy(() => import("./pages/account/UsageAnalyticsPage"));
const UsageDashboardPage = lazy(() => import("./pages/account/UsageDashboardPage"));
const UsageLogsPage = lazy(() => import("./pages/account/UsageLogsPage"));
const ContentSettingsPage = lazy(() => import("./pages/account/ContentSettingsPage"));
const NotificationsPage = lazy(() => import("./pages/account/NotificationsPage"));
@@ -241,14 +240,13 @@ export default function App() {
<Route path="/account/plans/history" element={<PlansAndBillingPage />} />
<Route path="/account/purchase-credits" element={<Navigate to="/account/plans" replace />} />
{/* Usage Dashboard - Single comprehensive page */}
{/* Usage Dashboard - Single comprehensive page with integrated logs */}
<Route path="/account/usage" element={<UsageDashboardPage />} />
{/* Usage Logs - Detailed operation history */}
<Route path="/account/usage/logs" element={<UsageLogsPage />} />
{/* Legacy routes redirect to dashboard */}
<Route path="/account/usage/credits" element={<UsageDashboardPage />} />
<Route path="/account/usage/insights" element={<UsageDashboardPage />} />
<Route path="/account/usage/activity" element={<UsageDashboardPage />} />
<Route path="/account/usage/logs" element={<Navigate to="/account/usage" replace />} />
<Route path="/account/usage/credits" element={<Navigate to="/account/usage" replace />} />
<Route path="/account/usage/insights" element={<Navigate to="/account/usage" replace />} />
<Route path="/account/usage/activity" element={<Navigate to="/account/usage" replace />} />
{/* Content Settings - with sub-routes for sidebar navigation */}
<Route path="/account/content-settings" element={<ContentSettingsPage />} />