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