Commit graph

467 commits

Author SHA1 Message Date
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
35b2542ec8 chore: update dependencies 2025-02-04 15:23:40 +00:00
radishzzz
3bd8e6ad1c fix: delete font-style: italic for ios 2025-01-28 10:39:18 +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
e43036ae3a test: ios flash issue 2025-01-26 04:22:02 +00:00
radishzzz
1bb8bb624f test: ios flash issue 2025-01-26 04:21:32 +00:00
radishzzz
24c680d5b1 test: ios flash issue
- Simplify scrollbar hiding styles
- Remove redundant transform properties from body
- Add WebKit transform for image rendering
- Enhance theme transition animation with transform optimizations
2025-01-26 04:18:32 +00:00
radishzzz
e513b78c66 test: ios flash issue
- Remove unnecessary scrollbar styles and consolidate scrollbar hiding
- Add performance optimizations for body and image rendering
- Improve backface visibility and transform properties
- Remove commented-out media query code
2025-01-26 04:07:43 +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
e9e318e02d chore: update dev dependencies and ESLint parser
- Upgrade astro-eslint-parser to version 1.2.1
- Add @types/mdast type definitions
- Minor dependency version updates in package.json and pnpm-lock.yaml
2025-01-25 08:29:54 +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
a26031d490 feat: add custom slug validation and handling for posts
- Enhance content configuration with slug validation to ensure only valid characters are used
- Update post routing to support custom slugs with fallback to default slug
- Implement slug duplication check to prevent conflicts across different languages
- Modify various page components to use custom or default slugs in URL generation
2025-01-25 03:14:52 +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
c1017156da fix: theme toggle error 2025-01-23 10:25:16 +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
radishzzz
1af92d92c8 feat: integrate PhotoSwipe lightbox, enhance scrollbar functionality, and update layout components
- Added a new PhotoSwipe component for image lightbox functionality in the layout.
- Enhanced scrollbar component with an auto-hide delay feature.
- Updated global styles to improve scrollbar appearance and added styles for PhotoSwipe.
- Included new Head layout component for better SEO and meta tag management.
- Added images to existing posts for improved visual content.

This commit improves user experience with enhanced image viewing and layout consistency.
2025-01-23 08:23:43 +00:00
radishzzz
ac9e839a75 chore: remove unused dependencies, enhance scrollbar functionality, and update VSCode settings
- Removed unused `@types/mdast` dependency from package.json and pnpm-lock.yaml.
- Introduced a custom scrollbar component with theme support in Scrollbar.astro.
- Updated Layout.astro to include the new Scrollbar component.
- Enhanced ThemeToggle.astro to dispatch a theme-changed event on toggle.
- Added global scrollbar styles to global.css and created a new scrollbar.css for custom scrollbar styling.
- Updated VSCode settings to improve editor experience and added recommendations for new extensions.
2025-01-22 23:35:52 +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
eae55b7477 test: meta theme-color issue 2025-01-20 22:21:26 +00:00
radishzzz
fddfb8eb5f test: meta theme-color issue 2025-01-20 22:14:43 +00:00
radishzzz
fa3d73fe17 test: meta theme-color issue 2025-01-20 21:49:33 +00:00
radishzzz
dce0b3a786 fix: two issues in last commit 2025-01-20 20:36:53 +00:00
radishzzz
42fa1be00f fix: issues in last commit 2025-01-20 13:51:19 +00:00
radishzzz
6ff3d30f80 fix: mobile browser issues and dark mode flicker
- Fix mobile browser navigation bar color not changing
- Remove scrollbar appearing under 100dvh
- Fix dark mode page transition flicker
2025-01-20 12:52:39 +00:00
radishzzz
60e31ebe35 fix: theme-color of meta tag 2025-01-20 10:56:34 +00:00
radishzzz
47aabb59e7 feat: add theme toggle for light/dark modes 2025-01-20 10:36:55 +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
8eb0876c01 fix: title font style 2025-01-19 03:49:50 +00:00
radishzzz
ef79df118f chore: update font style system 2025-01-18 20:52:58 +00:00
radishzzz
bf5a91d12d fix: update font url 2025-01-18 20:10:07 +00:00
radishzzz
0bfb9aab0a feat: add font family and global styles 2025-01-18 11:09:36 +00:00
radishzzz
8a3e01fb96 refactor: update RSS feed generation 2025-01-18 03:18:19 +00:00