import 'package:flutter_modular/flutter_modular.dart';

/// Typed navigation extensions for the Staff Profile Info feature.
///
/// Provides type-safe navigation methods to avoid magic strings
/// throughout the codebase.
extension ProfileInfoNavigator on IModularNavigator {
  /// Navigates to the Personal Info page.
  ///
  /// This page allows staff members to edit their personal information
  /// including phone, bio, languages, and preferred locations.
  Future<void> pushPersonalInfo() {
    return pushNamed('./personal-info');
  }

  /// Navigates to the Emergency Contact page.
  ///
  /// TODO: Implement when emergency contact page is created.
  Future<void> pushEmergencyContact() {
    return pushNamed('/profile/onboarding/emergency-contact');
  }

  /// Navigates to the Experience page.
  ///
  /// TODO: Implement when experience page is created.
  Future<void> pushExperience() {
    return pushNamed('/profile/onboarding/experience');
  }

  /// Navigates to the Attire page.
  ///
  /// TODO: Implement when attire page is created.
  Future<void> pushAttire() {
    return pushNamed('/profile/onboarding/attire');
  }
}
