Commit graph

221 commits

Author SHA1 Message Date
radishzzz
fa148ca0c5 feat: add waline comment 2025-03-06 15:15:32 +00:00
radishzzz
fef42675c0 refactor: remove back button and adjust page detail styles 2025-03-06 10:19:30 +00:00
radishzzz
d58cbcc786 fix: button position issue on ios 2025-03-05 22:02:02 +00:00
radishzzz
6259f31b50 update: back button size and position 2025-03-05 21:11:27 +00:00
radishzzz
89aff61656 update: back button size and position 2025-03-05 20:41:06 +00:00
radishzzz
b82ad56691 feat: add back button 2025-03-05 20:27:34 +00:00
radishzzz
807459d6ed docs: create README and update project configuration
- Add comprehensive README with project overview, features, and roadmap
- Update VSCode settings with new dictionary words
- Modify language switcher, mobile header, and theme toggle components
- Adjust layout and global styles
- Add language attribute to markdown example post
2025-02-22 02:05:50 +00:00
radishzzz
ba02b15c16 update: site footer style 2025-02-21 08:44:57 +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
b1777ed0ef fix: meta theme color flash issue 2025-02-18 17:10:40 +00:00
radishzzz
380a650721 chore: update dependencies and component styling
- Upgrade Rollup to version 4.34.8
- Update TypeScript ESLint and related packages
- Modify LanguageSwitcher and ThemeToggle components to remove `lg="hidden"` class
- Refactor Scrollbar component with improved initialization and theme handling
- Inline scrollbar styles in Scrollbar component, removing separate CSS file
2025-02-18 04:37:29 +00:00
radishzzz
152dd83e0c refactor: view animation and theme toggle
- Streamline theme toggle script in ThemeToggle component
- Improve theme initialization in Head layout
- Centralize theme color and mode configuration
- Enhance view transition handling for theme changes
- Optimize event listeners and theme synchronization
2025-02-18 02:28:55 +00:00
radishzzz
47951152d1 refactor: optimize website performance and layout
- Replace ScrollButton with BackToTop component
- Improve theme toggle and scrollbar event handling
- Update layout and index page styling
- Optimize client:load and client:idle directives
- Remove deprecated Heti addon plugin
2025-02-17 16:06:00 +00:00
radishzzz
c63eaa3792 update: post page layout
- Change default font style from sans to serif
- Add responsive mobile header class
- Update post images with new gallery images
- Modify post title and layout styling
- Simplify font style class application in Layout
2025-02-16 01:43:54 +00:00
radishzzz
e2cce321fc update: post page layout 2025-02-16 01:10:06 +00:00
radishzzz
9d6de20b6a feat: enhance typography and image handling
- Add Heti typography plugin for improved Chinese text layout
- Implement rehype plugin to convert images to figure elements with captions
- Update UnoCSS configuration by removing typography preset
- Modify file extensions for consistency (.mjs to .js)
- Add new plugins for admonition, GitHub card, and reading time components
- Improve image and text styling with Heti CSS
2025-02-15 21:11:17 +00:00
radishzzz
c549814c7e feat: add scroll button with dynamic navigation
- Implement ScrollButton component for improved page navigation
- Add dynamic scroll direction and visibility based on scroll position
- Integrate ScrollButton into main Layout component
- Provide smooth scrolling to top or bottom of the page
- Use requestAnimationFrame for performance optimization
2025-02-15 05:50:00 +00:00
radishzzz
923d473593 chore: update dependence
- Increase z-index for language switcher, theme toggle, and view transitions
- Remove sticky positioning from mobile header
- Ensure proper layering of UI elements on mobile devices
2025-02-15 01:15:09 +00:00
radishzzz
7498f93ef9 feat: improve mobile header and layout responsiveness
- Add sticky positioning to mobile header
- Implement back navigation for mobile header
- Adjust layout to use min-height instead of fixed height
- Remove global scroll-smooth class for more flexible scrolling
- Update dependencies to latest versions
2025-02-14 07:04:52 +00:00
radishzzz
4aec3ae6cf fix: right text cut issue on ios 2025-02-13 17:13:17 +00:00
radishzzz
d7fc84aae5 fix: header position issue on ios 2025-02-13 16:29:06 +00:00
radishzzz
56751de737 fix: bottom and top text cut issue on ios 2025-02-12 05:27:56 +00:00
radishzzz
162e7ada22 chore: optimize title and icon positions 2025-02-06 15:24:34 +00:00
radishzzz
113f37a9e0 test: title flash issue on ios 2025-02-06 12:56:29 +00:00
radishzzz
aa63803aa2 fix: theme transition error on ios 2025-02-05 21:04:10 +00:00
radishzzz
93eca1fa7a fix: theme transition error on ios 2025-02-05 17:07:45 +00:00
radishzzz
45385fd84a fix: theme transition error 2025-02-05 16:39:28 +00:00
radishzzz
bdc2aa32e6 refactor: enhance site navigation and styling
- Add view transitions for site title
- Update Navbar with hover effects and improved typography
- Modify index page layout with decorative lines and date formatting
- Adjust post publication dates
- Update VSCode dictionary with new terms
2025-02-04 22:32:15 +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
0f20e43484 refactor: remove underline animation and update styling
- Remove underline-animation UnoCSS shortcut from uno.config.ts
- Update Navbar component to remove underline-animation classes
- Remove inline script for link transition animations
- Add cover images to existing posts
- Update font and date display classes in index pages
- Modify global CSS for iOS rendering optimization
2025-01-28 04:33:47 +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
0241091a8f feat: update font configuration
- Add new font variations for EarlySummer and subset fonts
- Update uno.config.ts to modify font family configurations
- Introduce new font files for navbar, time, and subset usage
- Remove preload of external font CDN and add local font CSS import
- Adjust scrollbar initialization to handle native scrollbars
- Modify index page date display styles
2025-01-27 04:50:12 +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
d72ec58837 feat: add multilingual theme introduction posts
- Added localized Retypeset theme introduction posts for multiple languages
- Included posts in English, Spanish, Russian, Japanese, Chinese (Simplified and Traditional)
- Standardized post structure with consistent metadata and content
- Updated content configuration to support multilingual post entries
2025-01-26 08:16:48 +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
ee35006f7c refactor: enhance LanguageSwitcher and PhotoSwipe initialization
- Simplified LanguageSwitcher logic for better readability and performance.
- Updated PhotoSwipe initialization to clean up existing instances before creating a new one, ensuring smoother transitions.
- Changed event listener for PhotoSwipe to trigger on page load, improving responsiveness.
- Revised theme configuration description and updated site URL for clarity.
2025-01-24 13:23:24 +00:00
radishzzz
bca8b9b1cf feature: global view animation
- Updated Header component to adjust title margin and changed subtitle from h3 to h2 for better semantic structure.
- Refined LanguageSwitcher component to enhance language switching functionality and improved accessibility.
- Adjusted Navigation component's margin and link styles for better visual hierarchy.
- Enhanced ThemeToggle component with view transition effects for smoother theme changes.
- Updated global CSS to support new transition styles for theme toggling.
- Bumped rollup version in pnpm-lock.yaml for improved build performance.
2025-01-24 12:57:30 +00:00
radishzzz
b46534419b feat: add language switcher component and update layout
- Introduced a new LanguageSwitcher component to facilitate language switching in the application.
- Added an SVG icon for the language switcher button.
- Updated the Header component to adjust margin for better spacing.
- Modified the Navigation component's margin and top properties for improved layout.
- Adjusted the ThemeToggle button size for consistency with the new design.
2025-01-24 10:11:56 +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
d4e5fda5d1 fix: theme toggle fallback animation flash issue (final) 2025-01-24 00:30:39 +00:00
radishzzz
00149b251b fix: theme toggle error 2025-01-23 23:33:32 +00:00
radishzzz
2f52b38100 fix: theme toggle error 2025-01-23 12:46:00 +00:00
radishzzz
60f42bd52a fix: theme toggle error 2025-01-23 12:26:00 +00:00
radishzzz
8962f2613d fix: theme toggle error 2025-01-23 12:14:27 +00:00
radishzzz
a8c56b6e8a fix: theme toggle error 2025-01-23 11:03:39 +00:00
radishzzz
9d47579a87 fix: theme toggle error 2025-01-23 10:49:44 +00:00
radishzzz
20fd3b65f3 fix: theme toggle error 2025-01-23 10:33:23 +00:00
radishzzz
419b8b5611 fix: theme toggle error
- Streamlined theme toggle logic to better synchronize with user preferences and system settings.
- Updated the initialization of the theme to utilize a more robust method for determining the default mode.
- Improved accessibility by ensuring aria attributes are correctly set for the theme toggle button.
- Enhanced global CSS styles for better consistency and added support for view transitions during theme changes.
- Removed redundant code and improved overall readability of the theme toggle component.
2025-01-23 10:13:30 +00:00
radishzzz
77f94f646f fix: theme toggle error and improve global styles
- Refactored theme toggle logic to synchronize theme state with user preferences and system settings.
- Introduced a new method to set the theme based on saved preferences or system color scheme.
- Updated global CSS to support dark mode by default when the system prefers it, and added functional styles for better user experience.
- Improved theme toggle animation and ensured compatibility with view transitions API.
- Enhanced accessibility by updating aria attributes for the theme toggle button.
2025-01-23 09:08:16 +00:00