Skip to content

feat(web): show Product Hunt badge on welcome - #2781

Merged
cursor[bot] merged 3 commits into
mainfrom
cursor/product-hunt-welcome-badge-4860
Aug 14, 2026
Merged

feat(web): show Product Hunt badge on welcome#2781
cursor[bot] merged 3 commits into
mainfrom
cursor/product-hunt-welcome-badge-4860

Conversation

@tyler-dane

@tyler-dane tyler-dane commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the Product Hunt featured badge to the welcome guide so new users see it on first visit (and anyone who reopens the welcome guide).

The official embed is a native link + image with a visible focus ring. It sits in a full-width row under the intro copy so it centers in the modal (the welcome panel uses items-start, which left-aligned a nested badge).

Simplicity

One ProductHuntBadge component and a centered row in the existing welcome body. Dropped redundant mx-auto / w-fit on the link after the parent row already centers it. No extra state, effects, or refs.

Automated validation

  • Welcome modal tests: 11 pass, including a role/name assertion for the Product Hunt link and href.
  • bun run lint: no new findings (10 pre-existing warnings elsewhere).
  • Manual: anonymous IndexedDB mode at http://localhost:9080 — badge loads and is horizontally centered with Start Now.

Independent review

Fresh read-only review of origin/main...HEAD: no confirmed findings. Native link, accessible name from alt, focus ring, noopener noreferrer, no storage/event-data changes.

Test plan

  • bun test:web packages/web/src/components/WelcomeModal/WelcomeModal.test.tsx — 11 pass
  • bun run lint
  • Welcome modal visual check that the badge is centered

Welcome modal with centered Product Hunt badge
welcome_modal_badge_centered.mp4

Open in Web Open in Cursor 

cursoragent and others added 3 commits August 14, 2026 04:58
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
@tyler-dane
tyler-dane marked this pull request as ready for review August 14, 2026 05:20
@cursor
cursor Bot merged commit 393c254 into main Aug 14, 2026
20 checks passed
@cursor
cursor Bot deleted the cursor/product-hunt-welcome-badge-4860 branch August 14, 2026 05:24
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.

2 participants