Commit 951c8eb
feat(i18n): add navigation utilities for internationalization
- Create navigation.ts with i18n-aware routing configuration
- Export localized Link, redirect, usePathname, useRouter, and getPathname
- Configure locale prefix as 'as-needed' for cleaner URLs
- Leverage next-intl/navigation for automatic locale handling
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent d6bce5a commit 951c8eb
File tree
1 file changed
+14
-0
lines changed- src/i18n
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments