feat: add governance pages (Assembly, Justice, Polls) to web

- Add AssemblyPage with members tab (7 members) and sessions tab
- Add JusticePage with dispute cases, expandable cards, status stats
- Add PollsPage with interactive voting and results progress bars
- Wire routes /governance/assembly, /governance/justice, /governance/polls in App.tsx
- Activate assembly, justice, polls buttons in MobileHomeLayout (remove comingSoon)
This commit is contained in:
2026-04-09 04:02:40 +03:00
parent 3b9b7c2643
commit c5f369776c
5 changed files with 498 additions and 3 deletions
+3 -3
View File
@@ -67,12 +67,12 @@ const APP_SECTIONS: AppSection[] = [
borderColor: 'border-l-red-500',
apps: [
{ title: 'mobile.app.president', icon: '👑', route: '/elections', requiresAuth: true },
{ title: 'mobile.app.assembly', icon: '🏛️', route: '/citizens/government', comingSoon: true },
{ title: 'mobile.app.assembly', icon: '🏛️', route: '/governance/assembly' },
{ title: 'mobile.app.vote', icon: '🗳️', route: '/elections', requiresAuth: true },
{ title: 'mobile.app.validators', icon: '🛡️', route: '/wallet' },
{ title: 'mobile.app.justice', icon: '⚖️', route: '/citizens/government', comingSoon: true },
{ title: 'mobile.app.justice', icon: '⚖️', route: '/governance/justice' },
{ title: 'mobile.app.proposals', icon: '📜', route: '/citizens/government' },
{ title: 'mobile.app.polls', icon: '📊', route: '/citizens/government', comingSoon: true },
{ title: 'mobile.app.polls', icon: '📊', route: '/governance/polls' },
{ title: 'mobile.app.identity', icon: '🆔', route: '/identity' },
],
},