feat(demo): add story 1 — Sorano: Rock and Time

This commit is contained in:
2026-06-20 21:19:57 +02:00
parent 42ed59a6b3
commit 8f87155c1d
5508 changed files with 1595740 additions and 124 deletions
@@ -0,0 +1,31 @@
{# add javascript for gallery and lightbox configuration #}
$("#{{ id }}").justifiedGallery({
rowHeight: {{ rowHeight }},
margins: {{ margins }},
lastRow: "{{ lastRow }}",
captions: {{ captions }},
border: {{ border }},
{#~ use given width and height, don't load "src" attribute #}
waitThumbnailsLoad: false,
thumbnailPath: function (currentPath, width, height, image) {
{#~ don't try to reload image from "src" #}
return image.currentSrc;
},
});
GLightbox({
selector: ".glightbox-{{ id }}",
openEffect: "{{ openEffect }}",
closeEffect: "{{ closeEffect }}",
slideEffect: "{{ slideEffect }}",
closeButton: {{ closeButton }},
touchNavigation: {{ touchNavigation }},
touchFollowAxis: {{ touchFollowAxis }},
keyboardNavigation: {{ keyboardNavigation }},
closeOnOutsideClick: {{ closeOnOutsideClick }},
loop: {{ loop }},
draggable: {{ draggable }},
descPosition: "{{ descPosition }}",
moreText: "{{ descMoreText }}",
moreLength: {{ descMoreLength }},
});