How maria-biruk/hercircle works
Her Circle is a bilingual React PWA that provides rights information, GBV support-service discovery, practical support pathways, USSD guidance, and economic-empowerment resources; it does not deliver services or training. The primary workflow is a user opening the app, choosing a topic or directory, and viewing localized information or a service profile. Source excerpts show routing, data-loading, and selected page-to-helper relationships. Other major capabilities are included from the README and source index; some internal connections remain unverified because their implementations were not excerpted.
Main entry points: App.jsx App routing · useAppData.js Data hooks · ServicesPage.jsx Service directory · InfoCardDetailPage.jsx Information detail
Components 23
App shell
- App routing
src/App.jsx - App shell
src/components/AppShell.jsx - Landing page
src/pages/LandingPage.jsx
Rights and guidance
- Rights topics
src/pages/RightsPage.jsx - Information detail
src/pages/InfoCardDetailPage.jsx - Guided support
src/pages/GuidePage.jsx - Support pathways
src/pages/SupportDetailPage.jsx - USSD guidance
src/pages/UssdPage.jsx
Service discovery
- Service directory
src/pages/ServicesPage.jsx - Directory card
src/components/DirectoryServiceCard.jsx - Service profile
src/components/ServiceCard.jsx - Service filtering
src/utils/services.js
Economic empowerment
- Future resources
src/pages/EmpowerPage.jsx - Resource card
src/components/ResourceCard.jsx
Shared data and state
- Data hooks
src/hooks/useAppData.js - JSON loader
src/hooks/useJsonData.js - Language state
src/context/LanguageContext.jsx - Localization
src/utils/localize.js - Demo mode
src/context/DemoModeContext.jsx - Offline marks
src/context/OfflineMarksContext.jsx - Audio player
src/components/AudioPlayer.jsx - Offline cache
src/sw.js
Other components
- App user
Connections 32
- App user → App routing: opens app
src/App.jsx - App routing → App shell: wraps routes
src/App.jsx - App routing → Landing page: routes to
src/App.jsx - App routing → Rights topics: routes to
src/App.jsx - App routing → Information detail: routes to
src/App.jsx - App routing → Guided support: routes to
src/App.jsx - App routing → Support pathways: routes to
src/App.jsx - App routing → USSD guidance: routes to
src/App.jsx - App routing → Service directory: routes to
src/App.jsx - App routing → Future resources: routes to
src/App.jsx - App routing → Language state: provides state
src/App.jsx - App routing → Demo mode: provides state
src/App.jsx - App routing → Offline marks: provides state
src/App.jsx - App routing → Data hooks: loads config
src/App.jsx - Rights topics → Data hooks: loads cards
src/pages/RightsPage.jsx - Information detail → Data hooks: loads content
src/pages/InfoCardDetailPage.jsx - Information detail → Audio player: renders audio
src/pages/InfoCardDetailPage.jsx - Information detail → Offline marks: tracks saved marks
src/pages/InfoCardDetailPage.jsx - Guided support → Data hooks: loads services
src/pages/GuidePage.jsx - Support pathways → Data hooks: loads pathways
src/pages/SupportDetailPage.jsx - USSD guidance → JSON loader: loads data
src/pages/UssdPage.jsx - Service directory → Data hooks: loads services
src/pages/ServicesPage.jsx - Service directory → Service filtering: filters listings
src/pages/ServicesPage.jsx - Service directory → Directory card: renders results
src/pages/ServicesPage.jsx - Service directory → Service profile: shows selection
src/pages/ServicesPage.jsx - Service profile → Service filtering: formats details
src/components/ServiceCard.jsx - Future resources → Data hooks: loads resources
src/pages/EmpowerPage.jsx - Future resources → Resource card: renders resources
src/pages/EmpowerPage.jsx - Data hooks → JSON loader: loads JSON
src/hooks/useAppData.js - Data hooks → Demo mode: selects demo data
src/hooks/useAppData.js - JSON loader → Offline cache: uses cached fetch
- Language state → Localization: translates keys
src/context/LanguageContext.jsx