Commit Graph

11 Commits

Author SHA1 Message Date
joyzhao
d0fe30a5e3 refactor(data): move data exports to index file
Consolidate data exports from data.ts to index.ts for better organization and maintainability. Remove the now redundant data.ts file.
2025-06-21 10:17:27 +08:00
joyzhao
67f713565a refactor: clean up codebase by removing redundant comments
Remove unnecessary JSDoc comments and redundant explanations from components, types, and data files. Simplify code structure while maintaining functionality.

Clean up language handling logic in components by removing redundant comments and simplifying state management. Move type imports to dedicated type import statements where applicable.
2025-06-21 09:28:10 +08:00
joyzhao
a446ce68bd feat(i18n): add slogans and update translations for multiple pages
Add new slogan translations for projects and blog pages in both English and Chinese
Update about and services pages with additional content
Modify footer to include remote work availability notice
2025-06-20 10:49:53 +08:00
joyzhao
f4ff971c85 refactor(Container): simplify container component and remove size prop
Remove size variants from Container component and set a default max-width
Update all instances where Container was used with size prop to use default
2025-06-19 18:26:05 +08:00
joyzhao
5fcf7a9d33 feat(ui): add Container component and replace manual container divs
Implement a reusable Container component with size variants (sm, md, lg, xl, full) to standardize content width across the application. Replace all manual container divs with the new component for consistent styling and maintainability.
2025-06-19 18:10:49 +08:00
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
c1f240d007 refactor(i18n): simplify language handling across components
use Astro.currentLocale as single source of truth for language
remove manual lang prop passing to components
components now read language from document lang attribute
2025-06-19 10:24:48 +08:00
joyzhao
1ace97c5e1 refactor: simplify personal info and remove unused components
- Replace translation-based personal info with direct values
- Remove unused HeroSection, AboutSection, and ProjectsSection components
- Clean up i18n translations to only keep essential navigation items
2025-06-16 18:32:43 +08:00
joyzhao
1354ffab58 feat(services): add services section with outsourcing and bugfix cards
Add new services section to showcase outsourcing projects and bug fixing services
Update i18n translations for services section
Change hero section link from projects to about
Remove personalInfo import and use translation for name in footer
2025-06-16 17:29:35 +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