feat(staff): implement staff home screen shell (staff_main)

- Created staff_main package structure
- Implemented StaffMainPage, StaffMainBottomBar, StaffMainCubit
- Added localization for staff_main tabs
- Added typed navigation extension
- Registered package in workspace
This commit is contained in:
Achintha Isuru
2026-01-24 11:43:09 -05:00
parent 084ef8b025
commit cdc0344280
12 changed files with 455 additions and 0 deletions

View File

@@ -365,4 +365,59 @@
"pending_badge": "PENDING APPROVAL",
"paid_badge": "PAID"
}
,
"staff": {
"home": {
"header": {
"welcome_back": "Welcome back",
"user_name_placeholder": "Krower"
},
"banners": {
"complete_profile_title": "Complete Your Profile",
"complete_profile_subtitle": "Get verified to see more shifts",
"availability_title": "Availability",
"availability_subtitle": "Update your availability for next week"
},
"quick_actions": {
"find_shifts": "Find Shifts",
"availability": "Availability",
"messages": "Messages",
"earnings": "Earnings"
},
"sections": {
"todays_shift": "Today's Shift",
"scheduled_count": "$count scheduled",
"tomorrow": "Tomorrow",
"recommended_for_you": "Recommended for You",
"view_all": "View all"
},
"empty_states": {
"no_shifts_today": "No shifts scheduled for today",
"find_shifts_cta": "Find shifts →",
"no_shifts_tomorrow": "No shifts for tomorrow",
"no_recommended_shifts": "No recommended shifts"
},
"pending_payment": {
"title": "Pending Payment",
"subtitle": "Payment processing",
"amount": "$amount"
},
"recommended_card": {
"act_now": "• ACT NOW",
"one_day": "One Day",
"today": "Today",
"applied_for": "Applied for $title",
"time_range": "$start - $end"
}
}
},
"staff_main": {
"tabs": {
"shifts": "Shifts",
"payments": "Payments",
"home": "Home",
"clock_in": "Clock In",
"profile": "Profile"
}
}
}