Skip to content

feat: bilingual GitHub Pages landing page#10

Merged
Periicles merged 5 commits into
mainfrom
feat/landing-page
Jul 4, 2026
Merged

feat: bilingual GitHub Pages landing page#10
Periicles merged 5 commits into
mainfrom
feat/landing-page

Conversation

@Periicles

Copy link
Copy Markdown
Owner

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

  • Bilingual FR/EN, done properly. One index.html, structure written once; a single dictionary in main.js holds EN + FR side by side (no duplicated pages that drift). Language resolves from ?lang=localStoragenavigator.language → English; a header toggle swaps everything, persists the choice, updates <html lang>, and rewrites ?lang= so a link is shareable.
  • English-default markup → the page is fully readable with JS disabled (graceful degradation).
  • Sections: hero ("are we done yet?" / "c'est bientôt fini ?") with a live notch mockup → what it does → install (with the honest one-time right-click note) → footer.
  • Durable by design: download button points to the Releases page (never rots), defined as a real <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-domain CNAME later.
  • .gitignore no longer blanket-ignores docs/ (a template leftover); specs, plans, and the site are now tracked.

Verification

  • 27 Swift tests still pass (no app code touched).
  • Full-page render checked in both English and French (via ?lang=fr); the data-i18n-html green "23 min" renders correctly.
  • Page renders fully in English with JavaScript disabled.
  • Structural checks: 21 plain data-i18n, 1 data-i18n-html, 1 data-i18n-attr, absolute og:image URL.

Deployment (after merge)

GitHub Pages will be enabled from main /docs, then the README gets the live link. The site goes live at https://periicles.github.io/Notchapp/.

Known / deferred

  • Download links to the Releases page (not /releases/latest/download) because v0.1.0 is a pre-release; switch to /latest once a stable release exists.
  • Footer says "Source on GitHub" / "free", not "open source" — the repo has no LICENSE yet (flagged as tech debt in the spec).

Design docs

  • Spec: docs/superpowers/specs/2026-07-04-landing-page-design.md
  • Plan: docs/superpowers/plans/2026-07-04-landing-page.md

🤖 Generated with Claude Code

@Periicles
Periicles merged commit 50632e1 into main Jul 4, 2026
3 checks passed
@Periicles
Periicles deleted the feat/landing-page branch July 4, 2026 08:40
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