docs: add Learning with Squish books landing page - #230
Merged
Conversation
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.
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
docs/books/index.htmlsquish.run/books(mkdocs copies non-.mdfiles indocs/verbatim into the built site)AMAZON_LINKSconfig object (currently#placeholders)srcquery-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! 🎨"), andconsole.log'd as a stand-in for real analyticsVerified locally with a Playwright smoke test: mobile/desktop screenshots,
srcparam → 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:
SWAP-HERO-IMAGE— swap in the real Squish + Lilyan hero illustrationSWAP-BOOK-COVER(×3) — swap in real book cover images/api/subscribefetch call — wire to a real email service and passsrcthrough as a tagged fieldAMAZON_LINKSconfig object at the top of the<script>— drop in real Amazon URLsType of change
Checklist
pytest tests/passes locally (no Python changed)ruff check squish/ tests/reports no errors (no Python changed)squish benchrun (not applicable)Related issues
N/A
Generated by Claude Code