|
|
@@ -14,10 +14,13 @@
|
|
14
|
14
|
//- ?: are objects are always gallery blocks
|
|
15
|
15
|
.gallery.block(v-if="typeof block === 'object'" :class="`gallery-${i}`")
|
|
16
|
16
|
p gallery number: {{ i }}
|
|
17
|
|
- ul
|
|
|
17
|
+ ul.t-cntr
|
|
18
|
18
|
li(v-for="(imageID, j) in post.galleries[block.gallery].ids" :class="`gallery-${i}--image-${j+1}`" :key="`block-${i}-${j}`")
|
|
19
|
19
|
img(@click="openGallery(i - 1, imageID)" :src="post.attached[imageID]['thumbnail']")
|
|
20
|
|
- button(@click="openGallery(i - 1, imageID)") gallery: {{ i }} image: {{ imageID }}
|
|
|
20
|
+ //- TO DO Caption stuff and full screen Title/Description
|
|
|
21
|
+ p Caption goes here<br>
|
|
|
22
|
+ button(@click="openGallery(i - 1, imageID)") gallery: {{ i }} image: {{ imageID }}
|
|
|
23
|
+ br
|
|
21
|
24
|
//- Fullscreen gallery component for every gallery block
|
|
22
|
25
|
gallery(
|
|
23
|
26
|
v-if="activeGalleryIndex == (i - 1)"
|