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
This commit is contained in:
radishzzz 2025-04-15 05:33:06 +01:00
parent 043b811ce4
commit dfc30d7f85
5 changed files with 115 additions and 118 deletions

View file

@ -12,9 +12,9 @@ body {
--at-apply: 'ios-flash-fix';
}
/* article img {
article.heti img {
--at-apply: 'cursor-zoom-in force-gpu';
} */
}
/* View Transition with Theme Toggle >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
::view-transition-new(theme-transition) {