Commit graph

115 commits

Author SHA1 Message Date
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
7c12dbd301 fix: back button position 2025-05-26 12:36:16 +01:00
radishzzz
68525c8c41 fix: back button position 2025-05-26 12:03:12 +01:00
radishzzz
ab9bb91f52 chore: fix waline language switching exceptions, remove unused global variables, update theme guide 2025-05-26 00:25:46 +01:00
radishzzz
db4aa56987 refactor: replace css fade animations with gsap, optimize post page animations and mobile responsiveness 2025-05-18 16:03:17 +01:00
radishzzz
90c2099fec style: add fade animations to roc, back button, tags and waline comment, refactor katex import method 2025-05-17 22:33:14 +01:00
radishzzz
a35999629a feat: add fade up animation to post page, optimize global animation curves and durations, refine animation-related naming conventions 2025-05-17 20:18:41 +01:00
radishzzz
312a57c07e style: optimize animation curves and duration 2025-05-17 13:27:35 +01:00
radishzzz
43295bc7b9 🚀 perf: use native scrollbar instead of overlayscrollbars, switch waline to cdn import
- remove preload comment configuration
- remove preload meta tags in head
- update 404 page
2025-05-15 20:23:32 +01:00
radishzzz
168e231119 feat: add auto-hide native scrollbar and optimize scrollbar styling 2025-05-14 19:01:54 +01:00
radishzzz
41fca8569e perf: remove overlayscrollbars to fix page loading lag, update heading margins 2025-05-14 15:25:27 +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
radishzz
fc1cc050bc
refactor: separate rss and atom generation, optimize back button logic (#22)
* refactor: separate rss and atom generation, optimize back button logic, remove redundant whitespace in component styles

* fix:  add missing <published> tag in atom feed
2025-05-10 04:37:20 +01:00
radishzzz
625879b061 🚀 perf: add global content cache to significantly improve build speed, fix slow build times on [...tags_tag] pages 2025-05-08 16:57:14 +01:00
radishzzz
5b9c2d562a refactor: replace icons with svg components, relocate icons and images, rename directories 2025-05-08 15:10:21 +01:00
radishzzz
bf20fb4014 fix: upgrade waline to v3.5.7 (fixes #10), remove unused titlegap configuration 2025-05-08 01:57:40 +01:00
radishzzz
67525c3e41 style: update image style 2025-04-17 02:37:22 +01:00
radishzzz
8ad2315d08 chore: adjust some styling details 2025-04-09 19:32:30 +01:00
radishzzz
05b902bc61 fix: style and type issues with feature enhancements
- Fix presetTheme type assertion issue
- Fix content height dvh problem on large screens
- Fix tables and KaTex math formulas overflowing containers on mobile
- Update 404 page
- Update README documentation
- Increase link underline offset
- Add line number display to code blocks
- Improve scrollbar styles for TOC and code blocks
2025-04-09 18:46:27 +01:00
radishzzz
594172c183 feat: add pinned icon for post list 2025-04-02 22:31:36 +01:00
radishzzz
4c8dff619e update: migrate from content.ts to content.config.ts 2025-03-30 00:57:33 +00:00
radishzzz
dc17f304c1 feat: add toc with accordion animation, add optional toc toggle, lower heti css priority 2025-03-28 00:26:32 +00:00
radishzzz
fedf4cee1e chore: update comments for consistency, improve code readability and structure 2025-03-22 22:54:23 +00:00
radishzzz
ca45fed0aa fix: title and content start position on mobile post pages 2025-03-22 12:59:41 +00:00
radishzzz
783fb958d5 feat: adjust layout spacing and add comment toggle configuration 2025-03-22 04:30:25 +00:00
radishzzz
51ae238192 🚀 refactor: redesign the layout, reduce page size, and significantly improve build speed 2025-03-22 03:45:15 +00:00
radishzzz
850d9c2403 fix: favicon and rss url error 2025-03-20 11:59:17 +00:00
radishzzz
10514edf9e chore: add characters in the early summer subset, add comments in pages 2025-03-18 19:37:38 +00:00
radishzzz
67cc90f744 chore: change logo on opengraph, adjust title position on mobile post page 2025-03-18 14:39:06 +00:00
radishzzz
cac96eca8c feat: add desktop back home button on posts page 2025-03-18 05:37:33 +00:00
radishzzz
b4bd409e4b update: desktop style 2025-03-18 04:03:42 +00:00
radishzzz
473b13d0ab refactor: optimize all i18n route pages 2025-03-17 18:15:17 +00:00
radishzzz
0888b59c5f refactor: optimize rss generation logic 2025-03-17 14:01:51 +00:00
radishzzz
f34b0cb46b feat: i18n rss url and different excerpt length for different languages 2025-03-17 02:49:02 +00:00
radishzzz
1cb5e6aafc test: twitter og error 2025-03-16 18:54:08 +00:00
radishzzz
a073ea47bd feat: add automatic website screenshot generation for Open Graph preview images 2025-03-16 14:41:51 +00:00
radishzzz
f9c48b2c6f feat: add post description on desktop home page 2025-03-16 02:15:36 +00:00
radishzzz
5f3d9bc3c2 chore: unbind unocss shortcut 2025-03-16 00:51:39 +00:00
radishzzz
2a9500089c fix: Switching language error on tabbed pages, add 404 page 2025-03-15 13:55:06 +00:00
radishzzz
a61b299b51 fix: optimize the language switching order on the article page 2025-03-15 12:36:02 +00:00
radishzzz
355b044e9f chore: change i18n example article and update i18n configuration 2025-03-15 12:26:49 +00:00
radishzzz
96a89ddcd5 feat: i18n support for header, subtitle and about pages 2025-03-15 02:52:23 +00:00
radishzzz
22dc899a95 refactor: update language configuration 2025-03-15 01:02:45 +00:00
radishzzz
ff59dc1a7c optimize: rss generation 2025-03-14 23:34:10 +00:00
radishzzz
54902da6dd 🚀 refactor: unify page routing files 2025-03-14 23:13:54 +00:00
radishzzz
d352b6fb65 refactor: organize and categorize functions 2025-03-14 16:18:17 +00:00
radishzzz
f5526f8622 refactor: rename functions 2025-03-14 14:23:35 +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
1444e8934c chore: add og comment and update icon naming 2025-03-13 13:19:34 +00:00