# Credits & Architecture

## Luxe Gallery 2.0.0 — Zero-Dependency Build

Luxe Gallery uses **no third-party JavaScript or CSS libraries**. All frontend functionality is built with native browser APIs:

### Custom LuxeSlider
- Replaces Swiper.js (151KB → ~2KB)
- Uses CSS `scroll-snap-type` for native touch swiping
- IntersectionObserver for active slide detection
- Full keyboard and accessibility support

### Custom LuxeLightbox
- Replaces PhotoSwipe (68KB → ~4KB)
- Native touch gestures (swipe, pinch-to-zoom)
- Wheel zoom, double-click zoom
- Keyboard navigation (Arrow keys, Escape)
- Image preloading for instant navigation
- Web Share API integration
- Full ARIA support

### Previous Libraries (removed in 2.0.0)
The following libraries were used in v1.x and have been fully replaced:
- **PhotoSwipe 5.4.4** by Dmytro Semenov (MIT License)
- **Swiper.js 12.0.2** by nolimits4web (MIT License)
- **jQuery** dependency (removed)

## Performance Impact
- Frontend JS: 246KB → 26KB (−89%)
- Frontend CSS: 41KB → 20KB (−51%)
- HTTP requests: 6 files → 2 files
- Zero external dependencies
