Skip to content

Add a landing page hosted on GitHub Pages - #1

Merged
dommangetnicolas merged 5 commits into
mainfrom
landing-page
Nov 11, 2026
Merged

dommangetnicolas merged 5 commits into
mainfrom
landing-page

Conversation

@dommangetnicolas

Copy link
Copy Markdown
Owner

What does this change?

Adds a single-page website for Magic Commit, served at https://magic-commit.nicolas-dmg.fr/.

  • site/: one static index.html with no build step: hero with a download button for the latest release, the four actions with screenshots, how Batch oco stays safe, and install steps. Works in light and dark mode and on phones.
  • .github/workflows/pages.yml: deploys site/ to GitHub Pages on pushes to main that touch it, or by hand from the Actions tab.
  • scripts/screenshot-demo.sh: builds demo repos in every state the panel can show and temporarily points the app at them, so screenshots can be retaken without exposing real projects. clean restores your own project list. See site/screenshots/README.md.
  • README: links to the website.

Before merging / after merging

  1. DNS: add a CNAME record magic-commit → dommangetnicolas.github.io on nicolas-dmg.fr.
  2. In Settings → Pages, set Source to GitHub Actions and the custom domain to magic-commit.nicolas-dmg.fr, then enable Enforce HTTPS once the certificate is issued.
  3. After merging, run the Landing page workflow once if the first deploy happened before Pages was enabled.

Notes for reviewers

  • Screenshots are 1× captures, so they're slightly soft on Retina screens. Retaking them on a Retina display with the demo script would sharpen them.
  • site/CNAME is informational: with Actions-based deploys, GitHub reads the domain from Settings.

How was it tested?

  • Previewed the page locally at desktop width and at phone width in dark mode, and checked there's no horizontal scroll.

  • Ran scripts/screenshot-demo.sh setup and clean against the installed app; the project list was backed up and restored.

  • The Pages workflow hasn't run yet: it needs Pages enabled in Settings first.

  • swift test passes (no Swift changes)

  • Tried in the running app (no app changes)

  • Updated CHANGELOG.md (website only, not a change to the app)

🤖 Generated with Claude Code

dommangetnicolas and others added 5 commits November 11, 2026 12:31
Single static page in site/ with placeholder frames for screenshots,
deployed to GitHub Pages on pushes to main that touch site/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scripts/screenshot-demo.sh builds demo repos in every state the panel
can show and temporarily swaps the app's project list to them. The page
now shows real screenshots at their natural aspect ratio.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Show the hero at its natural size so it isn't upscaled, and clip the
push alert to its rounded corners.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dommangetnicolas
dommangetnicolas merged commit f78500c into main Nov 11, 2026
1 check passed
@dommangetnicolas
dommangetnicolas deleted the landing-page branch November 11, 2026 12:22
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