Commit graph

50 commits

Author SHA1 Message Date
radishzzz
3312b30dbf feat: add code copy cutton 2025-05-27 01:37:19 +01:00
radishzz
47e1df9b3d
feat: performance optimizations and ui improvements (#26)
* test: remove astro-compress

* test: remove astro-compress

* perf: add astro-compress, optimize resource preloading

* perf: moving photoswipe styles to head with non-blocking preload strategy

* test: disable astro-compress

* test: enable astro-compress

* fix: typescript hints

* chore: adjust toc style and gsap animation

* style: optimize gsap animation logic, adjust toc style

* chore: adjust toc style

* fix: photoswipe transition position offset caused by scrollbar-gutter
2025-05-26 20:21:38 +01:00
radishzzz
ef192c4545 chore: update theme guides and project comments, add astro-compress to remove comments 2025-05-19 00:25:26 +01:00
radishzzz
55923f9fcc chore: add rehypeUnwrapImg plugin for image processing optimization, update katex resource path 2025-05-16 04:32:59 +01:00
radishzzz
c2547dd65d style: update pin-icon and anchor-link, remove bold icons 2025-05-14 02:06:25 +01:00
radishzzz
610c86db0d style: add highlight hover animation to navigation and footer
- add dynamic accessible labels to heading anchors
- update theme toggle button svg
2025-05-13 23:33:09 +01:00
radishzzz
e5ecbe1341 feat: add heading anchor links 2025-05-13 03:09:23 +01:00
radishzzz
9c1d2241d4 style: add letter spacing to cjk header, navbar and post titles 2025-05-11 00:52:02 +01:00
radishzzz
afa47d4880 chore: remove conditional loading of katex plugins 2025-05-08 18:53:10 +01:00
radishzzz
979f36a796 perf: optimize katex config, implement async css loading for katex, improve scrollbar and lightbox loading logic 2025-05-08 18:13:15 +01:00
radishzzz
b72b59358b docs: update comments in theme guides and configuration files 2025-05-08 02:32:12 +01:00
radishzzz
2ddae5631e feat: add github repository card extension feature
- remove astro-compress to improve build speed
- add target and rel attributes to footer links
- rename unocss opacity utility from 'opacity' to 'op'
- update PostList component's page logic from 'isTag' to 'isHome'
- create extend.css file for markdown extended features
- reorganize and sort styles in heti.css
- fix inline code wrapping issue
2025-05-02 18:06:59 +01:00
radishzzz
23ba4de450 feat: add admonition functionality and markdown-extended-features article, improve blockquote styling 2025-04-25 20:31:41 +01:00
radishzzz
4ff44f9ac4 style: add image to figure plugin
- Improve styles for images, blockquotes, tables and more
- Fix unexpected line breaks
2025-04-16 06:25:04 +01:00
radishzzz
dfc30d7f85 feat: add image lightbox functionality
- Add imageConfig in astro.config.ts to optimize remote image processing in Markdown files
- Update PhotoSwipe component initialization logic to ensure proper setup on page load
2025-04-15 05:33:06 +01:00
radishzzz
5f95201576 chore: remove unnecessary image.domains configuration 2025-04-13 16:21:14 +01:00
radishzzz
7c6172e0ae 🚀 refactor: toc component with responsive design
- Implement scroll-sync highlight tracking
- Add auto-scroll functionality for active items
- Remove animations during view transitions
2025-03-31 16:05:46 +01:00
radishzzz
29882c8581 test: md style preview 2025-03-23 14:33:11 +00:00
radishzzz
f5e8e88dce refactor: update heti css styles 2025-03-23 04:28:28 +00:00
radishzzz
608bb0045f refactor: a part of heti css style 2025-03-20 18:09:39 +00:00
radishzzz
9283287442 update: code block style 2025-03-20 05:31:26 +00:00
radishzzz
ec2b4e9ec2 chore: remove unused dependencies 2025-03-19 22:52:53 +00:00
radishzzz
830c330b3a chore: delete unused dependencies 2025-03-19 22:03:26 +00:00
radishzzz
22dc899a95 refactor: update language configuration 2025-03-15 01:02:45 +00:00
radishzzz
05d3a8034b feat: complete language switching functionality and centralized page routing 2025-03-14 03:30:56 +00:00
radishzzz
19d7ba4905 chore: add abbrlink 2025-03-13 22:53:31 +00:00
radishzzz
696fcfac07 refactor: theme config 2025-03-11 12:10:12 +00:00
radishzzz
ff1673da9c refactor: refactor article list component and routing logic, optimize multilingual article display 2025-03-11 09:52:49 +00:00
radishzzz
d6cff842e1 refactor: refactoring project structure and components, optimizing internationalization and page presentation 2025-03-08 21:38:08 +00:00
radishzzz
1a302af9d4 test: remove unpic/astro 2025-02-21 02:06:18 +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
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
113f37a9e0 test: title flash issue on ios 2025-02-06 12:56:29 +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
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
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
d148649454 refactor: update theme configuration and background styles 2025-01-19 23:18:12 +00:00
radishzzz
8a3e01fb96 refactor: update RSS feed generation 2025-01-18 03:18:19 +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
4d989e0a7d feat: add RSS feed generation and content management features 2025-01-14 09:05:43 +00:00
radishzzz
9a7b0c42e1 chore: refine astro config and plugins 2025-01-14 05:36:04 +00:00
radishzzz
77fc6eff6c chore: refine plugins and astro config 2025-01-14 05:31:58 +00:00
radishzzz
5d77abf77c feat: markdown extended features from fuwari 2025-01-14 01:06:09 +00:00
radishzzz
9e9cdcb206 test: add plugins 2025-01-13 23:02:00 +00:00
radishzzz
4341dab741 fix: incorrect configuration 2025-01-13 22:03:57 +00:00
radishzzz
9d2be2a82e initial environment setup 2025-01-13 02:50:27 +00:00