Update main dashboard to display correct metrics and information.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 705f2157-ef97-4fbd-89e4-8c7f2ecaea90
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7ed01c5f-a82d-405a-b728-b2e3d127c60c/6e2e879c-f85c-413f-b67d-151c3c3cc987.jpg
This commit is contained in:
alphaeusmote
2025-04-10 01:36:04 +00:00
parent 15ceed0c18
commit 205585814f
3 changed files with 726 additions and 3 deletions
+4 -3
View File
@@ -7,7 +7,8 @@ import { queryClient } from "./lib/queryClient";
import ProtectedRoute from "./lib/protected-route";
import NotFound from "@/pages/not-found";
import AuthPage from "@/pages/auth-page";
import DashboardPage from "@/pages/dashboard-page";
import MainDashboardPage from "@/pages/main-dashboard-page";
import CustomDashboardsPage from "@/pages/custom-dashboards-page";
import UsersPage from "@/pages/users-page";
import GroupsPage from "@/pages/groups-page";
import OUsPage from "@/pages/ous-page";
@@ -31,7 +32,7 @@ export default function App() {
<Route path="/auth">
<AuthPage />
</Route>
<ProtectedRoute path="/" component={DashboardPage} />
<ProtectedRoute path="/" component={MainDashboardPage} />
<ProtectedRoute path="/users" component={UsersPage} />
<ProtectedRoute path="/groups" component={GroupsPage} />
<ProtectedRoute path="/organizational-units" component={OUsPage} />
@@ -44,7 +45,7 @@ export default function App() {
<ProtectedRoute path="/settings" component={SettingsPage} />
<ProtectedRoute path="/user-management" component={UserManagementPage} />
<ProtectedRoute path="/sites" component={SitesPage} />
<ProtectedRoute path="/reporting/dashboards" component={DashboardPage} />
<ProtectedRoute path="/reporting/dashboards" component={CustomDashboardsPage} />
<Route>
<NotFound />
</Route>