diff options
author | Volpeon <git@volpeon.ink> | 2024-01-17 22:04:57 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-01-17 22:04:57 +0100 |
commit | 5d18c6e7db71067cb550a2b41fac56dd33c23e51 (patch) | |
tree | 6e2cbc3c2ae56a5de4def205443aa91194768307 /tpl/objects | |
parent | Added larger badge variant (diff) | |
download | iro-design-5d18c6e7db71067cb550a2b41fac56dd33c23e51.tar.gz iro-design-5d18c6e7db71067cb550a2b41fac56dd33c23e51.tar.bz2 iro-design-5d18c6e7db71067cb550a2b41fac56dd33c23e51.zip |
Lightbox
Diffstat (limited to 'tpl/objects')
-rw-r--r-- | tpl/objects/lightbox.pug | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tpl/objects/lightbox.pug b/tpl/objects/lightbox.pug index 633cf3f..58abdae 100644 --- a/tpl/objects/lightbox.pug +++ b/tpl/objects/lightbox.pug | |||
@@ -8,6 +8,9 @@ mixin lightbox(images) | |||
8 | +action-button(round=true quiet=true icon='x' class='o-lightbox__close-btn') | 8 | +action-button(round=true quiet=true icon='x' class='o-lightbox__close-btn') |
9 | each img, i in images | 9 | each img, i in images |
10 | img.o-lightbox__img(src=images[i] id='image-' + i) | 10 | img.o-lightbox__img(src=images[i] id='image-' + i) |
11 | +action-button(round=true quiet=true icon='chevron-left' class='o-lightbox__nav-btn o-lightbox__nav-btn--prev') | ||
12 | +action-button(round=true quiet=true icon='chevron-right' class='o-lightbox__nav-btn o-lightbox__nav-btn--next') | ||
13 | |||
11 | img.o-lightbox__img.o-lightbox__img--default(src=images[0]) | 14 | img.o-lightbox__img.o-lightbox__img--default(src=images[0]) |
12 | if images.length > 1 | 15 | if images.length > 1 |
13 | +action-button(round=true quiet=true icon='chevron-left' class='o-lightbox__nav-btn o-lightbox__nav-btn--prev') | 16 | +action-button(round=true quiet=true icon='chevron-left' class='o-lightbox__nav-btn o-lightbox__nav-btn--prev') |