Commit Graph

7 Commits

Author SHA1 Message Date
joyzhao
710ce9ba39 refactor(i18n): move Lang type to types/i18n directory
Update import paths for Lang type across layout files to use new location
Add umami analytics script in production mode
2025-06-21 22:30:44 +08:00
joyzhao
9dcde89a8c refactor(i18n): separate type import from utils import 2025-06-21 10:37:09 +08:00
joyzhao
1476f4eeec feat(i18n): implement astro i18n integration and refactor locale handling
- 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
2025-06-15 17:20:29 +08:00
joyzhao
ee0fbcceb2 feat(i18n): implement internationalization support for en and zh
Add i18n infrastructure with translation files and utility functions
Update components to use translations and language switching
Create localized pages for en and zh languages
Add language detection and path localization utilities
2025-06-15 09:08:41 +08:00
joyzhao
c1bfb0915e refactor: 清理无用资源并更新项目配置
删除大量未使用的图标、图片和组件文件
更新.gitignore、tsconfig.json和astro配置
添加新的工具函数和UI组件
修改项目元数据和依赖项
2025-06-13 12:03:15 +08:00
EFEELE
09dc543837 feat(SEO): Fix and improve links for better search engine visibility 2025-04-15 13:22:21 -06:00
EFEELE
c2421d79c5 first commit 2025-04-07 15:50:13 -06:00