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,372 @@
1
+ {% assign full = section.settings.full %}
2
+ {% assign margin = section.settings.margin | split: ',' %}
3
+ {% assign top = margin[0] %}
4
+ {% assign bottom = margin[1] %}
5
+
6
+ {% if section.settings.enable_hours %}
7
+ {% capture Hours %}
8
+ <div class="hours-detail" style="background-color:{{section.settings.hours_bg_color}};border:8px solid {{section.settings.hours_border_color}}; {% if section.settings.image_2 != blank %} background-image:url({{section.settings.image_2 | img_url: '1920X' }});background-repeat: no-repeat;background-position: right bottom; {% endif %}">
9
+ {% if section.settings.contact_title != blank %}
10
+ <h2 style="color:{{section.settings.contact_title_clr}}">{{ section.settings.contact_title }}</h2>
11
+ {% endif %}
12
+ {% if section.settings.small_txt != blank %}
13
+ <span class="small_txt" style="color:{{section.settings.small_txt_clr}}">{{ section.settings.small_txt }}</span>
14
+ {% endif %}
15
+ <ul>
16
+ {% if section.settings.hours_1 != blank %}
17
+ <li>{{ section.settings.hours_1 }}<span>{{section.settings.time_1}}</span></li>
18
+ {% endif %}
19
+ {% if section.settings.hours_2 != blank %}
20
+ <li>{{ section.settings.hours_2 }}<span>{{section.settings.time_2}}</span></li>
21
+ {% endif %}
22
+ {% if section.settings.hours_3 != blank %}
23
+ <li>{{ section.settings.hours_3 }}<span>{{section.settings.time_3}}</span></li>
24
+ {% endif %}
25
+ </ul>
26
+ </div>
27
+ {% endcapture %}
28
+ {% endif %}
29
+
30
+
31
+ {% if section.settings.enable_address %}
32
+ {% capture addressBlock %}
33
+ <div class="overlay-contact-detail">
34
+ {% if section.settings.address_module_title != blank %}
35
+ <h2>{{ section.settings.address_module_title }}</h2>
36
+ {% endif %}
37
+ {% if section.settings.address_module_subtitle != blank %}
38
+ <h4>{{ section.settings.address_module_subtitle }}</h4>
39
+ {% endif %}
40
+ <ul>
41
+ {% if section.settings.address_module_address != blank %}
42
+ <li><i class="fa fa-home" aria-hidden="true"></i>{{ section.settings.address_module_address}}</li>
43
+ {% endif %}
44
+ {% if section.settings.address_module_phone != blank %}
45
+ <li><i class="fa fa-phone" aria-hidden="true"></i>{{ section.settings.address_module_phone}}</li>
46
+ {% endif %}
47
+ {% if section.settings.address_module_faxnumber != blank %}
48
+ <li><i class="fa fa-fax" aria-hidden="true"></i>{{ section.settings.address_module_faxnumber}}</li>
49
+ {% endif %}
50
+ {% if section.settings.address_module_1_link != blank %}
51
+ <li><a href="{{ section.settings.address_module_1_link}}"><i class="fa fa-globe" aria-hidden="true"></i>{{ section.settings.address_module_1_linktext}}</a></li>
52
+ {% endif %}
53
+ {% if section.settings.address_module_2_link != blank %}
54
+ <li><a href="{{ section.settings.address_module_2_link}}"><i class="fa fa-envelope" aria-hidden="true"></i>{{ section.settings.address_module_2_linktext}}</a></li>
55
+ {% endif %}
56
+ </ul>
57
+ </div>
58
+ {% endcapture %}
59
+ {% endif %}
60
+
61
+ <div class="contact-block-inner" style="margin-top:{{top}}px; margin-bottom:{{bottom}}px;">
62
+ {% unless full %}
63
+ <div class="container">
64
+ {% endunless %}
65
+ <div class="grid-uniform">
66
+ <div class="container">
67
+ {% if section.settings.title != blank or section.settings.desc != blank %}
68
+ <div class="section-header section-header--small full-position-{{section.settings.heading_position}}">
69
+ <div class="border-title wow fadeInRight animated">
70
+ {% if section.settings.title != blank %}
71
+ <h2 class="newslet_title" style="color:{{ section.settings.title_color }};">{{ section.settings.title }}</h2>
72
+ {% endif %}
73
+
74
+ {% if section.settings.desc != blank %}
75
+ <div class="short-desc">
76
+ <p style="color:{{section.settings.text_color}}">{{ section.settings.desc }}</p>
77
+ </div>
78
+ {% endif %}
79
+ </div>
80
+ </div>
81
+ {% endif %}
82
+ </div>
83
+
84
+ <div class="grid__item wide--one-whole">
85
+ <div class="contact-wrapper">
86
+ <div class="map-section">
87
+ {% if section.settings.enable_gmap %}
88
+ <div id="map">{{section.settings.contact_iframe_code }} </div>
89
+ {% endif %}
90
+
91
+ {% if section.settings.enable_address %}
92
+ {{addressBlock}}
93
+ {% endif %}
94
+
95
+ {% if section.settings.enable_hours %}
96
+ {{ Hours }}
97
+ {% endif %}
98
+ </div>
99
+ </div>
100
+ </div>
101
+
102
+ </div>
103
+ {% unless full %}
104
+ </div>
105
+ {% endunless %}
106
+ </div>
107
+
108
+ <style>
109
+
110
+ {% if section.settings.contact_overlay_bg %}.contact-block .overlay-contact-detail { background-color:{{ section.settings.contact_bg | color_modify: 'alpha', 0.85 }}; } {% endif %}
111
+ .contact-block .overlay-contact-detail, .contact-block .overlay-contact-detail h2, .contact-block .overlay-contact-detail h4, .contact-block .overlay-contact-detail li a { color:{{ section.settings.address_text_color }}; }
112
+
113
+ .contact-block .hours-detail h2:before { background-color:{{ section.settings.contact_title_clr }}; }
114
+
115
+ </style>
116
+
117
+
118
+ {% schema %}
119
+ {
120
+ "name": "Contact Block 2",
121
+ "class": "index-section contact-block",
122
+ "settings": [
123
+ {
124
+ "type": "checkbox",
125
+ "id": "full",
126
+ "label": "Show Full width"
127
+ },
128
+ {
129
+ "type": "text",
130
+ "id": "margin",
131
+ "label": "Style value (Margin)",
132
+ "default":"0,0",
133
+ "info":"Top(px),Bottom(px)"
134
+ },
135
+ {
136
+ "type": "text",
137
+ "id": "title",
138
+ "label": "Heading",
139
+ "default": "Heading"
140
+ },
141
+ {
142
+ "type": "color",
143
+ "id": "title_color",
144
+ "label": "Heading Color",
145
+ "default": "#000"
146
+ },
147
+ {
148
+ "type": "text",
149
+ "id": "desc",
150
+ "label": "Desc",
151
+ "default": "Short heading"
152
+ },
153
+ {
154
+ "type": "color",
155
+ "id": "text_color",
156
+ "label": "Description",
157
+ "default": "#000"
158
+ },
159
+ {
160
+ "type": "select",
161
+ "id": "heading_position",
162
+ "label": "Heading Position",
163
+ "options": [
164
+ {
165
+ "value": "default",
166
+ "label": "Full center"
167
+ },
168
+ {
169
+ "value": "full-left",
170
+ "label": "Full left"
171
+ },
172
+ {
173
+ "value": "full-right",
174
+ "label": "Full right"
175
+ }
176
+ ]
177
+ },
178
+ {
179
+ "type": "checkbox",
180
+ "id": "enable_gmap",
181
+ "label": "Enable Contact Map?"
182
+ },
183
+ {
184
+ "type": "textarea",
185
+ "id": "contact_iframe_code",
186
+ "label": "Map Code[iframe]",
187
+ "info": "[Where do I find googlemap action URL?](https:\/\/support.google.com\/maps\/answer\/3544418?hl=en)"
188
+ },
189
+ {
190
+ "type": "header",
191
+ "content": "Working Hours"
192
+ },
193
+ {
194
+ "type": "checkbox",
195
+ "id": "enable_hours",
196
+ "label": "Enable Hours"
197
+ },
198
+ {
199
+ "type": "color",
200
+ "id": "hours_bg_color",
201
+ "label": "Hours Bg Color",
202
+ "default": "#000"
203
+ },
204
+ {
205
+ "type": "color",
206
+ "id": "hours_border_color",
207
+ "label": "Hours Border Color",
208
+ "default": "#000"
209
+ },
210
+ {
211
+ "type": "image_picker",
212
+ "id": "image_2",
213
+ "label": "Bg Image",
214
+ "info": "Size: 1100x500"
215
+ },
216
+ {
217
+ "type": "text",
218
+ "id": "contact_title",
219
+ "label": "Title",
220
+ "default":"Opening Hours"
221
+ },
222
+ {
223
+ "type": "color",
224
+ "id": "contact_title_clr",
225
+ "label": "Contact Title Color",
226
+ "default": "#000"
227
+ },
228
+ {
229
+ "type": "text",
230
+ "id": "small_txt",
231
+ "label": "Small Text",
232
+ "default":"Opening Hours"
233
+ },
234
+ {
235
+ "type": "color",
236
+ "id": "small_txt_clr",
237
+ "label": "Small Text Color",
238
+ "default": "#000"
239
+ },
240
+ {
241
+ "type": "text",
242
+ "id": "hours_1",
243
+ "label": "Hours One",
244
+ "default":"Monday to Friday :"
245
+ },
246
+ {
247
+ "type": "text",
248
+ "id": "time_1",
249
+ "label": "Time One",
250
+ "default":"09:00 – 20:00 hrs"
251
+ },
252
+ {
253
+ "type": "text",
254
+ "id": "hours_2",
255
+ "label": "Hours Two",
256
+ "default":"Saturday :"
257
+ },
258
+ {
259
+ "type": "text",
260
+ "id": "time_2",
261
+ "label": "Time Two",
262
+ "default":"09:00 – 18:00 hrs"
263
+ },
264
+ {
265
+ "type": "text",
266
+ "id": "hours_3",
267
+ "label": "Hours Three",
268
+ "default":"Sunday"
269
+ },
270
+ {
271
+ "type": "text",
272
+ "id": "time_3",
273
+ "label": "Time Three",
274
+ "default":"09:00 – 18:00 hrs*"
275
+ },
276
+ {
277
+ "type": "color",
278
+ "id": "hours_clr",
279
+ "label": "Hours Color",
280
+ "default": "#000"
281
+ },
282
+ {
283
+ "type": "header",
284
+ "content": "Address Block"
285
+ },
286
+ {
287
+ "type": "checkbox",
288
+ "id": "enable_address",
289
+ "label": "Enable address"
290
+ },
291
+ {
292
+ "type": "text",
293
+ "id": "address_module_title",
294
+ "label": "Title",
295
+ "default": "Address"
296
+ },
297
+ {
298
+ "type": "text",
299
+ "id": "address_module_subtitle",
300
+ "label": "Sub Title",
301
+ "default": "Reach Us"
302
+ },
303
+
304
+ {
305
+ "type": "text",
306
+ "id": "address_module_address",
307
+ "label": "Address",
308
+ "default": "Address line"
309
+ },
310
+ {
311
+ "type": "text",
312
+ "id": "address_module_phone",
313
+ "label": "Contact Phone Number",
314
+ "default": "+91 12345 67890"
315
+ },
316
+ {
317
+ "type": "text",
318
+ "id": "address_module_faxnumber",
319
+ "label": "Contact Fax Number",
320
+ "default": "+91 0045 67890"
321
+ },
322
+ {
323
+ "type": "url",
324
+ "id": "address_module_1_link",
325
+ "label": "Contact Link"
326
+ },
327
+ {
328
+ "type": "text",
329
+ "id": "address_module_1_linktext",
330
+ "label": "Link Text",
331
+ "default": "Link 1"
332
+ },
333
+ {
334
+ "type": "url",
335
+ "id": "address_module_2_link",
336
+ "label": "Contact Link"
337
+ },
338
+ {
339
+ "type": "text",
340
+ "id": "address_module_2_linktext",
341
+ "label": "Link Text",
342
+ "default": "Link 2"
343
+ },
344
+ {
345
+ "type": "color",
346
+ "id": "address_text_color",
347
+ "label": "Text Color",
348
+ "default": "#fff"
349
+ },
350
+ {
351
+ "type": "checkbox",
352
+ "id": "contact_overlay_bg",
353
+ "label": "Enable Overlay Bg ?",
354
+ "default": true
355
+ },
356
+ {
357
+ "type": "color",
358
+ "id": "contact_bg",
359
+ "label": "Contact Overlay Bg",
360
+ "default": "#000"
361
+ }
362
+
363
+ ],
364
+ "presets": [
365
+ {
366
+ "name": "Contact Block 2",
367
+ "category": "Form",
368
+ "blocks": [ ]
369
+ }
370
+ ]
371
+ }
372
+ {% endschema %}
@@ -0,0 +1,320 @@
1
+ {% assign full = section.settings.full %}
2
+ {% assign margin = section.settings.margin | split: ',' %}
3
+ {% assign top = margin[0] %}
4
+ {% assign bottom = margin[1] %}
5
+
6
+ <div class="content-block" style="float:left; width:100%; margin-top:{{top}}px; margin-bottom:{{bottom}}px;">
7
+ <div class="{% if section.settings.full %}{% else %}container{% endif %}">
8
+ <div class="grid-uniform">
9
+ {% if section.blocks.size > 0 %}
10
+ {% for block in section.blocks %}
11
+ <div class="section-two grid_row-flex">
12
+ <div class="grid__item wow slideInLeft wide--one-half post-large--one-half large--one-half medium--one-half small-grid__item grid_column_container">
13
+ <div class="grid_column-inner" style="background-color:{{ section.settings.left_bg }}; {% if section.settings.left_bg_img != blank %} background-image:url({{ section.settings.left_bg_img | img_url:'master' }});background-repeat:no-repeat;{% endif %}">
14
+ <div class="block-content block-content--{{ block.id }}">
15
+ {% if block.settings.title != blank %}
16
+ <h3 style="color:{{ section.settings.title_color }};">{{ block.settings.title }}</h3>
17
+ {% endif %}
18
+ {% if block.settings.sub_title != blank %}
19
+ <h4 style="color:{{ section.settings.sub_title_color }};">{{ block.settings.sub_title }}</h4>
20
+ {% endif %}
21
+ {% if block.settings.desc != blank %}
22
+ <p style="color:{{ section.settings.desc_color }};">{{ block.settings.desc }}</p>
23
+ {% endif %}
24
+ {% if block.settings.link != blank %}<a href="{{ block.settings.link }}" style="" class="btn">{{ block.settings.button }}<div class="overlay"></div></a>{% endif%}
25
+ </div>
26
+ </div>
27
+ </div>
28
+ <div class="grid__item wow slideInRight wide--one-half post-large--one-half large--one-half medium--one-half small-grid__item grid_column_container">
29
+ <div class="grid_column-inner" style="background:{{ section.settings.right_bg }}">
30
+ <div class="img-content img-content--{{ block.id }}">
31
+ {% if block.settings.link != blank %}<a href="{{ block.settings.link_2 }}">{% endif%}
32
+
33
+ {% if block.settings.image != blank %}
34
+ <img src="{{ block.settings.image | img_url: 'master' }}" alt="{{ block.settings.title }}" />
35
+ {% else %}
36
+ {{ 'image' | placeholder_svg_tag: 'placeholder-svg' }}
37
+ {% endif%}
38
+ {% if block.settings.link != blank %} </a>
39
+ {% endif%}
40
+
41
+ <div class="price_content" style="background:{{ section.settings.price_bg }}">
42
+ {% if block.settings.rtitle != blank %}
43
+ <h3 style="color:{{ section.settings.price_color }};">{{ block.settings.rtitle }}</h3>
44
+ {% endif %}
45
+
46
+ {% if block.settings.rdesc != blank %}
47
+ <p style="margin:0;color:{{ section.settings.price_desc }};">{{ block.settings.rdesc }}</p>
48
+ {% endif %}
49
+ </div>
50
+ {% if block.settings.rsub_title != blank %}
51
+ <h4 style="color:{{ section.settings.price_title_color }};">{{ block.settings.rsub_title }}</h4>
52
+ {% endif %}
53
+ {% if block.settings.rdesc_etc != blank %}
54
+ <p style="color:{{ section.settings.author_color }};" class="rdesc_etc">{{ block.settings.rdesc_etc }}</p>
55
+ {% endif %}
56
+
57
+ {% if block.settings.button_2 != blank %}<a href="{{ block.settings.link_2 }}" style="" class="btn">{{ block.settings.button_2 }}<div class="overlay"></div></a>{% endif%}
58
+
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </div>
63
+
64
+ {% endfor %}
65
+ {% endif %}
66
+ {% for block in section.blocks %}
67
+ <style>
68
+
69
+ .home-content-block-1 .block-content--{{ block.id }} .btn { background: {{ block.settings.button_bg }} ;color: {{ block.settings.button_text }};}
70
+ .home-content-block-1 .block-content--{{ block.id }} .btn:hover { background:{{ block.settings.button_hover_bg }};color: {{ block.settings.button_hover_text }};border-color: {{ block.settings.button_hover_bg }};}
71
+ .home-content-block-1 .img-content--{{ block.id }} .btn { background: {{ block.settings.button_bg_1 }} ;color: {{ block.settings.button_text_1 }};}
72
+ .home-content-block-1 .img-content--{{ block.id }} .btn:hover { background:{{ block.settings.button_hover_bg_1 }};color: {{ block.settings.button_hover_text_1 }};border-color: {{ block.settings.button_hover_bg_1 }};}
73
+ .home-content-block-1 .img-content--{{ block.id }} .btn:hover:after, .home-content-block-1 .img-content--{{ block.id }} .btn:hover:before,.home-content-block-1 .img-content--{{ block.id }} .btn:active:after, .home-content-block-1 .img-content--{{ block.id }} .btn:active:before { border-color: {{ block.settings.button_bg_1 }}; }
74
+ .home-content-block-1 .block-content--{{ block.id }} .btn:hover:after, .home-content-block-1 .block-content--{{ block.id }} .btn:hover:before, .home-content-block-1 .block-content--{{ block.id }} .btn:active:after, .home-content-block-1 .block-content--{{ block.id }} .btn:active:before { border-color: {{ block.settings.button_bg }}; }
75
+
76
+ </style>
77
+ {% endfor %}
78
+
79
+ </div>
80
+ </div>
81
+ </div>
82
+
83
+ {% schema %}
84
+ {
85
+ "name": "Content Block 1",
86
+ "class": "index-section home-content-block-1",
87
+ "settings": [
88
+ {
89
+ "type": "checkbox",
90
+ "id": "full",
91
+ "label": "Show Full width"
92
+ },
93
+ {
94
+ "type": "text",
95
+ "id": "margin",
96
+ "label": "Style value (Margin)",
97
+ "default":"0,0",
98
+ "info":"Top(px),Bottom(px)"
99
+ },
100
+ {
101
+ "type": "color",
102
+ "id": "left_bg",
103
+ "label": "Left Section Bg",
104
+ "default":"#fff"
105
+ },
106
+ {
107
+ "type": "image_picker",
108
+ "id": "left_bg_img",
109
+ "label": "BG Image"
110
+
111
+ },
112
+ {
113
+ "type": "color",
114
+ "id": "right_bg",
115
+ "label": "Right Section Bg",
116
+ "default":"#f7f7f7"
117
+ },
118
+
119
+ {
120
+ "type": "color",
121
+ "id": "title_color",
122
+ "label": "Heading color",
123
+ "default":"#000"
124
+ },
125
+ {
126
+ "type": "color",
127
+ "id": "sub_title_color",
128
+ "label": "Sub heading",
129
+ "default":"#000"
130
+ },
131
+ {
132
+ "type": "color",
133
+ "id": "desc_color",
134
+ "label": "Description",
135
+ "default":"#000"
136
+ },
137
+
138
+
139
+ {
140
+ "type": "color",
141
+ "id": "price_bg",
142
+ "label": "Price Bg",
143
+ "default":"#fff"
144
+ },
145
+ {
146
+ "type": "color",
147
+ "id": "price_color",
148
+ "label": "Price Color",
149
+ "default":"#d3ad69"
150
+ },
151
+ {
152
+ "type": "color",
153
+ "id": "price_desc",
154
+ "label": "Price Subtitle",
155
+ "default":"#121212"
156
+ },
157
+ {
158
+ "type": "color",
159
+ "id": "price_title_color",
160
+ "label": "Price Desc",
161
+ "default":"#121212"
162
+ },
163
+ {
164
+ "type": "color",
165
+ "id": "author_color",
166
+ "label": "Price Desc",
167
+ "default":"#d3ad69"
168
+ }
169
+
170
+
171
+ ],
172
+ "blocks": [
173
+ {
174
+ "type": "Image",
175
+ "name": "support block",
176
+ "settings": [
177
+ {
178
+ "type": "text",
179
+ "id": "title",
180
+ "label": "Heading",
181
+ "default": "Left Title"
182
+ },
183
+
184
+ {
185
+ "type": "text",
186
+ "id": "sub_title",
187
+ "label": "Sub heading",
188
+ "default": "Left Caption"
189
+ },
190
+
191
+ {
192
+ "type": "textarea",
193
+ "id": "desc",
194
+ "label": "Left Text",
195
+ "default": "Left Text"
196
+ },
197
+
198
+ {
199
+ "type": "text",
200
+ "id": "button",
201
+ "label": "Button",
202
+ "default": "More about us"
203
+ },
204
+ {
205
+ "type": "color",
206
+ "id": "button_bg",
207
+ "label": "Button Bg",
208
+ "default": "#d3ad69"
209
+ },
210
+ {
211
+ "type": "color",
212
+ "id": "button_text",
213
+ "label": "Button Text",
214
+ "default": "#fff"
215
+ },
216
+ {
217
+ "type": "color",
218
+ "id": "button_hover_bg",
219
+ "label": "Button Hover Bg",
220
+ "default": "#000"
221
+ },
222
+ {
223
+ "type": "color",
224
+ "id": "button_hover_text",
225
+ "label": "Button Hover Text",
226
+ "default": "#fff"
227
+ },
228
+ {
229
+ "type": "url",
230
+ "id": "link",
231
+ "label": "Link"
232
+ },
233
+ {
234
+ "type": "image_picker",
235
+ "id": "image",
236
+ "label": "Image",
237
+ "info": "Size: 600x412"
238
+ },
239
+ {
240
+ "type": "text",
241
+ "id": "rtitle",
242
+ "label": "Right Title",
243
+ "default": "Headinge"
244
+ },
245
+
246
+ {
247
+ "type": "text",
248
+ "id": "rsub_title",
249
+ "label": "Left Caption",
250
+ "default": "Sub heading"
251
+ },
252
+
253
+ {
254
+ "type": "textarea",
255
+ "id": "rdesc",
256
+ "label": "Right Text",
257
+ "default": "Right Text"
258
+ },
259
+ {
260
+ "type": "textarea",
261
+ "id": "rdesc_etc",
262
+ "label": "Right Text 2",
263
+ "default": "Righ Text 2"
264
+ },
265
+
266
+ {
267
+ "type": "text",
268
+ "id": "button_2",
269
+ "label": "Button",
270
+ "default": "Read More"
271
+ },
272
+ {
273
+ "type": "color",
274
+ "id": "button_bg_1",
275
+ "label": "Button Bg",
276
+ "default": "#d3ad69"
277
+ },
278
+ {
279
+ "type": "color",
280
+ "id": "button_text_1",
281
+ "label": "Button Text",
282
+ "default": "#fff"
283
+ },
284
+ {
285
+ "type": "color",
286
+ "id": "button_hover_bg_1",
287
+ "label": "Button Hover Bg",
288
+ "default": "#000"
289
+ },
290
+ {
291
+ "type": "color",
292
+ "id": "button_hover_text_1",
293
+ "label": "Button Hover Text",
294
+ "default": "#fff"
295
+ },
296
+ {
297
+ "type": "url",
298
+ "id": "link_2",
299
+ "label": "Link Text"
300
+ }
301
+
302
+ ]
303
+ }
304
+ ],
305
+ "presets": [
306
+ {
307
+ "name": "Content Block 1",
308
+ "category": "Image",
309
+ "blocks": [
310
+ {
311
+ "type": "Image"
312
+ },
313
+ {
314
+ "type": "Image"
315
+ }
316
+ ]
317
+ }
318
+ ]
319
+ }
320
+ {% endschema %}