Implement full blog design with article pages#63
Merged
Conversation
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.
This pull request introduces a new, fully featured article page to the Next.js blog template, along with supporting components and enhanced article typography. The main changes include the implementation of a detailed article layout with a table of contents, author card, share buttons, related articles, and custom CSS styles for improved readability.
New Article Page and Layout:
ArticlePageinpage.tsxthat structures the article with a header, body, code blocks, best practices, conclusion, and sections for sharing, author info, related articles, and a table of contents sidebar. (templates/blog/nextjs-monolith/app/articles/[slug]/page.tsxR1-R310)New Components:
TableOfContentsto render a navigable list of article headings for improved UX and easier navigation within long articles.AuthorCardto display author details, including name, role, bio, avatar, and social links, enhancing author visibility and credibility.ShareButtonsto allow users to share the article on Twitter/X, LinkedIn, or copy the link, promoting content distribution.Styling and Typography Enhancements:
.article-contentCSS rules inglobals.cssto improve the appearance of headings, code blocks, blockquotes, lists, and overall article readability.Closes #36