import 'package:flutter/material.dart';

enum HRSection { overview, leave, myCv, employeeCvs }

extension HRSectionDetails on HRSection {
  String get title => switch (this) {
        HRSection.overview => 'HR Overview',
        HRSection.leave => 'Leave Management',
        HRSection.myCv => 'My Curriculum Vitae',
        HRSection.employeeCvs => 'Employee CVs',
      };

  IconData get icon => switch (this) {
        HRSection.overview => Icons.dashboard_outlined,
        HRSection.leave => Icons.event_available_outlined,
        HRSection.myCv => Icons.badge_outlined,
        HRSection.employeeCvs => Icons.groups_outlined,
      };
}
