Skip to content

PR-01: Home hero map-first UX with total places and static preview - #333

Open
badjoke-lab wants to merge 1 commit into
mainfrom
codex/update-home-page-ux-with-new-features
Open

PR-01: Home hero map-first UX with total places and static preview#333
badjoke-lab wants to merge 1 commit into
mainfrom
codex/update-home-page-ux-with-new-features

Conversation

@badjoke-lab

Copy link
Copy Markdown
Owner

Motivation

  • Make the home hero clearly prioritize entering the map so users can reach /map in one click.
  • Surface listing trust by showing total_places in the hero to increase credibility and click-through.
  • Provide a lightweight visual cue (static map preview) that links to /map without loading any client map library on the top page.

Description

  • Reworked the home hero so Open Map is the single primary CTA and Discover/Submit are secondary inline links below it in the hero.
  • Added a client-only component HomeTotalPlaces that fetches /api/stats and displays total_places formatted for humans with a safe fallback when unavailable.
  • Added a static preview asset public/map-preview.svg and integrated it into the hero as a clickable block that navigates to /map (the hero does not import or start Leaflet or other map clients).
  • Kept the rest of the home content (Supported payments, Browse by region, How verification works, FAQ, Support this project) unchanged in structure and order.

Testing

  • Ran npm run lint, which completed successfully (repository has unrelated pre-existing ESLint warnings).
  • Ran npm run build, which completed successfully (build warnings/deopt notices are pre-existing and unrelated to these changes).

Codex Task

@vercel

vercel Bot commented Mar 4, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
cryptopaymap-v2 Ready Ready Preview, Comment Mar 4, 2026 0:49am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant