Repository navigation
feat: add a telemetry.dev product hunt launch banner - #79
Merged
Merged
Conversation
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.
Deploying with
|
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
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.