feat: update Next.js version and add legal pages#38
Merged
Conversation
Skygazer1111
commented
Jun 11, 2026
Collaborator
- Updated Next.js dependency from 16.2.3 to 16.2.9 in package.json.
- Enhanced footer in Home component with links to Privacy Policy and Terms of Service.
- Created Privacy Policy page with content and metadata.
- Created Terms of Service page with content and metadata.
- Added LegalPage component to render legal content dynamically.
- Introduced legal content structure in legal-content.ts for both privacy and terms.
- Updated Next.js dependency from 16.2.3 to 16.2.9 in package.json. - Enhanced footer in Home component with links to Privacy Policy and Terms of Service. - Created Privacy Policy page with content and metadata. - Created Terms of Service page with content and metadata. - Added LegalPage component to render legal content dynamically. - Introduced legal content structure in legal-content.ts for both privacy and terms.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Cosmos-0118
approved these changes
Jun 11, 2026
There was a problem hiding this comment.
Pull request overview
This PR upgrades the Next.js dependency and introduces dedicated legal pages (Privacy Policy + Terms of Service) backed by a shared content model and reusable page renderer.
Changes:
- Upgrade Next.js from 16.2.3 to 16.2.9.
- Add
/privacyand/termsroutes using a sharedLegalPagecomponent. - Update the Home page footer to include links to the new legal pages.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/lib/legal-content.ts | Adds structured, typed content for Privacy Policy and Terms of Service pages. |
| src/components/legal-page.tsx | Introduces a reusable renderer for legal pages with section navigation and related-page links. |
| src/app/terms/page.tsx | Adds the Terms of Service route and metadata. |
| src/app/privacy/page.tsx | Adds the Privacy Policy route and metadata. |
| src/app/page.tsx | Updates footer UI to link to the new legal pages. |
| package.json | Bumps Next.js dependency version. |
| package-lock.json | Updates lockfile for the upgraded dependencies. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+79
to
+83
| {section.body?.map((paragraph) => ( | ||
| <p key={paragraph} className="mt-4 text-sm leading-7 text-muted-foreground"> | ||
| {paragraph} | ||
| </p> | ||
| ))} |
Comment on lines
+86
to
+91
| {section.bullets.map((bullet) => ( | ||
| <li key={bullet} className="flex gap-3 text-sm leading-6 text-muted-foreground"> | ||
| <span className="mt-2 h-1.5 w-1.5 shrink-0 rounded-full bg-primary/80" /> | ||
| <span>{bullet}</span> | ||
| </li> | ||
| ))} |
| "html-to-image": "^1.11.13", | ||
| "lucide-react": "^0.475.0", | ||
| "next": "16.2.3", | ||
| "next": "^16.2.9", |
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.