feat: bilingual GitHub Pages landing page#10
Merged
Conversation
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.
Why
Third step of the distribution roadmap (after packaging + the v0.1.0 Release): a public landing page so a bored student can land, get the joke, and download NotchBar in seconds. Hosted free on GitHub Pages, no build step.
What
index.html, structure written once; a single dictionary inmain.jsholds EN + FR side by side (no duplicated pages that drift). Language resolves from?lang=→localStorage→navigator.language→ English; a header toggle swaps everything, persists the choice, updates<html lang>, and rewrites?lang=so a link is shareable.<a href>so it works without JS; OG/Twitter card with a generated 1200×630 preview image; favicon from the app icon; structure ready for a custom-domainCNAMElater..gitignoreno longer blanket-ignoresdocs/(a template leftover); specs, plans, and the site are now tracked.Verification
?lang=fr); thedata-i18n-htmlgreen "23 min" renders correctly.data-i18n, 1data-i18n-html, 1data-i18n-attr, absoluteog:imageURL.Deployment (after merge)
GitHub Pages will be enabled from
main/docs, then the README gets the live link. The site goes live athttps://periicles.github.io/Notchapp/.Known / deferred
/releases/latest/download) because v0.1.0 is a pre-release; switch to/latestonce a stable release exists.Design docs
docs/superpowers/specs/2026-07-04-landing-page-design.mddocs/superpowers/plans/2026-07-04-landing-page.md🤖 Generated with Claude Code