feat(home): add Latest Posts section to homepage#60
Open
adamsoffer wants to merge 1 commit intomainfrom
Open
Conversation
Adds a "Keep up with the latest on Livepeer" section above the community CTA, surfacing the three most recent blog posts as cards with image, category, date, title, description, author, and reading time. Pulls posts server-side from getAllPosts() and strips the content payload before passing to the client component. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
Author
|
@salinsug I added a simple latest posts section to the home page for now. Preview link: https://website-git-claude-wizardly-blackwel-9217a3-livepeer-foundation.vercel.app/ |
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
LatestPostssection above the community CTA on the homepage, surfacing the 3 most recent blog posts as a 3-column responsive card grid/bloggetAllPosts()inapp/page.tsx; the markdowncontentpayload is stripped before passing to the client component to keep the serialized payload smallTest plan
npm run devand confirm the new section renders between BuiltOnLivepeer and CommunityCTA/blog/[slug]; click "Read all posts" → navigates to/blognpm run buildpasses🤖 Generated with Claude Code