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,317 @@
|
|
|
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="grid-uniform" {% if section.settings.video_style == 'style1' %} style="background-image:url({{ section.settings.promo_images_1 | img_url: "2000x"}});background-repeat:no-repeat;data-background=({{ section.settings.promo_images_1 | img_url: "2000x"}});"{% endif %}>
|
|
7
|
+
<div class="video-banner {% if section.settings.video_style == 'style1' %}with-popup{% else %}promo-video{% endif %}" style="padding-top:{{top}}px; padding-bottom:{{bottom}}px;">
|
|
8
|
+
<div class="container">
|
|
9
|
+
<div class="overlay"></div>
|
|
10
|
+
|
|
11
|
+
{% if section.settings.title != blank or section.settings.description %}
|
|
12
|
+
<div class="grid-uniform {% if section.settings.video_style == 'style2' %}promo-video__inner{% endif %}">
|
|
13
|
+
<div class="section-header section-header--small">
|
|
14
|
+
<div class="border-title wow fadeInLeft animated text-center">
|
|
15
|
+
{% endif %}
|
|
16
|
+
|
|
17
|
+
{% if section.settings.title != blank %}
|
|
18
|
+
<h2 class="section-header__title" style="color:{{ section.settings.title_color }}">
|
|
19
|
+
{{ section.settings.title }}
|
|
20
|
+
</h2>
|
|
21
|
+
{% endif %}
|
|
22
|
+
|
|
23
|
+
{% if section.settings.description != blank %}
|
|
24
|
+
<div class="short-desc" style="color:{{ section.settings.desc_color }}"> <p>{{ section.settings.description }}</p>
|
|
25
|
+
</div>
|
|
26
|
+
{% endif %}
|
|
27
|
+
|
|
28
|
+
<div class="dt-sc-hr-invisible-very-small"></div>
|
|
29
|
+
|
|
30
|
+
{% if section.settings.video_style == 'style2' %}
|
|
31
|
+
{% if section.settings.button_1 != blank %}
|
|
32
|
+
<a class="btn" href="{{ section.settings.link_1 }}">{{ section.settings.button_1 }}</a>
|
|
33
|
+
{% endif %}
|
|
34
|
+
{% endif %}
|
|
35
|
+
{% if section.settings.title != blank or section.settings.description %}
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
{% endif %}
|
|
41
|
+
{% if section.settings.video_style == 'style1' %}
|
|
42
|
+
<div class="grid-uniform video-banner-block">
|
|
43
|
+
{% if section.settings.video_url != blank %}
|
|
44
|
+
<div class="video-image grid__item wide--two-thirds post-large--two-thirds large--grd__item medium-down--hide wow slideInLeft animated">
|
|
45
|
+
<div class="video-text p-video">
|
|
46
|
+
<a href="{{ section.settings.video_url }}" class="jas-popup-url">
|
|
47
|
+
{% if section.settings.image_2 != blank %} <img src="{{ section.settings.image_2 | img_url: 'master' }}" alt="{{ section.settings.titleshadow_1 }}"/> {% endif %}
|
|
48
|
+
<i class="fa fa-play"></i>
|
|
49
|
+
</a>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="video-popup grid__item wide--hide post-large--hide large--hide medium--grd__item wow slideInLeft animated">
|
|
53
|
+
<iframe width="560" height="315" src="{{ section.settings.video_url }}" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
|
|
54
|
+
</div>
|
|
55
|
+
{% endif%}
|
|
56
|
+
{% if section.settings.title_1 != blank or section.settings.button_1 != blank or section.settings.logo != blank %}
|
|
57
|
+
<div class="video-content grid__item wide--one-third post-large--one-third large--grd__item medium--grd__item text-center">
|
|
58
|
+
<div class="content-inner" style="background:{{ section.settings.add_box_bg }}">
|
|
59
|
+
{% if section.settings.logo != blank %}<img src="{{ section.settings.logo | img_url: 'master' }}" alt="{{ section.settings.titleshadow_1 }}"/> {% endif %}
|
|
60
|
+
|
|
61
|
+
{% if section.settings.title_1 != blank %}
|
|
62
|
+
<h5 style="color:{{ section.settings.title_1_color }}">{{ section.settings.title_1 }}</h5>
|
|
63
|
+
{% endif %}
|
|
64
|
+
{% if section.settings.subtitle != blank %}
|
|
65
|
+
<h3 style="color:{{ section.settings.subtitle_color }}">{{ section.settings.subtitle }}</h3>
|
|
66
|
+
{% endif %}
|
|
67
|
+
{% if section.settings.titleshadow_1 != blank %}
|
|
68
|
+
<h4 style="color:{{ section.settings.shadowtext_color }}">{{ section.settings.titleshadow_1 }}</h4>
|
|
69
|
+
{% endif %}
|
|
70
|
+
{% if section.settings.text_1 != blank %}
|
|
71
|
+
<p style="color:{{ section.settings.text_color }}">{{ section.settings.text_1 }}</p>
|
|
72
|
+
{% endif %}
|
|
73
|
+
{% if section.settings.button_1 != blank %}
|
|
74
|
+
<a class="btn" href="{{ section.settings.link_1 }}">{{ section.settings.button_1 }}</a>
|
|
75
|
+
{% endif %}
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
{% endif %}
|
|
79
|
+
</div>
|
|
80
|
+
{% endif %}
|
|
81
|
+
|
|
82
|
+
{% if section.settings.video_style == 'style2' %}
|
|
83
|
+
|
|
84
|
+
<video {% if section.settings.auto_play %}autoplay {% endif %} {% if section.settings.play_continue %} loop {% endif %}>
|
|
85
|
+
<source src="{{ section.settings.promo_video_code }}" type="video/mp4">
|
|
86
|
+
</video>
|
|
87
|
+
|
|
88
|
+
{% endif %}
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
</div>
|
|
92
|
+
|
|
93
|
+
<style>
|
|
94
|
+
|
|
95
|
+
{% if section.settings.show_overlay %}
|
|
96
|
+
.video-banner .overlay { background:{{ section.settings.overlay_bg | color_modify: 'alpha', 0.8 }}; }
|
|
97
|
+
.promo-video .overlay { background:{{ section.settings.overlay_bg | color_modify: 'alpha', 0.6 }}; }
|
|
98
|
+
{% endif %}
|
|
99
|
+
|
|
100
|
+
.video-banner .btn { background:{{ section.settings.button_bg_color }}; color:{{ section.settings.button_txt_color }}; }
|
|
101
|
+
.video-banner .btn:hover{ background:{{ section.settings.button_bghover_color }}; color:{{ section.settings.button_txthover_color }}; }
|
|
102
|
+
|
|
103
|
+
</style>
|
|
104
|
+
|
|
105
|
+
{% schema %}
|
|
106
|
+
{
|
|
107
|
+
"name": "Video Banner",
|
|
108
|
+
"class": "index-section video-addbox",
|
|
109
|
+
"settings": [
|
|
110
|
+
{
|
|
111
|
+
"type": "checkbox",
|
|
112
|
+
"id": "full",
|
|
113
|
+
"label": "Show Full width"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"type": "text",
|
|
117
|
+
"id": "margin",
|
|
118
|
+
"label": "Style value (Margin)",
|
|
119
|
+
"default":"0,0",
|
|
120
|
+
"info":"Top(px),Bottom(px)"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"type": "select",
|
|
124
|
+
"id": "video_style",
|
|
125
|
+
"label": "Style",
|
|
126
|
+
"options": [
|
|
127
|
+
{
|
|
128
|
+
"value": "style1",
|
|
129
|
+
"label": "Pop Up"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"value": "style2",
|
|
133
|
+
"label": "Background Video"
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"default": "style1"
|
|
137
|
+
},
|
|
138
|
+
|
|
139
|
+
{
|
|
140
|
+
"type": "image_picker",
|
|
141
|
+
"id": "promo_images_1",
|
|
142
|
+
"label": "Background Image"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"type": "checkbox",
|
|
146
|
+
"id": "show_overlay",
|
|
147
|
+
"label": "Show Overlay"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"type": "color",
|
|
151
|
+
"id": "overlay_bg",
|
|
152
|
+
"label":"Overlay Bg color",
|
|
153
|
+
"default": "#f5f5f5"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"type": "color",
|
|
157
|
+
"id": "background_color",
|
|
158
|
+
"label":"Bckground color",
|
|
159
|
+
"default": "#000"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"type": "image_picker",
|
|
163
|
+
"id": "image_2",
|
|
164
|
+
"label": "Video screenshot",
|
|
165
|
+
"info": "Size: 437x257"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"type": "text",
|
|
169
|
+
"id": "video_url",
|
|
170
|
+
"label": "Video url",
|
|
171
|
+
"default": "https://www.youtube.com/watch?v=bvtwWhKdxhM"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"type": "header",
|
|
175
|
+
"content": "For Background Video only"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"type": "checkbox",
|
|
179
|
+
"id": "auto_play",
|
|
180
|
+
"label": "Auto play?"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"type": "checkbox",
|
|
184
|
+
"id": "play_continue",
|
|
185
|
+
"label": "Play video continuously"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"type": "textarea",
|
|
189
|
+
"id": "promo_video_code",
|
|
190
|
+
"label": "Video FIle URL"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"type": "text",
|
|
194
|
+
"id": "title",
|
|
195
|
+
"label": "Heading",
|
|
196
|
+
"default": "Video Banner"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"type": "color",
|
|
200
|
+
"id": "title_color",
|
|
201
|
+
"label": "Heading color",
|
|
202
|
+
"default": "#000"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"type": "textarea",
|
|
206
|
+
"id": "description",
|
|
207
|
+
"label": "Description"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"type": "color",
|
|
211
|
+
"id": "desc_color",
|
|
212
|
+
"label": "Description color",
|
|
213
|
+
"default": "#000"
|
|
214
|
+
},
|
|
215
|
+
|
|
216
|
+
{
|
|
217
|
+
"type": "color",
|
|
218
|
+
"id": "add_box_bg",
|
|
219
|
+
"label": "Add Box Bg",
|
|
220
|
+
"default": "#64c2ce"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"type": "image_picker",
|
|
224
|
+
"id": "logo",
|
|
225
|
+
"label": "Logo"
|
|
226
|
+
|
|
227
|
+
},
|
|
228
|
+
|
|
229
|
+
{
|
|
230
|
+
"type": "text",
|
|
231
|
+
"id": "title_1",
|
|
232
|
+
"label": "Heading"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"type": "color",
|
|
236
|
+
"id": "title_1_color",
|
|
237
|
+
"label":"Title color",
|
|
238
|
+
"default": "#000"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"type": "text",
|
|
242
|
+
"id": "subtitle",
|
|
243
|
+
"label": "Offer"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"type": "color",
|
|
247
|
+
"id": "subtitle_color",
|
|
248
|
+
"label":"Offer color",
|
|
249
|
+
"default": "#000"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"type": "text",
|
|
253
|
+
"id": "titleshadow_1",
|
|
254
|
+
"label": "Sub Heading"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"type": "color",
|
|
258
|
+
"id": "shadowtext_color",
|
|
259
|
+
"label":"Text color",
|
|
260
|
+
"default": "#000"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"type": "textarea",
|
|
264
|
+
"id": "text_1",
|
|
265
|
+
"label": "Description"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"type": "color",
|
|
269
|
+
"id": "text_color",
|
|
270
|
+
"label":"Text color",
|
|
271
|
+
"default": "#000"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"type": "text",
|
|
275
|
+
"id": "button_1",
|
|
276
|
+
"label": "Button text",
|
|
277
|
+
"default": "Shop Now"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"type": "color",
|
|
281
|
+
"id": "button_bg_color",
|
|
282
|
+
"label":"Background color",
|
|
283
|
+
"default": "#000"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"type": "color",
|
|
287
|
+
"id": "button_txt_color",
|
|
288
|
+
"label":"Text color",
|
|
289
|
+
"default": "#fff"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"type": "color",
|
|
293
|
+
"id": "button_bghover_color",
|
|
294
|
+
"label":"Background Hover color",
|
|
295
|
+
"default": "#000"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"type": "color",
|
|
299
|
+
"id": "button_txthover_color",
|
|
300
|
+
"label":"Text Hover color",
|
|
301
|
+
"default": "#fff"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"type": "url",
|
|
305
|
+
"id": "link_1",
|
|
306
|
+
"label": "Link URL"
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
"presets": [
|
|
310
|
+
{
|
|
311
|
+
"name": "Video Banner",
|
|
312
|
+
"category": "Video",
|
|
313
|
+
"blocks": []
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
}
|
|
317
|
+
{% endschema %}
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
{% assign full = section.settings.full %}
|
|
2
|
+
{% assign margin = section.settings.margin | split: ',' %}
|
|
3
|
+
{% assign top = margin[0] %}
|
|
4
|
+
{% assign bottom = margin[1] %}
|
|
5
|
+
{% if section.settings.show_blocks %}
|
|
6
|
+
{% assign column1 = 'grid__item wide--one-half post-large--one-half large--one-whole medium-down--grid__item small--grid__item' %}
|
|
7
|
+
{% assign column2 = 'grid__item wide--one-half post-large--one-half large--one-whole medium-down--grid__item small--grid__item' %}
|
|
8
|
+
{% else %}
|
|
9
|
+
{% assign column1 = 'grid__item wide--one-whole' %}
|
|
10
|
+
{% endif %}
|
|
11
|
+
|
|
12
|
+
<div class="{% if section.settings.full %} container-fluid {% else %}container{% endif %}">
|
|
13
|
+
<div class="dt-sc-hr-invisible-medium"></div>
|
|
14
|
+
<div class="wide-banner-type" style="margin-top:{{top}}px; margin-bottom:{{bottom}}px; {% if section.settings.show_image_1 %}background-image:url('{{ section.settings.image_1 | img_url: '1920X' }}');background-attachment:fixed;background-repeat:no-repeat;background-position:center center; {% else %}background-color:{{section.settings.background_color}};{% endif%}">
|
|
15
|
+
<div class="grid-uniform CollectionItems">
|
|
16
|
+
<div class="{{column1 }} banner-content text-{{section.settings.content_position}}">
|
|
17
|
+
{% if section.settings.text_1 != blank %}
|
|
18
|
+
<h3 style="color:{{ section.settings.text_color }};">{{ section.settings.text_1 }}</h3>
|
|
19
|
+
{% endif %}
|
|
20
|
+
{% if section.settings.title_1 != blank %}
|
|
21
|
+
<h2 style="color:{{ section.settings.title_color }};">{{ section.settings.title_1 }} <span style="color:{{ section.settings.titleshadow_offer_color }};">{{ section.settings.offer_text }}</span></h2>
|
|
22
|
+
{% endif %}
|
|
23
|
+
<div class="deal-clock lof-clock-timer-detail"></div>
|
|
24
|
+
{% assign dealTime = section.settings.deal_end_date | replace: '_',' ' %}
|
|
25
|
+
<div class="deal-content">
|
|
26
|
+
{% if section.settings.titleshadow_1 != blank %}
|
|
27
|
+
<h4 style="color:{{ section.settings.titleshadow_1_color }};">{{ section.settings.titleshadow_1 }}</h4>
|
|
28
|
+
{% endif %}
|
|
29
|
+
{% if section.settings.textshadow_1 != blank %}
|
|
30
|
+
<p style="color:{{ section.settings.textshadow_1_color }};">{{ section.settings.textshadow_1 }}</p>
|
|
31
|
+
{% endif %}
|
|
32
|
+
<script>
|
|
33
|
+
//<![CDATA[
|
|
34
|
+
jQuery(document).ready(function($){
|
|
35
|
+
$(".lof-clock-timer-detail").lofCountDown({
|
|
36
|
+
TargetDate:"{{ dealTime }}",
|
|
37
|
+
DisplayFormat:"<ul class='list-inline'><li class='day'>%%D%%<span>Days</span></li><li class='hours'>%%H%%<span>Hours</span></li><li class='mins'>%%M%%<span>Minutes</span></li><li class='seconds'>%%S%%<span>Seconds</span></li></ul>",
|
|
38
|
+
//FinishMessage: "Expired"
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
//]]>
|
|
42
|
+
</script>
|
|
43
|
+
{% if section.settings.button_1 != blank or section.settings.button_2 != blank %}
|
|
44
|
+
<div class="deal-btn">{% endif %} {% if section.settings.button_1 != blank %}<a class="btn" href="{{ section.settings.link_1 }}" style="border:none;color:{{ section.settings.button_txt_color }};background-color:{{ section.settings.button_bg_color }};">{{ section.settings.button_1 }}</a>{% endif %}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
{% if section.settings.button_2 != blank %}
|
|
48
|
+
<a class="btn" href="{{ section.settings.link_2 }}" style="border:none;color:{{ section.settings.button_txt_color }};background-color:{{ section.settings.button_bg_color }};">{{ section.settings.button_2 }}</a>
|
|
49
|
+
{% endif %}
|
|
50
|
+
{% if section.settings.button_1 != blank or section.settings.button_2 != blank %}
|
|
51
|
+
</div>
|
|
52
|
+
{% endif %}
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
{% if section.settings.show_blocks %}
|
|
57
|
+
<div class="{{column2 }} icon-section">
|
|
58
|
+
{% for block in section.blocks %}
|
|
59
|
+
<div class=" grid__item wide--one-half post-large--one-half large--one-half medium-one-half small--grid__item wow fadeInUp animated">
|
|
60
|
+
<a href="{{ block.settings.client_link }}">
|
|
61
|
+
{% if block.settings.client_img != blank or block.settings.client_heading != blank %}
|
|
62
|
+
<div class="icon">
|
|
63
|
+
<img src="{{ block.settings.client_img | img_url: "70x70" }}" alt="{{ block.settings.client_heading }}" style ="border:3px solid {{block.settings.img_border_color}};"/>
|
|
64
|
+
</div>
|
|
65
|
+
{% else %}
|
|
66
|
+
<div class="item"><img src="//via.placeholder.com/70x70"></div>
|
|
67
|
+
{% endif %}
|
|
68
|
+
{% if block.settings.client_heading != blank %}
|
|
69
|
+
<span style="color:{{ block.settings.client_heading_color}}">{{ block.settings.client_heading }} </span>
|
|
70
|
+
{% endif %}
|
|
71
|
+
</a>
|
|
72
|
+
</div>
|
|
73
|
+
{% endfor %}
|
|
74
|
+
</div>
|
|
75
|
+
{% endif %}
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
|
|
80
|
+
<style>
|
|
81
|
+
|
|
82
|
+
.lof-clock-timer-detail ul li,.lof-clock-timer-detail ul li span { color:{{ section.settings.time_color }}; }
|
|
83
|
+
.banner-content .lof-clock-timer-detail li:after { background:{{ section.settings.time_color }}; }
|
|
84
|
+
.banner-content .deal-btn .btn:hover{background:{{ section.settings.button_bghover_color }}!important;color:{{ section.settings.button_txthover_color }}!important;}
|
|
85
|
+
|
|
86
|
+
{% if section.settings.show_overlay %} .home-wide-banner .wide-banner-type:before { background:{{ section.settings.overlay_bg | color_modify: 'alpha', 0.6 }}; } {% endif %}
|
|
87
|
+
|
|
88
|
+
</style>
|
|
89
|
+
|
|
90
|
+
{% schema %}
|
|
91
|
+
{
|
|
92
|
+
"name": "Wide Banner",
|
|
93
|
+
"class": "index-section home-wide-banner",
|
|
94
|
+
"settings": [
|
|
95
|
+
{
|
|
96
|
+
"type": "checkbox",
|
|
97
|
+
"id": "full",
|
|
98
|
+
"label": "Show Full width"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"type": "text",
|
|
102
|
+
"id": "margin",
|
|
103
|
+
"label": "Style value (Margin)",
|
|
104
|
+
"default":"0,0",
|
|
105
|
+
"info":"Top(px),Bottom(px)"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"type": "checkbox",
|
|
109
|
+
"id": "show_image_1",
|
|
110
|
+
"label": "Show Image"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"type": "image_picker",
|
|
114
|
+
"id": "image_1",
|
|
115
|
+
"label": "Image",
|
|
116
|
+
"info": "Size: 1920x1280"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"type": "checkbox",
|
|
120
|
+
"id": "show_overlay",
|
|
121
|
+
"label": "Show Overlay"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"type": "color",
|
|
125
|
+
"id": "overlay_bg",
|
|
126
|
+
"label":"Overlay Bg color",
|
|
127
|
+
"default": "#f5f5f5"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"type": "color",
|
|
131
|
+
"id": "background_color",
|
|
132
|
+
"label":"Background color",
|
|
133
|
+
"default": "#f5f5f5"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"type": "select",
|
|
137
|
+
"id": "content_position",
|
|
138
|
+
"label": "Content Position",
|
|
139
|
+
"options": [
|
|
140
|
+
{
|
|
141
|
+
"value": "center",
|
|
142
|
+
"label": "Center"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"value": "left",
|
|
146
|
+
"label": "Left"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"value": "right",
|
|
150
|
+
"label": "Right"
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"default": "center"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"type": "text",
|
|
157
|
+
"id": "title_1",
|
|
158
|
+
"label": "Heading",
|
|
159
|
+
"default": "Heading"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"type": "color",
|
|
163
|
+
"id": "title_color",
|
|
164
|
+
"label":"Heading color",
|
|
165
|
+
"default": "#000"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"type": "text",
|
|
169
|
+
"id": "offer_text",
|
|
170
|
+
"label": "Offer Text",
|
|
171
|
+
"default": "Offer Text"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"type": "color",
|
|
175
|
+
"id": "titleshadow_offer_color",
|
|
176
|
+
"label":"Offer Text color",
|
|
177
|
+
"default": "#000"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"type": "text",
|
|
181
|
+
"id": "text_1",
|
|
182
|
+
"label": "Sub Heading",
|
|
183
|
+
"default": "sub Heading"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"type": "color",
|
|
187
|
+
"id": "text_color",
|
|
188
|
+
"label":"Sub Heading color",
|
|
189
|
+
"default": "#000"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"type": "color",
|
|
193
|
+
"id": "time_color",
|
|
194
|
+
"label":"Deal time color",
|
|
195
|
+
"default": "#000"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"type": "text",
|
|
199
|
+
"id": "titleshadow_1",
|
|
200
|
+
"label": "Shadow Text",
|
|
201
|
+
"default": "Shadow Text"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"type": "color",
|
|
205
|
+
"id": "titleshadow_1_color",
|
|
206
|
+
"label":"Description 1 color",
|
|
207
|
+
"default": "#000"
|
|
208
|
+
},
|
|
209
|
+
|
|
210
|
+
{
|
|
211
|
+
"type": "textarea",
|
|
212
|
+
"id": "textshadow_1",
|
|
213
|
+
"label": "Description",
|
|
214
|
+
"default": "Few lines of short description"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"type": "color",
|
|
218
|
+
"id": "textshadow_1_color",
|
|
219
|
+
"label":"Description",
|
|
220
|
+
"default": "#000"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"type": "text",
|
|
224
|
+
"id": "button_1",
|
|
225
|
+
"label": "Button text",
|
|
226
|
+
"default": "Shop Now"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"type": "color",
|
|
230
|
+
"id": "button_bg_color",
|
|
231
|
+
"label":"Background color",
|
|
232
|
+
"default": "#000"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"type": "color",
|
|
236
|
+
"id": "button_txt_color",
|
|
237
|
+
"label":"Text color",
|
|
238
|
+
"default": "#fff"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"type": "color",
|
|
242
|
+
"id": "button_bghover_color",
|
|
243
|
+
"label":"Background Hover color",
|
|
244
|
+
"default": "#000"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"type": "color",
|
|
248
|
+
"id": "button_txthover_color",
|
|
249
|
+
"label":"Text Hover color",
|
|
250
|
+
"default": "#fff"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"type": "url",
|
|
254
|
+
"id": "link_1",
|
|
255
|
+
"label": "Link URL"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"type": "text",
|
|
259
|
+
"id": "button_2",
|
|
260
|
+
"label": "Button text",
|
|
261
|
+
"default": "View More"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"type": "url",
|
|
265
|
+
"id": "link_2",
|
|
266
|
+
"label": "Link URL"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"type": "text",
|
|
270
|
+
"id": "deal_end_date",
|
|
271
|
+
"label": "Deal end date",
|
|
272
|
+
"info": "format should be MM/DD/YYYY_HH:MM:SS "
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"type": "checkbox",
|
|
276
|
+
"id": "show_blocks",
|
|
277
|
+
"label": "Show Thumbs",
|
|
278
|
+
"default": true
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
],
|
|
283
|
+
"blocks": [
|
|
284
|
+
{
|
|
285
|
+
"type": "Image",
|
|
286
|
+
"name":"Icon Block",
|
|
287
|
+
"settings": [
|
|
288
|
+
{
|
|
289
|
+
"type": "image_picker",
|
|
290
|
+
"id": "client_img",
|
|
291
|
+
"label": "Image",
|
|
292
|
+
"info": "Size: 75x75"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"type": "text",
|
|
296
|
+
"id": "client_heading",
|
|
297
|
+
"label": "Title"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"type": "color",
|
|
301
|
+
"id": "img_border_color",
|
|
302
|
+
"label": "img border color",
|
|
303
|
+
"default": "#000"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"type": "color",
|
|
307
|
+
"id": "client_heading_color",
|
|
308
|
+
"label": "Title Color",
|
|
309
|
+
"default": "#000"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"type": "url",
|
|
313
|
+
"id": "client_link",
|
|
314
|
+
"label": "Link"
|
|
315
|
+
}
|
|
316
|
+
]
|
|
317
|
+
}
|
|
318
|
+
],
|
|
319
|
+
"presets": [
|
|
320
|
+
{
|
|
321
|
+
"name": "Wide Banner",
|
|
322
|
+
"category": "Image",
|
|
323
|
+
"blocks": []
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
}
|
|
327
|
+
{% endschema %}
|