Repository navigation
Add Journey page title, description, and canonical URL - #184
Conversation
|
@Di-vyansh is attempting to deploy a commit to the Geetansh Goyal's projects Team on Vercel. A member of the Team first needs to authorize it. |
📸 How this looksBuilt from this PR, so you can see the change without checking it out.
|
|
Review type: Read-only Great addition to improve the SEO of the Journey page! Actionable Suggestion: Since this is a metadata object, you might want to consider adding openGraph properties (like og:title and og:description) so that the link unfurls nicely when shared on Discord or Twitter. Question: By the way, did you check how the canonical URL behaves? Does Next.js automatically prepend the base domain to /journey, or do we need to provide the absolute URL (https://...) for canonical to work properly in production? |




What
Add a server layout for
/journeywith its own title, one-sentence description, and canonical URL. The browser title becomesOur Journey | DevForgeusing the root title template; the client page continues to render unchanged.Fixes #64
How I tested it
npm ci.npm run lint: passed (0 errors; 36 existing warnings elsewhere).npm test: passed, 121 tests across 13 files.npm run build: passed, including TypeScript checks and static generation./journeyfrom the production build and verified the page renders, the title isOur Journey | DevForge, the description matches the new metadata, and the canonical URL ishttps://www.devforge.club/journey.Checklist
npm run lintandnpm run buildpass locallyScreenshot