rough dashboard components

This commit is contained in:
2026-04-04 19:45:52 +05:30
parent ffa41825dd
commit 84059a84b5
7 changed files with 473 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ import {
Toolbar
} from "@mui/material";
import Home from './Home';
import Dashboard from './Dashboard';
import { Admin, initializeApiClients } from '../react-openapi';
import { configuration, profileConfiguration } from './openapi-config';
import { Buffer } from 'buffer';
@@ -35,6 +36,7 @@ initializeApiClients(API_BASE, AUTH_BASE);
const routerMapping = [
{ path: "/", component: Home, headerTitle: "Home" },
{ path: "/home", component: Home, headerTitle: "Home" },
{ path: "/dashboard", component: Dashboard, headerTitle: "Dashboard" },
{ path: "/admin/*", component: Admin, headerTitle: "Admin" },
];