Introduce a platform-aware promotion and PWA targeting manager
system to gently encourage registrations and installations.
- Track current session and lifetime cumulative page views to enforce
"The Three-Page Rule", displaying promos only after active interest.
- Implement a progressive dismissal gap mapped to absolute cumulative
page-view targets (3 -> 7 -> 12 -> 18 -> 25) to prevent banner spam.
- Set up PromoBannerManager globally to display sticky bottom sheets
directing Android users to the Google Play Store app listing,
floating bubble guides on iOS Safari, and sign-ups on Desktop.
- Integrate compact inline promotional cards dynamically in lists of
Dive Sites, public Dives, Diving Centers, and Dive Routes.
- Inject cards using a modulo index check ((index - 2) % 15 === 0)
to ensure they render regularly per "scroll page" on infinite scroll.
- Customize promotional cards with distinct brand background styles,
complete dark mode support, and a randomized pool of 10 feature CTAs.
- Provide thorough Vitest unit testing to verify all state changes,
logical boundaries, and layout overrides.
Introduce a platform-aware promotion and PWA targeting manager system to gently encourage registrations and installations.