Commit Graph

4 Commits

Author SHA1 Message Date
joyzhao
25281f4459 refactor(types): centralize type definitions in shared types file
Move all interface and type definitions to src/types/index.ts to reduce code duplication and improve maintainability. This includes types for components, blog posts, personal info, and localization.
2025-06-19 11:26:47 +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
c1bfb0915e refactor: 清理无用资源并更新项目配置
删除大量未使用的图标、图片和组件文件
更新.gitignore、tsconfig.json和astro配置
添加新的工具函数和UI组件
修改项目元数据和依赖项
2025-06-13 12:03:15 +08:00
EFEELE
c2421d79c5 first commit 2025-04-07 15:50:13 -06:00