-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgallery.html
128 lines (103 loc) · 3.72 KB
/
gallery.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
---
layout: default
popup-gallery: true
gallery-background: bg-dark
gallery:
- column-size: col-4_sm-12
aspect-ratio: square
background_image: /images/the-sleep-co-pug.jpg
type: pug
- column-size: col-4_sm-12
aspect-ratio: square
background_image: /images/the-sleep-co-bed.jpg
type: pug
- column-size: col-4_sm-12
aspect-ratio: square
background_image: /images/the-sleep-co-pug.jpg
type: pug
- column-size: col-12_sm-12
aspect-ratio: square
background_image: /images/the-sleep-co-lamp.jpg
type: cat
- column-size: col-6_sm-12
aspect-ratio: square
background_image: /images/the-sleep-co-pillow.jpg
type: rabbit
- column-size: col-6_sm-12
aspect-ratio: square
background_image: /images/the-sleep-co-pug.jpg
type: rabbit
---
<header class="grid tall-100 md-tall-80">
{% include header-nav.html %}
<div class="col-12 text-center">
<h3 class="font-weight-extra-bold editable" data-aos="fade-in" data-aos-duration="1000">
<span class="featured-text"> See it </span> to believe it
</h3>
<h1 class="font-weight-normal editable" data-aos="fade-up" data-aos-delay="500"> the ultimate mattress solution
</h1>
</div>
</header>
{% if page.popup-gallery == true %}
<!-- Popup Gallery -->
<section class="padded {{page.gallery-background}}">
<h2> Popup Gallery</h2>
<div class="gallery grid" id="lightgallery">
{% for item in page.gallery %}
{% if item.type != 'pug' %}
<a class="{{item.column-size}}" href="{{item.background_image}}">
<div class="bg-image {{item.aspect-ratio}}" style="background-image: url('{{item.background_image}}');">
</div>
</a>
{% endif %}
{% endfor %}
</div>
</section>
{% else %}
<!-- Standard Gallery -->
<section class="padded {{page.gallery-background}}">
<h2> Standard Gallery</h2>
<!-- Standard Gallery -->
<div class="gallery grid">
{% for item in page.gallery %}
<div class="{{item.column-size}}">
<div class="bg-image {{item.aspect-ratio}}" style="background-image: url('{{item.background_image}}');">
</div>
</div>
{% endfor %}
</div>
</section>
{% endif %}
<!------------------------------------ testimonial section ------------------------------->
{% include testimonial.html %}
<!-- <div class="gallery grid">
<div class="col-6">
<div class="bg-image square bg-img-1"></div>
</div>
<div class="col-6">
<div class="bg-image square bg-img-2 bg-pos-b"></div>
</div>
<div class="col-4_xs-12">
<div class="bg-image portrait-tall bg-img-3"></div>
</div>
<div class="col-4_xs-12">
<div class="bg-image portrait-tall bg-img-4"></div>
</div>
<div class="col-4_xs-12">
<div class="bg-image portrait-tall"></div>
</div>
<div class="col-12">
<div class="bg-image landscape bg-img-5 "></div>
</div> -->
</div>
<!-- <div class="gallery grid" id="lightgallery-2">
<a class="button" href="/images/the-sleep-co-pug.jpg" title="Comfy Pug">
View our work
</a>
<a href="/images/the-sleep-co-bed.jpg" title="Comfy Bed"></a>
<a href="/images/the-sleep-co-lamp.jpg" title="Comfy Lamp"></a>
<a href="/images/the-sleep-co-pillow.jpg" title="Comfy Pillow"></a>
<a href="/images/the-sleep-co-pug.jpg" title="Comfy Pug"></a>
<a href="/images/the-sleep-co-lamp.jpg" title="Comfy Lamp"></a>
<a href="/images/the-sleep-co-pug.jpg" title="Comfy Pug"></a>
</div> -->