pushy

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-06-28 11:30:01 +08:00
parent b03b204861
commit bac7168b1e
100 changed files with 5958 additions and 1976 deletions
+25 -12
View File
@@ -55,7 +55,7 @@ import LessonPageBuilder from '../pages/courses/lessons/LessonPageBuilder'
import ViewLessonPage from '../pages/courses/lessons/ViewLessonPage'
import CourseAssessment from '../pages/courses/CourseAssessment'
import ViewAssessment from '../pages/courses/ViewAssessment'
import UnitQuiz from '../pages/courses/units/UnitQuiz'
import ModifyQuiz from '../pages/courses/units/ModifyQuiz'
import ViewUnitQuiz from '../pages/courses/units/ViewUnitQuiz'
// Task List
@@ -81,13 +81,16 @@ import AddCategory from '../pages/categories/AddCategory';
import EditCategory from '../pages/categories/EditCategory';
// Tiers
import PlanList from '../pages/tiers/PlanList';
import AddPlan from '../pages/tiers/AddPlan';
import ViewPlan from '../pages/tiers/ViewPlan';
import EditPlan from '../pages/tiers/EditPlan';
import UserTierList from '../pages/tiers/UserTierList';
import PaymentList from '../pages/tiers/PaymentList';
import ViewPayment from '../pages/tiers/ViewPayment';
import PlanList from '../pages/tiers/PlanList';
import AddPlan from '../pages/tiers/AddPlan';
import ViewPlan from '../pages/tiers/ViewPlan';
import EditPlan from '../pages/tiers/EditPlan';
import SystemBadges from '../pages/tiers/SystemBadges';
import UserTierList from '../pages/tiers/UserTierList';
import PaymentList from '../pages/tiers/PaymentList';
import ViewPayment from '../pages/tiers/ViewPayment';
import TierCategories from '../pages/tiers/TierCategories';
import { AddTierCategory, EditTierCategory } from '../pages/tiers/EditTierCategory';
import TaskSubmissions from '../pages/task_list/task/TaskCompletion'
import ViewTaskCompletion from '../pages/task_list/task/ViewTaskCompletion'
@@ -123,6 +126,7 @@ export const AdminRoutes = {
{ path: 'add/staff', element: <AddUser /> },
{ path: 'view/:userId', element: <ViewUser /> },
{ path: 'archived', element: <ArchivedUserList /> },
{ path: ':userId/activity', element: <UserActivityPage /> },
]
},
@@ -187,7 +191,7 @@ export const AdminRoutes = {
{ path: 'add', element: <AddUnit /> },
{ path: ':unitId/view', element: <ViewUnit /> },
{ path: ':unitId/edit', element: <EditUnit /> },
{ path: ":unitId/quiz", element: <UnitQuiz /> },
{ path: ":unitId/quiz/edit", element: <ModifyQuiz /> },
{ path: ":unitId/quiz/view", element: <ViewUnitQuiz /> },
// Lessons
@@ -248,10 +252,20 @@ export const AdminRoutes = {
children: [
{ index: true, element: <PlanList /> },
{ path: 'add', element: <AddPlan /> },
{ path: ':planId/view', element: <ViewPlan /> },
{ path: ':planId/edit', element: <EditPlan /> },
{ path: ':planId/view', element: <ViewPlan /> },
{ path: ':planId/edit', element: <EditPlan /> },
]
},
{ path: 'system-badges', element: <SystemBadges /> },
{
path: 'categories',
element: <Outlet />,
children: [
{ index: true, element: <TierCategories /> },
{ path: 'add', element: <AddTierCategory /> },
{ path: ':id/edit', element: <EditTierCategory /> },
],
},
{
path: 'users/:userId/tiers',
element: <UserTierList />,
@@ -283,7 +297,6 @@ export const AdminRoutes = {
// Activity Feed
{ path: 'activity', element: <ActivityFeed /> },
{ path: 'users/:userId/activity', element: <UserActivityPage /> },
// Add here
]