forked from cardosofelipe/pragma-stack
The dashboard page was created at (authenticated)/page.tsx which would serve the same route as [locale]/page.tsx (the public landing page). Next.js doesn't allow route groups to override parent pages. Changes: - Move dashboard page to (authenticated)/dashboard/page.tsx - Update Header nav links to point to /dashboard - Update AppBreadcrumbs home link to /dashboard - Update E2E tests to navigate to /dashboard Now authenticated users should navigate to /dashboard for their homepage, while /en serves the public landing page for unauthenticated users.
11 KiB
11 KiB