placeholders removidos e todos os dados reais colocados, com conquistas e tudo
This commit is contained in:
@@ -15,6 +15,9 @@ import '../../features/quiz/presentation/pages/teacher_quiz_page.dart';
|
||||
import '../../features/profile/presentation/pages/profile_page.dart';
|
||||
import '../../features/splash/presentation/pages/splash_page.dart';
|
||||
import '../../features/auth/presentation/pages/role_selection_page.dart';
|
||||
import '../../features/analytics/presentation/pages/analytics_page.dart';
|
||||
import '../../features/achievements/presentation/pages/student_achievements_page.dart';
|
||||
import '../../features/quiz/presentation/pages/quiz_management_page.dart';
|
||||
|
||||
/// App Router Configuration
|
||||
class AppRouter {
|
||||
@@ -29,6 +32,9 @@ class AppRouter {
|
||||
static const String quiz = '/quiz/:quizId';
|
||||
static const String profile = '/profile';
|
||||
static const String settings = '/settings';
|
||||
static const String teacherAnalytics = '/teacher/analytics';
|
||||
static const String studentAchievements = '/student/achievements';
|
||||
static const String quizManagement = '/quiz-management';
|
||||
|
||||
// Nested route paths (without leading slash)
|
||||
static const String tutorNested = 'tutor';
|
||||
@@ -141,6 +147,27 @@ class AppRouter {
|
||||
builder: (context, state) => const TutorChatPageSimple(),
|
||||
),
|
||||
|
||||
// Teacher Analytics Route
|
||||
GoRoute(
|
||||
path: teacherAnalytics,
|
||||
name: 'teacherAnalytics',
|
||||
builder: (context, state) => const AnalyticsPage(),
|
||||
),
|
||||
|
||||
// Student Achievements Route
|
||||
GoRoute(
|
||||
path: studentAchievements,
|
||||
name: 'studentAchievements',
|
||||
builder: (context, state) => const StudentAchievementsPage(),
|
||||
),
|
||||
|
||||
// Quiz Management Route
|
||||
GoRoute(
|
||||
path: quizManagement,
|
||||
name: 'quizManagement',
|
||||
builder: (context, state) => const QuizManagementPage(),
|
||||
),
|
||||
|
||||
// Quiz List Route (independent — student access)
|
||||
GoRoute(
|
||||
path: quizList,
|
||||
|
||||
Reference in New Issue
Block a user