import 'package:flutter/material.dart';
import '../screen/splashscreen/splash_screen-1.dart';
import '../screen/splashscreen/splash_screen-2.dart';
import '../widgets/bottom_nav.dart';
import '../screen/home/detail_screen.dart';

class AppRoutes {
  static const String splash1 = '/';
  static const String splash2 = '/splash2';
  static const String mainNav = '/main';
  static const String detail = '/detail';

  static Map<String, WidgetBuilder> getRoutes() {
    return {
      splash1: (context) => const SplashMain(),
      splash2: (context) => const SplashTwo(),
      mainNav: (context) => const MainNavigation(),
      detail: (context) => const DetailKopiScreen(),
    };
  }
}
