Skip to content

Course call-out footer + engagement modal on interior pages#163

Open
nofluffdesign wants to merge 3 commits into
mainfrom
feature/course-callout-interior-pages
Open

Course call-out footer + engagement modal on interior pages#163
nofluffdesign wants to merge 3 commits into
mainfrom
feature/course-callout-interior-pages

Conversation

@nofluffdesign

Copy link
Copy Markdown
Collaborator

What

Ports the Atomic Design course call-out work into this Jekyll site (originally prototyped in the Eleventy atomic-design-v2 repo), adapted to Liquid includes and the site's own Sass palette. Reflects Brad's feedback from the design review.

  • Fixed banner → course footer (_includes/banner.html): keeps the book title + author, adds a Buy the ebook link, and makes "Get Atomic Design Certified" the highlighted CTA (reuses .btn). Not dismissible.
  • Centered engagement modal (_includes/course-modal.html, included via _layouts/default.html): native <dialog>, opens once per reader after 50% scroll or 15s — never on load. Title "Get Atomic Design Certified!", copy on latest thinking + battle-tested best practices, 10+ hours of video, sample architecture, resources, community. CTA "Learn more and get certified!". Closes via ✕ / backdrop / Esc; remembered in localStorage.
  • Behavior in js/course-cta.js (loaded from _includes/footer.html).
  • Styles appended to css/style.scss using the site's Sass variables ($orange / $tan / $brown), respecting prefers-reduced-motion.

Design system

Uses this repo's existing Sass palette and .btn component — no hardcoded colors, no new dependencies. (The $orange/$tan/$brown here match the tokens used in the prototype.)

Verified

  • Added Sass compiles cleanly (isolated dart-sass check).
  • Includes are static HTML (no Liquid logic); JS is the same vanilla behavior verified in the prototype.
  • ⚠️ Not rendered in a full Jekyll build locally — this repo needs npm install (for @brad-frost-web/eddie-design-tokens, currently missing) + bundle install + bundle exec jekyll serve, which wasn't set up in my environment. Please run locally to confirm before merge.

Follow-up

  • Confirm the ebook link target (shop.bradfrost.com/products/atomic-design-ebook).
  • Optional: align labels with the homepage mockups ("Read the book" / "Get Certified") and a "New" seal once JV's header lands.

🤖 Generated with Claude Code

nofluffdesign and others added 3 commits July 8, 2026 14:48
Port the course-callout work from the Eleventy prototype into this Jekyll
site, adapted to Liquid includes and the site's Sass variables:

- Update the fixed banner (_includes/banner.html) to showcase the course:
  keep the book title, author and an ebook link, with "Get Atomic Design
  Certified" as the highlighted CTA (reuses .btn).
- Add a centered marketing modal (_includes/course-modal.html) shown once
  per reader after 50% scroll or 15s, never on load. Included via
  _layouts/default.html; behavior in js/course-cta.js (loaded from footer).
- Add .course-modal styles to css/style.scss using the site's Sass palette
  ($orange / $tan / $brown), respecting prefers-reduced-motion.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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