Skip to content

feat(articles): visual tile on article cards with featured_image fallback#41

Merged
HeyItsGilbert merged 2 commits into
mainfrom
feat/article-card-tiles
Jun 23, 2026
Merged

feat(articles): visual tile on article cards with featured_image fallback#41
HeyItsGilbert merged 2 commits into
mainfrom
feat/article-card-tiles

Conversation

@HeyItsGilbert

Copy link
Copy Markdown
Member

Summary

Adds a left-hand visual to regular article cards in the default list layout, mirroring the podcast card's tile:

  • featured_image set → lazy-loaded <img> (object-cover, square), links to the post.
  • Not set → a generated terminal tile (gray-900, traffic-light dots, PS C:\> prompt showing the article's first category) that echoes the homepage hero terminal.

This gives image-less articles a consistent visual anchor instead of a sparse text-only box.

Notes

Test plan

  • /articles/ renders terminal tiles for all current articles, no broken images
  • Build clean

🤖 Generated with Claude Code

HeyItsGilbert and others added 2 commits June 23, 2026 15:12
Pipe .Summary through `plainify | truncate 300` on the homepage,
default list, podcast list, and author page card grids so cards
render uniform-length text regardless of source markup.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…fallback

Give regular article cards in the list layout a left-hand visual,
mirroring the podcast card. When `featured_image` is set it renders a
lazy-loaded cover image; otherwise it falls back to a generated
terminal tile (gray-900 prompt showing the article's category) that
echoes the homepage hero — so image-less articles still get an anchor.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Base automatically changed from style/card-truncation to main June 23, 2026 22:39
@HeyItsGilbert HeyItsGilbert merged commit 65223af into main Jun 23, 2026
1 check passed
@HeyItsGilbert HeyItsGilbert deleted the feat/article-card-tiles branch June 23, 2026 22:39
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