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,468 @@
|
|
|
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="icon-block-inner" style="background:{{section.settings.tri_bg_clr}}; float:left;width:100%;">
|
|
7
|
+
<div class="{% if section.settings.full %}container-bg{% else %}container{% endif %}" style="margin-top:{{top}}px; margin-bottom:{{bottom}}px;">
|
|
8
|
+
<div class="grid__item">
|
|
9
|
+
<div class="triangle-icon-wrapper">
|
|
10
|
+
{% if section.settings.title != blank or section.settings.small_title != blank %}
|
|
11
|
+
<div class="section-header section-header--small full-position-{{section.settings.heading_position}}">
|
|
12
|
+
<div class="border-title">
|
|
13
|
+
{% if section.settings.title != blank %}
|
|
14
|
+
<h2 class="section-header__title" style="color:{{ section.settings.heading_color }};">
|
|
15
|
+
{{ section.settings.title }}
|
|
16
|
+
</h2>
|
|
17
|
+
{% endif %}
|
|
18
|
+
{% if section.settings.small_title != blank %}
|
|
19
|
+
<div class="short-desc">
|
|
20
|
+
<p style="color:{{ section.settings.small_title_color }};">{{ section.settings.small_title }}</p>
|
|
21
|
+
</div>{% endif %}
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
{% endif %}
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="icon-block {{ section.settings.brand_style }}">
|
|
28
|
+
<div class="grid-uniform">
|
|
29
|
+
{% if section.settings.brand_style == 'style1' %}
|
|
30
|
+
{% if section.settings.image_alignment == 'left' %}
|
|
31
|
+
<div class="grid__item wide--one-half post-large--one-half large--one-half medium--grid__item small-grid__item wow fadeInUp animated">
|
|
32
|
+
<div class="block-image">
|
|
33
|
+
<div id="triangle-{{ section.id }}-slider">
|
|
34
|
+
{% for block in section.blocks %}
|
|
35
|
+
<div class="center-block">
|
|
36
|
+
{% if block.settings.large != blank %}
|
|
37
|
+
<img src="{{ block.settings.large | img_url: 'grande' }}" alt="{{ section.settings.heading }}" />
|
|
38
|
+
{% else %}
|
|
39
|
+
<img src="//via.placeholder.com/780x900">
|
|
40
|
+
{% endif %}
|
|
41
|
+
</div>
|
|
42
|
+
{% endfor %}
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
{% endif %}
|
|
47
|
+
<div class="grid__item wide--one-half post-large--one-half large--one-half medium--grid__item small-grid__item wow fadeInUp animated">
|
|
48
|
+
<div class="block-content">
|
|
49
|
+
<div class="border-title text-left">
|
|
50
|
+
{% if section.settings.image_heading != blank %}
|
|
51
|
+
<h3 class="" style="color:{{ section.settings.heading_clr }}">{{ section.settings.image_heading }}</h3>
|
|
52
|
+
{% endif %}
|
|
53
|
+
</div>
|
|
54
|
+
<div id="triangle-{{ section.id }}-nav">
|
|
55
|
+
{% for block in section.blocks %}
|
|
56
|
+
<div class="grid__item">
|
|
57
|
+
<div class="icon_wrapper icon-right">
|
|
58
|
+
<div class="icon">
|
|
59
|
+
{% if block.settings.icon != blank %}
|
|
60
|
+
<img src="{{ block.settings.icon | img_url: 'grande' }}" alt="" title="" style=""/>
|
|
61
|
+
{% else %}
|
|
62
|
+
<img src="//via.placeholder.com/100x70">
|
|
63
|
+
{% endif %}
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
<div class="icon-content icon-content--{{ block.id }}">
|
|
67
|
+
{% if block.settings.title != blank %}
|
|
68
|
+
<h4>{{ block.settings.title }}</h4>
|
|
69
|
+
{% endif %}
|
|
70
|
+
{% if block.settings.text != blank %}
|
|
71
|
+
<p class="desc" style="">{{ block.settings.text }}</p>
|
|
72
|
+
{% endif %}
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
{% endfor %}
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
{% if section.settings.image_alignment == 'right' %}
|
|
81
|
+
<div class="grid__item wide--one-half post-large--one-half large--one-half medium--grid__item small-grid__item wow fadeInUp animated">
|
|
82
|
+
<div class="block-image">
|
|
83
|
+
<div id="triangle-{{ section.id }}-slider">
|
|
84
|
+
{% for block in section.blocks %}
|
|
85
|
+
<div class="center-block">
|
|
86
|
+
{% if block.settings.large != blank %}
|
|
87
|
+
<img src="{{ block.settings.large | img_url: 'grande' }}" alt="{{ section.settings.heading }}" />
|
|
88
|
+
{% else %}
|
|
89
|
+
<img src="//via.placeholder.com/780x900">
|
|
90
|
+
{% endif %}
|
|
91
|
+
</div>
|
|
92
|
+
{% endfor %}
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
{% endif %}
|
|
97
|
+
{% endif %}
|
|
98
|
+
|
|
99
|
+
{% if section.settings.brand_style == 'style2' %}
|
|
100
|
+
<div class="grid__item wide--one-third post-large--one-third large--one-third medium--one-whole small-grid__item wow fadeInUp animated">
|
|
101
|
+
<div class="block-content">
|
|
102
|
+
{% for block in section.blocks limit:3 %}
|
|
103
|
+
<div class="icon_wrapper icon-left">
|
|
104
|
+
{% if block.settings.title != blank %}
|
|
105
|
+
<div class="icon-content">
|
|
106
|
+
{% if block.settings.icon != blank %}
|
|
107
|
+
<div class="icon">
|
|
108
|
+
<img src="{{ block.settings.icon | img_url: 'medium' }}" />
|
|
109
|
+
</div>
|
|
110
|
+
{% endif %}
|
|
111
|
+
{% if block.settings.title != blank %}
|
|
112
|
+
<h4>{{ block.settings.title }}</h4>
|
|
113
|
+
{% endif %}
|
|
114
|
+
{% if block.settings.text != blank %}
|
|
115
|
+
<p class="desc" style="">{{ block.settings.text }}</p>
|
|
116
|
+
{% endif %}
|
|
117
|
+
</div>
|
|
118
|
+
{% endif %}
|
|
119
|
+
</div>
|
|
120
|
+
{% endfor %}
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
<div class="grid__item wide--one-third post-large--one-third large--one-third medium--one-whole small-grid__item wow fadeInUp animated">
|
|
124
|
+
<div class="center-block">
|
|
125
|
+
{% if section.settings.image != blank %}
|
|
126
|
+
<img src="{{ section.settings.image | img_url: 'grande' }}" alt="{{ section.settings.image_heading }}" />
|
|
127
|
+
{% else %}
|
|
128
|
+
<img src="//via.placeholder.com/430x600">
|
|
129
|
+
{% endif %}
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
<div class="grid__item wide--one-third post-large--one-third large--one-third medium--one-whole small-grid__item wow fadeInUp animated">
|
|
133
|
+
<div class="block-content">
|
|
134
|
+
{% for block in section.blocks offset:3 %}
|
|
135
|
+
<div class="icon_wrapper icon-right">
|
|
136
|
+
{% if block.settings.title != blank %}
|
|
137
|
+
<div class="icon-content">
|
|
138
|
+
{% if block.settings.icon != blank %}
|
|
139
|
+
<div class="icon">
|
|
140
|
+
<img src="{{ block.settings.icon | img_url: 'medium' }}" />
|
|
141
|
+
</div>
|
|
142
|
+
{% endif %}
|
|
143
|
+
{% if block.settings.title != blank %}
|
|
144
|
+
<h4>{{ block.settings.title }}</h4>
|
|
145
|
+
{% endif %}
|
|
146
|
+
{% if block.settings.text != blank %}
|
|
147
|
+
<p class="desc" style="">{{ block.settings.text }}</p>
|
|
148
|
+
{% endif %}
|
|
149
|
+
</div>
|
|
150
|
+
{% endif %}
|
|
151
|
+
</div>
|
|
152
|
+
{% endfor %}
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
{% endif %}
|
|
156
|
+
|
|
157
|
+
</div>
|
|
158
|
+
</div>
|
|
159
|
+
</div>
|
|
160
|
+
</div>
|
|
161
|
+
|
|
162
|
+
<style>
|
|
163
|
+
|
|
164
|
+
{% for block in section.blocks %}
|
|
165
|
+
.specification-icon-block .slick-current .icon-content--{{ block.id }} h4 { color:{{ section.settings.active_clr }};}
|
|
166
|
+
.specification-icon-block .icon-content--{{ block.id }} h4 { color:{{ section.settings.title_clr }};}
|
|
167
|
+
.specification-icon-block .icon-content--{{ block.id }} p { color:{{ section.settings.desc_clr }};}
|
|
168
|
+
.specification-icon-block .slick-current .icon-content--{{ block.id }} p { color:{{ section.settings.active_desc }};}
|
|
169
|
+
{% endfor %}
|
|
170
|
+
|
|
171
|
+
{% if section.settings.sliced_border_use %}
|
|
172
|
+
.specification-icon-block .triangle-icon-wrapper::after { border-bottom: 645px solid {{ section.settings.sliced_border_clr }};}
|
|
173
|
+
{% endif %}
|
|
174
|
+
|
|
175
|
+
.specification-icon-block .icon i{color:{{section.settings.icon_clr}};}
|
|
176
|
+
|
|
177
|
+
@media (min-width: 767px) {
|
|
178
|
+
#triangle-{{ section.id }}-nav .grid__item { width:100% !important;}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
</style>
|
|
182
|
+
|
|
183
|
+
{% if section.settings.brand_style == 'style1' %}
|
|
184
|
+
|
|
185
|
+
<script>
|
|
186
|
+
$(document).on('ready', function() {
|
|
187
|
+
$('#triangle-{{ section.id }}-slider').slick({
|
|
188
|
+
slidesToShow: 1,
|
|
189
|
+
slidesToScroll: 1,
|
|
190
|
+
arrows: false,
|
|
191
|
+
fade: true,
|
|
192
|
+
asNavFor: '#triangle-{{ section.id }}-nav',
|
|
193
|
+
autoplay:true,
|
|
194
|
+
autoplaySpeed:1500,
|
|
195
|
+
responsive: [
|
|
196
|
+
{
|
|
197
|
+
|
|
198
|
+
breakpoint: 767,
|
|
199
|
+
settings: {
|
|
200
|
+
slidesToShow: 1,
|
|
201
|
+
slidesToScroll: 1,
|
|
202
|
+
dots: false,
|
|
203
|
+
arrows: true
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
// You can unslick at a given breakpoint now by adding:
|
|
207
|
+
// settings: "unslick"
|
|
208
|
+
// instead of a settings object
|
|
209
|
+
]
|
|
210
|
+
});
|
|
211
|
+
$('#triangle-{{ section.id }}-nav').slick({
|
|
212
|
+
slidesToShow: {{section.blocks.size}},
|
|
213
|
+
slidesToScroll: 1,
|
|
214
|
+
asNavFor: '#triangle-{{ section.id }}-slider',
|
|
215
|
+
dots: true,
|
|
216
|
+
|
|
217
|
+
focusOnSelect: true,
|
|
218
|
+
autoplay:true,
|
|
219
|
+
autoplaySpeed:1500,
|
|
220
|
+
responsive: [
|
|
221
|
+
{
|
|
222
|
+
breakpoint: 1024,
|
|
223
|
+
settings: {
|
|
224
|
+
slidesToShow: {{section.blocks.size}},
|
|
225
|
+
slidesToScroll: 1,
|
|
226
|
+
infinite: true,
|
|
227
|
+
dots: false
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
breakpoint: 768,
|
|
232
|
+
settings: {
|
|
233
|
+
slidesToShow: {{section.blocks.size}},
|
|
234
|
+
slidesToScroll: 1
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
breakpoint: 767,
|
|
239
|
+
settings: {
|
|
240
|
+
slidesToShow: 1,
|
|
241
|
+
slidesToScroll: 1,
|
|
242
|
+
dots: true,
|
|
243
|
+
arrows: false,
|
|
244
|
+
autoplay:false,
|
|
245
|
+
centerMode: true,
|
|
246
|
+
centerPadding: '10px'
|
|
247
|
+
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
// You can unslick at a given breakpoint now by adding:
|
|
251
|
+
// settings: "unslick"
|
|
252
|
+
// instead of a settings object
|
|
253
|
+
]
|
|
254
|
+
|
|
255
|
+
});
|
|
256
|
+
})
|
|
257
|
+
</script>
|
|
258
|
+
|
|
259
|
+
{% endif %}
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
{% schema %}
|
|
264
|
+
{
|
|
265
|
+
"name": "Specification Block 1",
|
|
266
|
+
"class": "index-section specification-icon-block",
|
|
267
|
+
"max_blocks": 6,
|
|
268
|
+
"settings": [
|
|
269
|
+
{
|
|
270
|
+
"type": "checkbox",
|
|
271
|
+
"id": "full",
|
|
272
|
+
"label": "Show Full width"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"type": "text",
|
|
276
|
+
"id": "margin",
|
|
277
|
+
"label": "Style value (Margin)",
|
|
278
|
+
"default":"0,0",
|
|
279
|
+
"info":"Top(px),Bottom(px)"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"type": "checkbox",
|
|
283
|
+
"id": "heading_image_need",
|
|
284
|
+
"label": "Show Heading Image ?"
|
|
285
|
+
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"type": "image_picker",
|
|
289
|
+
"id": "heading_image",
|
|
290
|
+
"label": "Image",
|
|
291
|
+
"info": "Size: 105x17"
|
|
292
|
+
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"type": "text",
|
|
296
|
+
"id": "title",
|
|
297
|
+
"label": "Heading",
|
|
298
|
+
"default": "Specification block"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"type": "color",
|
|
302
|
+
"id": "heading_color",
|
|
303
|
+
"label": "Heading Color",
|
|
304
|
+
"default": "#000"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"type": "text",
|
|
308
|
+
"id": "small_title",
|
|
309
|
+
"label": "Small Heading",
|
|
310
|
+
"default": "Sub Heading"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"type": "color",
|
|
314
|
+
"id": "small_title_color",
|
|
315
|
+
"label": "Small Heading Color",
|
|
316
|
+
"default": "#000"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"type": "select",
|
|
320
|
+
"id": "heading_position",
|
|
321
|
+
"label": "Heading Position",
|
|
322
|
+
"options": [
|
|
323
|
+
{
|
|
324
|
+
"value": "default",
|
|
325
|
+
"label": "Full center"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"value": "full-left",
|
|
329
|
+
"label": "Full left"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"value": "full-right",
|
|
333
|
+
"label": "Full right"
|
|
334
|
+
}
|
|
335
|
+
]
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"type": "select",
|
|
339
|
+
"id": "brand_style",
|
|
340
|
+
"label": "Style",
|
|
341
|
+
"options": [
|
|
342
|
+
{
|
|
343
|
+
"value": "style1",
|
|
344
|
+
"label": "Style 1"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"value": "style2",
|
|
348
|
+
"label": "Style 2"
|
|
349
|
+
}
|
|
350
|
+
],
|
|
351
|
+
"default": "style1"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"type": "color",
|
|
355
|
+
"id": "tri_bg_clr",
|
|
356
|
+
"label": "Bg Color",
|
|
357
|
+
"default": "#000"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"type": "checkbox",
|
|
361
|
+
"id": "sliced_border_use",
|
|
362
|
+
"label": "Sliced Border ?",
|
|
363
|
+
"default":true
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"type": "color",
|
|
367
|
+
"id": "sliced_border_clr",
|
|
368
|
+
"label": "Sliced Border",
|
|
369
|
+
"default": "#f4f4f4"
|
|
370
|
+
},
|
|
371
|
+
|
|
372
|
+
{
|
|
373
|
+
"type": "select",
|
|
374
|
+
"id": "image_alignment",
|
|
375
|
+
"label": "Image Alignment",
|
|
376
|
+
"options": [
|
|
377
|
+
{
|
|
378
|
+
"value": "left",
|
|
379
|
+
"label": "Left"
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"value": "right",
|
|
383
|
+
"label": "Right"
|
|
384
|
+
}
|
|
385
|
+
],
|
|
386
|
+
"default": "left"
|
|
387
|
+
},
|
|
388
|
+
|
|
389
|
+
{
|
|
390
|
+
"type": "color",
|
|
391
|
+
"id": "active_clr",
|
|
392
|
+
"label": "Active Heading",
|
|
393
|
+
"default": "#000"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"type": "color",
|
|
397
|
+
"id": "desc_clr",
|
|
398
|
+
"label": "Description",
|
|
399
|
+
"default": "#000"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"type": "color",
|
|
403
|
+
"id": "active_desc",
|
|
404
|
+
"label": "Active Desc",
|
|
405
|
+
"default": "#000"
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"type": "header",
|
|
409
|
+
"content": "Middle Block Section"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"type": "image_picker",
|
|
413
|
+
"id": "image",
|
|
414
|
+
"label": "Image"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"type": "text",
|
|
418
|
+
"id": "image_heading",
|
|
419
|
+
"label": "Image Heading",
|
|
420
|
+
"default": "Image Heading"
|
|
421
|
+
}
|
|
422
|
+
],
|
|
423
|
+
"blocks": [
|
|
424
|
+
{
|
|
425
|
+
"type": "Image",
|
|
426
|
+
"name":"Icon Block",
|
|
427
|
+
"settings": [
|
|
428
|
+
|
|
429
|
+
{
|
|
430
|
+
"type": "image_picker",
|
|
431
|
+
"id": "icon",
|
|
432
|
+
"label": "Icon Img"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"type": "text",
|
|
436
|
+
"id": "title",
|
|
437
|
+
"label": "Heading",
|
|
438
|
+
"default": "Heading"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"type": "textarea",
|
|
442
|
+
"id": "text",
|
|
443
|
+
"label": "Description",
|
|
444
|
+
"default": "Description"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"type": "image_picker",
|
|
448
|
+
"id": "large",
|
|
449
|
+
"label": "Large Image"
|
|
450
|
+
}
|
|
451
|
+
]
|
|
452
|
+
}
|
|
453
|
+
],
|
|
454
|
+
"presets": [
|
|
455
|
+
{
|
|
456
|
+
"name": "Specification Block 1",
|
|
457
|
+
"category": "Text",
|
|
458
|
+
"blocks": []
|
|
459
|
+
}
|
|
460
|
+
]
|
|
461
|
+
}
|
|
462
|
+
{% endschema %}
|
|
463
|
+
|
|
464
|
+
{% stylesheet %}
|
|
465
|
+
{% endstylesheet %}
|
|
466
|
+
|
|
467
|
+
{% javascript %}
|
|
468
|
+
{% endjavascript %}
|