summaryrefslogtreecommitdiffstats
path: root/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tpl')
-rw-r--r--tpl/objects/lightbox.pug6
1 files changed, 3 insertions, 3 deletions
diff --git a/tpl/objects/lightbox.pug b/tpl/objects/lightbox.pug
index c335fdb..5ba8c57 100644
--- a/tpl/objects/lightbox.pug
+++ b/tpl/objects/lightbox.pug
@@ -6,9 +6,9 @@ mixin lightbox(images)
6 block 6 block
7 +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')
8 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') 9 +action-button(round=true quiet=true icon='chevron-left' class='o-lightbox__nav-btn o-lightbox__nav-btn--prev')
10 +action-button(round=true quiet=true icon='chevron-right' class='o-lightbox__next-btn') 10 +action-button(round=true quiet=true icon='chevron-right' class='o-lightbox__nav-btn o-lightbox__nav-btn--next')
11 footer.o-lightbox__footer 11 .o-lightbox__thumbnails
12 each img, i in images 12 each img, i in images
13 - classes = i === 0 ? 'is-selected' : '' 13 - classes = i === 0 ? 'is-selected' : ''
14 button.o-lightbox__thumbnail(class=classes) 14 button.o-lightbox__thumbnail(class=classes)