eat(web): migrate student function
This commit is contained in:
1 parent
f657290e71
commit
35b4ad6a30
8 files changed
+329
-1
No files matched your search
@@ -14,6 +14,9 @@ const MyTimetablePage = lazy(() => import('../pages/MyTimetablePage'))
|
||||
const ExamsPage = lazy(() => import('../pages/ExamsPage'))
|
||||
const StudentGradesPage = lazy(() => import('../pages/StudentGradesPage'))
|
||||
const StudentWarningsPage = lazy(() => import('../pages/StudentWarningsPage'))
|
||||
const StudentProfilePage = lazy(() => import('../pages/StudentProfilePage'))
|
||||
const StudentAttendancePage = lazy(() => import('../pages/StudentAttendancePage'))
|
||||
const CourseSelectionPage = lazy(() => import('../pages/CourseSelectionPage'))
|
||||
const SsoCallbackPage = lazy(() => import('../pages/SsoCallbackPage'))
|
||||
const SsoBindPage = lazy(() => import('../pages/SsoBindPage'))
|
||||
const AppShell = lazy(() => import('../layout/AppShell'))
|
||||
@@ -62,6 +65,9 @@ function AppRoutes() {
|
||||
<Route path="/exams" element={<ExamsPage />} />
|
||||
<Route path="/grades" element={<StudentGradesPage />} />
|
||||
<Route path="/warnings" element={<StudentWarningsPage />} />
|
||||
<Route path="/my-profile" element={<StudentProfilePage />} />
|
||||
<Route path="/my-attendance" element={<StudentAttendancePage />} />
|
||||
<Route path="/course-selections" element={<CourseSelectionPage />} />
|
||||
<Route path="/" element={<Navigate to="/dashboard" replace />} />
|
||||
</Route>
|
||||
<Route path="*" element={<Navigate to="/dashboard" replace />} />
|
||||
|
||||
Reference in new issue
Block a user