feat: Add a Documents menu item, refactor DocumentsPage to use BlocProvider and UiAppBar, and capitalize the 'KROWER I' profile level badge text.

This commit is contained in:
Achintha Isuru
2026-02-26 15:24:27 -05:00
parent 3d1963f2ec
commit df71deb698
3 changed files with 73 additions and 77 deletions

View File

@@ -19,7 +19,7 @@ class ProfileLevelBadge extends StatelessWidget {
switch (status) {
case StaffStatus.active:
case StaffStatus.verified:
return 'Krower I';
return 'KROWER I';
case StaffStatus.pending:
case StaffStatus.completedProfile:
return 'Pending';

View File

@@ -56,6 +56,11 @@ class OnboardingSection extends StatelessWidget {
label: i18n.menu_items.attire,
onTap: () => Modular.to.toAttire(),
),
ProfileMenuItem(
icon: UiIcons.file,
label: i18n.menu_items.documents,
onTap: () => Modular.to.toDocuments(),
),
],
),
],