Skip to content

feat: add a telemetry.dev product hunt launch banner - #79

Merged
ephraimduncan merged 1 commit into
mainfrom
feat/telemetry-launch-banner
Oct 30, 2026
Merged

ephraimduncan merged 1 commit into
mainfrom
feat/telemetry-launch-banner

Conversation

@ephraimduncan

Copy link
Copy Markdown
Owner

The landing page shows a strip above the navigation. The strip tells visitors about the telemetry.dev launch on Product Hunt. It is a link to the launch page and opens the page in a new tab. The dashboard and the other pages do not show the strip. The strip has the colors of the "Get started" button, thus it is black in light mode and white in dark mode.

The text changes with the Product Hunt day, which starts at 12:01 am Pacific Time:

Time (Pacific) Text in the strip
Before 31 October, 12:01 am "telemetry.dev launches on Product Hunt tomorrow. Get notified"
31 October to 31 December "telemetry.dev is live on Product Hunt. Support the launch"
From 1 January 2027 No strip

The / loader records the time of the server render, and the first client render uses that time. As a result, the hydration agrees with the server HTML. After hydration, the browser clock controls the text. From 1 January 2027, the strip shows nothing, but its code stays until a later PR removes it.

Before After
Desktop, light The landing page at 1440px in light mode before the change The landing page at 1440px in light mode with the launch strip
Desktop, dark The landing page at 1440px in dark mode before the change The landing page at 1440px in dark mode with the launch strip
Mobile, 390px The landing page at 390px before the change The landing page at 390px with the launch strip

The landing page shows a strip above the navigation. The strip is a
link to the telemetry.dev launch on Product Hunt and opens it in a new
tab.

Before 31 October 2026 at 12:01 am Pacific Time, the strip shows
"telemetry.dev launches on Product Hunt tomorrow." From that time to
the end of 31 December, it shows "telemetry.dev is live on Product
Hunt." From 1 January 2027, the page shows no strip.

The / loader records the time of the server render. The first client
render uses that time, thus the hydration agrees with the server HTML.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
minimal-so 3b18932 Commit Preview URL

Branch Preview URL
Oct 30 2026, 08:03 PM

@ephraimduncan
ephraimduncan merged commit 1128748 into main Oct 30, 2026
2 checks passed
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