feat: add static hero landing site at site/#12
Merged
Conversation
A small static landing page that mirrors the app's dark / amber
aesthetic and explains the local-first loop without needing the
backend. Aimed at people who haven't installed anything yet.
- site/index.html: hero with headline + lede, useful/private/credible
rows, four-step local loop (Write Python -> Run locally -> Get
feedback -> Offline practice), simplified UI mockup with code lab +
tutor chat, six-screenshot tour, and the two-command quick start.
- site/style.css: design tokens mirror frontend/base.css.
- SEO/Open Graph/Twitter meta; reuses the existing 1200x630 OG image
and the frontend favicon.
- Pure static, no build step. Preview with:
cd site && python3 -m http.server 8080
- scripts/check_site.sh: asset existence, required meta/section
anchors, no hard-coded localhost, balanced <main>. Wired into CI
(frontend job).
- README.md: new "Hero website" section with preview instructions.
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.
Summary
Adds a small static landing page at
site/that mirrors the app's dark / amber aesthetic and explains the local-first loop without needing the FastAPI backend. Aimed at people who haven't installed anything yet — credible 30-second overview that points at the repo and the two-command quick start.site/index.html— hero with headline (Private Python practice with a local AI tutor), useful / private / credible rows, four-step local-first loop (Write Python → Run locally → Get feedback → Offline practice), simplified UI mockup (lesson list, code lab with Ran cleanly output, floating tutor chat), six-screenshot tour, and the two-command quick start.site/style.css— design tokens mirrorfrontend/base.cssso the landing reads as the same product as the app (same dark palette, amber accent, type scale).<head>; reuses the existing 1200×630og-image.pngand the frontend favicon.scripts/check_site.sh— asset existence, required<head>and section anchors, no hard-codedlocalhost:hrefs, balanced<main>. Wired into CI (frontend job).README.md— new Hero website section above A quick look with preview instructions.Does not touch existing
frontend/orbackend/code. No new dependencies.Testing
./scripts/check_site.shpasses locally (asset paths, meta tags, section anchors, balanced<main>, no localhost hrefs).python3 -m http.serversmoke-test —index.html,style.css,og-image.png, all six screenshots, and the favicon serve at 200 with correct byte counts../relativeasset references inindex.htmlresolve on disk (8/8).🤖 Generated with Claude Code