content: import 'package:app/pages/journey/journey_page.dart';
  import 'package:app/pages/journey/selection/journey_selection_page.dart';
  import 'package:app/pages/links/links_page.dart';
  import 'package:app/pages/login/login_page.dart';
  import 'package:app/pages/profile/profile_page.dart';
  import 'package:app/pages/settings/settings_page.dart';
  import 'package:app/pages/splash/splash_page.dart';
  import 'package:auto_route/auto_route.dart';
  
  part 'app_router.gr.dart';
  
  @AutoRouterConfig(replaceInRouteName: 'Page,Route')
  class AppRouter extends RootStackRouter {
    @override
    List<AutoRoute> get routes => [
      _splash,
      _login,
      _journey,
      _journeySelection,
      _links,
      _settings,
      _profile,
    ];
  
    @override
    get defaultRouteType => RouteType.custom();
  }
  
  // Routes
  
  final _splash = AutoRoute(
    path: '/splash',
    page: SplashRoute.page,
    initial: true,
  );
  
  final _login = AutoRoute(
    path: '/login',
    page: LoginRoute.page,
  );
  
  final _journey = AutoRoute(
    path: '/journey',
    page: JourneyRoute.page,
  );
  
  final _journeySelection = AutoRoute(
    path: '/journey-selection',
    page: JourneySelectionRoute.page,
  );
  
  final _links = AutoRoute(
    path: '/links',
    page: LinksRoute.page,
  );
  
  final _settings = AutoRoute(
    path: '/settings',
    page: SettingsRoute.page,
  );
  
  final _profile = AutoRoute(
    path: '/profile',
    page: ProfileRoute.page,
  );
  