Commit graph

37 commits

Author SHA1 Message Date
kakomonn
88a3a9f46b Optimize the logic for switching between light and dark modes 2025-04-05 17:35:28 +08:00
radishzzz
ee25e17f69 feat: add KaTeX support and update theme configuration
- Update @astrojs/mdx and astro dependencies
- Enable KaTeX in theme config for mathematical formula rendering
- Update scrollbar component to hide overflow content
- Add KaTeX mathematical demonstration document
- Update multilingual theme guides to include KaTeX configuration
2025-04-01 02:13:23 +01:00
radishzzz
783fb958d5 feat: adjust layout spacing and add comment toggle configuration 2025-03-22 04:30:25 +00:00
radishzzz
9283287442 update: code block style 2025-03-20 05:31:26 +00:00
radishzzz
137d79f273 feat: support i18n description meta tag 2025-03-18 18:58:22 +00:00
radishzzz
a073ea47bd feat: add automatic website screenshot generation for Open Graph preview images 2025-03-16 14:41:51 +00:00
radishzzz
dc260f3f6c chore: update theme config 2025-03-15 20:47:38 +00:00
radishzzz
355b044e9f chore: change i18n example article and update i18n configuration 2025-03-15 12:26:49 +00:00
radishzzz
22dc899a95 refactor: update language configuration 2025-03-15 01:02:45 +00:00
radishzzz
d352b6fb65 refactor: organize and categorize functions 2025-03-14 16:18:17 +00:00
radishzzz
91d27dd2ba update: unified multilingual page styles 2025-03-14 05:20:59 +00:00
radishzzz
05d3a8034b feat: complete language switching functionality and centralized page routing 2025-03-14 03:30:56 +00:00
radishzzz
db1bffb4c2 chore: delete Open Graph configuration and change favicon format 2025-03-13 06:26:49 +00:00
radishzzz
9b9bdb2811 fix: correctly correspond to the og of each article 2025-03-13 01:21:19 +00:00
radishzzz
8ac9b865f5 feat: add date formatting component and configuration options
- Add DateFormat and PostTime components, supporting multiple date display formats
- Add dateFormat option in theme configuration, allowing customization of date display styles
- Refactor time display logic in article list and article detail pages
- Update configuration type definitions to support new date format options
2025-03-11 15:33:39 +00:00
radishzzz
696fcfac07 refactor: theme config 2025-03-11 12:10:12 +00:00
radishzzz
d6cff842e1 refactor: refactoring project structure and components, optimizing internationalization and page presentation 2025-03-08 21:38:08 +00:00
radishzzz
c2ebc78045 feat: add waline i18n & sync comments 2025-03-06 22:19:34 +00:00
radishzzz
fa148ca0c5 feat: add waline comment 2025-03-06 15:15:32 +00:00
radishzzz
09fe7dcb37 refactor: remove text-62.5%, update site layout and add site footer
- Adjust font and typography settings across components
- Update footer with new links and start year configuration
- Modify header and navbar styling for responsive design
- Remove @unpic/astro dependency
- Refine global and component-level styling
- Update font preloading and font face definitions
2025-02-21 08:33:00 +00:00
radishzzz
ad9fabe937 feat: enhance image handling and analytics configuration
- Add @unpic/astro for improved image optimization
- Configure image service with blurhash placeholder
- Update analytics script to support custom JavaScript URLs
- Modify preload configuration for more flexible analytics integration
- Remove deprecated rehype image transformation plugin
2025-02-21 01:25:38 +00:00
radishzzz
f8bf077948 refactor: enhance theme configuration and path handling
- Update config.ts with more descriptive comments and simplified settings
- Remove about page content section
- Add new path utility functions for localization and page type detection
- Introduce SiteTitle component for mobile post page navigation
- Modify Header and Layout components to use new path utilities
- Adjust title spacing and font sizes
- Update VSCode settings with new dictionary words
2025-02-04 18:56:34 +00:00
radishzzz
f1d2204337 feat: add underline animation
- Implement underline-animation UnoCSS shortcut for navbar links
- Add dynamic hover and page transition effects for navigation
- Update Navbar component to use new underline-animation class
- Remove CDN configuration from preload settings
- Modify font class for date display in index page
- Add inline script to handle link animations during page transitions
2025-01-28 02:46:38 +00:00
radishzzz
e14c62e1f6 refactor: clean up SEO and theme configuration
- Remove unused SEO metadata fields like Facebook and site screenshot
- Rename global font configuration from 'font' to 'fontStyle'
- Update theme toggle to use documentElement instead of body for theme restoration
- Simplify HTML metadata and remove redundant meta tags
- Adjust index page to use div instead of time for date display
2025-01-26 23:55:08 +00:00
radishzzz
ae39d7b08c feat: enhance post listing and reading time display
- Implement dynamic post listing grouped by year with improved date formatting
- Add reading time display for each post
- Update index pages for both default and localized routes
- Modify content utility functions to support reading time metadata
- Refactor global styles and type definitions to support new features
2025-01-26 02:59:39 +00:00
radishzzz
fc1daf4335 refactor: restructure project configuration and utility modules
- Move configuration and utility files to more organized locations
- Update import paths across the project to reflect new file structure
- Simplify content and internationalization utilities
- Remove redundant configuration files and consolidate logic
- Add prefetch configuration to Astro config for improved performance
2025-01-25 08:19:31 +00:00
radishzzz
23b819319d chore: update dependencies and enhance theme configuration
- Bump versions of several dependencies in package.json and pnpm-lock.yaml, including astro (5.1.9), @types/node (22.10.10), and lint-staged (15.4.2).
- Introduce new Header, Footer, and Navigation components for improved layout structure.
- Update theme configuration to clarify supported font styles and title spacing options.
- Refactor theme toggle button for better accessibility and visual consistency.
- Minor adjustments to CSS for improved button scaling effects and layout responsiveness.
2025-01-24 08:21:38 +00:00
radishzzz
804cf72052 chore: update dependencies, enhance theme configuration, and improve layout structure
- Bump versions of several dependencies including @astrojs/mdx, astro, and vite.
- Refactor theme configuration to include code themes for light and dark modes.
- Update layout structure for better responsiveness and clarity.
- Enable JavaScript in TypeScript configuration for broader compatibility.
- Add new font styles and improve font-face definitions.
- Clean up unused imports and commented-out code in index.astro.
- Introduce global type definitions for Attributify attributes in JSX.
2025-01-21 21:21:24 +00:00
radishzzz
6ea0644928 refactor: update theme color handling and toggle component
- Modify color scheme to resolve theme-color issues
- Refactor theme toggle component and icon
2025-01-21 04:08:00 +00:00
radishzzz
d599b3e26d feat: add theme toggle for light/dark modes 2025-01-20 10:36:14 +00:00
radishzzz
d148649454 refactor: update theme configuration and background styles 2025-01-19 23:18:12 +00:00
radishzzz
8c19d26cfd feat: enhance internationalization support with dynamic routing 2025-01-18 02:25:00 +00:00
radishzzz
d6c98880d3 feat: implement internationalization (i18n) support 2025-01-18 00:01:25 +00:00
radishzzz
63aa495d8b refactor: update and theme configuration 2025-01-17 02:50:53 +00:00
radishzzz
7659bbd1e2 feat: head component with excellent SEO 2025-01-16 07:48:40 +00:00
radishzzz
5d327ff4f8 chore: refine user configuration standards 2025-01-13 08:32:09 +00:00
radishzzz
9d2be2a82e initial environment setup 2025-01-13 02:50:27 +00:00