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,314 @@
|
|
|
1
|
+
{%- render 'section-background-start' -%}
|
|
2
|
+
<div id="logo-bar-{{ section.id }}" class="container{% if section.settings.full_width %}-fluid{% endif %}{% render 'section-gutters-nobkg' %}" data-section-id="{{ section.id }}" data-section-type="logo-bar">
|
|
3
|
+
<div class="row flex">
|
|
4
|
+
{%- assign heading_pos = section.settings.heading_pos -%}
|
|
5
|
+
{%- if heading_pos == 'left' and section.settings.title != blank -%}
|
|
6
|
+
<div class="col-xs-12 col-sm-5">
|
|
7
|
+
{%- render 'section-heading' with heading_align: 'left' -%}
|
|
8
|
+
</div>
|
|
9
|
+
{%- endif -%}
|
|
10
|
+
{%- if heading_pos == 'above' and section.settings.title != blank -%}
|
|
11
|
+
<div class="col-xs-12">
|
|
12
|
+
{%- render 'section-heading' -%}
|
|
13
|
+
</div>
|
|
14
|
+
{%- endif -%}
|
|
15
|
+
{%- if heading_pos == 'right' and section.settings.title != blank -%}
|
|
16
|
+
<div class="col-xs-12 hidden-sm hidden-md hidden-lg">
|
|
17
|
+
{%- render 'section-heading' -%}
|
|
18
|
+
</div>
|
|
19
|
+
{%- endif -%}
|
|
20
|
+
<div class="section__content col-xs-12{% if heading_pos != 'above' %} col-sm-7{% endif %}">
|
|
21
|
+
{%- if section.blocks.size > 0 -%}
|
|
22
|
+
{%- assign item_size = section.settings.item_size -%}
|
|
23
|
+
{%- if item_size == 'very-small' -%}
|
|
24
|
+
{%- assign column_count_org = 6 -%}
|
|
25
|
+
{%- assign threshold_mobile = 2 -%}
|
|
26
|
+
{%- elsif item_size == 'small' -%}
|
|
27
|
+
{%- assign column_count_org = 5 -%}
|
|
28
|
+
{%- assign threshold_mobile = 2 -%}
|
|
29
|
+
{%- elsif item_size == 'medium' -%}
|
|
30
|
+
{%- assign column_count_org = 4 -%}
|
|
31
|
+
{%- assign threshold_mobile = 2 -%}
|
|
32
|
+
{%- elsif item_size == 'large' -%}
|
|
33
|
+
{%- assign column_count_org = 3 -%}
|
|
34
|
+
{%- assign threshold_mobile = 2 -%}
|
|
35
|
+
{%- else -%}
|
|
36
|
+
{%- assign column_count_org = 2 -%}
|
|
37
|
+
{%- assign threshold_mobile = 1 -%}
|
|
38
|
+
{%- endif -%}
|
|
39
|
+
{%- assign total_line = 1 -%}
|
|
40
|
+
{%- if section.settings.slider_enable and section.settings.slider_two_line -%}
|
|
41
|
+
{%- assign total_line = 2 -%}
|
|
42
|
+
{%- endif -%}
|
|
43
|
+
{%- if section.settings.slider_enable -%}
|
|
44
|
+
{%- unless total_line > 1 -%}
|
|
45
|
+
{%- assign data_slider = '{"adaptiveHeight":false,"autoplay": true,"autoplaySpeed": 2000,"slidesToShow": ' | append: column_count_org | append: ',"slidesToScroll":1,"responsive":[{"breakpoint": 768,"settings": {"slidesToShow":3}}]}' -%}
|
|
46
|
+
{%- else -%}
|
|
47
|
+
{%- assign data_slider = '{"adaptiveHeight":false,"autoplay": true,"autoplaySpeed": 2000,"slidesToShow": 1,"slidesToScroll":1,"rows":2,"slidesPerRow":' | append: column_count_org | append: ',"responsive":[{"breakpoint": 768,"settings": {"slidesToShow": 1,"slidesToScroll":1,"slidesPerRow":3}}]}' -%}
|
|
48
|
+
{%- endunless -%}
|
|
49
|
+
{%- endif -%}
|
|
50
|
+
<div class="grid grid--{{ section.settings.item_size }} logo-bar{% if section.settings.slider_enable %} use-slider{% if total_line > 1 %} slick-rows{% endif %}{% endif %}"{% if section.settings.slider_enable %} data-slider='{{ data_slider }}'{% endif %}>
|
|
51
|
+
{%- for block in section.blocks -%}
|
|
52
|
+
{%- assign threshold = column_count_org | times: total_line -%}
|
|
53
|
+
{%- assign threshold_mobile = threshold_mobile | times: total_line -%}
|
|
54
|
+
{%- assign img_url = block.settings.image | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%}
|
|
55
|
+
<div class="grid__item{% if forloop.index > threshold %} ov-slider-tb{% endif %}{% if forloop.index > threshold_mobile %} ov-slider-mb{% endif %}" {{ block.shopify_attributes }}>
|
|
56
|
+
{%- if block.settings.image != blank and block.settings.image.alt != blank -%}
|
|
57
|
+
{%- assign logo_image_title = block.settings.image.alt -%}
|
|
58
|
+
{%- elsif block.settings.image != blank -%}
|
|
59
|
+
{%- assign logo_image_title = block.settings.image.src | split: '/' | last -%}
|
|
60
|
+
{%- else -%}
|
|
61
|
+
{%- assign logo_image_title = 'logo brand' -%}
|
|
62
|
+
{%- endif -%}
|
|
63
|
+
{%- if block.settings.link != blank -%}
|
|
64
|
+
<a href="{{ block.settings.link }}" class="logo-bar__link img-container" title="{{ logo_image_title | escape }}" style="padding-top:{{ 1 | divided_by: block.settings.image.aspect_ratio | times: 100 }}%;">
|
|
65
|
+
{%- else -%}
|
|
66
|
+
<div class="img-container"{% if block.settings.image != blank %} style="padding-top:{{ 1 | divided_by: block.settings.image.aspect_ratio | times: 100 }}%;"{% endif %}>
|
|
67
|
+
{%- endif -%}
|
|
68
|
+
{%- if block.settings.image != blank -%}
|
|
69
|
+
<img data-aspectratio="{{ block.settings.image.aspect_ratio }}"
|
|
70
|
+
data-src="{{ img_url }}"
|
|
71
|
+
data-sizes="auto" class="logo-bar__image img-responsive img-abs lazyload w100" alt="{{ logo_image_title }}"{% render 'img-one-pixel' %}/>
|
|
72
|
+
{%- else -%}
|
|
73
|
+
{{ 'logo' | placeholder_svg_tag: 'placeholder-svg' }}
|
|
74
|
+
{%- endif -%}
|
|
75
|
+
{% if block.settings.link != blank %}
|
|
76
|
+
</a>
|
|
77
|
+
{%- else -%}
|
|
78
|
+
</div>
|
|
79
|
+
{% endif %}
|
|
80
|
+
</div>
|
|
81
|
+
{%- endfor -%}
|
|
82
|
+
</div>
|
|
83
|
+
{%- endif -%}
|
|
84
|
+
{%- if section.blocks.size == 0 -%}
|
|
85
|
+
{%- render 'no-blocks' -%}
|
|
86
|
+
{%- endif -%}
|
|
87
|
+
</div>
|
|
88
|
+
{%- if heading_pos == 'right' and section.settings.title != blank -%}
|
|
89
|
+
<div class="col-xs-12 col-sm-5 hidden-xs">
|
|
90
|
+
{%- render 'section-heading' with heading_align: 'right' -%}
|
|
91
|
+
</div>
|
|
92
|
+
{%- endif -%}
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
{%- render 'section-background-end' -%}
|
|
96
|
+
{% style %}{%- render 'preload-logo-bar.css' -%}{% endstyle %}
|
|
97
|
+
{% schema %}
|
|
98
|
+
{
|
|
99
|
+
"name": "Logo list",
|
|
100
|
+
"tag": "section",
|
|
101
|
+
"max_blocks": 12,
|
|
102
|
+
"settings": [
|
|
103
|
+
{
|
|
104
|
+
"type": "paragraph",
|
|
105
|
+
"content": "[View the guide for this section](https://vodoma-docs.boostheme.com/dynamic-sections/banner-and-image/logo-list)"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"type": "header",
|
|
109
|
+
"content": "Background"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"type": "checkbox",
|
|
113
|
+
"id": "bkg_enable",
|
|
114
|
+
"label": "Enable",
|
|
115
|
+
"default": false
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"type": "color",
|
|
119
|
+
"id": "section_bkg",
|
|
120
|
+
"label": "Pick a color"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"type": "image_picker",
|
|
124
|
+
"id": "section_bkg_image",
|
|
125
|
+
"label": "Background image"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"type": "radio",
|
|
129
|
+
"id": "section_bkg_gutter",
|
|
130
|
+
"label": "Background size",
|
|
131
|
+
"options": [
|
|
132
|
+
{
|
|
133
|
+
"value": "small",
|
|
134
|
+
"label": "Small"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"value": "medium",
|
|
138
|
+
"label": "medium"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"value": "high",
|
|
142
|
+
"label": "High"
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"default": "high"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"type": "radio",
|
|
149
|
+
"id": "section_bkg_style",
|
|
150
|
+
"label": "Background image style",
|
|
151
|
+
"options": [
|
|
152
|
+
{
|
|
153
|
+
"value": "cover",
|
|
154
|
+
"label": "Cover"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"value": "contain",
|
|
158
|
+
"label": "Contain"
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"default": "cover"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"type": "header",
|
|
165
|
+
"content": "Section Gutters"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"type": "checkbox",
|
|
169
|
+
"id": "top_gutter",
|
|
170
|
+
"label": "Enable top gutter",
|
|
171
|
+
"default": true
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"type": "checkbox",
|
|
175
|
+
"id": "bottom_gutter",
|
|
176
|
+
"label": "Enable bottom gutter",
|
|
177
|
+
"default": true
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"type": "header",
|
|
181
|
+
"content": "General Settings"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"type": "text",
|
|
185
|
+
"id": "title",
|
|
186
|
+
"label": "Heading",
|
|
187
|
+
"default": "Logo list"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"type": "text",
|
|
191
|
+
"id": "sub_title",
|
|
192
|
+
"label": "Sub heading"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"type": "select",
|
|
196
|
+
"id": "heading_pos",
|
|
197
|
+
"label": "Heading position",
|
|
198
|
+
"options": [
|
|
199
|
+
{
|
|
200
|
+
"value": "left",
|
|
201
|
+
"label": "Left"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"value": "right",
|
|
205
|
+
"label": "Right"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"value": "above",
|
|
209
|
+
"label": "Above"
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"default": "right"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"type": "select",
|
|
216
|
+
"id": "item_size",
|
|
217
|
+
"label": "Choose item size",
|
|
218
|
+
"info": "You can change item size to change the number of products per row",
|
|
219
|
+
"options": [
|
|
220
|
+
{
|
|
221
|
+
"value": "very-small",
|
|
222
|
+
"label": "Very Small"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"value": "small",
|
|
226
|
+
"label": "Small"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"value": "medium",
|
|
230
|
+
"label": "Medium"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"value": "large",
|
|
234
|
+
"label": "Large"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"value": "very-large",
|
|
238
|
+
"label": "Very Large"
|
|
239
|
+
}
|
|
240
|
+
],
|
|
241
|
+
"default": "large"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"type": "checkbox",
|
|
245
|
+
"id": "full_width",
|
|
246
|
+
"label": "Wide display"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"type": "header",
|
|
250
|
+
"content": "Slider Settings"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"type": "checkbox",
|
|
254
|
+
"id": "slider_enable",
|
|
255
|
+
"label": "Enable",
|
|
256
|
+
"default": true
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"type": "checkbox",
|
|
260
|
+
"id": "slider_two_line",
|
|
261
|
+
"label": "Show logo list in two lines",
|
|
262
|
+
"default": false
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
"blocks": [
|
|
266
|
+
{
|
|
267
|
+
"type": "logo_image",
|
|
268
|
+
"name": "Logo",
|
|
269
|
+
"settings": [
|
|
270
|
+
{
|
|
271
|
+
"type": "image_picker",
|
|
272
|
+
"id": "image",
|
|
273
|
+
"label": "Image"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"type": "url",
|
|
277
|
+
"id": "link",
|
|
278
|
+
"label": "Link",
|
|
279
|
+
"info": "Optional"
|
|
280
|
+
}
|
|
281
|
+
]
|
|
282
|
+
}
|
|
283
|
+
],
|
|
284
|
+
"presets": [
|
|
285
|
+
{
|
|
286
|
+
"name": "Logo list",
|
|
287
|
+
"category": "Image",
|
|
288
|
+
"blocks": [
|
|
289
|
+
{
|
|
290
|
+
"type": "logo_image"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"type": "logo_image"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"type": "logo_image"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"type": "logo_image"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"type": "logo_image"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"type": "logo_image"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"type": "logo_image"
|
|
309
|
+
}
|
|
310
|
+
]
|
|
311
|
+
}
|
|
312
|
+
]
|
|
313
|
+
}
|
|
314
|
+
{% endschema %}
|
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
{% if section.blocks.size > 0 %}
|
|
2
|
+
<section class="lookbook-content" id="lookbook-{{ section.id }}" style="float:left;width:100%;">
|
|
3
|
+
<div class="lookbook-custom" style="float:left;width:100%;">
|
|
4
|
+
<div class="container">
|
|
5
|
+
<div class="section-header">
|
|
6
|
+
<h2 class="section-header--title">{{ section.settings.page_title }} </h2>
|
|
7
|
+
</div>
|
|
8
|
+
|
|
9
|
+
<div class="rte">
|
|
10
|
+
{{ page.content }}
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
<div class="grid-uniform" data-layout="masonry" data-isotope='{ "itemSelector": "[data-gridItem]", "layoutMode": "masonry" }'>
|
|
14
|
+
{% for block in section.blocks %}
|
|
15
|
+
|
|
16
|
+
{% if block.settings.size_image == 'normal' %}
|
|
17
|
+
{%- assign grid_item_width = 'grid__item wide--one-half post-large--one-half large--one-half medium--one-half small--grid__item' -%}
|
|
18
|
+
{% else %}
|
|
19
|
+
{%- assign grid_item_width = 'grid__item' -%}
|
|
20
|
+
{% endif %}
|
|
21
|
+
|
|
22
|
+
{% if block.settings.dpl_slide_img %}
|
|
23
|
+
<div data-gridItem class="item {{ grid_item_width }}">
|
|
24
|
+
<div class="images-contain">
|
|
25
|
+
{% if block.settings.image_slide != blank %}
|
|
26
|
+
|
|
27
|
+
{%- assign img_url = block.settings.image_slide | img_url: 'master' -%}
|
|
28
|
+
|
|
29
|
+
<a href="{{ block.settings.link }}" class="slide-image">
|
|
30
|
+
<img src="{{ img_url }}" alt="{{ block.settings.image_slide.alt | default: shop.name }}">
|
|
31
|
+
</a>
|
|
32
|
+
|
|
33
|
+
{% else %}
|
|
34
|
+
|
|
35
|
+
<div class="not_img">
|
|
36
|
+
270 x 380px
|
|
37
|
+
</div>
|
|
38
|
+
{% endif %}
|
|
39
|
+
|
|
40
|
+
{% if block.settings.lb_product_1 != blank %}
|
|
41
|
+
<div class="select-icon lb-icon-1-{{ block.id }}" data-lookbook-icon data-handle="{{ block.settings.lb_product_1 }}" style="top:{{ block.settings.top_position_1 }}%; left:{{ block.settings.left_position_1 }}%;">
|
|
42
|
+
<i class="fas fa-circle"></i>
|
|
43
|
+
</div>
|
|
44
|
+
{% endif %}
|
|
45
|
+
|
|
46
|
+
{% if block.settings.lb_product_2 != blank %}
|
|
47
|
+
<div class="select-icon lb-icon-2-{{ block.id }}" data-lookbook-icon data-handle="{{ block.settings.lb_product_2 }}" style="top:{{ block.settings.top_position_2 }}%; left:{{ block.settings.left_position_2 }}%;">
|
|
48
|
+
<i class="fas fa-circle"></i>
|
|
49
|
+
</div>
|
|
50
|
+
{% endif %}
|
|
51
|
+
|
|
52
|
+
{% if block.settings.lb_product_3 != blank %}
|
|
53
|
+
<div class="select-icon lb-icon-3-{{ block.id }}" data-lookbook-icon data-handle="{{ block.settings.lb_product_3 }}" style="top:{{ block.settings.top_position_3 }}%; left:{{ block.settings.left_position_3 }}%;">
|
|
54
|
+
<i class="fas fa-circle"></i>
|
|
55
|
+
</div>
|
|
56
|
+
{% endif %}
|
|
57
|
+
|
|
58
|
+
<style type="text/css">
|
|
59
|
+
#lookbook-{{section.id}} .lb-icon-1-{{ block.id }} .fa-circle {
|
|
60
|
+
background-color: {{ block.settings.dots_bg_color_1 | color_modify: "alpha" , 0.3 }};width:25px;height:25px;line-height:25px;text-align:center;border-radius:50%;font-size:12px;color:{{ block.settings.dots_color_1 }};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
#lookbook-{{section.id}} .lb-icon-1-{{ block.id }} .fa-circle{
|
|
66
|
+
box-shadow:0 0 0 3px {{ block.settings.dots_shadow_color_1 | color_modify: 'alpha', 0.9 }};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
#lookbook-{{section.id}} .lb-icon-1-{{ block.id }} .fa-circle:hover { background-color: {{ block.settings.dots_hoverbg_color_1 | color_modify: "alpha" , 0.3 }};color:{{ block.settings.dots_hovercolor_1 }};}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
#lookbook-{{section.id}} .lb-icon-2-{{ block.id }} .fa-circle {
|
|
73
|
+
background-color: {{ block.settings.dots_bg_color_2 | color_modify: "alpha" , 0.3 }};width:25px;height:25px;line-height:25px;text-align:center;border-radius:50%;font-size:12px;color:{{ block.settings.dots_color_2 }};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
#lookbook-{{section.id}} .lb-icon-2-{{ block.id }} .fa-circle:hover { background-color: {{ block.settings.dots_hoverbg_color_2 | color_modify: "alpha" , 0.3}};color:{{ block.settings.dots_hovercolor_2 }};}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
#lookbook-{{section.id}} .lb-icon-2-{{ block.id }} .fa-circle{
|
|
81
|
+
box-shadow:0 0 0 3px {{ block.settings.dots_shadow_color_2 | color_modify: 'alpha', 0.9 }};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
#lookbook-{{section.id}} .lb-icon-3-{{ block.id }} .fa-circle {
|
|
85
|
+
background-color: {{ block.settings.dots_bg_color_3 | color_modify: "alpha" , 0.3 }};width:25px;height:25px;line-height:25px;text-align:center;border-radius:50%;font-size:12px;color:{{ block.settings.dots_color_3 }};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
#lookbook-{{section.id}} .lb-icon-3-{{ block.id }} .fa-circle:hover { background-color: {{ block.settings.dots_hoverbg_color_3 | color_modify: "alpha" , 0.3 }};color:{{ block.settings.dots_hovercolor_3 }};}
|
|
89
|
+
|
|
90
|
+
#lookbook-{{section.id}} .lb-icon-3-{{ block.id }} .fa-circle{
|
|
91
|
+
box-shadow:0 0 0 3px {{ block.settings.dots_shadow_color_3 | color_modify: 'alpha', 0.9 }};
|
|
92
|
+
}
|
|
93
|
+
</style>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
{% endif %}
|
|
97
|
+
{% endfor %}
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
</section>
|
|
102
|
+
|
|
103
|
+
{% if section.settings.display_product_detail_share %}
|
|
104
|
+
<div class="container">
|
|
105
|
+
<div class="share_toolbox justify-content-center">
|
|
106
|
+
{{ section.settings.share_text }}
|
|
107
|
+
<div class="addthis_inline_share_toolbox"></div>
|
|
108
|
+
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-595b0ea2fb9c5869"></script>
|
|
109
|
+
</div>
|
|
110
|
+
{% endif %}
|
|
111
|
+
|
|
112
|
+
{% if section.settings.button != blank %}
|
|
113
|
+
<div class="button-action text-center">
|
|
114
|
+
<a href="{{ section.settings.link }}" class="btn">
|
|
115
|
+
{{ section.settings.button }}
|
|
116
|
+
</a>
|
|
117
|
+
</div>
|
|
118
|
+
{% endif %}
|
|
119
|
+
</div>
|
|
120
|
+
{% endif %}
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
{% schema %}
|
|
124
|
+
{
|
|
125
|
+
"name": "Lookbook Custom",
|
|
126
|
+
"max_blocks": 20,
|
|
127
|
+
"settings": [
|
|
128
|
+
|
|
129
|
+
{
|
|
130
|
+
"type": "text",
|
|
131
|
+
"id": "page_title",
|
|
132
|
+
"label": "Page Title",
|
|
133
|
+
"default":"Lookbook Page"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"type": "checkbox",
|
|
137
|
+
"id": "display_product_detail_share",
|
|
138
|
+
"label": "Display Product Share?",
|
|
139
|
+
"default": true
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"type": "text",
|
|
143
|
+
"id": "share_text",
|
|
144
|
+
"label": "Share Text",
|
|
145
|
+
"default": "Share"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"type": "text",
|
|
149
|
+
"id": "button",
|
|
150
|
+
"label": "Lookbook Button"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"type": "url",
|
|
154
|
+
"id": "link",
|
|
155
|
+
"label": "Lookbook link"
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
|
|
159
|
+
"blocks" : [
|
|
160
|
+
{
|
|
161
|
+
"type": "image",
|
|
162
|
+
"name": "Image",
|
|
163
|
+
|
|
164
|
+
"settings":[
|
|
165
|
+
{
|
|
166
|
+
"type": "checkbox",
|
|
167
|
+
"id": "dpl_slide_img",
|
|
168
|
+
"label" : "Enable",
|
|
169
|
+
"default" : true
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"type": "image_picker",
|
|
173
|
+
"id": "image_slide",
|
|
174
|
+
"label" : "Select Image",
|
|
175
|
+
"info": "Recommended Image: Width x Height (768px x 960)px"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"type": "select",
|
|
179
|
+
"id": "size_image",
|
|
180
|
+
"label": "Size Image",
|
|
181
|
+
"default": "normal",
|
|
182
|
+
"options": [
|
|
183
|
+
{
|
|
184
|
+
"value": "normal",
|
|
185
|
+
"label": "Normal"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"value": "large",
|
|
189
|
+
"label": "Large"
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"type": "header",
|
|
195
|
+
"content": "Lookbook Product",
|
|
196
|
+
"info" : "======================="
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"type" : "header",
|
|
200
|
+
"content" : "Product 1"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"type" : "product",
|
|
204
|
+
"id" : "lb_product_1",
|
|
205
|
+
"label" : "Select Product"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"type" : "text",
|
|
209
|
+
"id" : "top_position_1",
|
|
210
|
+
"label" : "Top Position",
|
|
211
|
+
"default" : "10",
|
|
212
|
+
"info" : "Unit %"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"type" : "text",
|
|
216
|
+
"id" : "left_position_1",
|
|
217
|
+
"label" : "Left Position",
|
|
218
|
+
"default" : "10",
|
|
219
|
+
"info" : "Unit %"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"type" : "color",
|
|
223
|
+
"id" : "dots_color_1",
|
|
224
|
+
"label" : "Select Icon Color",
|
|
225
|
+
"default" : "#fff"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"type" : "color",
|
|
229
|
+
"id" : "dots_bg_color_1",
|
|
230
|
+
"label" : "Select Icon Background color",
|
|
231
|
+
"default" : "#323232"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"type" : "color",
|
|
235
|
+
"id" : "dots_hoverbg_color_1",
|
|
236
|
+
"label" : "Select Icon Hover Background color",
|
|
237
|
+
"default" : "#323232"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"type" : "color",
|
|
241
|
+
"id" : "dots_hovercolor_1",
|
|
242
|
+
"label" : "Select Icon Hover color",
|
|
243
|
+
"default" : "#323232"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"type" : "color",
|
|
247
|
+
"id" : "dots_shadow_color_1",
|
|
248
|
+
"label" : "Select Icon Shadow Color with opacity 30%",
|
|
249
|
+
"default" : "#fff",
|
|
250
|
+
"info" : "======================="
|
|
251
|
+
},
|
|
252
|
+
|
|
253
|
+
{
|
|
254
|
+
"type" : "header",
|
|
255
|
+
"content" : "Product 2"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"type" : "product",
|
|
259
|
+
"id" : "lb_product_2",
|
|
260
|
+
"label" : "Select Product"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"type" : "text",
|
|
264
|
+
"id" : "top_position_2",
|
|
265
|
+
"label" : "Top Position",
|
|
266
|
+
"default" : "10",
|
|
267
|
+
"info" : "Unit %"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"type" : "text",
|
|
271
|
+
"id" : "left_position_2",
|
|
272
|
+
"label" : "Left Position",
|
|
273
|
+
"default" : "10",
|
|
274
|
+
"info" : "Unit %"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"type" : "color",
|
|
278
|
+
"id" : "dots_color_2",
|
|
279
|
+
"label" : "Select Icon Color",
|
|
280
|
+
"default" : "#fff"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"type" : "color",
|
|
284
|
+
"id" : "dots_bg_color_2",
|
|
285
|
+
"label" : "Select Icon Background color",
|
|
286
|
+
"default" : "#323232"
|
|
287
|
+
},
|
|
288
|
+
|
|
289
|
+
{
|
|
290
|
+
"type" : "color",
|
|
291
|
+
"id" : "dots_hoverbg_color_2",
|
|
292
|
+
"label" : "Select Icon Hover Background color",
|
|
293
|
+
"default" : "#323232"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"type" : "color",
|
|
297
|
+
"id" : "dots_hovercolor_2",
|
|
298
|
+
"label" : "Select Icon Hover color",
|
|
299
|
+
"default" : "#323232"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"type" : "color",
|
|
303
|
+
"id" : "dots_shadow_color_2",
|
|
304
|
+
"label" : "Select Icon Shadow Color with opacity 30%",
|
|
305
|
+
"default" : "#fff",
|
|
306
|
+
"info" : "======================="
|
|
307
|
+
},
|
|
308
|
+
|
|
309
|
+
{
|
|
310
|
+
"type" : "header",
|
|
311
|
+
"content" : "Product 3"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"type" : "product",
|
|
315
|
+
"id" : "lb_product_3",
|
|
316
|
+
"label" : "Select Product"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"type" : "text",
|
|
320
|
+
"id" : "top_position_3",
|
|
321
|
+
"label" : "Top Position",
|
|
322
|
+
"default" : "10",
|
|
323
|
+
"info" : "Unit %"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"type" : "text",
|
|
327
|
+
"id" : "left_position_3",
|
|
328
|
+
"label" : "Left Position",
|
|
329
|
+
"default" : "10",
|
|
330
|
+
"info" : "Unit %"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"type" : "color",
|
|
334
|
+
"id" : "dots_color_3",
|
|
335
|
+
"label" : "Select Icon Color",
|
|
336
|
+
"default" : "#fff"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"type" : "color",
|
|
340
|
+
"id" : "dots_bg_color_3",
|
|
341
|
+
"label" : "Select Icon Background color",
|
|
342
|
+
"default" : "#323232"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"type" : "color",
|
|
346
|
+
"id" : "dots_hoverbg_color_3",
|
|
347
|
+
"label" : "Select Icon Hover Background color",
|
|
348
|
+
"default" : "#323232"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"type" : "color",
|
|
352
|
+
"id" : "dots_hovercolor_3",
|
|
353
|
+
"label" : "Select Icon Hover color",
|
|
354
|
+
"default" : "#323232"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"type" : "color",
|
|
358
|
+
"id" : "dots_shadow_color_3",
|
|
359
|
+
"label" : "Select Icon Shadow Color with opacity 30%",
|
|
360
|
+
"default" : "#fff",
|
|
361
|
+
"info" : "======================="
|
|
362
|
+
}
|
|
363
|
+
]
|
|
364
|
+
}
|
|
365
|
+
]
|
|
366
|
+
}
|
|
367
|
+
{% endschema %}
|