| 1 | import { notFound } from "next/navigation"; |
| 2 | |
| 3 | /** |
| 4 | * Catch-all inside the locale shell. Any path that matches no page raises |
| 5 | * `notFound()` here, so the locale's `not-found.tsx` — nav, footer, and the |
| 6 | * shared not-found state in the reader's language — answers instead of the |
| 7 | * framework's bare 404. Dynamic by design (no static params): it only runs |
| 8 | * for URLs no static page owns. |
| 9 | */ |
| 10 | export default function LocaleCatchAll() { |
| 11 | notFound(); |
| 12 | } |
| 13 |