import 'package:flutter/material.dart';
import 'package:smpn1_lengkong/features/academic/academic_detail_screen.dart';
import 'package:smpn1_lengkong/features/auth/login_screen.dart';
import 'package:smpn1_lengkong/features/home/home_screen.dart';
import 'package:smpn1_lengkong/features/notification/notification_detail_screen.dart';
import 'package:smpn1_lengkong/features/notification/notification_screen.dart';
import 'package:smpn1_lengkong/features/splash/splash_screen.dart';
import 'package:smpn1_lengkong/features/academic/academic_screen.dart'; // Import
import 'package:smpn1_lengkong/features/discipline/discipline_screen.dart'; // Import
import 'package:smpn1_lengkong/features/attendance/attendance_screen.dart'; // Import

class AppRoutes {
  AppRoutes._();

  static const String splash = '/';
  static const String login = '/login';
  static const String home = '/home';
  // Route Baru
  static const String academic = '/academic';
  static const String discipline = '/discipline';
  static const String attendance = '/attendance';
  static const String notification = '/notification'; // Tambah Route
  static const String notificationDetail = '/notification-detail';
  static const String academicDetail = '/academic-detail';

  static Map<String, WidgetBuilder> get routes => {
    splash: (context) => const SplashScreen(),
    login: (context) => const LoginScreen(),
    home: (context) => const HomeScreen(),
    // Registrasi Widget
    academic: (context) => const AcademicScreen(),
    discipline: (context) => const DisciplineScreen(),
    attendance: (context) => const AttendanceScreen(),
    notification: (context) => const NotificationScreen(), // Register
    notificationDetail: (context) => const NotificationDetailScreen(),
    academicDetail: (context) => const AcademicDetailScreen(),
  };
}
