This commit is contained in:
rgrgogu
2026-05-09 22:17:33 +08:00
parent ca6eae1d56
commit 1d94f27e61
28 changed files with 1863 additions and 220 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ import AdminLayout from '../layouts/AdminLayout'
import UserManagementLayout from '../layouts/UserManagementLayout'
// Global Pages
import Admin from '../pages/Admin'
import AdminDashboard from '../pages/AdminDashboard'
import ProfilePage from '@/components/generic/Profile'
// Specific Pages
@@ -31,7 +31,7 @@ export const AdminRoutes = {
element: <AdminLayout />, // ← shared sidebar/header for all admin pages
children: [
// Admin Management
{ index: true, element: <Admin /> }, // /admin
{ index: true, element: <AdminDashboard /> }, // /admin
{ path: 'my-profile', element: <ProfilePage /> },
// Users Management