Skip to content

Conversation

@jonaro00
Copy link
Member

@jonaro00 jonaro00 commented Sep 4, 2025

Migrate the Next.js site from Pages Router to App Router to leverage Next.js 14 features and improve site architecture.

This migration involved creating the new app directory structure, converting all pages and API routes to the App Router paradigm, updating data fetching mechanisms (from getStaticProps/getServerSideProps to async server components), replacing next-seo with the built-in metadata API, and adapting client-side components with 'use client' directives. Navigation hooks were updated from useRouter to usePathname/useParams, and old Pages Router files were removed. The build currently compiles successfully, but some pages may still encounter runtime errors due to component compatibility issues.


Open in Cursor Open in Web

@cursor
Copy link

cursor bot commented Sep 4, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel
Copy link

vercel bot commented Sep 4, 2025

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

Project Deployment Preview Comments Updated (UTC)
shuttle-www Error Error Sep 4, 2025 1:35pm

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