How inf4ml-dev/insmecals works
InSME Calculators is a static internal calculator hub: users enter through the home page and choose a calculator page. The documented travel-quote flow uses trip and traveller details, configured rates, and study status to select and price plans, then offers a prefilled WhatsApp quote request. Other calculator pages are documented as product capabilities, but their calculation behavior is not described in the available evidence. The graph reflects README-documented links and shared styling; no source excerpts were provided, so implementation-level relationships are omitted.
Main entry points: site-nav.js Site navigation · index.html Calculator hub · shared.css Shared styling · travel-insurance.html Travel quotation
Components 13
Hub and navigation
- Calculator hub
index.html - Site navigation
src/assets/js/site-nav.js
Calculator pages
- Ahotopii
src/pages/ahotopii.html - MomoInsure
src/pages/momoinsure.html - Motor
src/pages/motor.html - Commission
src/pages/commission.html - Travel quotation
src/pages/travel-insurance.html - SME placeholder
src/pages/sme-insure.html
Shared resources
- Rates and rules
src/data/rates.json - Shared styling
src/assets/css/shared.css - Back-home markup reference
src/components/back-home-button.html
Other components
- Customer
Connections 21
- Customer → Calculator hub: opens hub
README.md - Calculator hub → Ahotopii: links to
README.md - Calculator hub → MomoInsure: links to
README.md - Calculator hub → Motor: links to
README.md - Calculator hub → Commission: links to
README.md - Calculator hub → Travel quotation: features
README.md - Site navigation → Calculator hub: builds return path
README.md - Site navigation → Ahotopii: builds page links
README.md - Site navigation → MomoInsure: builds page links
README.md - Site navigation → Motor: builds page links
README.md - Site navigation → Commission: builds page links
README.md - Site navigation → Travel quotation: builds page links
README.md - Site navigation → SME placeholder: builds page links
README.md - Travel quotation → Rates and rules: loads rates
README.md - Travel quotation → WhatsApp: opens quote request
README.md - Ahotopii → Shared styling: links stylesheet
README.md - MomoInsure → Shared styling: links stylesheet
README.md - Motor → Shared styling: links stylesheet
README.md - Commission → Shared styling: links stylesheet
README.md - Travel quotation → Shared styling: links stylesheet
README.md - SME placeholder → Shared styling: links stylesheet
README.md