rebly-sections 1.0.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/assets/data/block-patterns.csv +160 -0
  2. package/assets/data/component-library/GDPR-modal.liquid +183 -0
  3. package/assets/data/component-library/Ishi_parallaxblockstyle1.liquid +331 -0
  4. package/assets/data/component-library/_index.csv +157 -19
  5. package/assets/data/component-library/about.liquid +1557 -0
  6. package/assets/data/component-library/adv-header.liquid +344 -0
  7. package/assets/data/component-library/adv-navigation.liquid +542 -0
  8. package/assets/data/component-library/announcement-bar.liquid +42 -60
  9. package/assets/data/component-library/article.liquid +242 -0
  10. package/assets/data/component-library/axeo-perfume-cosmetics-store-shopify-theme-about.liquid +1557 -0
  11. package/assets/data/component-library/basel-gl_newsletter_pets.liquid +612 -0
  12. package/assets/data/component-library/bixbang-fullpackage-collection-template.liquid +990 -0
  13. package/assets/data/component-library/blog-sidebar-article.liquid +51 -0
  14. package/assets/data/component-library/blog-sidebar-deals.liquid +189 -0
  15. package/assets/data/component-library/blog-sidebar-instagram.liquid +126 -0
  16. package/assets/data/component-library/blog-sidebar-tags.liquid +30 -0
  17. package/assets/data/component-library/blog.liquid +371 -0
  18. package/assets/data/component-library/brands-page.liquid +114 -0
  19. package/assets/data/component-library/cake-shop-shopify-theme-for-bakery-and-cafe-home-support-blo.liquid +780 -0
  20. package/assets/data/component-library/collection-template-promotion.liquid +1139 -0
  21. package/assets/data/component-library/collection-template.liquid +146 -0
  22. package/assets/data/component-library/contact-us.liquid +663 -0
  23. package/assets/data/component-library/contact.liquid +256 -0
  24. package/assets/data/component-library/copyright_payment.liquid +95 -0
  25. package/assets/data/component-library/custom-content.liquid +832 -0
  26. package/assets/data/component-library/faq-template-3.liquid +1014 -0
  27. package/assets/data/component-library/footer-model-1.liquid +503 -0
  28. package/assets/data/component-library/footer-model-10.liquid +210 -0
  29. package/assets/data/component-library/footer-model-2.liquid +460 -0
  30. package/assets/data/component-library/footer-model-3.liquid +548 -0
  31. package/assets/data/component-library/footer-model-4.liquid +455 -0
  32. package/assets/data/component-library/footer-model-5.liquid +407 -0
  33. package/assets/data/component-library/footer-model-6.liquid +543 -0
  34. package/assets/data/component-library/footer-model-7.liquid +345 -0
  35. package/assets/data/component-library/footer-model-8.liquid +279 -0
  36. package/assets/data/component-library/footer-model-9.liquid +376 -0
  37. package/assets/data/component-library/gallery.liquid +236 -0
  38. package/assets/data/component-library/gecko-shopify-v5-7-6-nulled-manual_blog.liquid +720 -0
  39. package/assets/data/component-library/gl_newsletter_pets.liquid +612 -0
  40. package/assets/data/component-library/gp-logo-list.liquid +362 -0
  41. package/assets/data/component-library/grid-banner-type-3-b.liquid +655 -0
  42. package/assets/data/component-library/header-model-1.liquid +427 -0
  43. package/assets/data/component-library/header-model-10.liquid +599 -0
  44. package/assets/data/component-library/header-model-2.liquid +633 -0
  45. package/assets/data/component-library/header-model-3.liquid +415 -0
  46. package/assets/data/component-library/header-model-4.liquid +754 -0
  47. package/assets/data/component-library/header-model-5.liquid +562 -0
  48. package/assets/data/component-library/header-model-6.liquid +713 -0
  49. package/assets/data/component-library/header-model-7.liquid +743 -0
  50. package/assets/data/component-library/header-model-8.liquid +500 -0
  51. package/assets/data/component-library/header-model-9.liquid +506 -0
  52. package/assets/data/component-library/home-blog-posts-1.liquid +399 -0
  53. package/assets/data/component-library/home-blog-posts-2.liquid +393 -0
  54. package/assets/data/component-library/home-blog-posts-3.liquid +545 -0
  55. package/assets/data/component-library/home-brand-slider.liquid +224 -0
  56. package/assets/data/component-library/home-circled-block.liquid +332 -0
  57. package/assets/data/component-library/home-contact-block-1.liquid +395 -0
  58. package/assets/data/component-library/home-contact-block-2.liquid +372 -0
  59. package/assets/data/component-library/home-content-block-1.liquid +320 -0
  60. package/assets/data/component-library/home-donut-chart.liquid +335 -0
  61. package/assets/data/component-library/home-fade-in-banner.liquid +277 -0
  62. package/assets/data/component-library/home-faq-model.liquid +323 -0
  63. package/assets/data/component-library/home-featured-blog.liquid +1462 -0
  64. package/assets/data/component-library/home-featured-collections.liquid +484 -0
  65. package/assets/data/component-library/home-gallery-block1.liquid +276 -0
  66. package/assets/data/component-library/home-gallery-block2.liquid +396 -0
  67. package/assets/data/component-library/home-grid-banner-type-1.liquid +371 -0
  68. package/assets/data/component-library/home-grid-banner-type-2.liquid +362 -0
  69. package/assets/data/component-library/home-grid-banner-type-3.liquid +374 -0
  70. package/assets/data/component-library/home-grid-banner-type-4.liquid +900 -0
  71. package/assets/data/component-library/home-grid-banner-type-5.liquid +368 -0
  72. package/assets/data/component-library/home-grid-banner-type-6.liquid +382 -0
  73. package/assets/data/component-library/home-grid-banner-type-7.liquid +371 -0
  74. package/assets/data/component-library/home-hotspot-with-product-carousel.liquid +1425 -0
  75. package/assets/data/component-library/home-image-gallery.liquid +1087 -0
  76. package/assets/data/component-library/home-instagram.liquid +356 -0
  77. package/assets/data/component-library/home-newsletter.liquid +246 -0
  78. package/assets/data/component-library/home-number-counter.liquid +790 -0
  79. package/assets/data/component-library/home-price-table.liquid +416 -0
  80. package/assets/data/component-library/home-pricing-table.liquid +1076 -0
  81. package/assets/data/component-library/home-product-grid.liquid +413 -0
  82. package/assets/data/component-library/home-product-tab-1.liquid +528 -0
  83. package/assets/data/component-library/home-product-tab-2.liquid +342 -0
  84. package/assets/data/component-library/home-product-tab-3.liquid +357 -0
  85. package/assets/data/component-library/home-product-vertical-carousel.liquid +477 -0
  86. package/assets/data/component-library/home-quotes-1.liquid +274 -0
  87. package/assets/data/component-library/home-quotes-2.liquid +239 -0
  88. package/assets/data/component-library/home-quotes-3.liquid +244 -0
  89. package/assets/data/component-library/home-quotes-4.liquid +258 -0
  90. package/assets/data/component-library/home-slider-width-promo-images.liquid +1377 -0
  91. package/assets/data/component-library/home-slideshow-type-1.liquid +656 -0
  92. package/assets/data/component-library/home-slideshow-type-2.liquid +570 -0
  93. package/assets/data/component-library/home-specification-block-1.liquid +468 -0
  94. package/assets/data/component-library/home-specification-block-2.liquid +291 -0
  95. package/assets/data/component-library/home-specification-block-3.liquid +429 -0
  96. package/assets/data/component-library/home-support-block.liquid +392 -0
  97. package/assets/data/component-library/home-testimonial.liquid +1348 -0
  98. package/assets/data/component-library/home-video-banner.liquid +317 -0
  99. package/assets/data/component-library/home-wide-banner.liquid +327 -0
  100. package/assets/data/component-library/icon-with-content.liquid +478 -0
  101. package/assets/data/component-library/instafeed.liquid +1 -0
  102. package/assets/data/component-library/kea-ecommerce-interior-furniture-shopify-theme-about.liquid +1300 -0
  103. package/assets/data/component-library/kidslife-responsive-shopify-theme-home-number-counter.liquid +729 -0
  104. package/assets/data/component-library/logo-bar.liquid +314 -0
  105. package/assets/data/component-library/lookbook.liquid +367 -0
  106. package/assets/data/component-library/manual_blog.liquid +724 -0
  107. package/assets/data/component-library/navigation-etc.liquid +642 -0
  108. package/assets/data/component-library/newsletter.liquid +246 -0
  109. package/assets/data/component-library/order-form.liquid +96 -0
  110. package/assets/data/component-library/page-catev1-template.liquid +344 -0
  111. package/assets/data/component-library/popup_video.liquid +396 -0
  112. package/assets/data/component-library/product-sidebar-bestsellers.liquid +99 -0
  113. package/assets/data/component-library/product-sidebar-deals.liquid +158 -0
  114. package/assets/data/component-library/product-template-2.liquid +629 -0
  115. package/assets/data/component-library/product-template-3.liquid +670 -0
  116. package/assets/data/component-library/product-template-4.liquid +627 -0
  117. package/assets/data/component-library/product-template-5.liquid +652 -0
  118. package/assets/data/component-library/product-template.liquid +698 -0
  119. package/assets/data/component-library/rich-text.liquid +541 -0
  120. package/assets/data/component-library/section-countdown-v2.liquid +215 -0
  121. package/assets/data/component-library/services.liquid +596 -0
  122. package/assets/data/component-library/shipping_info.liquid +327 -0
  123. package/assets/data/component-library/sidebar-bestsellers.liquid +109 -0
  124. package/assets/data/component-library/sidebar-category.liquid +105 -0
  125. package/assets/data/component-library/sidebar-colors.liquid +104 -0
  126. package/assets/data/component-library/single_product_feature.liquid +1892 -0
  127. package/assets/data/component-library/social-links-menu.liquid +244 -0
  128. package/assets/data/component-library/someone-purchased.liquid +190 -0
  129. package/assets/data/component-library/special-offer-area.liquid +530 -0
  130. package/assets/data/component-library/theno-minimal-clean-watch-store-shopify-theme-page-catev1-te.liquid +344 -0
  131. package/assets/data/component-library/top-bar-type-1.liquid +200 -0
  132. package/assets/data/component-library/top-bar-type-10.liquid +395 -0
  133. package/assets/data/component-library/top-bar-type-11.liquid +395 -0
  134. package/assets/data/component-library/top-bar-type-2.liquid +106 -0
  135. package/assets/data/component-library/top-bar-type-3.liquid +205 -0
  136. package/assets/data/component-library/top-countdown-bar.liquid +116 -0
  137. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-image-gallery.liquid +783 -0
  138. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-pricing-table.liquid +1043 -0
  139. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-testimonial.liquid +1338 -0
  140. package/assets/data/component-library/video.liquid +511 -0
  141. package/assets/data/component-library/waffy-spices-dry-fruits-store-shopify-theme-v-1-1-contact-us.liquid +523 -0
  142. package/assets/data/design-tokens.csv +93 -57
  143. package/assets/data/schema-library.csv +48 -46
  144. package/assets/data/settings-profiles.csv +235 -0
  145. package/assets/data/shopify-best-practices.csv +58 -36
  146. package/assets/scripts/backfill-component-index.py +102 -0
  147. package/assets/scripts/core.py +30 -8
  148. package/assets/scripts/fix-schema-library.py +42 -0
  149. package/assets/scripts/kb-analyzer-helpers.py +136 -0
  150. package/assets/scripts/kb-analyzer.py +186 -0
  151. package/assets/scripts/kb-builder.py +32 -63
  152. package/assets/scripts/kb-constants.py +62 -0
  153. package/assets/scripts/kb-extractor-helpers.py +178 -0
  154. package/assets/scripts/kb-extractor.py +106 -170
  155. package/assets/scripts/kb-synthesizer.py +251 -0
  156. package/assets/scripts/quality-gate-checks.py +55 -0
  157. package/assets/scripts/quality-gate.py +56 -2
  158. package/assets/scripts/section-generator-helpers.py +74 -0
  159. package/assets/scripts/section-generator.py +59 -49
  160. package/assets/templates/generation-prompt.md +78 -14
  161. package/package.json +1 -1
@@ -0,0 +1,376 @@
1
+ <div data-section-id="{{ section.id }}" data-section-type="Footer-model-9" class="footer-model-9">
2
+ <footer class="site-footer" style="background-color:{{ section.settings.footer_bg_clr }};{% if section.settings.footer_bg_img %} background-image:url('{{ section.settings.image_1 | img_url: 'master' }}');background-repeat:no-repeat;background-size:cover;background-position:center;{% endif %}">
3
+ <div class="container">
4
+ <div class="grid-uniform">
5
+
6
+ {% assign num_footer_columns = 0 %}
7
+ {%- assign footer_linklist1 = section.settings.footer_menu_1 %}
8
+ {% if linklists[footer_linklist1].links.size > 0 %}
9
+ {% assign num_footer_columns = num_footer_columns | plus: 1 %}
10
+ {% endif %}
11
+
12
+ {%- assign footer_linklist2 = section.settings.footer_menu_2 %}
13
+ {% if linklists[footer_linklist2].links.size > 0 %}
14
+ {% assign num_footer_columns = num_footer_columns | plus: 1 %}
15
+ {% endif %}
16
+
17
+ {%- assign footer_linklist3 = section.settings.footer_menu_3 %}
18
+ {% if linklists[footer_linklist3].links.size > 0 %}
19
+ {% assign num_footer_columns = num_footer_columns | plus: 1 %}
20
+ {% endif %}
21
+
22
+ {% case num_footer_columns %}
23
+ {% when 0 %}
24
+ {% when 1 %}
25
+ {% assign footer_num_column_width = 'text-left' %}
26
+ {% when 2 %}
27
+ {% assign footer_num_column_width = 'wide--one-half post-large--one-half large--one-half medium--one-third' %}
28
+ {% when 3 %}
29
+ {% assign footer_num_column_width = 'wide--one-third post-large--one-third large--one-third medium--one-third' %}
30
+ {% else %}
31
+ {% assign footer_num_column_width = 'wide--one-third post-large--one-third large--one-third medium--one-third' %}
32
+ {% endcase %}
33
+
34
+
35
+ <div class="grid__item wide--two-thirds post-large--two-thirds">
36
+ {%- assign footer_linklist1 = section.settings.footer_menu_1 %}
37
+ {% if linklists[footer_linklist1].links.size > 0 %}
38
+ <div class="grid__item {{ footer_num_column_width }}">
39
+ {% if section.settings.footer_menu_1_title != blank %}
40
+ <h4 style="color:{{ section.settings.footer_text }};">{{ section.settings.footer_menu_1_title }}</h4>
41
+ {% endif %}
42
+ <ul class="site-footer__links">
43
+ {% for link in linklists[section.settings.footer_menu_1].links %}
44
+ <li><a style="color:{{ section.settings.footer_link }};" href="{{ link.url }}">{{ link.title }}</a></li>
45
+ {% endfor %}
46
+ </ul>
47
+ </div>
48
+ {% endif %}
49
+
50
+
51
+ {%- assign footer_linklist2 = section.settings.footer_menu_2 %}
52
+ {% if linklists[footer_linklist2].links.size > 0 %}
53
+ <div class="grid__item {{ footer_num_column_width }}">
54
+ {% if section.settings.footer_menu_2_title != blank %}
55
+ <h4 style="color:{{ section.settings.footer_text }};"> {{ section.settings.footer_menu_2_title }}</h4>
56
+ {% endif %}
57
+ <ul class="site-footer__links">
58
+ {% for link in linklists[section.settings.footer_menu_2].links %}
59
+ <li><a style="color:{{ section.settings.footer_link }};" href="{{ link.url }}">{{ link.title }}</a></li>
60
+ {% endfor %}
61
+ </ul>
62
+ </div>
63
+ {% endif %}
64
+
65
+ {%- assign footer_linklist3 = section.settings.footer_menu_3 %}
66
+ {% if linklists[footer_linklist3].links.size > 0 %}
67
+ <div class="grid__item {{ footer_num_column_width }}">
68
+ {% if section.settings.footer_menu_3_title != blank %}
69
+ <h4 style="color:{{ section.settings.footer_text }};">{{ section.settings.footer_menu_3_title }}</h4>
70
+ {% endif %}
71
+ <ul class="site-footer__links">
72
+ {% for link in linklists[section.settings.footer_menu_3].links %}
73
+ <li><a style="color:{{ section.settings.footer_link }};" href="{{ link.url }}">{{ link.title }}</a></li>
74
+ {% endfor %}
75
+ </ul>
76
+ </div>
77
+ {% endif %}
78
+ </div>
79
+
80
+ <div class="grid__item wide--one-third post-large--one-third">
81
+
82
+ <div class="grid__item">
83
+ {% if section.settings.footer_newsletter_enable %}
84
+ {% if section.settings.title != blank %}
85
+ <h4 style="color:{{ section.settings.footer_text }}">{{ section.settings.title}}</h4>
86
+ {% endif %}
87
+ {% if section.settings.text != blank %}
88
+ <p style="color:{{ section.settings.footer_text }};">{{ section.settings.text }}</p>
89
+ {% endif %}
90
+
91
+ {% form 'customer' %}
92
+ {{ form.errors | default_errors }}
93
+ {% if form.posted_successfully? %}
94
+ <p class="note form-success">{{ 'general.newsletter_form.mailing_list_success_message' | t }}</p>
95
+ {% else %}
96
+ <div class="input-group">
97
+ <input style="color:{{ settings.primary_hover_btn_text }};" type="email" value="{% if customer %}{{ customer.email }}{% endif %}" placeholder="{{ 'general.newsletter_form.newsletter_email' | t }}" name="contact[email]" class="mail" aria-label="{{ 'general.newsletter_form.newsletter_email' | t }}" >
98
+ <input type="hidden" name="contact[tags]" value="newsletter">
99
+ <button style="color:{{ section.settings.link_clr }};" type="submit" class="btn subscribe" name="subscribe" value="{{ 'general.newsletter_form.submit' | t }}">{{ 'general.newsletter_form.submit' | t }}</button>
100
+ </div>
101
+ {% endif %}
102
+ {% endform %}
103
+ {% endif %}
104
+
105
+ {% if section.settings.footer_social_enable %}
106
+ <div class="footer_social_links">
107
+ {% include 'social-links-type-6' %}
108
+ </div>
109
+ {% endif %}
110
+ </div>
111
+
112
+ </div>
113
+
114
+ </div>
115
+ </div>
116
+ </footer>
117
+
118
+
119
+
120
+ <div class="grid__item">
121
+
122
+
123
+
124
+ <div style="background:{{ section.settings.copyright_bg }};" class="grid__item copyright-section {% unless section.settings.footer_show_methods_of_payment %}text-center{% endunless %}">
125
+ <div class="container">
126
+ {% if section.settings.show_powered_by and section.settings.copyright != blank %}
127
+ <p style="color:{{ section.settings.copyright_text }};" class="copyright">{{ section.settings.copyright }} {{ powered_by_link }}</p>
128
+ {% endif %}
129
+
130
+ <ul class="inline-list">
131
+ {%- assign footer_linklist4 = section.settings.footer_menu %}
132
+ {% if linklists[footer_linklist4].links.size > 0 %}
133
+ {% for link in linklists[section.settings.footer_menu].links %}
134
+ <li class="{% if link.active %}current_page_item{% endif %}">
135
+ <a style="color:{{ section.settings.copyright_text }};" href="{{ link.url }}" class="menu_{{forloop.index }}">{{ link.title}}</a>
136
+ </li>
137
+ {% endfor %}
138
+ </ul>
139
+ {% endif %}
140
+
141
+ {% if section.settings.footer_show_methods_of_payment %}
142
+ <div class="payment_section">
143
+ <div class="footer-icons">
144
+ <ul class="inline-list payment-icons">
145
+ {%- for type in shop.enabled_payment_types -%}
146
+ <li class="payment-icon">
147
+ {{ type | payment_type_svg_tag }}
148
+ </li>
149
+ {% endfor %}
150
+ </ul>
151
+ </div>
152
+ </div>
153
+ {% endif %}
154
+
155
+ </div>
156
+ </div>
157
+ </div>
158
+ </div>
159
+
160
+ <style>
161
+
162
+ .footer-model-9 .footer_social_links ul li a {color:{{ section.settings.footer_social_link }} ; }
163
+ .footer-model-9 .footer_social_links ul li a:hover { color:{{ section.settings.footer_social_link_hover }}; }
164
+ .footer-model-9 .site-footer__links li a:hover, .footer-model-9 .mail-address:hover { color:{{ section.settings.color_footer_link_hover }} !important; }
165
+ .footer-model-9 .footer-bottom .footer-bottom__menu ul li a:hover { color:{{ section.settings.footer_bottom_text_hover }} !important; }
166
+ .footer-model-9 .copyright a { color:{{ section.settings.copyright_link }}; }
167
+ .footer-model-9 .copyright a:hover { color:{{ section.settings.copyright_link_hover }}; }
168
+ .footer-model-9 h5 {color:{{ section.settings.footer_text }}; }
169
+ .footer-model-9 .footer_social_links {border-right:1px solid {{section.settings.border_clr}};}
170
+ {% if section.settings.show_footer_overlay != blank %} .footer-model-9 .site-footer::before {background:{{section.settings.overlay_bg_color}};{% endif %}
171
+
172
+
173
+
174
+ </style>
175
+
176
+ {% schema %}
177
+ {
178
+ "name": "Footer",
179
+ "settings": [
180
+ {
181
+ "type": "color",
182
+ "id": "footer_bg_clr",
183
+ "label":"Background",
184
+ "default": "#fff"
185
+ },
186
+ {
187
+ "type": "checkbox",
188
+ "id": "show_footer_overlay",
189
+ "label": "Show footer Overlay"
190
+ },
191
+ {
192
+ "type": "color",
193
+ "id": "overlay_bg_color",
194
+ "label": "Overlay BG Color",
195
+ "default":"#000"
196
+ },
197
+ {
198
+ "type": "checkbox",
199
+ "id": "footer_bg_img",
200
+ "label": "Footer Image?"
201
+ },
202
+ {
203
+ "type": "image_picker",
204
+ "id": "image_1",
205
+ "label": "Image"
206
+ },
207
+ {
208
+ "type": "color",
209
+ "id": "footer_text",
210
+ "label": "Footer Title",
211
+ "default":"#000"
212
+ },
213
+
214
+
215
+ {
216
+ "type": "text",
217
+ "id": "footer_menu_1_title",
218
+ "label": "Heading",
219
+ "default": "Footer menu 1"
220
+ },
221
+ {
222
+ "type": "link_list",
223
+ "id": "footer_menu_1",
224
+ "label": "Footer link"
225
+ },
226
+ {
227
+ "type": "text",
228
+ "id": "footer_menu_2_title",
229
+ "label": "Heading",
230
+ "default": "Footer menu 2"
231
+ },
232
+ {
233
+ "type": "link_list",
234
+ "id": "footer_menu_2",
235
+ "label": "Footer link"
236
+ },
237
+
238
+ {
239
+ "type": "text",
240
+ "id": "footer_menu_3_title",
241
+ "label": "Heading",
242
+ "default": "Footer menu 3"
243
+ },
244
+
245
+
246
+ {
247
+ "type": "link_list",
248
+ "id": "footer_menu_3",
249
+ "label": "Footer link"
250
+ },
251
+
252
+ {
253
+ "type": "color",
254
+ "id": "footer_link",
255
+ "label": "Footer Text",
256
+ "default":"#000"
257
+ },
258
+ {
259
+ "type": "color",
260
+ "id": "color_footer_link_hover",
261
+ "label": "Footer Link Hover",
262
+ "default": "#636363"
263
+ },
264
+ {
265
+ "type": "color",
266
+ "id": "footer_icons_bg",
267
+ "label": "Icon Section Bg",
268
+ "default": "#fff"
269
+ },
270
+ {
271
+ "type": "checkbox",
272
+ "id": "footer_social_enable",
273
+ "label": "Show social media icons",
274
+ "default": true
275
+ },
276
+ {
277
+ "type": "text",
278
+ "id": "social_title",
279
+ "label": "Social heaidng"
280
+ },
281
+ {
282
+ "type": "color",
283
+ "id": "social_icon_clr",
284
+ "label": " Social Media Icons Link",
285
+ "default": "#000"
286
+ },
287
+ {
288
+ "type": "color",
289
+ "id": "footer_social_link_hover",
290
+ "label": " Social Media Icons Link Hover",
291
+ "default": "#000"
292
+ },
293
+ {
294
+ "type": "link_list",
295
+ "id": "footer_menu",
296
+ "label": "Footer bottom menu"
297
+ },
298
+ {
299
+ "type": "checkbox",
300
+ "id": "show_powered_by",
301
+ "label": "Show 'Powered by Shopify'",
302
+ "default": true
303
+ },
304
+ {
305
+ "type": "text",
306
+ "id": "copyright",
307
+ "label": "Copyright",
308
+ "default":"Copyright"
309
+ },
310
+ {
311
+ "type": "color",
312
+ "id": "copyright_bg",
313
+ "label": "Copyright Bg",
314
+ "default":"#000"
315
+ },
316
+ {
317
+ "type": "color",
318
+ "id": "copyright_text",
319
+ "label": "Copyright Text",
320
+ "default":"#000"
321
+ },
322
+ {
323
+ "type": "color",
324
+ "id": "copyright_link",
325
+ "label": "Copyright Link",
326
+ "default":"#000"
327
+ },
328
+ {
329
+ "type": "color",
330
+ "id": "copyright_link_hover",
331
+ "label": "Copyright Link Hover",
332
+ "default":"#000"
333
+ },
334
+ {
335
+ "type": "header",
336
+ "content": "Payment Methods"
337
+ },
338
+ {
339
+ "type": "checkbox",
340
+ "id": "footer_show_methods_of_payment",
341
+ "label": "Show payment method",
342
+ "default": false
343
+ },
344
+ {
345
+ "type": "color",
346
+ "id": "border_clr",
347
+ "label": "Border Color",
348
+ "default":"#000"
349
+ },
350
+ {
351
+ "type": "header",
352
+ "content": "Newsletter"
353
+ },
354
+
355
+ { "type": "checkbox",
356
+ "id": "footer_newsletter_enable",
357
+ "label": "Show newsletter",
358
+ "default": true
359
+ },
360
+ {
361
+ "type": "text",
362
+ "id": "title",
363
+ "label": "Heading",
364
+ "default": "Newsletter"
365
+ },
366
+ {
367
+ "type": "text",
368
+ "id": "text",
369
+ "label": "Description",
370
+ "default": "Subscribe our newsletter"
371
+ }
372
+
373
+
374
+ ]
375
+ }
376
+ {% endschema %}
@@ -0,0 +1,236 @@
1
+ <div data-section-id="{{ section.id }}" data-section-type="gallery_page" class="gallery_page">
2
+ <div class="grid-uniform collectionItems">
3
+ <div class="wrapper">
4
+ <div class="banner-images">
5
+ {% if section.blocks.size > 0 %}
6
+ {% for block in section.blocks %}
7
+ {% case section.blocks.size %}
8
+ {% when 1 %}
9
+ {%- assign block_width = 'one-whole text-center' -%}
10
+ {% when 2 %}
11
+ {%- assign block_width = 'wide--one-half post-large--one-half large--one-half medium--one-half small-grid__item' -%}
12
+ {% when 3 %}
13
+ {%- assign block_width = 'wide--one-third post-large--one-third large--one-third medium--one-half small-grid__item' -%}
14
+ {% when 4 %}
15
+ {%- assign block_width = 'wide--one-quarter post-large--one-quarter large--one-half medium--one-half small-grid__item' -%}
16
+ {% else %}
17
+ {%- assign block_width = 'wide--one-third post-large--one-third large--one-half medium--one-half small-grid__item' -%}
18
+ {% endcase %}
19
+
20
+
21
+
22
+
23
+
24
+
25
+ <div class="grid__item {{ block_width }} wow fadeInUp animated">
26
+ <div class="bg-effect-{{block.id }} gallery" style="position:relative;">
27
+ {% unless section.settings.use_overlay_icons %}
28
+ <a href="{% if block.settings.image != blank %}{{ block.settings.image | img_url: 'master' }}{% else %}//via.placeholder.com/420x420{% endif %}" data-fancybox="images" data-caption="{{block.settings.title}}">
29
+ {% endunless %}
30
+
31
+ {% if block.settings.image != blank %}
32
+ <img src="{{ block.settings.image | img_url: '650x' }}" alt="{{ block.settings.title }}" />
33
+ {% else %}
34
+ <img src="//via.placeholder.com/650x760" />
35
+ {% endif %}
36
+ <div class="ovrly17">
37
+ {% if section.settings.use_overlay %}
38
+ <div class="image-overlay">
39
+ {% endif %}
40
+ {% if section.settings.use_overlay_icons %}
41
+
42
+ <div class="links">
43
+ <a href="{% if block.settings.image != blank %}{{ block.settings.image | img_url: 'master' }}{% else %}//via.placeholder.com/420x420{% endif %}" data-fancybox="images" data-caption="{{block.settings.title}}"><i class="fa fa-search"></i></a>
44
+
45
+
46
+ <a href="{{ block.settings.gallery_link }}" class="link"><i class="fa fa-link"></i></a>
47
+ </div>
48
+ {% endif %}
49
+ {% if block.settings.gallery_title != blank or block.settings.category != blank %}
50
+ <div class="image-overlay-details">
51
+ {% if block.settings.gallery_title != blank %} <h4><a href="{{ block.settings.gallery_link }}">{{ block.settings.gallery_title }}</a></h4>{% endif %}
52
+ {% if block.settings.category != blank %} <p>{{ block.settings.category }}</p>{% endif %}
53
+ </div>
54
+ {% endif %}
55
+ {% if section.settings.use_overlay %}
56
+ </div>
57
+ {% endif %}
58
+ </div>
59
+
60
+ {% unless section.settings.use_overlay_icons %}
61
+ </a>
62
+ {% endunless %}
63
+ </div>
64
+ </div>
65
+
66
+ {% endfor %}
67
+ {% endif %}
68
+ </div>
69
+ </div>
70
+ </div>
71
+
72
+ <div class="dt-sc-hr-invisible-large"></div>
73
+
74
+ </div>
75
+
76
+
77
+
78
+ <style>
79
+ {% if section.settings.use_overlay %}
80
+
81
+ {% assign hex2rgb_hex = section.settings.img_overlay %}
82
+
83
+
84
+ .gallery_page .gallery .image-overlay { background:{{section.settings.img_overlay | color_modify: 'alpha', 0.7 }} }
85
+ {% endif %}
86
+ .gallery_page .gallery:hover .image-overlay { opacity: 1;}
87
+ .gallery_page .gallery .links a { border:2px solid {{ section.settings.img_overlay_icon }};color:{{ section.settings.img_overlay_icon_txt }}; }
88
+ .gallery_page .gallery .links a:hover { border-color:{{ section.settings.img_overlay_icon_bg }};background:{{ section.settings.img_overlay_icon_bg }};color:{{ section.settings.img_overlay_icon_hover_txt }}; }
89
+ .gallery_page .gallery .image-overlay-details h4 a { color:{{ section.settings.img_overlay_title }}; }
90
+ .gallery_page .gallery .image-overlay-details p { color:{{ section.settings.img_overlay_catgry }}; }
91
+
92
+ .gallery_page .grid__item .gallery .image-overlay-details { background:{{section.settings.texthover_bg_color | color_modify: 'alpha', 0.7 }}!important;}
93
+ /* .gallery_page .collectionItems .ovrly17::after{background:{{section.settings.overlay_bg_color}};}*/
94
+
95
+ .gallery_page .grid__item:hover h2 {background:{{section.settings.texthover_bg_color | color_modify: 'alpha', 0.7 }}!important;color:{{section.settings.texthover_txt_color}}!important;}
96
+
97
+ .gallery_page .grid__item:hover h2 a{color:{{section.settings.texthover_txt_color}}!important;}
98
+ </style>
99
+
100
+
101
+
102
+ {% schema %}
103
+ {
104
+ "name": "Gallery Block",
105
+
106
+ "max_blocks":100,
107
+ "settings": [
108
+ {
109
+ "type": "text",
110
+ "id": "portfolio_title",
111
+ "label": "Heading",
112
+ "default": "Best Sellers"
113
+ },
114
+ {
115
+ "type": "color",
116
+ "id": "portfolio_title_clr",
117
+ "label": "Heading",
118
+ "default": "#000"
119
+ },
120
+ {
121
+ "type": "richtext",
122
+ "id": "portfolio_text",
123
+ "label": "Description"
124
+ },
125
+ {
126
+ "type": "color",
127
+ "id": "portfolio_text_clr",
128
+ "label": "Description",
129
+ "default": "#000"
130
+ },
131
+ {
132
+ "type": "checkbox",
133
+ "id": "use_overlay",
134
+ "label": "Use Overlay"
135
+ },
136
+ {
137
+ "type": "color",
138
+ "id": "img_overlay",
139
+ "label": "Image Overlay",
140
+ "default": "#000"
141
+ },
142
+ {
143
+ "type": "color",
144
+ "id": "img_overlay_title",
145
+ "label": "Overlay Title",
146
+ "default": "#000"
147
+ },
148
+ {
149
+ "type": "color",
150
+ "id": "img_overlay_catgry",
151
+ "label": "Overlay Category",
152
+ "default": "#000"
153
+ },
154
+ {
155
+ "type": "checkbox",
156
+ "id": "use_overlay_icons",
157
+ "label": "Use Overlay Icons"
158
+ },
159
+ {
160
+ "type": "color",
161
+ "id": "img_overlay_icon",
162
+ "label": "Overlay Icon Border",
163
+ "default": "#000"
164
+ },
165
+ {
166
+ "type": "color",
167
+ "id": "img_overlay_icon_txt",
168
+ "label": "Overlay Icon Text",
169
+ "default": "#000"
170
+ },
171
+ {
172
+ "type": "color",
173
+ "id": "img_overlay_icon_bg",
174
+ "label": "Overlay Icon Hover Bg",
175
+ "default": "#000"
176
+ },
177
+ {
178
+ "type": "color",
179
+ "id": "img_overlay_icon_hover_txt",
180
+ "label": "Overlay Icon Hover Text",
181
+ "default": "#000"
182
+ },
183
+ {
184
+ "type": "color",
185
+ "id": "texthover_bg_color",
186
+ "label": "Text Hover Bg Color",
187
+ "default":"#000"
188
+ },
189
+ {
190
+ "type": "color",
191
+ "id": "texthover_txt_color",
192
+ "label": "Text Hover Text Color",
193
+ "default":"#000"
194
+ }
195
+ ],
196
+ "blocks": [
197
+ {
198
+ "type": "Image",
199
+ "name": "support block",
200
+ "settings": [
201
+ {
202
+ "type": "image_picker",
203
+ "id": "image",
204
+ "label": "Image",
205
+ "info": "Size: 650x760"
206
+ },
207
+ {
208
+ "type": "text",
209
+ "id": "title",
210
+ "label": "Alt Text",
211
+ "default": "Collection Name"
212
+ },
213
+ {
214
+ "type": "text",
215
+ "id": "gallery_title",
216
+ "label": "Title"
217
+ },
218
+ {
219
+ "type": "text",
220
+ "id": "category",
221
+ "label": "Category"
222
+ },
223
+ {
224
+ "type": "url",
225
+ "id": "gallery_link",
226
+ "label": "Link"
227
+ }
228
+
229
+
230
+
231
+ ]
232
+ }
233
+ ]
234
+
235
+ }
236
+ {% endschema %}