Skip to content

[wip demo testing] feat(home): add featured case-study slider with metrics and logo tabs#148

Draft
oycyc wants to merge 1 commit into
masterfrom
claude/homepage-case-study-slider-hlk0a2
Draft

[wip demo testing] feat(home): add featured case-study slider with metrics and logo tabs#148
oycyc wants to merge 1 commit into
masterfrom
claude/homepage-case-study-slider-hlk0a2

Conversation

@oycyc

@oycyc oycyc commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

New homepage section between Efficient Platforms and the testimonials: one dark pine card per case study (client logo pill, category eyebrow, short title, blurb, two headline metrics, CTA, photo) on a sliding track, navigated by a client-logo tab strip with an autoplay progress bar — the Microsoft-customer-stories pattern in Masterpoint's theme.

  • layouts/shortcodes/case-study-slider.html: markup + self-contained vanilla JS (the global flexslider init would fight logo-tab nav). Autoplay advances on the progress bar's animationend, pauses on hover/focus (tracked independently so mouse-leave can't resume while keyboard focus is inside), has a persistent pause/play rotation control (WCAG 2.2.2), only runs while ≥25% on screen, and is fully disabled under prefers-reduced-motion. Touch swipe + arrow keys.
  • Card content comes from a new optional highlight: front-matter map on each case study (eyebrow/title/blurb/image/logo/2 stats), with fallbacks to title/description/preview_image/stat_bar/client_logo; highlight: false opts out, non-map values can't crash the build (reflect.IsMap guard). Single-slide mode drops tab ARIA + autoplay.
  • Styles in custom.scss (.csh-*), echoing the case-study hero (pine gradient, dot grid, mint/pink glows, brand-gradient stat values).
  • Docs: new "Homepage highlights slider" section in docs/case-studies.md.

Claude-Session: https://claude.ai/code/session_01UrsnEwWx53uzzFEyD5coNs

what

  • Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?)
  • Use bullet points to be concise and to the point.

why

  • Provide the justifications for the changes (e.g. business case).
  • Describe why these changes were made (e.g. why do these commits fix the problem?)
  • Use bullet points to be concise and to the point.

references

  • Link to any supporting GitHub issues or helpful documentation to add some context (e.g. Stackoverflow).
  • Use closes #123, if this PR closes a GitHub issue #123

New homepage section between Efficient Platforms and the testimonials:
one dark pine card per case study (client logo pill, category eyebrow,
short title, blurb, two headline metrics, CTA, photo) on a sliding
track, navigated by a client-logo tab strip with an autoplay progress
bar — the Microsoft-customer-stories pattern in Masterpoint's theme.

- layouts/shortcodes/case-study-slider.html: markup + self-contained
  vanilla JS (the global flexslider init would fight logo-tab nav).
  Autoplay advances on the progress bar's animationend, pauses on
  hover/focus (tracked independently so mouse-leave can't resume while
  keyboard focus is inside), has a persistent pause/play rotation
  control (WCAG 2.2.2), only runs while ≥25% on screen, and is fully
  disabled under prefers-reduced-motion. Touch swipe + arrow keys.
- Card content comes from a new optional `highlight:` front-matter map
  on each case study (eyebrow/title/blurb/image/logo/2 stats), with
  fallbacks to title/description/preview_image/stat_bar/client_logo;
  `highlight: false` opts out, non-map values can't crash the build
  (reflect.IsMap guard). Single-slide mode drops tab ARIA + autoplay.
- Styles in custom.scss (.csh-*), echoing the case-study hero (pine
  gradient, dot grid, mint/pink glows, brand-gradient stat values).
- Docs: new "Homepage highlights slider" section in docs/case-studies.md.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UrsnEwWx53uzzFEyD5coNs
@netlify

netlify Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploy Preview for masterpoint ready!

Name Link
🔨 Latest commit 05ad9aa
🔍 Latest deploy log https://app.netlify.com/projects/masterpoint/deploys/6a4fb40907b699000835f2aa
😎 Deploy Preview https://deploy-preview-148--masterpoint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 35
Accessibility: 89
Best Practices: 92
SEO: 79
PWA: 70
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 97330ba5-ce31-4ba9-9f97-0a45b7370a4a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/homepage-case-study-slider-hlk0a2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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