Repository navigation
Show the Product Hunt badge on the landing page from launch day - #4
Conversation
The landing page is prerendered, so the browser checks the time and renders the badge only once launch has passed, with a timer for pages left open across it. Refs CNV-12 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CNV-12 Show the Product Hunt badge on the landing page from launch day
Problemconvt goes live on Product Hunt on 7 October 2026. The landing page has no link to the post, and showing one before launch would point people at it too early. GoalThe Product Hunt featured badge appears on convt.app from 3 am Eastern on 7 October 2026 and not before. Acceptance criteria
How to verifyBuild with |
|
There was a problem hiding this comment.
Graphify reviewed this change.
Looks safe to merge — no coupling regressions and no blocking issues, checked against the code graph (not a self-assessment).
Graphify review — findings
Adds a Product Hunt "featured" badge to the landing hero that renders only client-side once PRODUCT_HUNT_FROM (3 am EDT, 7 Oct 2026) has passed, so the prerendered HTML never includes it. ProductHuntBadge schedules a timer to make the badge appear on a page left open past launch, but skips the timer when the wait exceeds setTimeout's ~24.8-day limit, so very early visitors see it only after reloading. PRODUCT_HUNT_URL and PRODUCT_HUNT_FROM live in site alongside the other launch constants.
No blocking issues surfaced.
Analysis details — impact, health, verification
Impact & health
Graphify review
Impact — 16 functions depend on the 15 functions this change touches.
Health — grade A; no new coupling hotspots.
Verification — 16 functions in the blast radius were not formally verified this run (proofs are advisory here).
Gate & verification
graphify gate
PASS — objectively clean (no health regressions, tests not run — proofs not run this pass (advisory)). Grounded, not self-assessed.
Advisory (not blocking):
- verification_scope: 16 function(s) in the blast radius were not formally verified this run
Summary
convt launches on Product Hunt on 7 October, and the landing page should link to the post from then on, not before. The hero now shows the Product Hunt featured badge from 3:00 am Eastern (07:00 UTC) on 7 October 2026.
The home page is prerendered static HTML, so the browser decides:
Evidence
Both columns are real
bun run build:landingbuilds served locally. "After" is a throwaway build withPRODUCT_HUNT_FROMmoved into the past; the committed date is unchanged.After 3 am ET: 1 badge link, image loaded at 250px wide, at 1440px and 390px.
bun run checkandbun run check-typespass.Not tested: a page left open across 3 am picking up the badge through the timer.
Merge Danger
Door: two-way. Reverting removes the badge; nothing outside the code changes.
Blast radius: the landing page hero. convt.app deploys by hand, so this reaches the site only after a
build:landingdeploy.Refs CNV-12
Created with Claude Opus 5.5 in T3 Code.