Skip to content

docs: add Learning with Squish books landing page - #230

Merged
wesleyscholl merged 1 commit into
mainfrom
claude/squish-landing-page-hnnfb8
Aug 10, 2026
Merged

docs: add Learning with Squish books landing page#230
wesleyscholl merged 1 commit into
mainfrom
claude/squish-landing-page-hnnfb8

Conversation

@konjoinfinity

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a single-page marketing / email-capture landing page for the "Learning with Squish" children's board book series (Konjo Publishing), at docs/books/index.html
  • Deploys via mkdocs' static-file passthrough at squish.run/books (mkdocs copies non-.md files in docs/ verbatim into the built site)
  • Hero section with series title/tagline and a placeholder hero illustration box
  • 3-book showcase grid (Habits / Counting / Colors) with per-book "Buy on Amazon" buttons wired to a AMAZON_LINKS config object (currently # placeholders)
  • Prominent "Get Free Printables!" email capture section (purple gradient card, most visually dominant element on the page) with client-side email validation and a success state
  • src query-param attribution tracking: read on load, stashed into a hidden form field, optionally surfaced as a friendly contextual note (e.g. ?src=colors-printables → "Thanks for reading Learning Colors with Squish! 🎨"), and console.log'd as a stand-in for real analytics
  • Fully self-contained single HTML file (inline CSS custom properties for the brand palette, inline JS, no build step, no external image dependencies), mobile-first responsive layout

Verified locally with a Playwright smoke test: mobile/desktop screenshots, src param → hidden field + contextual note, invalid-email validation error, and the success state after submit all behave as expected.

Four TODO markers in the file for follow-up work:

  1. SWAP-HERO-IMAGE — swap in the real Squish + Lilyan hero illustration
  2. SWAP-BOOK-COVER (×3) — swap in real book cover images
  3. ESP integration TODO on the /api/subscribe fetch call — wire to a real email service and pass src through as a tagged field
  4. AMAZON_LINKS config object at the top of the <script> — drop in real Amazon URLs

Type of change

  • Bug fix
  • New feature
  • Performance improvement
  • Documentation update
  • Refactor / cleanup

Checklist

  • pytest tests/ passes locally (no Python changed)
  • ruff check squish/ tests/ reports no errors (no Python changed)
  • No hardcoded absolute paths
  • No model weights, eval output files, or log files staged for commit
  • Changes are scoped to one logical concern (single new static landing page)
  • Performance-sensitive changes include a before/after squish bench run (not applicable)

Related issues

N/A


Generated by Claude Code

Single-page email-capture landing for the "Learning with Squish" board
book series, deployed via mkdocs static passthrough at squish.run/books.
Includes hero, 3-book showcase with configurable Amazon links, prominent
email capture with client-side validation, and src-param attribution
tracking for QR-code campaigns.
@wesleyscholl
wesleyscholl marked this pull request as ready for review August 10, 2026 19:38
@wesleyscholl
wesleyscholl merged commit cb986d8 into main Aug 10, 2026
16 checks passed
@wesleyscholl
wesleyscholl deleted the claude/squish-landing-page-hnnfb8 branch August 10, 2026 19:38
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.

3 participants