blog: add list/expanded view toggle to the homepage feed - #20508
Conversation
Add a client-side view toggle to the right of the blog homepage filter bar (mirroring the /releases/ button group). The default compact list view is unchanged; the card view arranges each row like the other blog cards — category, title, excerpt (meta_desc, falling back to a clamped summary), and byline — with an optional square feature image on the right. Each row carries both representations, so the infinite-scroll and category-filter paths inherit the toggle for free. The choice is persisted to localStorage. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Shrink the card title to heading-4 and the excerpt to body-sm, grow the feature thumbnail on large screens (lg:size-36), and vertically center the text block against the image. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Pre-merge Review — Last updated 2026-07-24T16:47:50ZTip Summary: This is an infra/template change that adds a client-side list/card view toggle to the blog homepage feed. Each row ( Review confidence:
Investigation log
🔍 Verification trail1 claims extracted · 0 verified · 0 unverifiable · 0 contradicted
🚨 Outstanding in this PRNo outstanding findings in this PR.
|
|
Your site preview for commit a8e1907 is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-20508-a8e19071.s3-website.us-west-2.amazonaws.com |
Lighthouse Performance ReportCommit: a8e1907 | Metric definitions
|
Proposed changes
Adds a client-side list/expanded view toggle to the right of the blog homepage filter bar (mirroring the
/releases/button group). The default compact list view is unchanged; the expanded view arranges each row like the other blog cards — category, title, excerpt (meta description, falling back to a clamped summary), and byline — with an optional square feature image on the right. Each row carries both representations, so the infinite-scroll and category-filter paths inherit the toggle for free, and the choice is persisted tolocalStorageunder a blog-scoped key. Homepage only.Related issues (optional)
https://github.com/pulumi/marketing/issues/1790