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,256 @@
|
|
|
1
|
+
{% if section.settings.enable_gmap %}
|
|
2
|
+
<div id="map">{{ section.settings.contact_iframe_code }} </div>
|
|
3
|
+
{% endif %}
|
|
4
|
+
|
|
5
|
+
{% if section.settings.enable_contact_section %}
|
|
6
|
+
<div class="contact-address">
|
|
7
|
+
<div class="dt-sc-hr-invisible-large"></div>
|
|
8
|
+
<div class="grid__item wide--one-third post-large--one-third large--one-third">
|
|
9
|
+
{% if section.settings.enable_contact_address %}
|
|
10
|
+
<ul>
|
|
11
|
+
<li class="grid__item">
|
|
12
|
+
<div class="icon-wrapper">
|
|
13
|
+
<div class="icon">
|
|
14
|
+
<i class="{{section.settings.contact_icon_1}}"></i>
|
|
15
|
+
</div>
|
|
16
|
+
{% if section.settings.contact_phone %}
|
|
17
|
+
<h4>{{ section.settings.contact_module_contact_phonetitle }}</h4>
|
|
18
|
+
<p> {{ section.settings.contact_phone1 }} <br>{{ section.settings.contact_phone2 }}</p><mark></mark>
|
|
19
|
+
{% endif %}
|
|
20
|
+
</div>
|
|
21
|
+
</li>
|
|
22
|
+
<li class="grid__item">
|
|
23
|
+
<div class="icon-wrapper">
|
|
24
|
+
{% if section.settings.contact_module_email %}
|
|
25
|
+
<div class="icon">
|
|
26
|
+
<i class="{{section.settings.contact_icon_2}}"></i>
|
|
27
|
+
</div>
|
|
28
|
+
<h4>{{ section.settings.contact_module_contact_title }}</h4>
|
|
29
|
+
<p>
|
|
30
|
+
<a title="" href="">{{ section.settings.contact_module_email_1 }}</a><br><a title="" href="">{{ section.settings.contact_module_email2 }}</a>
|
|
31
|
+
</p>
|
|
32
|
+
{% endif %}
|
|
33
|
+
</div>
|
|
34
|
+
</li>
|
|
35
|
+
{% if section.settings.contact_module_address %}
|
|
36
|
+
<li class="address grid__item">
|
|
37
|
+
<div class="icon-wrapper">
|
|
38
|
+
<div class="icon">
|
|
39
|
+
<i class="{{section.settings.contact_icon_3}}"></i>
|
|
40
|
+
</div>
|
|
41
|
+
<h4>{{ section.settings.contact_module_address_title }}</h4>
|
|
42
|
+
<p> {{ section.settings.contact_module_address1 }}<br /> {{ section.settings.contact_module_address2 }}<br />{{ section.settings.postcode }}</p><mark></mark>
|
|
43
|
+
</div>
|
|
44
|
+
</li>
|
|
45
|
+
{% endif %}
|
|
46
|
+
</ul>
|
|
47
|
+
{% endif %}
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
<div class="grid__item wide--two-thirds post-large--two-thirds large--two-thirds">
|
|
51
|
+
<div class="contact-form-section">
|
|
52
|
+
<h3> {{ section.settings.contact_form_title }} </h3>
|
|
53
|
+
{% form 'contact' %}
|
|
54
|
+
{% if form.posted_successfully? %}
|
|
55
|
+
<p class="note form-success">
|
|
56
|
+
{{ 'contact.form.post_success' | t }}
|
|
57
|
+
</p>
|
|
58
|
+
{% endif %}
|
|
59
|
+
{{ form.errors | default_errors }}
|
|
60
|
+
{% assign name_attr = 'contact.form.name' | t | handle %}
|
|
61
|
+
<label for="ContactFormName" class="label--hidden">{{ 'contact.form.name' | t }}</label>
|
|
62
|
+
<input type="text" id="ContactFormName" name="contact[{{ name_attr }}]" placeholder="{{ 'contact.form.name' | t }}" autocapitalize="words" value="{% if form[name_attr] %}{{ form[name_attr] }}{% elsif customer %}{{ customer.name }}{% endif %}">
|
|
63
|
+
<label for="ContactFormEmail" class="label--hidden">{{ 'contact.form.email' | t }}</label>
|
|
64
|
+
<input type="email" id="ContactFormEmail" name="contact[email]" placeholder="{{ 'contact.form.email' | t }}" autocorrect="off" autocapitalize="off" value="{% if form.email %}{{ form.email }}{% elsif customer %}{{ customer.email }}{% endif %}">
|
|
65
|
+
{% assign name_attr = 'contact.form.sub' | t | handle %}
|
|
66
|
+
<label for="ContactFormSub" class="label--hidden">{{ 'contact.form.phone' | t }}</label>
|
|
67
|
+
<input type="text" id="ContactFormSub" name="contact[{{ name_attr }}]" placeholder="{{ 'contact.form.sub' | t }}" autocapitalize="words" value="{% if form[name_attr] %}{{ form[name_attr] }}{% elsif customer %}{{ customer.subject }}{% endif %}">
|
|
68
|
+
<label for="ContactFormMessage" class="label--hidden">{{ 'contact.form.message' | t }}</label>
|
|
69
|
+
<textarea rows="7" id="ContactFormMessage" name="contact[body]" placeholder="{{ 'contact.form.message' | t }}">{% if form.body %}{{ form.body }}{% endif %}</textarea>
|
|
70
|
+
<button type="submit" class="btn">{{ 'contact.form.send' | t }}</button>
|
|
71
|
+
{% endform %}
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
<style>
|
|
78
|
+
|
|
79
|
+
.contact-address .icon { background: {{ section.settings.contacticon_bg_color}}; border-radius:50%;display: inline-block;font-size: 20px;height: 50px;line-height: 50px;margin-bottom: 25px;position: relative;text-align: center;width: 50px;color:{{ section.settings.contacticon_color}};}
|
|
80
|
+
.contact-address .icon-wrapper:hover .icon { background: {{ section.settings.contacticon_hoverbg_color}};color:{{ section.settings.contacticonhover_color}}; }
|
|
81
|
+
.contact-address .icon-wrapper:hover h4 { color: {{ section.settings.contacticon_hoverbg_color}}; }
|
|
82
|
+
.contact-address { float:left;width:100%;{% if section.settings.contact_bg_img != blank %} background:url({{ section.settings.contact_bg_img | img_url:'master' }}) no-repeat;{% endif %} }
|
|
83
|
+
.contact-form-section .contact-form {background:{{ section.settings.contact_bg_color }}; }
|
|
84
|
+
.contact-address .social-icons li a:hover { background:{{ section.settings.color_primary_color }};border-color:{{ section.settings.color_primary_color }};}
|
|
85
|
+
.contact-address .icon-wrapper{ float:left;width:100%; }
|
|
86
|
+
.contact-address h4 { font-size: 18px;text-transform:uppercase;letter-spacing:1px;color:{{section.settings.icontactheading_color}}; }
|
|
87
|
+
|
|
88
|
+
</style>
|
|
89
|
+
|
|
90
|
+
{% endif %}
|
|
91
|
+
|
|
92
|
+
{% schema %}
|
|
93
|
+
{
|
|
94
|
+
"name": "Contact block",
|
|
95
|
+
"settings": [
|
|
96
|
+
|
|
97
|
+
{
|
|
98
|
+
"type": "checkbox",
|
|
99
|
+
"id": "enable_gmap",
|
|
100
|
+
"label": "Enable Contact Map?"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"type": "textarea",
|
|
104
|
+
"id": "contact_iframe_code",
|
|
105
|
+
"label": "Map Code[iframe]",
|
|
106
|
+
"info": "[Where do I find googlemap action URL?](https:\/\/support.google.com\/maps\/answer\/3544418?hl=en)"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"type": "checkbox",
|
|
110
|
+
"id": "enable_contact_section",
|
|
111
|
+
"label": "Enable Contact Section"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"type": "checkbox",
|
|
115
|
+
"id": "contact_bg_img_use",
|
|
116
|
+
"label": "Enable Contact Bg Image"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"type": "image_picker",
|
|
120
|
+
"id": "contact_bg_img",
|
|
121
|
+
"label": "Contact Bg"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"type": "color",
|
|
125
|
+
"id": "contact_bg_color",
|
|
126
|
+
"label": "Contact Bg Color",
|
|
127
|
+
"default": "#000"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"type": "color",
|
|
131
|
+
"id": "icontactheading_color",
|
|
132
|
+
"label": "Contact Icon Heading Color",
|
|
133
|
+
"default": "#17313e"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"type": "color",
|
|
137
|
+
"id": "contacticon_bg_color",
|
|
138
|
+
"label": "Icon Bg Color",
|
|
139
|
+
"default": "#17313e"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"type": "color",
|
|
143
|
+
"id": "contacticon_color",
|
|
144
|
+
"label": "Contact Icon Color",
|
|
145
|
+
"default": "#17313e"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"type": "color",
|
|
149
|
+
"id": "contacticon_hoverbg_color",
|
|
150
|
+
"label": "Icon Hover Bg Color",
|
|
151
|
+
"default": "#e05941"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"type": "color",
|
|
155
|
+
"id": "contacticonhover_color",
|
|
156
|
+
"label": "Contact Icon Hover Color",
|
|
157
|
+
"default": "#ffffff"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"type": "color",
|
|
161
|
+
"id": "contactborder_color",
|
|
162
|
+
"label": "Contact Border Color",
|
|
163
|
+
"default": "#17313e"
|
|
164
|
+
},
|
|
165
|
+
|
|
166
|
+
{
|
|
167
|
+
"type": "checkbox",
|
|
168
|
+
"id": "contact_phone",
|
|
169
|
+
"label": "Enable Phone"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"type": "text",
|
|
173
|
+
"id": "contact_module_contact_phonetitle",
|
|
174
|
+
"label": "Title"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"type": "text",
|
|
178
|
+
"id": "contact_icon_1",
|
|
179
|
+
"label": "Icon Class"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"type": "text",
|
|
183
|
+
"id": "contact_phone1",
|
|
184
|
+
"label": "Phone"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"type": "text",
|
|
188
|
+
"id": "contact_phone2",
|
|
189
|
+
"label": "Phone"
|
|
190
|
+
},
|
|
191
|
+
|
|
192
|
+
{
|
|
193
|
+
"type": "checkbox",
|
|
194
|
+
"id": "contact_module_email",
|
|
195
|
+
"label": "Enable Email"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"type": "text",
|
|
199
|
+
"id": "contact_module_contact_title",
|
|
200
|
+
"label": "Title"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"type": "text",
|
|
204
|
+
"id": "contact_icon_2",
|
|
205
|
+
"label": "Icon Class"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"type": "text",
|
|
209
|
+
"id": "contact_module_email_1",
|
|
210
|
+
"label": "Email"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"type": "text",
|
|
214
|
+
"id": "contact_module_email2",
|
|
215
|
+
"label": "Email"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"type": "checkbox",
|
|
219
|
+
"id": "enable_contact_address",
|
|
220
|
+
"label": "Enable Contact Address?"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"type": "text",
|
|
224
|
+
"id": "contact_icon_3",
|
|
225
|
+
"label": "Icon Class"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"type": "checkbox",
|
|
229
|
+
"id": "contact_module_address",
|
|
230
|
+
"label": "Enable Address"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"type": "text",
|
|
234
|
+
"id": "contact_module_address_title",
|
|
235
|
+
"label": "Title"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"type": "textarea",
|
|
239
|
+
"id": "contact_module_address1",
|
|
240
|
+
"label": "Address"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"type": "textarea",
|
|
244
|
+
"id": "contact_module_address2",
|
|
245
|
+
"label": "Address"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"type": "text",
|
|
249
|
+
"id": "contact_form_title",
|
|
250
|
+
"label": "Form Title",
|
|
251
|
+
"default":"Contact Form"
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
{% endschema %}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
|
|
2
|
+
{% if section.settings.copyright != blank or section.settings.payment_enable %}
|
|
3
|
+
<div class="footer-bottom">
|
|
4
|
+
<div class="page-width">
|
|
5
|
+
<div class="row">
|
|
6
|
+
{% if section.settings.copyright != blank %}
|
|
7
|
+
<div class="footer-left {% if section.settings.payment_enable %}col-lg-6 col-md-12 col-sm-12{% else %}col-lg-12 col-md-12 col-sm-12 center{% endif %}">
|
|
8
|
+
<div class="footer__copyright">
|
|
9
|
+
{{ section.settings.copyright }}
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
{% endif %}
|
|
13
|
+
|
|
14
|
+
{% if section.settings.payment_enable %}
|
|
15
|
+
<div class="footer-right {% if section.settings.copyright != blank %}col-lg-6 col-md-12 col-sm-12{% else %}col-lg-12 col-md-12 col-sm-12 center{% endif %}">
|
|
16
|
+
<div class="payment-icons">
|
|
17
|
+
<ul class="list list-payment" role="list">
|
|
18
|
+
{% if section.settings.fakepayment_enable %}
|
|
19
|
+
{% assign enabled_payment_types = 'apple_pay,google_pay,visa,master,discover' | remove: ' ' | split: ',' %}
|
|
20
|
+
{% else %}
|
|
21
|
+
{% assign enabled_payment_types = shop.enabled_payment_types %}
|
|
22
|
+
{% endif %}
|
|
23
|
+
{%- for type in enabled_payment_types -%}
|
|
24
|
+
<li class="list-payment__item">
|
|
25
|
+
{{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}
|
|
26
|
+
</li>
|
|
27
|
+
{%- endfor -%}
|
|
28
|
+
|
|
29
|
+
{% if section.blocks.size > 0 %}
|
|
30
|
+
{% for block in section.blocks %}
|
|
31
|
+
{% if block.settings.image != blank %}
|
|
32
|
+
<li class="list-payment__item">
|
|
33
|
+
<img class="logo-bar__image lazyload"
|
|
34
|
+
data-src="{{ block.settings.image | img_url: '44x33', scale: 2}}"
|
|
35
|
+
alt="Payment Logo">
|
|
36
|
+
</li>
|
|
37
|
+
{% endif %}
|
|
38
|
+
{% endfor %}
|
|
39
|
+
{% endif %}
|
|
40
|
+
</ul>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
{% endif %}
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
{% endif %}
|
|
48
|
+
|
|
49
|
+
{% schema %}
|
|
50
|
+
{
|
|
51
|
+
"name": "Copyright and Payment",
|
|
52
|
+
"settings": [
|
|
53
|
+
{
|
|
54
|
+
"type": "header",
|
|
55
|
+
"content": "Copyright setting"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "text",
|
|
59
|
+
"id": "copyright",
|
|
60
|
+
"label": "Copyright Text",
|
|
61
|
+
"default": "© 2022, Aveda Sectioned Shopify Theme"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "header",
|
|
65
|
+
"content": "Payment setting"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"type": "checkbox",
|
|
69
|
+
"id": "payment_enable",
|
|
70
|
+
"label": "Show Payment Icon",
|
|
71
|
+
"default": true
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"type": "checkbox",
|
|
75
|
+
"id": "fakepayment_enable",
|
|
76
|
+
"label": "Show Fake Payment Icon",
|
|
77
|
+
"default": true
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"blocks": [
|
|
81
|
+
{
|
|
82
|
+
"type": "logo_image",
|
|
83
|
+
"name": "Payment Logo",
|
|
84
|
+
"settings": [
|
|
85
|
+
{
|
|
86
|
+
"type": "image_picker",
|
|
87
|
+
"id": "image",
|
|
88
|
+
"label": "Payment Logo Image",
|
|
89
|
+
"info": "Size: 44px X 33px"
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
{% endschema %}
|