Skip to content

feat: app store promotion for mobile web users#152

Merged
vgpastor merged 1 commit intomainfrom
feature/app-store-promotion
Mar 27, 2026
Merged

feat: app store promotion for mobile web users#152
vgpastor merged 1 commit intomainfrom
feature/app-store-promotion

Conversation

@vgpastor
Copy link
Copy Markdown
Contributor

Summary

  • Smart banner (mobile-only): app-store-style banner with icon, star rating, and platform-specific CTA (blue for iOS, green for Android). Appears after 3s with slide-down animation. 24h cooldown after dismiss.
  • Promotional section: dark gradient banner with phone mockup and store badges between About and Stats sections on home page
  • Footer store links: new "App Movil" column with compact App Store and Google Play badges
  • Contextual download prompts: bottom-sheet popups at key interaction points (after search results, AED detail view 5s, directions click, geolocation success). Anti-spam: max 1 per session, 24h per-context cooldown, "No volver a mostrar" = 30 days
  • Bugfix: AED detail modal z-index overlap — floating controls (search bar, geolocation button, scroll indicator) now hide when modal is open

Store Links

Test plan

  • Open on mobile (or DevTools with mobile UA) — smart banner appears after 3s
  • Dismiss banner → doesn't reappear in same session, reappears after 24h
  • Search for DEAs → contextual prompt appears after 2s delay
  • View AED detail → prompt after 5s viewing
  • Click "Como llegar" → prompt appears
  • Dismiss with "No volver a mostrar" → no prompts for 30 days
  • Desktop: no banners/prompts (only the static promotional section and footer links)
  • Click a DEA on mobile → floating controls hidden, modal displays cleanly

🤖 Generated with Claude Code

Add mobile app promotion system for web users:
- Smart banner (mobile-only): app-store-style banner with icon, rating stars,
  and platform-specific CTA, appears after 3s with slide-down animation
- Promotional section: dark gradient banner with phone mockup between
  About and Stats sections on the home page
- Footer store links: App Store and Google Play badges in a new column
- Contextual download prompts: bottom-sheet popups triggered at key
  interaction points (search results, AED detail view, directions click,
  geolocation success) with anti-spam cooldowns
- Fix: AED detail modal z-index and floating controls overlap on mobile

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Mar 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dea-map Ready Ready Preview Mar 27, 2026 8:30pm

Request Review

@vgpastor vgpastor merged commit e79387b into main Mar 27, 2026
12 of 13 checks passed
@vgpastor vgpastor deleted the feature/app-store-promotion branch March 27, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant