Commit Graph

19 Commits

Author SHA1 Message Date
joyzhao
d6d2b131d1 feat(ui): modernize design with gradient icons and animations
- Add modern-code-icon.svg and update favicon with gradient styling
- Implement glass effect, hover animations and gradient text in global.css
- Enhance GlassHeader with motion animations and new icon
- Update design variables for modern look including shadows and transitions
2025-06-21 10:31:48 +08:00
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
b47ae190e4 refactor: remove projects section and navigation link
Temporarily hide projects section from homepage and remove its navigation link
2025-06-21 10:04:13 +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
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
7bb617a5c5 feat: add multilingual about, services and projects pages with i18n support
- Create new about and services pages in both English and Chinese
- Implement projects page with responsive design and project cards
- Add i18n translations for new UI elements
- Update header navigation to support new pages
- Create shared AboutLayout component with table of contents
2025-06-18 18:15:32 +08:00
joyzhao
b4b2153bde feat(blog): add blog feature with layout, list component and i18n support
- Create BlogLayout for consistent blog page structure
- Implement BlogList component with responsive design and line-clamp
- Add blog navigation to header with proper routing
- Include i18n support for both English and Chinese
- Add sample blog pages with mock data
2025-06-16 21:52:16 +08:00
joyzhao
89cfeff439 feat(navigation): add services section to header and translations
- Add 'nav.services' translations in both English and Chinese
- Include services link in desktop and mobile navigation
- Add id to services section for navigation
- Use personalInfo.name instead of translation for header name
2025-06-16 18:37:28 +08:00
joyzhao
a18a0cdff1 feat(portfolio): replace skills section with about section and skills marquee
- Remove old skills data and components
- Add new about section with personal introduction and stats
- Implement animated skills marquee component
- Update navigation to reflect new section structure
2025-06-16 12:50:08 +08:00
joyzhao
0c22c6abf6 refactor(components): simplify animations and styling in header and hero sections
remove framer-motion dependencies and replace with CSS transitions
clean up unused imports and streamline mobile menu implementation
2025-06-16 11:44:39 +08:00
joyzhao
ed02039a9e feat(portfolio): redesign hero and projects sections with modern UI
- Implement new glassmorphism design for hero section with terminal mockup
- Redesign projects section with improved card layout and tech stack indicators
- Update project data with new entries and translations
- Add scroll-aware header with dynamic styling
- Remove unused ExperienceSection component
2025-06-16 11:29:53 +08:00
joyzhao
20ae3de62c refactor: remove experience section and related data
Clean up unused experience section from UI and remove associated data
2025-06-16 09:33:17 +08:00
joyzhao
12631de53e refactor(i18n): update personal info and improve language switcher
- Update personal information in i18n files to reflect new user details
- Remove hardcoded personal info from GlassHeader and use i18n instead
- Simplify navigation items in GlassHeader by removing unused sections
- Enhance LanguageSwitcher UI with better display and chevron icon
2025-06-15 17:33:17 +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
4ab809ed94 feat(i18n): add internationalization support with astro-i18next
- Add astro-i18next package for i18n support
- Create LanguageSwitcher component with English and Chinese options
- Add i18n guide documentation
- Update .gitignore and package.json
2025-06-14 10:08:29 +08:00
joyzhao
c1bfb0915e refactor: 清理无用资源并更新项目配置
删除大量未使用的图标、图片和组件文件
更新.gitignore、tsconfig.json和astro配置
添加新的工具函数和UI组件
修改项目元数据和依赖项
2025-06-13 12:03:15 +08:00