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,274 @@
1
+
2
+ {% assign quoteStyle = 'data-quote-slider1' %}
3
+ {% assign quoteNav = 'data-quote-Nav1' %}
4
+ {% assign quoteNavAppend = 'data-quote-ArrowDiv1' %}
5
+
6
+
7
+ {% assign full = section.settings.full %}
8
+ {% assign margin = section.settings.margin | split: ',' %}
9
+ {% assign top = margin[0] %}
10
+ {% assign bottom = margin[1] %}
11
+
12
+
13
+ {% unless full %}
14
+ <div class="container">
15
+ {% endunless %}
16
+
17
+ {% if section.blocks.size > 0 %}
18
+ <div id="QuotesSection-{{ section.id }}" data-section-id="{{ section.id }}" data-section-type="quotes-section" class="quotes-section quotes-style1" {% if section.settings.image_1 != blank %} style="position:relative;background-image:url('{{ section.settings.image_1 | img_url: 'master' }}');background-repeat:no-repeat;"{% endif%}>
19
+ <div class="grid-uniform" style="margin-top:{{top}}px; margin-bottom:{{bottom}}px;">
20
+ <div class="module home-testimonials ready">
21
+ <div class="container">
22
+ <div class="module-header full-position-{{section.settings.content_position}}">
23
+ <div class="border-title">
24
+ {% if section.settings.heading != blank %}
25
+ <h2 class="hero__overlay-title separator text-center">{{ section.settings.heading }}</h2>
26
+ {% endif %}
27
+ {% if section.settings.sub_heading != blank %}
28
+ <div class="short-desc">
29
+ <h3>{{ section.settings.sub_heading }}</h3>
30
+ </div>
31
+ {% endif %}
32
+ {% if section.settings.description != blank %}
33
+ <div class="short-desc">
34
+ <p>{{ section.settings.description }}</p>
35
+ </div>
36
+ {% endif %}
37
+ {% if section.settings.link != blank %}
38
+ <div class="link">
39
+ <a href="{{ section.settings.link }}">{{ section.settings.link_text }}</a>
40
+ </div>
41
+ {% endif %}
42
+ </div>
43
+ </div>
44
+ </div>
45
+ <div class="module-body">
46
+ <div class="home-testimonials-container">
47
+
48
+ <div class="quote-navigation" {{ quoteNav}}>
49
+ {% for block in section.blocks %}
50
+ {% if block.settings.icon != blank %}
51
+ <div class="clients">
52
+ <img class="quote-icon" src="{{ block.settings.icon | img_url: '75x75', crop: 'center' }}" alt="{{ block.settings.quote }}" style="margin:auto;" />
53
+ </div>
54
+ {% endif %}
55
+ {% endfor %}
56
+ </div>
57
+
58
+
59
+ <div class="quotes-slider text-center" {{ quoteStyle }} data-count="{{ section.blocks.size }}">
60
+ {% for block in section.blocks %}
61
+ <div class="quotes-slide--{{ forloop.index0 }} quotes-slide--{{ block.id }}" {{ block.shopify_attributes }}>
62
+ {% if block.settings.quote != blank %}
63
+ <div class="quote rte-setting">{{ block.settings.quote }}</div>
64
+ {% endif %}
65
+ {% if block.settings.icon != blank %}
66
+ <div class="client-img">
67
+ <img class="quote-icon" src="{{ block.settings.icon | img_url: '75x75', crop: 'center' }}" alt="{{ block.settings.quote }}" style="margin:auto;" />
68
+ </div>
69
+ {% endif %}
70
+ <div class="client-info">
71
+ {% if block.settings.author != blank %}
72
+ <h5 class="quote-author">{{ block.settings.author | escape }}</h5>
73
+ {% endif %}
74
+ {% if block.settings.job != blank %}
75
+ <span class="quote-job">{{ block.settings.job | escape }}</span>
76
+ {% endif %}
77
+ </div>
78
+
79
+ </div>
80
+ {% endfor %}
81
+ </div>
82
+
83
+ <div class="quotes-arrow-nav carousel-arrow" {{quoteNavAppend}}></div>
84
+
85
+
86
+
87
+
88
+ </div>
89
+ </div>
90
+ </div>
91
+ </div>
92
+ </div>
93
+ {% else %}
94
+ {% include 'no-blocks' %}
95
+ {% endif %}
96
+
97
+
98
+ {% unless full %}
99
+ </div>
100
+ {% endunless %}
101
+
102
+ <style>
103
+
104
+ #QuotesSection-{{ section.id }} { background-color: {{ section.settings.color_bg }}; }
105
+ #QuotesSection-{{ section.id }} .quote-author { color: {{ section.settings.title_color }}; }
106
+ #QuotesSection-{{ section.id }} .quote-job { color: {{ section.settings.text_color }}; }
107
+ #QuotesSection-{{ section.id }} .quote { color:{{ section.settings.text_color }} }
108
+ #QuotesSection-{{ section.id }} .home-testimonials h2 {{ section.settings.title_color }}; }
109
+ #QuotesSection-{{ section.id }} .home-testimonials h3 {{ section.settings.title_color }}; }
110
+ #QuotesSection-{{ section.id }} .home-testimonials .p { color: {{ section.settings.text_color }}; }
111
+ #QuotesSection-{{ section.id }} .home-testimonials .link a { color: {{ section.settings.link_color }}; }
112
+
113
+ /* Slider */
114
+ .slick-slider { position: relative; display: block; box-sizing: border-box; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; -khtml-user-select: none; -ms-touch-action: pan-y; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
115
+ .slick-list { position: relative; display: block; overflow: hidden; margin: 0; padding: 0; }
116
+ .slick-list:focus { outline: none; }
117
+ .slick-list.dragging { cursor: pointer; cursor: hand; }
118
+ .slick-slider .slick-track, .slick-slider .slick-list { -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); -o-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
119
+ .slick-track { position: relative; top: 0; left: 0; display: block; margin-left: auto; margin-right: auto; }
120
+ .slick-track:before, .slick-track:after { display: table; content: ''; }
121
+ .slick-track:after { clear: both; }
122
+ .slick-loading .slick-track { visibility: hidden; }
123
+ .slick-slide { display: none; float: left; height: 100%; min-height: 1px; }
124
+ [dir='rtl'] .slick-slide { float: right; }
125
+ .slick-slide img { display: block; }
126
+ .slick-slide.slick-loading img { display: none; }
127
+ .slick-slide.dragging img { pointer-events: none; }
128
+ .slick-initialized .slick-slide { display: block; }
129
+ .slick-loading .slick-slide { visibility: hidden; }
130
+ .slick-vertical .slick-slide { display: block; height: auto; border: 1px solid transparent; }
131
+ .slick-arrow.slick-hidden { display: none; }
132
+
133
+ </style>
134
+
135
+ {% schema %}
136
+ {
137
+ "name": "Testimonials",
138
+ "class": "index-section home-testimonial-quote",
139
+ "max_blocks": 6,
140
+ "settings": [
141
+ {
142
+ "type": "checkbox",
143
+ "id": "full",
144
+ "label": "Show Full width"
145
+ },
146
+ {
147
+ "type": "text",
148
+ "id": "margin",
149
+ "label": "Style value (Margin)",
150
+ "default":"0,0",
151
+ "info":"Top(px),Bottom(px)"
152
+ },
153
+ {
154
+ "type": "color",
155
+ "id": "color_bg",
156
+ "label": "Background color",
157
+ "default": "#4a4a4a"
158
+ },
159
+ {
160
+ "type": "color",
161
+ "id": "title_color",
162
+ "label": "Title Color",
163
+ "default":"#000"
164
+ },
165
+ {
166
+ "type": "color",
167
+ "id": "text_color",
168
+ "label": "Text Color",
169
+ "default":"#000"
170
+ },
171
+ {
172
+ "type": "color",
173
+ "id": "link_color",
174
+ "label": "Link Color",
175
+ "default":"#FF0000"
176
+ },
177
+ {
178
+ "type": "image_picker",
179
+ "id": "image_1",
180
+ "label": "Image",
181
+ "info": "Size: 858x841"
182
+ },
183
+ {
184
+ "type": "text",
185
+ "id": "heading",
186
+ "label": "Heading",
187
+ "default": "What our customers say..."
188
+ },
189
+ {
190
+ "type": "text",
191
+ "id": "sub_heading",
192
+ "label": "Sub Heading"
193
+ },
194
+ {
195
+ "type": "textarea",
196
+ "id": "description",
197
+ "label": "Paragraph",
198
+ "default": "Write about your cusotmer reviews"
199
+ },
200
+ {
201
+ "type": "text",
202
+ "id": "link_text",
203
+ "label": "Link Text"
204
+ },
205
+ {
206
+ "type": "url",
207
+ "id": "link",
208
+ "label": "Link"
209
+ },
210
+ {
211
+ "type": "select",
212
+ "id": "content_position",
213
+ "label": "Heading Position",
214
+ "options": [
215
+ {
216
+ "value": "default",
217
+ "label": "Full center"
218
+ },
219
+ {
220
+ "value": "full-left",
221
+ "label": "Full left"
222
+ },
223
+ {
224
+ "value": "full-right",
225
+ "label": "Full right"
226
+ }
227
+ ]
228
+ }
229
+ ],
230
+ "blocks": [
231
+ {
232
+ "type": "quote",
233
+ "name": "Testimonial",
234
+ "settings": [
235
+ {
236
+ "type": "richtext",
237
+ "id": "quote",
238
+ "label": "Text",
239
+ "info": "Best results if text does not exceed 400 characters",
240
+ "default": "<p>Add customer reviews and testimonials to showcase your store's happy customers.</p>"
241
+ },
242
+ {
243
+ "type": "image_picker",
244
+ "id": "icon",
245
+ "label": "Avator"
246
+ },
247
+ {
248
+ "type": "text",
249
+ "id": "author",
250
+ "label": "Author",
251
+ "default": "Author's name"
252
+ },
253
+ {
254
+ "type": "text",
255
+ "id": "job",
256
+ "label": "Designation",
257
+ "default": "Author's designation"
258
+ }
259
+ ]
260
+ }
261
+ ],
262
+ "presets": [
263
+ {
264
+ "name": "Testimonials",
265
+ "category": "Text",
266
+ "blocks": [
267
+ {
268
+ "type": "quote"
269
+ }
270
+ ]
271
+ }
272
+ ]
273
+ }
274
+ {% endschema %}
@@ -0,0 +1,239 @@
1
+
2
+ {% assign quoteStyle = 'data-quote-slider2' %}
3
+ {% assign quoteNav = 'data-quote-Nav2' %}
4
+
5
+
6
+ {% assign full = section.settings.full %}
7
+ {% assign margin = section.settings.margin | split: ',' %}
8
+ {% assign top = margin[0] %}
9
+ {% assign bottom = margin[1] %}
10
+
11
+
12
+ {% if section.blocks.size > 0 %}
13
+ <div id="QuotesSection-{{ section.id }}" data-section-id="{{ section.id }}" data-section-type="quotes-section" class="quotes-section quotes-style2" {% if section.settings.image_1 != blank %} style="position:relative;background-image:url('{{ section.settings.image_1 | img_url: 'master' }}');background-repeat:no-repeat;"{% endif%}>
14
+ <div class="grid-uniform" style="margin-top:{{top}}px; margin-bottom:{{bottom}}px;">
15
+ <div class="module home-testimonials ready">
16
+ <div class="container">
17
+ <div class="module-header full-position-{{section.settings.content_position}}">
18
+ <div class="border-title">
19
+ {% if section.settings.heading != blank %}
20
+ <h2 class="hero__overlay-title separator text-center">{{ section.settings.heading }}</h2>
21
+ {% endif %}
22
+ {% if section.settings.sub_heading != blank %}
23
+ <div class="short-desc">
24
+ <p style="color:{{ section.settings.sub_heading_clr }}">{{ section.settings.sub_heading }}</p>
25
+ </div>
26
+ {% endif %}
27
+ </div>
28
+ </div>
29
+ </div>
30
+ <div class="module-body">
31
+ <div class="home-testimonials-container">
32
+
33
+ <div class="quotes-slider text-center" {{ quoteStyle }} data-count="{{ section.blocks.size }}">
34
+ {% for block in section.blocks %}
35
+ <div class="quotes-slide--{{ forloop.index0 }} quotes-slide--{{ block.id }}" {{ block.shopify_attributes }}>
36
+
37
+
38
+
39
+ {% if block.settings.quote != blank %}
40
+ <div class="quote rte-setting">{{ block.settings.quote }}</div>
41
+ {% endif %}
42
+
43
+
44
+ </div>
45
+ {% endfor %}
46
+ </div>
47
+
48
+
49
+
50
+
51
+
52
+
53
+ <div class="quote-navigation" {{ quoteNav}}>
54
+ {% for block in section.blocks %}
55
+ <div class="grid__item">
56
+ {% if block.settings.icon != blank %}
57
+ <div class="client-img">
58
+ <img class="quote-icon" src="{{ block.settings.icon | img_url: "medium" }}" alt="{{ block.settings.quote }}" />
59
+ </div>
60
+ {% endif %}
61
+ <div class="client-info">
62
+ {% if block.settings.author != blank %}
63
+ <h5 class="quote-author">{{ block.settings.author | escape }}</h5>
64
+ {% endif %}
65
+ {% if block.settings.job != blank %}
66
+ <span class="quote-job">{{ block.settings.job | escape }}</span>
67
+ {% endif %}
68
+ </div>
69
+ </div>
70
+ {% endfor %}
71
+
72
+ </div>
73
+ <div class="quotes-arrow-nav carousel-arrow"></div>
74
+
75
+ </div>
76
+ </div>
77
+ </div>
78
+ </div>
79
+ </div>
80
+ {% else %}
81
+ {% include 'no-blocks' %}
82
+ {% endif %}
83
+
84
+
85
+ <style>
86
+
87
+ #QuotesSection-{{ section.id }} { background-color: {{ section.settings.color_bg }}; }
88
+ #QuotesSection-{{ section.id }} .quote-author { color: {{ section.settings.author_color }}; }
89
+ #QuotesSection-{{ section.id }} .quote-job { color: {{ section.settings.design_color }}; }
90
+ #QuotesSection-{{ section.id }} .quote { color:{{ section.settings.des_color }} }
91
+
92
+ /* Slider */
93
+ .slick-slider { position: relative; display: block; box-sizing: border-box; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; -khtml-user-select: none; -ms-touch-action: pan-y; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
94
+ .slick-list { position: relative; display: block; overflow: hidden; margin: 0; padding: 0; }
95
+ .slick-list:focus { outline: none; }
96
+ .slick-list.dragging { cursor: pointer; cursor: hand; }
97
+ .slick-slider .slick-track, .slick-slider .slick-list { -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); -o-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
98
+ .slick-track { position: relative; top: 0; left: 0; display: block; margin-left: auto; margin-right: auto; }
99
+ .slick-track:before, .slick-track:after { display: table; content: ''; }
100
+ .slick-track:after { clear: both; }
101
+ .slick-loading .slick-track { visibility: hidden; }
102
+ .slick-slide { display: none; float: left; height: 100%; min-height: 1px; }
103
+ [dir='rtl'] .slick-slide { float: right; }
104
+ .slick-slide img { display: block; }
105
+ .slick-slide.slick-loading img { display: none; }
106
+ .slick-slide.dragging img { pointer-events: none; }
107
+ .slick-initialized .slick-slide { display: block; }
108
+ .slick-loading .slick-slide { visibility: hidden; }
109
+ .slick-vertical .slick-slide { display: block; height: auto; border: 1px solid transparent; }
110
+ .slick-arrow.slick-hidden { display: none; }
111
+
112
+ </style>
113
+
114
+ {% schema %}
115
+ {
116
+ "name": "Testimonials 2",
117
+ "class": "index-section home-testimonial-quote",
118
+ "max_blocks": 6,
119
+ "settings": [
120
+ {
121
+ "type": "checkbox",
122
+ "id": "full",
123
+ "label": "Show Full width"
124
+ },
125
+ {
126
+ "type": "text",
127
+ "id": "margin",
128
+ "label": "Style value (Margin)",
129
+ "default":"0,0",
130
+ "info":"Top(px),Bottom(px)"
131
+ },
132
+
133
+ {
134
+ "type": "image_picker",
135
+ "id": "image_1",
136
+ "label": "Image",
137
+ "info": "Size: 858x841"
138
+ },
139
+ {
140
+ "type": "text",
141
+ "id": "heading",
142
+ "label": "Heading",
143
+ "default": "What our customers say..."
144
+ },
145
+ {
146
+ "type": "select",
147
+ "id": "content_position",
148
+ "label": "Heading Position",
149
+ "options": [
150
+ {
151
+ "value": "default",
152
+ "label": "Full center"
153
+ },
154
+ {
155
+ "value": "full-left",
156
+ "label": "Full left"
157
+ },
158
+ {
159
+ "value": "full-right",
160
+ "label": "Full right"
161
+ }
162
+ ]
163
+ },
164
+ {
165
+ "type": "text",
166
+ "id": "sub_heading",
167
+ "label": "Sub Heading"
168
+ },
169
+ {
170
+ "type": "color",
171
+ "id": "color_bg",
172
+ "label": "Background color",
173
+ "default": "#4a4a4a"
174
+ },
175
+ {
176
+ "type": "color",
177
+ "id": "author_color",
178
+ "label": "Author Color",
179
+ "default":"#000"
180
+ },
181
+ {
182
+ "type": "color",
183
+ "id": "design_color",
184
+ "label": "Designation Color",
185
+ "default":"#000"
186
+ },
187
+ {
188
+ "type": "color",
189
+ "id": "des_color",
190
+ "label": "Description Color",
191
+ "default":"#000"
192
+ }
193
+
194
+ ],
195
+ "blocks": [
196
+ {
197
+ "type": "quote",
198
+ "name": "Testimonial",
199
+ "settings": [
200
+ {
201
+ "type": "richtext",
202
+ "id": "quote",
203
+ "label": "Text",
204
+ "info": "Best results if text does not exceed 400 characters",
205
+ "default": "<p>Add customer reviews and testimonials to showcase your store's happy customers.</p>"
206
+ },
207
+ {
208
+ "type": "image_picker",
209
+ "id": "icon",
210
+ "label": "Avator"
211
+ },
212
+ {
213
+ "type": "text",
214
+ "id": "author",
215
+ "label": "Author",
216
+ "default": "Author's name"
217
+ },
218
+ {
219
+ "type": "text",
220
+ "id": "job",
221
+ "label": "Designation",
222
+ "default": "Author's designation"
223
+ }
224
+ ]
225
+ }
226
+ ],
227
+ "presets": [
228
+ {
229
+ "name": "Testimonials 2",
230
+ "category": "Text",
231
+ "blocks": [
232
+ {
233
+ "type": "quote"
234
+ }
235
+ ]
236
+ }
237
+ ]
238
+ }
239
+ {% endschema %}