mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-04 18:38:15 +01:00
- Create types/governance.ts with centralized type definitions (TaxPayment, CitizenData, AgencyData, etc.) - Add lib/governance/utils.ts with shared utility functions (formatCurrency, getTransparencyScoreClasses, getStatusBadgeClasses) - Create reusable governance components: - ProfileHeader: shared header component for profile pages - ProfileTabs: reusable tab navigation component - InfoBox: configurable info/warning/success/error boxes These shared components and utilities support breaking down large governance components (CitizenProfile.tsx 650 lines, AgencyProfile.tsx 437 lines) into smaller, more maintainable pieces while following DRY principles. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>