feat: add BlogPostLayout, ShareButtons, and blog data schema#20
Open
KaparthyReddy wants to merge 1 commit into
Open
feat: add BlogPostLayout, ShareButtons, and blog data schema#20KaparthyReddy wants to merge 1 commit into
KaparthyReddy wants to merge 1 commit into
Conversation
|
@KaparthyReddy is attempting to deploy a commit to the HerStack's projects Team on Vercel. A member of the Team first needs to authorize it. |
Author
|
Hi @escher-m, the PR is ready for review and has zero merge conflicts! It looks like the Vercel deployment check is currently on hold waiting for a team member to authorize the preview build. Could you please trigger the authorization whenever you get a moment to review? Thank you! |
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.
What does this PR do?
Implements the foundational blog architecture proposed in #17:
src/data/blog.js— structured blog post schema following the existingmentors.jspattern, with fields for title, slug, date, read time, category, cover image, and authorsrc/components/BlogPostLayout.jsx— reusable article layout built with Tailwind CSS, handling responsive typography, semantic<article>tags, pre-sized image slots (16/9 aspect ratio) to prevent CLS, and dynamic metadata renderingsrc/components/ShareButtons.jsx— social sharing component supporting Twitter/X, LinkedIn, WhatsApp, Copy Link with clipboard toast, andnavigator.sharenative share API on supported mobile browserssrc/components/Blog.jsx— blog section with card grid and click-through to full post layoutType of change
Checklist
npm run dev)Screenshots (if UI change)
Related issue
Closes #17