summaryrefslogtreecommitdiffstats
path: root/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tpl')
-rw-r--r--tpl/objects/lightbox.pug4
1 files changed, 4 insertions, 0 deletions
diff --git a/tpl/objects/lightbox.pug b/tpl/objects/lightbox.pug
index bfb4f49..c335fdb 100644
--- a/tpl/objects/lightbox.pug
+++ b/tpl/objects/lightbox.pug
@@ -1,9 +1,13 @@
1include icon.pug
2
1mixin lightbox(images) 3mixin lightbox(images)
2 .o-lightbox 4 .o-lightbox
3 header.o-lightbox__header.s-colored-links 5 header.o-lightbox__header.s-colored-links
4 block 6 block
5 +action-button(round=true quiet=true icon='x' class='o-lightbox__close-btn') 7 +action-button(round=true quiet=true icon='x' class='o-lightbox__close-btn')
6 img.o-lightbox__img(src=images[0]) 8 img.o-lightbox__img(src=images[0])
9 +action-button(round=true quiet=true icon='chevron-left' class='o-lightbox__prev-btn')
10 +action-button(round=true quiet=true icon='chevron-right' class='o-lightbox__next-btn')
7 footer.o-lightbox__footer 11 footer.o-lightbox__footer
8 each img, i in images 12 each img, i in images
9 - classes = i === 0 ? 'is-selected' : '' 13 - classes = i === 0 ? 'is-selected' : ''