Fix broken share links, custom 404, page titles, and tag capitalization#20
Merged
BayPhillips merged 3 commits intomainfrom Feb 25, 2026
Merged
Fix broken share links, custom 404, page titles, and tag capitalization#20BayPhillips merged 3 commits intomainfrom
BayPhillips merged 3 commits intomainfrom
Conversation
…zation
- Fix share URLs missing post slug (post.slug is a string, not {current})
- Add custom 404 page with site branding and navigation
- Add page-specific metadata titles for About, Contact, and Posts pages
- Fix toTitleCase to handle acronyms like AI and Next.js
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The (blog) route group's not-found.tsx only handles notFound() calls within blog pages. Unmatched URLs need a root app/not-found.tsx which renders outside the (blog) layout, so it uses inline styles for a clean standalone appearance with a "Go back home" link. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
/posts/instead of the full post URL becausepost.slugis already a string, not{current: string}toTitleCasenow handles acronyms/brand names (AI, Next.js, ReflexAI) instead of naively capitalizing the first letterTest plan
/nonexistent) and verify a styled 404 page with navigation appears/about,/contact, and/postspages/tags/aiand verify heading reads "AI posts" not "Ai posts"🤖 Generated with Claude Code