diff options
Diffstat (limited to 'tpl/objects/lightbox.pug')
| -rw-r--r-- | tpl/objects/lightbox.pug | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tpl/objects/lightbox.pug b/tpl/objects/lightbox.pug index 842d44a..2d520b5 100644 --- a/tpl/objects/lightbox.pug +++ b/tpl/objects/lightbox.pug | |||
| @@ -23,14 +23,14 @@ mixin lightbox(images) | |||
| 23 | header.o-lightbox__header | 23 | header.o-lightbox__header |
| 24 | div(class=linksClasses) | 24 | div(class=linksClasses) |
| 25 | block | 25 | block |
| 26 | +action-button(theme=attributes.theme pill=true quiet=true icon='x' class='o-lightbox__close-btn') | 26 | +button(theme=attributes.theme pill=true quiet=true icon='x' class='o-lightbox__close-btn') |
| 27 | 27 | ||
| 28 | each img, i in images | 28 | each img, i in images |
| 29 | img(src=images[i] id=('image-' + i) class=`o-lightbox__img ${attributes.interactive && !i ? 'is-visible' : ''}`) | 29 | img(src=images[i] id=('image-' + i) class=`o-lightbox__img ${attributes.interactive && !i ? 'is-visible' : ''}`) |
| 30 | 30 | ||
| 31 | if images.length > 1 | 31 | if images.length > 1 |
| 32 | +action-button(theme=attributes.theme pill=true quiet=true icon='chevron-left' class='o-lightbox__nav-btn o-lightbox__nav-btn--prev') | 32 | +button(theme=attributes.theme pill=true quiet=true icon='chevron-left' class='o-lightbox__nav-btn o-lightbox__nav-btn--prev') |
| 33 | +action-button(theme=attributes.theme pill=true quiet=true icon='chevron-right' class='o-lightbox__nav-btn o-lightbox__nav-btn--next') | 33 | +button(theme=attributes.theme pill=true quiet=true icon='chevron-right' class='o-lightbox__nav-btn o-lightbox__nav-btn--next') |
| 34 | 34 | ||
| 35 | .o-lightbox__thumbnails | 35 | .o-lightbox__thumbnails |
| 36 | each img, i in images | 36 | each img, i in images |
