Commit Graph

54 Commits

Author SHA1 Message Date
joyzhao
0e6f611455 feat: 添加“返回顶部”组件,提升用户导航体验
Some checks failed
Deploy docs for Site / deploy (20.x) (push) Has been cancelled
2026-01-09 09:55:52 +08:00
joyzhao
551877780f fix: 修正博客导航中上一篇和下一篇文章的索引逻辑 2026-01-09 09:39:20 +08:00
joyzhao
51eac1c2ef feat(blog): add multiple new articles on browser rendering, JavaScript traps, Git commit conventions, Tailwind CSS integration, and Gitea actions automation
Some checks failed
Deploy docs for Site / deploy (20.x) (push) Has been cancelled
2026-01-09 09:31:20 +08:00
joyzhao
1c9f154652 feat: 添加 GiscusComments 组件,支持文章评论功能 2026-01-09 09:07:41 +08:00
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
a80915c1b2 fix: temporarily hide LinkedIn links and share button
Remove LinkedIn integration from AuthorCard, ShareButtons, and homepage components while keeping the code commented for potential future restoration
2025-06-21 09:41:33 +08:00
joyzhao
a8c3d4b197 refactor(i18n): consolidate Lang type imports to types/i18n
Move all Lang type imports from various locations to a centralized location in types/i18n for better maintainability and consistency
2025-06-21 09:36:32 +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
398093dde9 feat(mdx): add MDX support and migrate markdown files to MDX
- Add @astrojs/mdx integration to enable MDX support
- Migrate all markdown files (.md) to MDX (.mdx) format
- Create HighlightBox component for enhanced content styling
- Update astro config to include MDX integration
- Add documentation guide for MDX integration
2025-06-20 11:36:11 +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
3909db0ceb feat(homepage): add typewriter effect to subtitle section
Implement a dynamic typewriter animation that cycles through multiple role descriptions. The effect includes customizable typing and deleting speeds, delays, and looping behavior to enhance user engagement on the homepage.
2025-06-20 10:27:41 +08:00
joyzhao
45299c1fa6 perf(ui): optimize animations with hardware acceleration
- Replace transition-all with transition-transform for better performance
- Add will-change and transform properties to enable GPU acceleration
- Simplify marquee animation logic and remove unused hover state
- Remove unused skills and optimize animation variants
2025-06-20 09:11:14 +08:00
joyzhao
c064c8a1c5 feat(ui): improve blog list and terminal mockup responsiveness
- Make terminal mockup full width on all screen sizes
- Add empty state handling for blog list with visual feedback
- Maintain consistent styling across language versions
2025-06-19 18:53:05 +08:00
joyzhao
6c5813ecd2 refactor(ui): simplify empty state components and remove unused blog posts
- Replace custom SVG icons with lucide-react components in TaxonomyPageLayout, CategoryCard, and TagCard
- Remove unnecessary "Back to blog list" links from empty states
- Delete outdated blog posts about React Hooks, Docker, Tailwind CSS, and TypeScript
2025-06-19 18:43:20 +08:00
joyzhao
62364d1d11 feat(ui): improve empty state for taxonomy pages
Add visual indicators and back-to-blog links for empty categories, tags, and search results
2025-06-19 18:31:45 +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
7951121c7f refactor(blog): extract blog utilities into shared module
Move common blog functionality like post filtering, sorting and data extraction into a centralized utils module.
Replace Astro.glob with import.meta.glob for better performance.
Update all blog components and pages to use the new utilities.
2025-06-19 16:28:59 +08:00
joyzhao
429b13985f feat(blog): refactor blog components and improve category/tag handling
- Add new CategoryCard and TagCard components to centralize UI logic
- Convert BlogList from React to Astro component
- Improve category and tag matching by using IDs from frontmatter
- Update all blog pages to use new components
- Add line-height to global styles for better readability
2025-06-19 14:45:29 +08:00
joyzhao
deb80c0df7 feat(blog): add tagId and categoryId for multilingual routing support
- Add tagId and categoryId fields to blog post frontmatter and interfaces
- Update blog list, category, and tag pages to use IDs for routing
- Implement fallback to regular tags/categories when IDs are not available
- Improve tag and category links with hover effects and proper encoding
- Update post meta component to support multilingual routing
2025-06-19 14:08:47 +08:00
joyzhao
8fbeec7dc8 feat(table-of-contents): implement scrollable TOC with radix-ui
- Add @radix-ui/react-scroll-area dependency
- Create scroll-area component with custom styling
- Refactor TOC layout to use scroll-area component
- Improve TOC styling and active state transitions
- Apply consistent TOC styling across blog and about layouts
2025-06-19 12:36:35 +08:00
joyzhao
8cecab8479 refactor(layout): improve blog post layout and component styling
- Move AuthorCard to bottom of main content with enhanced styling
- Adjust TableOfContents styling and positioning
- Simplify AuthorCard and GlassHeader components
2025-06-19 11:52:05 +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
62df420d80 refactor(profile): centralize personal info in data module and update components
Move all personal information to a centralized data module and update components to use this source. This improves maintainability by having a single source of truth for profile data and makes it easier to update information across the application.
2025-06-19 11:00:39 +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
4621223d26 fix(i18n): improve language path handling and prevent unnecessary redirects
- Fix edge cases in path processing for language switching
- Add checks to prevent redirects to the same page
- Update documentation to reflect current project structure
2025-06-19 10:13:49 +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
e5497e5e6d feat(i18n): implement comprehensive blog post enhancements
- Add avatar to personal info in data.ts
- Remove redundant headings from blog posts
- Reorder imports in utils.ts for consistency
- Implement new blog layout components including:
  - PostMeta for displaying post metadata
  - TableOfContents for navigation
  - BlogNavigation for post pagination
  - ShareButtons for social sharing
  - AuthorCard for author information
- Enhance BlogPostLayout with:
  - Improved typography and spacing
  - Responsive sidebar layout
  - Dark mode support
  - Better code block styling
- Remove outdated i18n guide documentation
- Add comprehensive styling for all new components
2025-06-17 19:37:36 +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
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
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
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
22799c9d8a refactor(portfolio): update skills data and remove awards/education sections
- Update skills data with additional frameworks and tools
- Remove AwardsSection and EducationSection components
- Update project documentation to reflect changes
2025-06-15 15:43:27 +08:00
joyzhao
720686751a feat(i18n): add multilingual support for all sections
Implement internationalization across all components by adding lang prop and translation keys
Update data structure to use translation keys instead of hardcoded text
Add comprehensive English and Chinese translations in ui.ts
2025-06-15 09:34: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
EFEELE
99f4bd4fbf chore: upgrade Tailwind CSS from v4.0.8 to v4.1.8
- Updated Tailwind to the latest patch version for improved stability and features - No breaking changes detected in the current setup - You can review the full changelog here: https://github.com/tailwindlabs/tailwindcss/releases
2025-06-05 09:52:11 -06:00
Fernando Lopez
7a127a49b5 style(ui): unify border padding to p-[2px] across themes (#8) 2025-06-03 11:53:08 -06:00
Psan
1b21576f4d Implemented Astro native content collection for static data (#9)
* Implemented Astro native content collection for static data

* deleted spaces

---------

Co-authored-by: psan <psan>
2025-06-03 10:16:13 -06:00
EFEELE
b371cba08b fix(ui): resolved z-index conflict between navbar and projects section 2025-05-26 14:17:22 -06:00
Psan
962d7ac449 Fixed Broken Link (#7) 2025-05-26 14:01:33 -06:00