Skip to content

feat: update Next.js version and add legal pages#38

Merged
Cosmos-0118 merged 1 commit into
mainfrom
skyisgod
Jun 11, 2026
Merged

feat: update Next.js version and add legal pages#38
Cosmos-0118 merged 1 commit into
mainfrom
skyisgod

Conversation

@Skygazer1111

Copy link
Copy Markdown
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.
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
query-craft Ready Ready Preview, Comment Jun 11, 2026 5:36am

@Cosmos-0118
Cosmos-0118 merged commit 6ff1d83 into main Jun 11, 2026
3 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 /privacy and /terms routes using a shared LegalPage component.
  • 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>
))}
Comment thread package.json
"html-to-image": "^1.11.13",
"lucide-react": "^0.475.0",
"next": "16.2.3",
"next": "^16.2.9",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants