- Add i18n configuration to astro.config.mjs with default locale and routing - Refactor language handling to use Astro.currentLocale instead of URL parsing - Update tsconfig to include only necessary files for better type checking - Improve LanguageSwitcher to handle routing based on astro i18n config - Add new translation keys and update components to use dynamic titles - Simplify MotionWrapper component by removing unused default animations
21 lines
324 B
JSON
21 lines
324 B
JSON
{
|
|
"extends": "astro/tsconfigs/strict",
|
|
"include": [
|
|
".astro/types.d.ts",
|
|
"src/**/*.ts",
|
|
"src/**/*.astro",
|
|
],
|
|
"exclude": [
|
|
"dist"
|
|
],
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": [
|
|
"./src/*"
|
|
]
|
|
},
|
|
"jsx": "react-jsx",
|
|
"jsxImportSource": "react"
|
|
}
|
|
} |