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.
- package/assets/data/block-patterns.csv +160 -0
- package/assets/data/component-library/GDPR-modal.liquid +183 -0
- package/assets/data/component-library/Ishi_parallaxblockstyle1.liquid +331 -0
- package/assets/data/component-library/_index.csv +157 -19
- package/assets/data/component-library/about.liquid +1557 -0
- package/assets/data/component-library/adv-header.liquid +344 -0
- package/assets/data/component-library/adv-navigation.liquid +542 -0
- package/assets/data/component-library/announcement-bar.liquid +42 -60
- package/assets/data/component-library/article.liquid +242 -0
- package/assets/data/component-library/axeo-perfume-cosmetics-store-shopify-theme-about.liquid +1557 -0
- package/assets/data/component-library/basel-gl_newsletter_pets.liquid +612 -0
- package/assets/data/component-library/bixbang-fullpackage-collection-template.liquid +990 -0
- package/assets/data/component-library/blog-sidebar-article.liquid +51 -0
- package/assets/data/component-library/blog-sidebar-deals.liquid +189 -0
- package/assets/data/component-library/blog-sidebar-instagram.liquid +126 -0
- package/assets/data/component-library/blog-sidebar-tags.liquid +30 -0
- package/assets/data/component-library/blog.liquid +371 -0
- package/assets/data/component-library/brands-page.liquid +114 -0
- package/assets/data/component-library/cake-shop-shopify-theme-for-bakery-and-cafe-home-support-blo.liquid +780 -0
- package/assets/data/component-library/collection-template-promotion.liquid +1139 -0
- package/assets/data/component-library/collection-template.liquid +146 -0
- package/assets/data/component-library/contact-us.liquid +663 -0
- package/assets/data/component-library/contact.liquid +256 -0
- package/assets/data/component-library/copyright_payment.liquid +95 -0
- package/assets/data/component-library/custom-content.liquid +832 -0
- package/assets/data/component-library/faq-template-3.liquid +1014 -0
- package/assets/data/component-library/footer-model-1.liquid +503 -0
- package/assets/data/component-library/footer-model-10.liquid +210 -0
- package/assets/data/component-library/footer-model-2.liquid +460 -0
- package/assets/data/component-library/footer-model-3.liquid +548 -0
- package/assets/data/component-library/footer-model-4.liquid +455 -0
- package/assets/data/component-library/footer-model-5.liquid +407 -0
- package/assets/data/component-library/footer-model-6.liquid +543 -0
- package/assets/data/component-library/footer-model-7.liquid +345 -0
- package/assets/data/component-library/footer-model-8.liquid +279 -0
- package/assets/data/component-library/footer-model-9.liquid +376 -0
- package/assets/data/component-library/gallery.liquid +236 -0
- package/assets/data/component-library/gecko-shopify-v5-7-6-nulled-manual_blog.liquid +720 -0
- package/assets/data/component-library/gl_newsletter_pets.liquid +612 -0
- package/assets/data/component-library/gp-logo-list.liquid +362 -0
- package/assets/data/component-library/grid-banner-type-3-b.liquid +655 -0
- package/assets/data/component-library/header-model-1.liquid +427 -0
- package/assets/data/component-library/header-model-10.liquid +599 -0
- package/assets/data/component-library/header-model-2.liquid +633 -0
- package/assets/data/component-library/header-model-3.liquid +415 -0
- package/assets/data/component-library/header-model-4.liquid +754 -0
- package/assets/data/component-library/header-model-5.liquid +562 -0
- package/assets/data/component-library/header-model-6.liquid +713 -0
- package/assets/data/component-library/header-model-7.liquid +743 -0
- package/assets/data/component-library/header-model-8.liquid +500 -0
- package/assets/data/component-library/header-model-9.liquid +506 -0
- package/assets/data/component-library/home-blog-posts-1.liquid +399 -0
- package/assets/data/component-library/home-blog-posts-2.liquid +393 -0
- package/assets/data/component-library/home-blog-posts-3.liquid +545 -0
- package/assets/data/component-library/home-brand-slider.liquid +224 -0
- package/assets/data/component-library/home-circled-block.liquid +332 -0
- package/assets/data/component-library/home-contact-block-1.liquid +395 -0
- package/assets/data/component-library/home-contact-block-2.liquid +372 -0
- package/assets/data/component-library/home-content-block-1.liquid +320 -0
- package/assets/data/component-library/home-donut-chart.liquid +335 -0
- package/assets/data/component-library/home-fade-in-banner.liquid +277 -0
- package/assets/data/component-library/home-faq-model.liquid +323 -0
- package/assets/data/component-library/home-featured-blog.liquid +1462 -0
- package/assets/data/component-library/home-featured-collections.liquid +484 -0
- package/assets/data/component-library/home-gallery-block1.liquid +276 -0
- package/assets/data/component-library/home-gallery-block2.liquid +396 -0
- package/assets/data/component-library/home-grid-banner-type-1.liquid +371 -0
- package/assets/data/component-library/home-grid-banner-type-2.liquid +362 -0
- package/assets/data/component-library/home-grid-banner-type-3.liquid +374 -0
- package/assets/data/component-library/home-grid-banner-type-4.liquid +900 -0
- package/assets/data/component-library/home-grid-banner-type-5.liquid +368 -0
- package/assets/data/component-library/home-grid-banner-type-6.liquid +382 -0
- package/assets/data/component-library/home-grid-banner-type-7.liquid +371 -0
- package/assets/data/component-library/home-hotspot-with-product-carousel.liquid +1425 -0
- package/assets/data/component-library/home-image-gallery.liquid +1087 -0
- package/assets/data/component-library/home-instagram.liquid +356 -0
- package/assets/data/component-library/home-newsletter.liquid +246 -0
- package/assets/data/component-library/home-number-counter.liquid +790 -0
- package/assets/data/component-library/home-price-table.liquid +416 -0
- package/assets/data/component-library/home-pricing-table.liquid +1076 -0
- package/assets/data/component-library/home-product-grid.liquid +413 -0
- package/assets/data/component-library/home-product-tab-1.liquid +528 -0
- package/assets/data/component-library/home-product-tab-2.liquid +342 -0
- package/assets/data/component-library/home-product-tab-3.liquid +357 -0
- package/assets/data/component-library/home-product-vertical-carousel.liquid +477 -0
- package/assets/data/component-library/home-quotes-1.liquid +274 -0
- package/assets/data/component-library/home-quotes-2.liquid +239 -0
- package/assets/data/component-library/home-quotes-3.liquid +244 -0
- package/assets/data/component-library/home-quotes-4.liquid +258 -0
- package/assets/data/component-library/home-slider-width-promo-images.liquid +1377 -0
- package/assets/data/component-library/home-slideshow-type-1.liquid +656 -0
- package/assets/data/component-library/home-slideshow-type-2.liquid +570 -0
- package/assets/data/component-library/home-specification-block-1.liquid +468 -0
- package/assets/data/component-library/home-specification-block-2.liquid +291 -0
- package/assets/data/component-library/home-specification-block-3.liquid +429 -0
- package/assets/data/component-library/home-support-block.liquid +392 -0
- package/assets/data/component-library/home-testimonial.liquid +1348 -0
- package/assets/data/component-library/home-video-banner.liquid +317 -0
- package/assets/data/component-library/home-wide-banner.liquid +327 -0
- package/assets/data/component-library/icon-with-content.liquid +478 -0
- package/assets/data/component-library/instafeed.liquid +1 -0
- package/assets/data/component-library/kea-ecommerce-interior-furniture-shopify-theme-about.liquid +1300 -0
- package/assets/data/component-library/kidslife-responsive-shopify-theme-home-number-counter.liquid +729 -0
- package/assets/data/component-library/logo-bar.liquid +314 -0
- package/assets/data/component-library/lookbook.liquid +367 -0
- package/assets/data/component-library/manual_blog.liquid +724 -0
- package/assets/data/component-library/navigation-etc.liquid +642 -0
- package/assets/data/component-library/newsletter.liquid +246 -0
- package/assets/data/component-library/order-form.liquid +96 -0
- package/assets/data/component-library/page-catev1-template.liquid +344 -0
- package/assets/data/component-library/popup_video.liquid +396 -0
- package/assets/data/component-library/product-sidebar-bestsellers.liquid +99 -0
- package/assets/data/component-library/product-sidebar-deals.liquid +158 -0
- package/assets/data/component-library/product-template-2.liquid +629 -0
- package/assets/data/component-library/product-template-3.liquid +670 -0
- package/assets/data/component-library/product-template-4.liquid +627 -0
- package/assets/data/component-library/product-template-5.liquid +652 -0
- package/assets/data/component-library/product-template.liquid +698 -0
- package/assets/data/component-library/rich-text.liquid +541 -0
- package/assets/data/component-library/section-countdown-v2.liquid +215 -0
- package/assets/data/component-library/services.liquid +596 -0
- package/assets/data/component-library/shipping_info.liquid +327 -0
- package/assets/data/component-library/sidebar-bestsellers.liquid +109 -0
- package/assets/data/component-library/sidebar-category.liquid +105 -0
- package/assets/data/component-library/sidebar-colors.liquid +104 -0
- package/assets/data/component-library/single_product_feature.liquid +1892 -0
- package/assets/data/component-library/social-links-menu.liquid +244 -0
- package/assets/data/component-library/someone-purchased.liquid +190 -0
- package/assets/data/component-library/special-offer-area.liquid +530 -0
- package/assets/data/component-library/theno-minimal-clean-watch-store-shopify-theme-page-catev1-te.liquid +344 -0
- package/assets/data/component-library/top-bar-type-1.liquid +200 -0
- package/assets/data/component-library/top-bar-type-10.liquid +395 -0
- package/assets/data/component-library/top-bar-type-11.liquid +395 -0
- package/assets/data/component-library/top-bar-type-2.liquid +106 -0
- package/assets/data/component-library/top-bar-type-3.liquid +205 -0
- package/assets/data/component-library/top-countdown-bar.liquid +116 -0
- package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-image-gallery.liquid +783 -0
- package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-pricing-table.liquid +1043 -0
- package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-testimonial.liquid +1338 -0
- package/assets/data/component-library/video.liquid +511 -0
- package/assets/data/component-library/waffy-spices-dry-fruits-store-shopify-theme-v-1-1-contact-us.liquid +523 -0
- package/assets/data/design-tokens.csv +93 -57
- package/assets/data/schema-library.csv +48 -46
- package/assets/data/settings-profiles.csv +235 -0
- package/assets/data/shopify-best-practices.csv +58 -36
- package/assets/scripts/backfill-component-index.py +102 -0
- package/assets/scripts/core.py +30 -8
- package/assets/scripts/fix-schema-library.py +42 -0
- package/assets/scripts/kb-analyzer-helpers.py +136 -0
- package/assets/scripts/kb-analyzer.py +186 -0
- package/assets/scripts/kb-builder.py +32 -63
- package/assets/scripts/kb-constants.py +62 -0
- package/assets/scripts/kb-extractor-helpers.py +178 -0
- package/assets/scripts/kb-extractor.py +106 -170
- package/assets/scripts/kb-synthesizer.py +251 -0
- package/assets/scripts/quality-gate-checks.py +55 -0
- package/assets/scripts/quality-gate.py +56 -2
- package/assets/scripts/section-generator-helpers.py +74 -0
- package/assets/scripts/section-generator.py +59 -49
- package/assets/templates/generation-prompt.md +78 -14
- package/package.json +1 -1
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
{% assign quoteStyle = 'data-quote-slider3' %}
|
|
4
|
+
{% assign quoteNav = 'data-quote-Nav3' %}
|
|
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-style3" {% 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
|
+
<p style="color:{{ section.settings.sub_heading_clr }}">{{ section.settings.sub_heading }}</p>
|
|
30
|
+
</div>
|
|
31
|
+
{% endif %}
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="module-body">
|
|
36
|
+
<div class="home-testimonials-container">
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<div class="quotes-slider text-center" {{ quoteStyle }} data-count="{{ section.blocks.size }}">
|
|
40
|
+
{% for block in section.blocks %}
|
|
41
|
+
<div class="quotes-slide--{{ forloop.index0 }} quotes-slide--{{ block.id }}" {{ block.shopify_attributes }}>
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
{% if block.settings.icon != blank %}
|
|
45
|
+
<div class="client-img">
|
|
46
|
+
<img class="quote-icon" src="{{ block.settings.icon | img_url: "90x" }}" alt="{{ block.settings.quote }}" style="margin:auto;" />
|
|
47
|
+
</div>
|
|
48
|
+
{% endif %}
|
|
49
|
+
<div class="client-info">
|
|
50
|
+
{% if block.settings.author != blank %}
|
|
51
|
+
<h5 class="quote-author">{{ block.settings.author | escape }}</h5>
|
|
52
|
+
{% endif %}
|
|
53
|
+
{% if block.settings.job != blank %}
|
|
54
|
+
<span class="quote-job">{{ block.settings.job | escape }}</span>
|
|
55
|
+
{% endif %}
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
{% if block.settings.quote != blank %}
|
|
60
|
+
<div class="quote rte-setting">{{ block.settings.quote }}</div>
|
|
61
|
+
{% endif %}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
</div>
|
|
66
|
+
{% endfor %}
|
|
67
|
+
</div>
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
<div class="quotes-arrow-nav carousel-arrow"></div>
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
{% else %}
|
|
82
|
+
{% include 'no-blocks' %}
|
|
83
|
+
{% endif %}
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
{% unless full %}
|
|
87
|
+
</div>
|
|
88
|
+
{% endunless %}
|
|
89
|
+
|
|
90
|
+
<style>
|
|
91
|
+
|
|
92
|
+
#QuotesSection-{{ section.id }} { background-color: {{ section.settings.color_bg }}; }
|
|
93
|
+
#QuotesSection-{{ section.id }} .quote-author { color: {{ section.settings.author_color }}; }
|
|
94
|
+
#QuotesSection-{{ section.id }} .quote-job { color: {{ section.settings.design_color }}; }
|
|
95
|
+
#QuotesSection-{{ section.id }} .quote { color:{{ section.settings.des_color }} }
|
|
96
|
+
|
|
97
|
+
/* Slider */
|
|
98
|
+
.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; }
|
|
99
|
+
.slick-list { position: relative; display: block; overflow: hidden; margin: 0; padding: 0; }
|
|
100
|
+
.slick-list:focus { outline: none; }
|
|
101
|
+
.slick-list.dragging { cursor: pointer; cursor: hand; }
|
|
102
|
+
.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); }
|
|
103
|
+
.slick-track { position: relative; top: 0; left: 0; display: block; margin-left: auto; margin-right: auto; }
|
|
104
|
+
.slick-track:before, .slick-track:after { display: table; content: ''; }
|
|
105
|
+
.slick-track:after { clear: both; }
|
|
106
|
+
.slick-loading .slick-track { visibility: hidden; }
|
|
107
|
+
.slick-slide { display: none; float: left; height: 100%; min-height: 1px; }
|
|
108
|
+
[dir='rtl'] .slick-slide { float: right; }
|
|
109
|
+
.slick-slide img { display: block; }
|
|
110
|
+
.slick-slide.slick-loading img { display: none; }
|
|
111
|
+
.slick-slide.dragging img { pointer-events: none; }
|
|
112
|
+
.slick-initialized .slick-slide { display: block; }
|
|
113
|
+
.slick-loading .slick-slide { visibility: hidden; }
|
|
114
|
+
.slick-vertical .slick-slide { display: block; height: auto; border: 1px solid transparent; }
|
|
115
|
+
.slick-arrow.slick-hidden { display: none; }
|
|
116
|
+
|
|
117
|
+
</style>
|
|
118
|
+
|
|
119
|
+
{% schema %}
|
|
120
|
+
{
|
|
121
|
+
"name": "Testimonials 3",
|
|
122
|
+
"class": "index-section home-testimonial-quote",
|
|
123
|
+
"max_blocks": 6,
|
|
124
|
+
"settings": [
|
|
125
|
+
{
|
|
126
|
+
"type": "checkbox",
|
|
127
|
+
"id": "full",
|
|
128
|
+
"label": "Show Full width"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"type": "text",
|
|
132
|
+
"id": "margin",
|
|
133
|
+
"label": "Style value (Margin)",
|
|
134
|
+
"default":"0,0",
|
|
135
|
+
"info":"Top(px),Bottom(px)"
|
|
136
|
+
},
|
|
137
|
+
|
|
138
|
+
{
|
|
139
|
+
"type": "image_picker",
|
|
140
|
+
"id": "image_1",
|
|
141
|
+
"label": "Image",
|
|
142
|
+
"info": "Size: 858x841"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"type": "text",
|
|
146
|
+
"id": "heading",
|
|
147
|
+
"label": "Heading",
|
|
148
|
+
"default": "What our customers say..."
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"type": "select",
|
|
152
|
+
"id": "content_position",
|
|
153
|
+
"label": "Heading Position",
|
|
154
|
+
"options": [
|
|
155
|
+
{
|
|
156
|
+
"value": "default",
|
|
157
|
+
"label": "Full center"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"value": "full-left",
|
|
161
|
+
"label": "Full left"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"value": "full-right",
|
|
165
|
+
"label": "Full right"
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"type": "text",
|
|
171
|
+
"id": "sub_heading",
|
|
172
|
+
"label": "Sub Heading"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"type": "color",
|
|
176
|
+
"id": "color_bg",
|
|
177
|
+
"label": "Background color",
|
|
178
|
+
"default": "#4a4a4a"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"type": "color",
|
|
182
|
+
"id": "author_color",
|
|
183
|
+
"label": "Author Color",
|
|
184
|
+
"default":"#000"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"type": "color",
|
|
188
|
+
"id": "design_color",
|
|
189
|
+
"label": "Designation Color",
|
|
190
|
+
"default":"#000"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"type": "color",
|
|
194
|
+
"id": "des_color",
|
|
195
|
+
"label": "Description Color",
|
|
196
|
+
"default":"#000"
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
],
|
|
200
|
+
"blocks": [
|
|
201
|
+
{
|
|
202
|
+
"type": "quote",
|
|
203
|
+
"name": "Testimonial",
|
|
204
|
+
"settings": [
|
|
205
|
+
{
|
|
206
|
+
"type": "richtext",
|
|
207
|
+
"id": "quote",
|
|
208
|
+
"label": "Text",
|
|
209
|
+
"info": "Best results if text does not exceed 400 characters",
|
|
210
|
+
"default": "<p>Add customer reviews and testimonials to showcase your store's happy customers.</p>"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"type": "image_picker",
|
|
214
|
+
"id": "icon",
|
|
215
|
+
"label": "Avator"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"type": "text",
|
|
219
|
+
"id": "author",
|
|
220
|
+
"label": "Author",
|
|
221
|
+
"default": "Author's name"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"type": "text",
|
|
225
|
+
"id": "job",
|
|
226
|
+
"label": "Designation",
|
|
227
|
+
"default": "Author's designation"
|
|
228
|
+
}
|
|
229
|
+
]
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
"presets": [
|
|
233
|
+
{
|
|
234
|
+
"name": "Testimonials 3",
|
|
235
|
+
"category": "Text",
|
|
236
|
+
"blocks": [
|
|
237
|
+
{
|
|
238
|
+
"type": "quote"
|
|
239
|
+
}
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
}
|
|
244
|
+
{% endschema %}
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
|
|
2
|
+
{% assign quoteStyle = 'data-quote-slider4' %}
|
|
3
|
+
{% assign quoteNav = 'data-quote-Nav4' %}
|
|
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-style4" {% 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
|
+
|
|
34
|
+
<div class="quotes-slider text-center" {{ quoteStyle }} data-count="{{ section.blocks.size }}">
|
|
35
|
+
{% for block in section.blocks %}
|
|
36
|
+
<div class="quotes-slide--{{ forloop.index0 }} quotes-slide--{{ block.id }}" {{ block.shopify_attributes }}>
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
{% if block.settings.icon != blank %}
|
|
40
|
+
<div class="client-img">
|
|
41
|
+
<img class="quote-icon" src="{{ block.settings.icon | img_url: "90x" }}" alt="{{ block.settings.quote }}" style="margin:auto;" />
|
|
42
|
+
</div>
|
|
43
|
+
{% endif %}
|
|
44
|
+
<div class="client-info">
|
|
45
|
+
{% if block.settings.author != blank %}
|
|
46
|
+
<h5 class="quote-author">{{ block.settings.author | escape }}</h5>
|
|
47
|
+
{% endif %}
|
|
48
|
+
{% if block.settings.job != blank %}
|
|
49
|
+
<span class="quote-job">{{ block.settings.job | escape }}</span>
|
|
50
|
+
{% endif %}
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
{% if block.settings.quote != blank %}
|
|
55
|
+
<div class="quote rte-setting">{{ block.settings.quote }}</div>
|
|
56
|
+
{% endif %}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
</div>
|
|
61
|
+
{% endfor %}
|
|
62
|
+
</div>
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
<div class="quotes-arrow-nav carousel-arrow"></div>
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
{% else %}
|
|
77
|
+
{% include 'no-blocks' %}
|
|
78
|
+
{% endif %}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
<style>
|
|
82
|
+
|
|
83
|
+
#QuotesSection-{{ section.id }} { background-color: {{ section.settings.color_bg }}; }
|
|
84
|
+
#QuotesSection-{{ section.id }} .quote-author { color: {{ section.settings.author_color }}; }
|
|
85
|
+
#QuotesSection-{{ section.id }} .quote-job { color: {{ section.settings.design_color }}; }
|
|
86
|
+
#QuotesSection-{{ section.id }} .quote { color:{{ section.settings.des_color }} }
|
|
87
|
+
|
|
88
|
+
/* Slider */
|
|
89
|
+
.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; }
|
|
90
|
+
.slick-list { position: relative; display: block; overflow: hidden; margin: 0; padding: 0; }
|
|
91
|
+
.slick-list:focus { outline: none; }
|
|
92
|
+
.slick-list.dragging { cursor: pointer; cursor: hand; }
|
|
93
|
+
.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); }
|
|
94
|
+
.slick-track { position: relative; top: 0; left: 0; display: block; margin-left: auto; margin-right: auto; }
|
|
95
|
+
.slick-track:before, .slick-track:after { display: table; content: ''; }
|
|
96
|
+
.slick-track:after { clear: both; }
|
|
97
|
+
.slick-loading .slick-track { visibility: hidden; }
|
|
98
|
+
.slick-slide { display: none; float: left; height: 100%; min-height: 1px; }
|
|
99
|
+
[dir='rtl'] .slick-slide { float: right; }
|
|
100
|
+
.slick-slide img { display: block; }
|
|
101
|
+
.slick-slide.slick-loading img { display: none; }
|
|
102
|
+
.slick-slide.dragging img { pointer-events: none; }
|
|
103
|
+
.slick-initialized .slick-slide { display: block; }
|
|
104
|
+
.slick-loading .slick-slide { visibility: hidden; }
|
|
105
|
+
.slick-vertical .slick-slide { display: block; height: auto; border: 1px solid transparent; }
|
|
106
|
+
.slick-arrow.slick-hidden { display: none; }
|
|
107
|
+
|
|
108
|
+
</style>
|
|
109
|
+
|
|
110
|
+
{% schema %}
|
|
111
|
+
{
|
|
112
|
+
"name": "Testimonials",
|
|
113
|
+
"class": "index-section home-testimonial-quote",
|
|
114
|
+
"max_blocks": 6,
|
|
115
|
+
"settings": [
|
|
116
|
+
{
|
|
117
|
+
"type": "checkbox",
|
|
118
|
+
"id": "full",
|
|
119
|
+
"label": "Show Full width"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"type": "text",
|
|
123
|
+
"id": "margin",
|
|
124
|
+
"label": "Style value (Margin)",
|
|
125
|
+
"default":"0,0",
|
|
126
|
+
"info":"Top(px),Bottom(px)"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"type": "select",
|
|
130
|
+
"id": "quote_style",
|
|
131
|
+
"label": "Style",
|
|
132
|
+
"options": [
|
|
133
|
+
{
|
|
134
|
+
"value": "style1",
|
|
135
|
+
"label": "Style 1"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"value": "style2",
|
|
139
|
+
"label": "Style 2"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"value": "style3",
|
|
143
|
+
"label": "Style 3"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"value": "style4",
|
|
147
|
+
"label": "Style 4"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"default": "style1"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"type": "image_picker",
|
|
154
|
+
"id": "image_1",
|
|
155
|
+
"label": "Image",
|
|
156
|
+
"info": "Size: 858x841"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"type": "text",
|
|
160
|
+
"id": "heading",
|
|
161
|
+
"label": "Heading",
|
|
162
|
+
"default": "What our customers say..."
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"type": "select",
|
|
166
|
+
"id": "content_position",
|
|
167
|
+
"label": "Heading Position",
|
|
168
|
+
"options": [
|
|
169
|
+
{
|
|
170
|
+
"value": "default",
|
|
171
|
+
"label": "Full center"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"value": "full-left",
|
|
175
|
+
"label": "Full left"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"value": "full-right",
|
|
179
|
+
"label": "Full right"
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"type": "text",
|
|
185
|
+
"id": "sub_heading",
|
|
186
|
+
"label": "Sub Heading"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"type": "color",
|
|
190
|
+
"id": "color_bg",
|
|
191
|
+
"label": "Background color",
|
|
192
|
+
"default": "#4a4a4a"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"type": "color",
|
|
196
|
+
"id": "author_color",
|
|
197
|
+
"label": "Author Color",
|
|
198
|
+
"default":"#000"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"type": "color",
|
|
202
|
+
"id": "design_color",
|
|
203
|
+
"label": "Designation Color",
|
|
204
|
+
"default":"#000"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"type": "color",
|
|
208
|
+
"id": "des_color",
|
|
209
|
+
"label": "Description Color",
|
|
210
|
+
"default":"#000"
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
],
|
|
214
|
+
"blocks": [
|
|
215
|
+
{
|
|
216
|
+
"type": "quote",
|
|
217
|
+
"name": "Testimonial",
|
|
218
|
+
"settings": [
|
|
219
|
+
{
|
|
220
|
+
"type": "richtext",
|
|
221
|
+
"id": "quote",
|
|
222
|
+
"label": "Text",
|
|
223
|
+
"info": "Best results if text does not exceed 400 characters",
|
|
224
|
+
"default": "<p>Add customer reviews and testimonials to showcase your store's happy customers.</p>"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"type": "image_picker",
|
|
228
|
+
"id": "icon",
|
|
229
|
+
"label": "Avator"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"type": "text",
|
|
233
|
+
"id": "author",
|
|
234
|
+
"label": "Author",
|
|
235
|
+
"default": "Author's name"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"type": "text",
|
|
239
|
+
"id": "job",
|
|
240
|
+
"label": "Designation",
|
|
241
|
+
"default": "Author's designation"
|
|
242
|
+
}
|
|
243
|
+
]
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"presets": [
|
|
247
|
+
{
|
|
248
|
+
"name": "Testimonials",
|
|
249
|
+
"category": "Text",
|
|
250
|
+
"blocks": [
|
|
251
|
+
{
|
|
252
|
+
"type": "quote"
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
]
|
|
257
|
+
}
|
|
258
|
+
{% endschema %}
|