Commit graph

467 commits

Author SHA1 Message Date
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
a813e7c2d0 chore: optimize layout 2025-03-05 21:52:43 +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
d0724d56fb update: change tags font style 2025-03-05 06:15:11 +00:00
radishzzz
c7194300d0 update: change tags font style 2025-03-05 06:14:14 +00:00
radishzzz
f96af1b102 feat: Improve tag pages and article tag display 2025-03-05 04:54:42 +00:00
radishzzz
b5bf2883cf docs: update README 2025-02-28 21:07:31 +00:00
radishzzz
268eb42654 docs: update README and add .gitattributes 2025-02-22 18:30:35 +00:00
radishzz
853d5f5598
Merge pull request #3 from radishzzz/dev
Add README docs
2025-02-22 17:56:08 +00:00
radishzzz
fd9db66ac8 docs: update README
- Completely revamp README structure and content
- Add detailed project description, demo links, and feature list
- Include performance metrics and deployment instructions
- Update acknowledgments and project roadmap
- Add Lighthouse score SVG
- Minor updates to example posts and image paths
2025-02-22 17:52:17 +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
1a302af9d4 test: remove unpic/astro 2025-02-21 02:06:18 +00:00
radishzzz
07ca3c12ab test: optimize CLS caused by image loading 2025-02-21 02:02:51 +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
6bcd51765d chore: optimize head component
- Add dynamic theme-color meta tag based on current theme mode
- Preload custom font files for improved performance
- Update ClientRouter configuration for view transitions
- Refactor theme toggle script comments for clarity
2025-02-18 17:57:10 +00:00
radishzzz
5b66fdb564 fix: meta theme color flash issue 2025-02-18 17:38:30 +00:00
radishzzz
b1777ed0ef fix: meta theme color flash issue 2025-02-18 17:10:40 +00:00
radishzzz
1040aff64c fix: netlify build failed 2025-02-18 15:56:27 +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
14f53a979a fix: view transition error with title
- Add `data-disable-transition-on-theme` to post titles and dates
- Improve view transition handling for theme changes
- Ensure consistent transition behavior across post list and individual post pages
2025-02-16 01:58:01 +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
7861156651 test: post title view transition
- Remove transition names from date and reading time spans
- Wrap post title in a span for view transition
- Add font-bold utility to h1 in Heti CSS
- Simplify reading time display logic
2025-02-15 22:09:14 +00:00
radishzzz
67bc3a63c9 refactor: improve view transition naming and post metadata handling
- Remove hardcoded 'theme-introduction' slug from multilingual post files
- Update view transition names to be more consistent and dynamic
- Separate date and reading time into individual transition elements
- Ensure fallback for slug in transition and link generation
2025-02-15 21:31:01 +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
614b41ed87 chore: update dependencies and add force-gpu utility 2025-02-11 23:07:03 +00:00
radishzzz
2a731b067a fix: text cut issue on iOS and update scrollbar color 2025-02-11 15:00:34 +00:00
radishzzz
3d2cec7908 fix: text cut issue on ios 2025-02-10 02:43:46 +00:00
radishzzz
6cd298c756 fix: view transition fallback control 2025-02-10 01:47:19 +00:00
radishzzz
e99e26d62c feat: synchronize browser theme color with website theme
- Add browser theme color synchronization via meta[theme-color]
- Update theme color on:
  - Initial page load
  - Theme toggle
  - System theme change
  - Page navigation
  - Browser history navigation
  - Page restore from cache
2025-02-07 10:53:05 +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
95f15c2016 chore: upgrade Astro 2025-02-04 18:57:34 +00:00