diff --git a/assets/js/lightbox.js b/assets/js/lightbox.js index 07942aa..f632ab1 100644 --- a/assets/js/lightbox.js +++ b/assets/js/lightbox.js @@ -35,6 +35,13 @@ const aboutLightbox = new PhotoSwipeLightbox({ pswpModule: PhotoSwipe, }); +const activitiesLightbox = new PhotoSwipeLightbox({ + gallery: '#gallery__activities', + children: '.pswp-gallery__item', + pswpModule: PhotoSwipe, +}); + // Initialize Lightboxes homeLightbox.init(); aboutLightbox.init(); +activitiesLightbox.init(); \ No newline at end of file diff --git a/layouts/partials/extend_activities.html b/layouts/partials/extend_activities.html index 40215c4..5e1cd9d 100644 --- a/layouts/partials/extend_activities.html +++ b/layouts/partials/extend_activities.html @@ -1,4 +1,6 @@ -
+ diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 1543c82..3415af2 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -5,7 +5,7 @@