Skip to content

feat: Migrate all of the page router routes to app router in apps/web#1136

Open
cgwbmp wants to merge 15 commits intomainfrom
feat/migrate-to-app-folder
Open

feat: Migrate all of the page router routes to app router in apps/web#1136
cgwbmp wants to merge 15 commits intomainfrom
feat/migrate-to-app-folder

Conversation

@cgwbmp
Copy link
Collaborator

@cgwbmp cgwbmp commented Feb 9, 2026

Problem

The web app still has ~65 pages under apps/web/src/pages/[locale]/ using the
legacy Next.js Pages Router. Migrating them to apps/web/src/app/[locale]/
(App Router) unifies routing

Summary of Changes

  • Migrate all ~65 remaining pages from Pages Router to App Router
  • Each page split into server component (data fetching, i18n, metadata) + client component (UI, hooks)
  • Update middleware to handle /newsletter routing and custom layouts
  • Add type declarations for legacy JS components
  • Remove old pages/[locale]/ directory entirely
  • Remove HTMLHead.tsx, MetaLinks.js, lib/mdx
  • Remove dependencies next-mdx-remote, next-seo

@cgwbmp cgwbmp self-assigned this Feb 9, 2026
@vercel
Copy link

vercel bot commented Feb 9, 2026

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

Project Deployment Actions Updated (UTC)
solana-com-media Ready Ready Preview, Comment Feb 13, 2026 8:14am
4 Skipped Deployments
Project Deployment Actions Updated (UTC)
solana-com Skipped Skipped Feb 13, 2026 8:14am
solana-com-accelerate Skipped Skipped Feb 13, 2026 8:14am
solana-com-docs Skipped Skipped Feb 13, 2026 8:14am
templates Skipped Skipped Feb 13, 2026 8:14am

Request Review

@vercel
Copy link

vercel bot commented Feb 9, 2026

Deployment failed with the following error:

You do not have access to all related projects

@vercel vercel bot temporarily deployed to Preview – solana-com-media February 9, 2026 17:25 Inactive
@vercel
Copy link

vercel bot commented Feb 9, 2026

Deployment failed with the following error:

You don't have permission to create a Preview Deployment for this Vercel project: solana-com-docs.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

@vercel
Copy link

vercel bot commented Feb 9, 2026

Deployment failed with the following error:

You don't have permission to create a Preview Deployment for this Vercel project: solana-com-accelerate.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

@vercel
Copy link

vercel bot commented Feb 9, 2026

Deployment failed with the following error:

You don't have permission to create a Preview Deployment for this Vercel project: templates.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

@vercel vercel bot temporarily deployed to Preview – solana-com-media February 11, 2026 16:37 Inactive
@vercel vercel bot temporarily deployed to Preview – solana-com-media February 11, 2026 19:04 Inactive
@h4rkl
Copy link
Collaborator

h4rkl commented Feb 11, 2026

This all looks good @cgwbmp. If everything is done at your end remove the DRAFT status and I'll get it built and merged.

@vercel vercel bot temporarily deployed to Preview – solana-com-media February 11, 2026 20:54 Inactive
@vercel vercel bot temporarily deployed to Preview – templates February 11, 2026 20:54 Inactive
@vercel vercel bot temporarily deployed to Preview – solana-com-accelerate February 11, 2026 20:54 Inactive
@vercel vercel bot temporarily deployed to Preview – solana-com-docs February 11, 2026 20:54 Inactive
@vercel vercel bot temporarily deployed to Preview – solana-com February 11, 2026 20:54 Inactive
@vercel vercel bot temporarily deployed to Preview – solana-com-media February 12, 2026 18:10 Inactive
@cgwbmp cgwbmp requested a review from h4rkl February 12, 2026 18:26
@cgwbmp cgwbmp marked this pull request as ready for review February 12, 2026 18:26
@vercel vercel bot temporarily deployed to Preview – solana-com-media February 12, 2026 18:44 Inactive
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.

2 participants