Commit graph

11 commits

Author SHA1 Message Date
b85675eb45 refactor: 🚚 rename gallery to slider
It will do more than just slide images
2025-06-28 18:29:01 +02:00
2ac721058f chore: 🚚 use iconify identifiers for icon names
This allows to distinguish icons from different packs and allows VS Code extensions to display the icon in the code editor
2025-06-23 19:10:55 +02:00
05bae8229f refactor: ♻️ modularize button gradients
This allows for more flexibility when recoloring buttons
2025-06-20 21:30:26 +02:00
fa19ee5e91 refactor: ♻️ use custom property for gradient direction 2025-06-20 15:08:46 +02:00
c40d7d1ec8 refactor: ♻️ clean up gallery code
- cast images collection to array for clarity in galleryObserver
- shorten debounce function
- do not destructure track object for isAtEnd (no space savings or readability improvements)
- remove unused argument in updateActiveStates
- call functions directly during page initialization
2025-06-10 17:14:54 +02:00
Sebin Nyshkim
aa410f916a refactor: ♻️ use more of the webc feature set proper 2025-04-25 00:15:50 +02:00
Sebin Nyshkim
c0b42b82d0 fix: 🐛 make end detection more robust
Smooth scrolling messes with the detection of isAtEnd. Introduce a debounce to delay updateActiveStates until scroll has actually finished.
2025-04-24 23:40:45 +02:00
Sebin Nyshkim
8d95b82b89 feat: overhaul gallery component (styles, indicators, a11y) 2025-04-12 06:08:49 +02:00
Sebin Nyshkim
8c21edac0e fix: 🐛 calculate end of gallery track correctly in all browsers 2025-04-10 20:45:51 +02:00
Sebin Nyshkim
6e954e4099 fix: 🐛 prevent layout shift from lazy loaded images 2025-04-09 19:12:44 +02:00
Sebin Nyshkim
b99a36ab04 feat: add gallery slider component 2025-04-08 01:37:24 +02:00