Moved from Fancybox to Photoswipe for click-to-zoom

This commit is contained in:
Christoph Haas 2025-05-08 01:10:03 +02:00
parent aaf1eb34c4
commit 9164e2a636
10 changed files with 3178 additions and 28 deletions

View file

@ -2,6 +2,8 @@
pin 'application'
pin '@hotwired/turbo-rails', to: 'turbo.min.js'
pin '@hotwired/stimulus', to: 'stimulus.min.js'
pin '@hotwired/stimulus-loading', to: 'stimulus-loading.js'
pin_all_from 'app/javascript/controllers', under: 'controllers'
# pin '@hotwired/stimulus', to: 'stimulus.min.js'
# pin '@hotwired/stimulus-loading', to: 'stimulus-loading.js'
# pin_all_from 'app/javascript/controllers', under: 'controllers'
pin 'photoswipe' # @5.4.4
pin "photoswipe/lightbox", to: "photoswipe--lightbox.js" # @5.4.4