Delivery layer
App Router groups, proxy, and routes constants.
Route groups (app/[locale])
| Group | Role |
|---|---|
(landing) | Marketing home, legal |
(auth) | Sign-in/up, 2FA, verify, reset |
(app) | Authenticated customer area |
(admin) | Admin shell + feature pages |
(docs) | Fumadocs documentation |
(blog) | MDX blog |
proxy.ts
- Runs next-intl middleware
- Gates
/adminand/appon session - Redirects auth callback by role (admin vs customer)
- Rewrites bare
/apppaths with locale
routes.ts
Single map of path strings consumed by proxy, nav, and links. Add new product URLs here first.