Skip to content

feat: add static hero landing site at site/#12

Merged
StewAlexander-com merged 1 commit into
mainfrom
feat/hero-landing-site
May 22, 2026
Merged

feat: add static hero landing site at site/#12
StewAlexander-com merged 1 commit into
mainfrom
feat/hero-landing-site

Conversation

@StewAlexander-com
Copy link
Copy Markdown
Owner

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 mirror frontend/base.css so the landing reads as the same product as the app (same dark palette, amber accent, type scale).
  • SEO / Open Graph / Twitter meta in <head>; reuses the existing 1200×630 og-image.png and the frontend favicon.
  • Pure static — no build step. Preview locally with:
    cd site
    python3 -m http.server 8080
    # open http://localhost:8080/
  • scripts/check_site.sh — asset existence, required <head> and section anchors, no hard-coded localhost: 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/ or backend/ code. No new dependencies.

Testing

  • ./scripts/check_site.sh passes locally (asset paths, meta tags, section anchors, balanced <main>, no localhost hrefs).
  • Local python3 -m http.server smoke-test — index.html, style.css, og-image.png, all six screenshots, and the favicon serve at 200 with correct byte counts.
  • All ./relative asset references in index.html resolve on disk (8/8).
  • CI green on this PR.

🤖 Generated with Claude Code

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.
@StewAlexander-com StewAlexander-com merged commit d506e8b into main May 22, 2026
5 checks passed
@StewAlexander-com StewAlexander-com deleted the feat/hero-landing-site branch May 22, 2026 11:39
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.

2 participants