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,335 @@
|
|
|
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.show_portfolio_parallax_section %}
|
|
7
|
+
<div class="donutchart-inner" style="float:left;width:100%;margin-top:{{top}}px; margin-bottom:{{bottom}}px;">
|
|
8
|
+
<!--container starts-->
|
|
9
|
+
<div class="{% if section.settings.full %} container-bg {% else %}container{% endif %}">
|
|
10
|
+
<!--main-title starts-->
|
|
11
|
+
<div class="parallax">
|
|
12
|
+
{% if section.settings.heading != blank or section.settings.sub_heading != blank %}
|
|
13
|
+
<div class="section-header section-header--small full-position-{{section.settings.heading_position}}">
|
|
14
|
+
<div class="border-title wow fadeInDown animated">
|
|
15
|
+
{% if section.settings.heading != blank %}
|
|
16
|
+
<h2 class="" style="color:{{ section.settings.heading_clr }}">{{ section.settings.heading }}</h2>
|
|
17
|
+
{% endif %}
|
|
18
|
+
{% if section.settings.sub_heading != blank %}
|
|
19
|
+
<div class="small-desc">
|
|
20
|
+
<p style="color:{{ section.settings.sub_heading_clr }}">{{ section.settings.sub_heading }}</p>
|
|
21
|
+
</div>
|
|
22
|
+
{% endif %}
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
{% endif %}
|
|
26
|
+
|
|
27
|
+
<!--main-title ends-->
|
|
28
|
+
<div class="grid-uniform">
|
|
29
|
+
{% if section.settings.show_1_donutchartbar %}
|
|
30
|
+
<!--column one-fourth starts-->
|
|
31
|
+
<div class="grid__item wide--one-quarter post-large--one-quarter large--one-half medium--one-half">
|
|
32
|
+
<!--donutchart-medium starts-->
|
|
33
|
+
<div class="dt-sc-donutchart-medium">
|
|
34
|
+
<!--donutchart starts-->
|
|
35
|
+
{% if section.settings.chart_1_percentage != blank %}
|
|
36
|
+
<div class="dt-sc-donutchart1" data-percent="{{ section.settings.chart_1_percentage }}" ></div>
|
|
37
|
+
{% endif %}
|
|
38
|
+
<!--donutchart ends-->
|
|
39
|
+
{% if section.settings.chart_1__title != blank %}
|
|
40
|
+
<h6 class="dt-sc-donutchart-title orange">{{ section.settings.chart_1__title }}</h6>
|
|
41
|
+
{% endif %}
|
|
42
|
+
</div>
|
|
43
|
+
<!--donutchart-medium ends-->
|
|
44
|
+
</div>
|
|
45
|
+
<!--column one-fourth ends-->
|
|
46
|
+
{% endif %}
|
|
47
|
+
{% if section.settings.show_2_donutchartbar %}
|
|
48
|
+
<!--column one-fourth starts-->
|
|
49
|
+
<div class="grid__item wide--one-quarter post-large--one-quarter large--one-half medium--one-half">
|
|
50
|
+
<!--donutchart-medium starts-->
|
|
51
|
+
<div class="dt-sc-donutchart-medium">
|
|
52
|
+
<!--donutchart starts-->
|
|
53
|
+
{% if section.settings.chart_2_percentage != blank %}
|
|
54
|
+
<div class="dt-sc-donutchart2" data-percent="{{ section.settings.chart_2_percentage }}"></div>
|
|
55
|
+
{% endif %}
|
|
56
|
+
<!--donutchart ends-->
|
|
57
|
+
{% if section.settings.chart_2__title != blank %}
|
|
58
|
+
<h6 class="dt-sc-donutchart-title blue">{{ section.settings.chart_2__title }}</h6>
|
|
59
|
+
{% endif %}
|
|
60
|
+
</div>
|
|
61
|
+
<!--donutchart-medium ends-->
|
|
62
|
+
</div>
|
|
63
|
+
<!--column one-fourth ends-->
|
|
64
|
+
{% endif %}
|
|
65
|
+
{% if section.settings.show_3_donutchartbar %}
|
|
66
|
+
<!--column one-fourth starts-->
|
|
67
|
+
<div class="grid__item wide--one-quarter post-large--one-quarter large--one-half medium--one-half">
|
|
68
|
+
<!--donutchart-medium starts-->
|
|
69
|
+
<div class="dt-sc-donutchart-medium">
|
|
70
|
+
<!--donutchart starts-->
|
|
71
|
+
{% if section.settings.chart_3_percentage != blank %}
|
|
72
|
+
<div class="dt-sc-donutchart3" data-percent="{{ section.settings.chart_3_percentage }}" ></div>
|
|
73
|
+
{% endif %}
|
|
74
|
+
<!--donutchart ends-->
|
|
75
|
+
{% if section.settings.chart_3__title != blank %}
|
|
76
|
+
<h6 class="dt-sc-donutchart-title light-green"> {{ section.settings.chart_3__title }}</h6>
|
|
77
|
+
{% endif %}
|
|
78
|
+
</div>
|
|
79
|
+
<!--donutchart-medium ends-->
|
|
80
|
+
</div>
|
|
81
|
+
<!--column one-fourth ends-->
|
|
82
|
+
{% endif %}
|
|
83
|
+
|
|
84
|
+
{% if section.settings.show_4_donutchartbar %}
|
|
85
|
+
<!--column one-fourth starts-->
|
|
86
|
+
<div class="grid__item wide--one-quarter post-large--one-quarter large--one-half medium--one-half">
|
|
87
|
+
<!--donutchart-medium starts-->
|
|
88
|
+
<div class="dt-sc-donutchart-medium">
|
|
89
|
+
<!--donutchart starts-->
|
|
90
|
+
{% if section.settings.chart_4_percentage != blank %}
|
|
91
|
+
<div class="dt-sc-donutchart4" data-percent="{{ section.settings.chart_4_percentage }}" ></div>
|
|
92
|
+
{% endif %}
|
|
93
|
+
<!--donutchart ends-->
|
|
94
|
+
{% if section.settings.chart_4__title != blank %}
|
|
95
|
+
<h6 class="dt-sc-donutchart-title yellow">{{ section.settings.chart_4__title }}</h6>
|
|
96
|
+
{% endif %}
|
|
97
|
+
</div>
|
|
98
|
+
<!--donutchart-medium ends-->
|
|
99
|
+
</div>
|
|
100
|
+
<!--column one-fourth ends-->
|
|
101
|
+
{% endif %}
|
|
102
|
+
</div>
|
|
103
|
+
<!--container ends-->
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
{% endif %}
|
|
108
|
+
|
|
109
|
+
<style>
|
|
110
|
+
{% if section.settings.full-width-brilliance %}
|
|
111
|
+
.home-donutchart-bar { background:url({{ section.settings.full-width-brilliance | img_url: 'master' }}) repeat-y 50% 0 fixed; }
|
|
112
|
+
{% else %}
|
|
113
|
+
.home-donutchart-bar { background-color:{{ section.settings.brilliance_bg_color }}; }
|
|
114
|
+
{% endif %}
|
|
115
|
+
.home-donutchart-bar .dt-sc-donutchart1 div span , .home-donutchart-bar .dt-sc-donutchart1 .dt-sc-donutchart-title{color:{{section.settings.chart_1__title_clr}};}
|
|
116
|
+
.home-donutchart-bar .dt-sc-donutchart2 div span ,.home-donutchart-bar .dt-sc-donutchart2 .dt-sc-donutchart-title{color:{{section.settings.chart_2__title_clr}};}
|
|
117
|
+
.home-donutchart-bar .dt-sc-donutchart3 div span , .home-donutchart-bar .dt-sc-donutchart3 .dt-sc-donutchart-title{color:{{section.settings.chart_3__title_clr}};}
|
|
118
|
+
.home-donutchart-bar .dt-sc-donutchart4 div span , .home-donutchart-bar .dt-sc-donutchart4 .dt-sc-donutchart-title{color:{{section.settings.chart_4__title_clr}};}
|
|
119
|
+
.home-donutchart-bar h6.orange{color:{{section.settings.chart_1__title_clr}};}
|
|
120
|
+
.home-donutchart-bar h6.blue{color:{{section.settings.chart_2__title_clr}};}
|
|
121
|
+
.home-donutchart-bar h6.light-green{color:{{section.settings.chart_3__title_clr}};}
|
|
122
|
+
.home-donutchart-bar h6.yellow{color:{{section.settings.chart_4__title_clr}};}
|
|
123
|
+
</style>
|
|
124
|
+
|
|
125
|
+
{% schema %}
|
|
126
|
+
{
|
|
127
|
+
"name": "Donutchart Bar",
|
|
128
|
+
"class": "index-section home-donutchart-bar",
|
|
129
|
+
"settings": [
|
|
130
|
+
{
|
|
131
|
+
"type": "checkbox",
|
|
132
|
+
"id": "full",
|
|
133
|
+
"label": "Show Full width"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"type": "text",
|
|
137
|
+
"id": "margin",
|
|
138
|
+
"label": "Style value (Margin)",
|
|
139
|
+
"default":"0,0",
|
|
140
|
+
"info":"Top(px),Bottom(px)"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"type": "text",
|
|
144
|
+
"id": "heading",
|
|
145
|
+
"label": "Heading",
|
|
146
|
+
"default":"Our Services"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"type": "color",
|
|
150
|
+
"id": "heading_clr",
|
|
151
|
+
"label": "Heading color",
|
|
152
|
+
"default": "#000"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"type": "text",
|
|
156
|
+
"id": "sub_heading",
|
|
157
|
+
"label": "Sub Heading"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"type": "color",
|
|
161
|
+
"id": "sub_heading_clr",
|
|
162
|
+
"label": "Sub Heading color",
|
|
163
|
+
"default": "#000"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"type": "select",
|
|
167
|
+
"id": "heading_position",
|
|
168
|
+
"label": "Heading Position",
|
|
169
|
+
"options": [
|
|
170
|
+
{
|
|
171
|
+
"value": "default",
|
|
172
|
+
"label": "Full center"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"value": "full-left",
|
|
176
|
+
"label": "Full left"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"value": "full-right",
|
|
180
|
+
"label": "Full right"
|
|
181
|
+
}
|
|
182
|
+
]
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"type": "header",
|
|
186
|
+
"content": "Portfolio Parallax Section"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"type": "checkbox",
|
|
190
|
+
"id": "show_portfolio_parallax_section",
|
|
191
|
+
"label": "Show Portfolio Parallax Section",
|
|
192
|
+
"default": true
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"type": "checkbox",
|
|
196
|
+
"id": "use_brilliance_bg_image",
|
|
197
|
+
"label": "Use Brilliance Bg Image?"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"type": "image_picker",
|
|
201
|
+
"id": "full-width-brilliance",
|
|
202
|
+
"label": "Brilliance BG Image"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"type": "color",
|
|
206
|
+
"id": "brilliance_bg_color",
|
|
207
|
+
"label": "Brilliance BG color",
|
|
208
|
+
"default": "#d2d2d2"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"type": "checkbox",
|
|
212
|
+
"id": "show_1_donutchartbar",
|
|
213
|
+
"label": "Show donutchartbar"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"type": "text",
|
|
217
|
+
"id": "chart_1_percentage",
|
|
218
|
+
"label": "Chart1 Percentage"
|
|
219
|
+
},
|
|
220
|
+
|
|
221
|
+
{
|
|
222
|
+
"type": "text",
|
|
223
|
+
"id": "chart_1__title",
|
|
224
|
+
"label": "Chart 1 Title"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"type": "color",
|
|
228
|
+
"id": "chart_1__title_clr",
|
|
229
|
+
"label": "chart title color",
|
|
230
|
+
"default": "#d2d2d2"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"type": "checkbox",
|
|
234
|
+
"id": "show_2_donutchartbar",
|
|
235
|
+
"label": "Show donutchartbar"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"type": "text",
|
|
239
|
+
"id": "chart_2_percentage",
|
|
240
|
+
"label": "Chart2 Percentage"
|
|
241
|
+
},
|
|
242
|
+
|
|
243
|
+
{
|
|
244
|
+
"type": "text",
|
|
245
|
+
"id": "chart_2__title",
|
|
246
|
+
"label": "Chart 2 Title"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"type": "color",
|
|
250
|
+
"id": "chart_2__title_clr",
|
|
251
|
+
"label": "chart title color",
|
|
252
|
+
"default": "#d2d2d2"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"type": "checkbox",
|
|
256
|
+
"id": "show_3_donutchartbar",
|
|
257
|
+
"label": "Show donutchartbar"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"type": "text",
|
|
261
|
+
"id": "chart_3_percentage",
|
|
262
|
+
"label": "Chart3 Percentage"
|
|
263
|
+
},
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
{
|
|
267
|
+
"type": "text",
|
|
268
|
+
"id": "chart_3__title",
|
|
269
|
+
"label": "Chart 3 Title"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"type": "color",
|
|
273
|
+
"id": "chart_3__title_clr",
|
|
274
|
+
"label": "chart title color",
|
|
275
|
+
"default": "#d2d2d2"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"type": "checkbox",
|
|
279
|
+
"id": "show_4_donutchartbar",
|
|
280
|
+
"label": "Show donutchartbar"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"type": "text",
|
|
284
|
+
"id": "chart_4_percentage",
|
|
285
|
+
"label": "Chart4 Percentage"
|
|
286
|
+
},
|
|
287
|
+
|
|
288
|
+
{
|
|
289
|
+
"type": "text",
|
|
290
|
+
"id": "chart_4__title",
|
|
291
|
+
"label": "Chart 4 Title"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"type": "color",
|
|
295
|
+
"id": "chart_4__title_clr",
|
|
296
|
+
"label": "chart title color",
|
|
297
|
+
"default": "#d2d2d2"
|
|
298
|
+
}
|
|
299
|
+
],
|
|
300
|
+
"presets": [
|
|
301
|
+
{
|
|
302
|
+
"name": "Donutchart Bar",
|
|
303
|
+
"category": "Chart",
|
|
304
|
+
"blocks": []
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
}
|
|
308
|
+
{% endschema %}
|
|
309
|
+
|
|
310
|
+
{% stylesheet %}
|
|
311
|
+
{% endstylesheet %}
|
|
312
|
+
|
|
313
|
+
{% javascript %}
|
|
314
|
+
|
|
315
|
+
jQuery(document).ready(function($){
|
|
316
|
+
|
|
317
|
+
/* Donut Chart */
|
|
318
|
+
$('.dt-sc-donutchart1').one('inview', function (event, visible){
|
|
319
|
+
if (visible == true) {
|
|
320
|
+
$(".dt-sc-donutchart1").donutchart({'fgColor': '#fe6b35', 'bgColor': '#f5f5f5', 'textsize': 38 });
|
|
321
|
+
$(".dt-sc-donutchart1").donutchart("animate");
|
|
322
|
+
|
|
323
|
+
$(".dt-sc-donutchart2").donutchart({'fgColor': '#665de5', 'bgColor': '#f5f5f5', 'textsize': 38 });
|
|
324
|
+
$(".dt-sc-donutchart2").donutchart("animate");
|
|
325
|
+
|
|
326
|
+
$(".dt-sc-donutchart3").donutchart({'fgColor': '#36a6a0', 'bgColor': '#f5f5f5', 'textsize': 38 });
|
|
327
|
+
$(".dt-sc-donutchart3").donutchart("animate");
|
|
328
|
+
$(".dt-sc-donutchart4").donutchart({'fgColor': '#f4d30f', 'bgColor': '#f5f5f5', 'textsize': 38 });
|
|
329
|
+
$(".dt-sc-donutchart4").donutchart("animate");
|
|
330
|
+
|
|
331
|
+
}
|
|
332
|
+
});
|
|
333
|
+
|
|
334
|
+
});
|
|
335
|
+
{% endjavascript %}
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
<div data-section-id="{{ section.id }}" data-section-type="triangle-icon-block-4" class="triangle-icon-block-4" style="{% if section.settings.bg_image != blank %}background-image:url('{{ section.settings.bg_image | img_url: '1920X' }}');background-repeat:no-repeat;background-position:top center; {% else %}background-color:{{section.settings.bg_color}}{% endif%}">
|
|
2
|
+
<div class="grid-uniform">
|
|
3
|
+
<div class="triangle-icon-wrapper">
|
|
4
|
+
<div class="container-bg">
|
|
5
|
+
<div class="grid__item wow fadeInUp animated">
|
|
6
|
+
<div id="triangle-{{ section.id }}-slider">
|
|
7
|
+
{% for block in section.blocks %}
|
|
8
|
+
<div class="grid__item">
|
|
9
|
+
<div class="grid__item wide--one-half post-large--one-half large--one-half medium--grid__item small-grid__item">
|
|
10
|
+
<div class="icon_wrapper icon-right">
|
|
11
|
+
<div class="icon-content icon-content--{{ block.id }}">
|
|
12
|
+
{% if block.settings.title != blank %}
|
|
13
|
+
<h2>{{ block.settings.title }}</h2>
|
|
14
|
+
{% endif %}
|
|
15
|
+
{% if block.settings.sub_title != blank %}
|
|
16
|
+
<h3>{{ block.settings.sub_title }}</h3>
|
|
17
|
+
{% endif %}
|
|
18
|
+
{% if block.settings.text != blank %}
|
|
19
|
+
<p class="desc" style="">{{ block.settings.text }}</p>
|
|
20
|
+
{% endif %}
|
|
21
|
+
{% if block.settings.url != blank %}
|
|
22
|
+
<a href="{{ block.settings.url}}" class="btn">{{ block.settings.button }}</a>
|
|
23
|
+
{% endif %}
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="grid__item grid__item wide--one-half post-large--one-half large--one-half medium--grid__item small-grid__item">
|
|
28
|
+
<div class="icon">
|
|
29
|
+
{% if block.settings.large != blank %}
|
|
30
|
+
<img src="{{ block.settings.large | img_url: '1000x' }}" alt="{{ block.settings.title }}" />
|
|
31
|
+
{% else %}
|
|
32
|
+
<img src="//via.placeholder.com/580x980">
|
|
33
|
+
{% endif %}
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
{% endfor %}
|
|
38
|
+
</div>
|
|
39
|
+
<ul id="triangle-{{ section.id }}-nav" class="slider-nav">
|
|
40
|
+
{% for block in section.blocks %}
|
|
41
|
+
<li class="center-block">
|
|
42
|
+
0{{ forloop.index }}
|
|
43
|
+
</li>
|
|
44
|
+
{% endfor %}
|
|
45
|
+
</ul>
|
|
46
|
+
</div>
|
|
47
|
+
<ul class="home-social-media">
|
|
48
|
+
{% if section.settings.social_media1 != blank %}
|
|
49
|
+
<li><a href="{{ section.settings.social_media1_url }}">{{ section.settings.social_media1 }}</a></li>
|
|
50
|
+
{% endif %}
|
|
51
|
+
{% if section.settings.social_media2 != blank %}
|
|
52
|
+
<li><a href="{{ section.settings.social_media2_url }}">{{ section.settings.social_media2 }}</a></li>
|
|
53
|
+
{% endif %}
|
|
54
|
+
{% if section.settings.social_media3 != blank %}
|
|
55
|
+
<li><a href="{{ section.settings.social_media3_url }}">{{ section.settings.social_media3 }}</a></li>
|
|
56
|
+
{% endif %}
|
|
57
|
+
</ul>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
|
|
63
|
+
<style>
|
|
64
|
+
{% for block in section.blocks %}
|
|
65
|
+
|
|
66
|
+
.triangle-icon-block-4 .icon-content--{{ block.id }} h2 { color:{{ section.settings.title_clr }};}
|
|
67
|
+
.triangle-icon-block-4 .icon-content--{{ block.id }} h3 { color:{{ section.settings.sub_title_clr }};}
|
|
68
|
+
.triangle-icon-block-4 .icon-content--{{ block.id }} p { color:{{ section.settings.desc_clr }};}
|
|
69
|
+
.triangle-icon-block-4 .slick-current .icon-content--{{ block.id }} p { color:{{ section.settings.active_desc }};}
|
|
70
|
+
.triangle-icon-block-4 .icon-content--{{ block.id }} .btn { background:{{ section.settings.btn_bg_color }};color:{{ section.settings.btn_txt_color }}; }
|
|
71
|
+
.triangle-icon-block-4 .icon-content--{{ block.id }}.btn:hover { background:{{ section.settings.btn_hoverbg_color }};color:{{ section.settings.btn_hovertxt_color }}; }
|
|
72
|
+
|
|
73
|
+
{% endfor %}
|
|
74
|
+
|
|
75
|
+
.triangle-icon-block-4 .icon i{color:{{section.settings.icon_clr}};}
|
|
76
|
+
|
|
77
|
+
@media (min-width: 767px) {
|
|
78
|
+
|
|
79
|
+
#triangle-{{ section.id }}-nav .grid__item { width:100% !important;}
|
|
80
|
+
}
|
|
81
|
+
</style>
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
<script>
|
|
85
|
+
$(document).on('ready', function() {
|
|
86
|
+
$('#triangle-{{ section.id }}-slider').slick({
|
|
87
|
+
slidesToShow: 1,
|
|
88
|
+
slidesToScroll: 1,
|
|
89
|
+
arrows: true,
|
|
90
|
+
fade: true,
|
|
91
|
+
asNavFor: '#triangle-{{ section.id }}-nav',
|
|
92
|
+
autoplay:false,
|
|
93
|
+
autoplaySpeed:1500
|
|
94
|
+
});
|
|
95
|
+
$('#triangle-{{ section.id }}-nav').slick({
|
|
96
|
+
slidesToShow: 3,
|
|
97
|
+
slidesToScroll: 1,
|
|
98
|
+
asNavFor: '#triangle-{{ section.id }}-slider',
|
|
99
|
+
dots: false,
|
|
100
|
+
focusOnSelect: true,
|
|
101
|
+
autoplay:false,
|
|
102
|
+
arrows: false,
|
|
103
|
+
autoplaySpeed:1500
|
|
104
|
+
});
|
|
105
|
+
})
|
|
106
|
+
</script>
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
{% schema %}
|
|
113
|
+
{
|
|
114
|
+
"name": "Slider",
|
|
115
|
+
"class": "index-section",
|
|
116
|
+
"max_blocks": 3,
|
|
117
|
+
"settings": [
|
|
118
|
+
{
|
|
119
|
+
"type": "color",
|
|
120
|
+
"id": "bg_color",
|
|
121
|
+
"label":"Background Color",
|
|
122
|
+
"default": "#000"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"type": "image_picker",
|
|
126
|
+
"id": "bg_image",
|
|
127
|
+
"label": "Image",
|
|
128
|
+
"info": "Size: 1920x1021"
|
|
129
|
+
},
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
{
|
|
133
|
+
"type": "color",
|
|
134
|
+
"id": "title_clr",
|
|
135
|
+
"label": "Title",
|
|
136
|
+
"default": "#3C3664"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"type": "color",
|
|
140
|
+
"id": "sub_title_clr",
|
|
141
|
+
"label": "Sub Title",
|
|
142
|
+
"default": "#421692"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"type": "color",
|
|
146
|
+
"id": "desc_clr",
|
|
147
|
+
"label": "Description",
|
|
148
|
+
"default": "#3e3564"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"type": "color",
|
|
152
|
+
"id": "btn_bg_color",
|
|
153
|
+
"label": "Button Bg Color",
|
|
154
|
+
"default": "#ae30eb",
|
|
155
|
+
"info": "Default Value: #ae30eb"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"type": "color",
|
|
159
|
+
"id": "btn_txt_color",
|
|
160
|
+
"label": "Button Text Color",
|
|
161
|
+
"default": "#fff",
|
|
162
|
+
"info": "Default Value: #fff"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"type": "color",
|
|
166
|
+
"id": "btn_hoverbg_color",
|
|
167
|
+
"label": "Button Hover Bg Color",
|
|
168
|
+
"default": "#3e3564",
|
|
169
|
+
"info": "Default Value: #3e3564"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"type": "color",
|
|
173
|
+
"id": "btn_hovertxt_color",
|
|
174
|
+
"label": "Button Hover Text Color",
|
|
175
|
+
"default": "#fff",
|
|
176
|
+
"info": "Default Value: #fff"
|
|
177
|
+
},
|
|
178
|
+
|
|
179
|
+
{
|
|
180
|
+
"type": "text",
|
|
181
|
+
"id": "social_media1",
|
|
182
|
+
"label": "Social Media Name" ,
|
|
183
|
+
"default": "Twitter"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"type": "url",
|
|
187
|
+
"id": "social_media1_url",
|
|
188
|
+
"label": "Link"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"type": "text",
|
|
192
|
+
"id": "social_media2",
|
|
193
|
+
"label": "Social Media Name" ,
|
|
194
|
+
"default": "Facebook"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"type": "url",
|
|
198
|
+
"id": "social_media2_url",
|
|
199
|
+
"label": "Link"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"type": "text",
|
|
203
|
+
"id": "social_media3",
|
|
204
|
+
"label": "Social Media Name" ,
|
|
205
|
+
"default": "Instagram"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"type": "url",
|
|
209
|
+
"id": "social_media3_url",
|
|
210
|
+
"label": "Link"
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"blocks": [
|
|
214
|
+
{
|
|
215
|
+
"type": "Image",
|
|
216
|
+
"name":"Icon Block",
|
|
217
|
+
"settings": [
|
|
218
|
+
{
|
|
219
|
+
"type": "text",
|
|
220
|
+
"id": "title",
|
|
221
|
+
"label": "Heading" ,
|
|
222
|
+
"default": "Heading"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"type": "text",
|
|
226
|
+
"id": "sub_title",
|
|
227
|
+
"label": "Sub title",
|
|
228
|
+
"default": "Sub title"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"type": "text",
|
|
232
|
+
"id": "text",
|
|
233
|
+
"label": "Description",
|
|
234
|
+
"default": "Description"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"type": "text",
|
|
238
|
+
"id": "button",
|
|
239
|
+
"label": "Button",
|
|
240
|
+
"default": "Shop Now"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"type": "url",
|
|
244
|
+
"id": "url",
|
|
245
|
+
"label": "Link"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"type": "image_picker",
|
|
249
|
+
"id": "icon",
|
|
250
|
+
"label": "Icon Img"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"type": "image_picker",
|
|
254
|
+
"id": "large",
|
|
255
|
+
"label": "Large Image"
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
"presets": [
|
|
261
|
+
{
|
|
262
|
+
"name": "Slider",
|
|
263
|
+
"category": "Text",
|
|
264
|
+
"blocks": []
|
|
265
|
+
}
|
|
266
|
+
]
|
|
267
|
+
}
|
|
268
|
+
{% endschema %}
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
{% stylesheet %}
|
|
274
|
+
{% endstylesheet %}
|
|
275
|
+
|
|
276
|
+
{% javascript %}
|
|
277
|
+
{% endjavascript %}
|