The project currently utilizes an older version of Next.js and follows an outdated directory structure with the pages residing in the old pages directory. This issue aims to migrate the project to the latest Next.js version (Next.js 13) and reorganize the project structure using the new apps directory pattern. This will enhance the project's maintainability, take advantage of new features, and align with best practices.
Description
The project currently utilizes an older version of Next.js and follows an outdated directory structure with the pages residing in the old pages directory. This issue aims to migrate the project to the latest Next.js version (Next.js 13) and reorganize the project structure using the new apps directory pattern. This will enhance the project's maintainability, take advantage of new features, and align with best practices.
Addition Context
Next.js docs to migrate the project: https://nextjs.org/docs/pages/building-your-application/upgrading/app-router-migration