Description
Navigating to a nonexistent route shows Next.js's default error page, which does not match the Agora design.
Tasks
- Create
apps/web/app/not-found.tsx with a custom 404 layout (illustration, message, link back to home).
- Create
apps/web/app/error.tsx (Next.js App Router error page) for runtime errors.
- Both pages should match the Neubrutalist design system.
Acceptance Criteria
- Visiting
/nonexistent-route renders the custom 404 page.
- Runtime errors caught by Next.js render the custom error page.
Description
Navigating to a nonexistent route shows Next.js's default error page, which does not match the Agora design.
Tasks
apps/web/app/not-found.tsxwith a custom 404 layout (illustration, message, link back to home).apps/web/app/error.tsx(Next.js App Router error page) for runtime errors.Acceptance Criteria
/nonexistent-routerenders the custom 404 page.