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,543 @@
|
|
|
1
|
+
<div data-section-id="{{ section.id }}" data-section-type="Footer-model-6" class="footer-model-6">
|
|
2
|
+
<footer class="site-footer" style="background:{{ section.settings.footer_bg }};">
|
|
3
|
+
|
|
4
|
+
<div class="footer-top">
|
|
5
|
+
<div class="container">
|
|
6
|
+
<div class="grid-uniform">
|
|
7
|
+
{% assign num_footer_columns = 0 %}
|
|
8
|
+
{% if section.settings.show_contact %}
|
|
9
|
+
{% assign num_footer_columns = num_footer_columns | plus: 1 %}
|
|
10
|
+
{% endif %}
|
|
11
|
+
|
|
12
|
+
{%- assign footer_linklist1 = section.settings.footer_menu_1 %}
|
|
13
|
+
{% if linklists[footer_linklist1].links.size > 0 %}
|
|
14
|
+
{% assign num_footer_columns = num_footer_columns | plus: 1 %}
|
|
15
|
+
{% endif %}
|
|
16
|
+
|
|
17
|
+
{%- assign footer_linklist2 = section.settings.footer_menu_2 %}
|
|
18
|
+
{% if linklists[footer_linklist2].links.size > 0 %}
|
|
19
|
+
{% assign num_footer_columns = num_footer_columns | plus: 1 %}
|
|
20
|
+
{% endif %}
|
|
21
|
+
|
|
22
|
+
{%- assign footer_linklist3 = section.settings.footer_menu_3 %}
|
|
23
|
+
{% if linklists[footer_linklist3].links.size > 0 %}
|
|
24
|
+
{% assign num_footer_columns = num_footer_columns | plus: 1 %}
|
|
25
|
+
{% endif %}
|
|
26
|
+
|
|
27
|
+
{% case num_footer_columns %}
|
|
28
|
+
{% when 0 %}
|
|
29
|
+
{% when 1 %}
|
|
30
|
+
{% assign footer_num_column_width = 'text-left' %}
|
|
31
|
+
{% when 2 %}
|
|
32
|
+
{% assign footer_num_column_width = 'wide--one-half post-large--one-half large--one-half medium--one-half small--one-half' %}
|
|
33
|
+
{% when 3 %}
|
|
34
|
+
{% assign footer_num_column_width = 'wide--one-third post-large--one-third large--one-third medium--one-half small--one-half' %}
|
|
35
|
+
{% when 4 %}
|
|
36
|
+
{% assign footer_num_column_width = 'wide--one-quarter post-large--one-quarter large--one-quarter medium--one-half small--one-half' %}
|
|
37
|
+
{% endcase %}
|
|
38
|
+
|
|
39
|
+
{% if section.settings.footer_about_section %}
|
|
40
|
+
<div class="grid__item {{footer_num_column_width}}">
|
|
41
|
+
<div class="footer-logo">
|
|
42
|
+
{% if section.settings.footer_logo_enable %}
|
|
43
|
+
<a href="/">
|
|
44
|
+
<img class="normal-footer-logo" src="{{ section.settings.footer_logo | img_url: "200x" }}" alt="{{ shop.name }}" />
|
|
45
|
+
</a>
|
|
46
|
+
{% endif %}
|
|
47
|
+
{% if section.settings.welcome_text != blank %}
|
|
48
|
+
<p>{{ section.settings.welcome_text }}</p>
|
|
49
|
+
{% endif %}
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
{% endif %}
|
|
53
|
+
|
|
54
|
+
{%- assign footer_linklist1 = section.settings.footer_menu_1 %}
|
|
55
|
+
{% if linklists[footer_linklist1].links.size > 0 %}
|
|
56
|
+
<div class="grid__item {{footer_num_column_width}}">
|
|
57
|
+
{% if section.settings.footer_menu_1_title != blank %}
|
|
58
|
+
<h4 style="color:{{ section.settings.footer_text }};">{{ section.settings.footer_menu_1_title }}</h4>
|
|
59
|
+
{% endif %}
|
|
60
|
+
<ul class="site-footer__links">
|
|
61
|
+
{% for link in linklists[section.settings.footer_menu_1].links %}
|
|
62
|
+
<li><a style="color:{{ section.settings.footer_link }};" href="{{ link.url }}">{{ link.title }}</a></li>
|
|
63
|
+
{% endfor %}
|
|
64
|
+
</ul>
|
|
65
|
+
</div>
|
|
66
|
+
{% endif %}
|
|
67
|
+
|
|
68
|
+
{%- assign footer_linklist2 = section.settings.footer_menu_2 %}
|
|
69
|
+
{% if linklists[footer_linklist2].links.size > 0 %}
|
|
70
|
+
<div class="grid__item {{footer_num_column_width}}">
|
|
71
|
+
{% if section.settings.footer_menu_2_title != blank %}
|
|
72
|
+
<h4 style="color:{{ section.settings.footer_text }};"> {{ section.settings.footer_menu_2_title }}</h4>
|
|
73
|
+
{% endif %}
|
|
74
|
+
<ul class="site-footer__links">
|
|
75
|
+
{% for link in linklists[section.settings.footer_menu_2].links %}
|
|
76
|
+
<li><a style="color:{{ section.settings.footer_link }};" href="{{ link.url }}">{{ link.title }}</a></li>
|
|
77
|
+
{% endfor %}
|
|
78
|
+
</ul>
|
|
79
|
+
</div>
|
|
80
|
+
{% endif %}
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
<div class="footer-bottom">
|
|
86
|
+
<div class="container">
|
|
87
|
+
<div class="grid-uniform">
|
|
88
|
+
{% if section.settings.footer_newsletter_enable or section.settings.footer_social_enable %}
|
|
89
|
+
<div class="footer-newsletter-section" style="border-top:1px solid {{ section.settings.border_top_clr }};">
|
|
90
|
+
{% endif %}
|
|
91
|
+
<div class="grid__item wide--one-half post-large--one-half large--one-half medium--one-half small--grid__item">
|
|
92
|
+
{% if section.settings.footer_newsletter_enable %}
|
|
93
|
+
<div class="footer_newsletter">
|
|
94
|
+
{% if section.settings.footer_newsletter_title != blank %}
|
|
95
|
+
<h4 style="color:{{ section.settings.footer_text }};">{{ section.settings.footer_newsletter_title}}</h4>
|
|
96
|
+
{% endif %}
|
|
97
|
+
|
|
98
|
+
{% form 'customer' %}
|
|
99
|
+
{{ form.errors | default_errors }}
|
|
100
|
+
{% if form.posted_successfully? %}
|
|
101
|
+
<p class="note form-success">{{ 'general.newsletter_form.mailing_list_success_message' | t }}</p>
|
|
102
|
+
{% else %}
|
|
103
|
+
<div class="input-group" style="background:{{ section.settings.input_bg }};">
|
|
104
|
+
<input style="color:{{ section.settings.input_text }};" type="email" value="{% if customer %}{{ customer.email }}{% endif %}" placeholder="{{ 'general.newsletter_form.newsletter_email' | t }}" name="contact[email]" class="mail" aria-label="{{ 'general.newsletter_form.newsletter_email' | t }}" >
|
|
105
|
+
<input type="hidden" name="contact[tags]" value="newsletter">
|
|
106
|
+
<button style="background:{{ section.settings.newsletter_btn_bg }};color:{{ section.settings.newsletter_btn_text }};" type="submit" class="btn subscribe" name="subscribe" value=""><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve"><path shape-rendering="auto" color-rendering="auto" image-rendering="auto" d="M47.2,19.2c-8.4,0-14.7,0-19.6,0.5 c-3.8,0.4-6.9,1-9.4,2.3c-0.3,0.1-0.6,0.3-0.9,0.5c-0.4,0.3-0.9,0.6-1.3,0.9c-2.8,2.3-4.1,5.8-4.7,10.1c-0.6,4.3-0.6,9.5-0.6,16.5 s0,12.3,0.6,16.5c0.6,4.3,1.9,7.7,4.7,10.1s6.6,3.3,11.5,3.7c4.9,0.5,11.3,0.5,19.6,0.5h5.6c8.4,0,14.7,0,19.6-0.5 c4.9-0.5,8.7-1.4,11.5-3.7c2.8-2.3,4.1-5.8,4.7-10.1S89.2,57,89.2,50s0-12.3-0.6-16.5c-0.6-4.3-1.9-7.7-4.7-10.1 c-0.4-0.3-0.7-0.6-1.1-0.8c-0.3-0.3-0.7-0.5-1.1-0.7c-2.5-1.3-5.5-1.9-9.2-2.2c-4.9-0.5-11.3-0.5-19.6-0.5 C52.8,19.2,47.2,19.2,47.2,19.2z M47.2,24.8h5.6c8.4,0,14.6,0,19.1,0.4c1.2,0.1,2.3,0.3,3.2,0.4c-3.6,2.9-12.2,10-19.8,16.3 c-3.1,2.6-7.6,2.6-10.7,0c-7.6-6.3-16.2-13.4-19.8-16.3c1-0.2,2-0.3,3.2-0.4C32.6,24.8,38.8,24.8,47.2,24.8L47.2,24.8z M19.1,28.2 c1.9,1.6,13.5,11.1,22,18.1c5.1,4.2,12.6,4.2,17.8,0c8.4-6.9,20.1-16.5,22-18.1c1.1,1.2,1.8,2.9,2.2,6c0.5,3.6,0.5,8.8,0.5,15.8 s0,12.2-0.5,15.8c-0.5,3.6-1.3,5.4-2.7,6.5c-1.4,1.2-4,2-8.4,2.4c-4.5,0.4-10.7,0.4-19.1,0.4h-5.6c-8.4,0-14.6,0-19.1-0.4 s-7-1.3-8.4-2.4s-2.2-2.9-2.7-6.5c-0.5-3.6-0.5-8.8-0.5-15.8s0-12.2,0.5-15.8C17.4,31.1,18.1,29.4,19.1,28.2L19.1,28.2z"/></svg>
|
|
107
|
+
</button>
|
|
108
|
+
</div>
|
|
109
|
+
{% endif %}
|
|
110
|
+
|
|
111
|
+
{% endform %}
|
|
112
|
+
|
|
113
|
+
</div>
|
|
114
|
+
{% endif %}
|
|
115
|
+
</div>
|
|
116
|
+
|
|
117
|
+
<div class="grid__item wide--one-quarter post-large--one-quarter large--one-quarter medium--one-half small--grid__item">
|
|
118
|
+
{% if section.settings.footer_social_enable %}
|
|
119
|
+
<div class="footer_social_links">
|
|
120
|
+
{% if section.settings.footer_social_title != blank %}
|
|
121
|
+
<h4 style="color:{{ section.settings.footer_text }};">{{ section.settings.footer_social_title}}</h4>
|
|
122
|
+
{% endif %}
|
|
123
|
+
|
|
124
|
+
{% include 'social-links' %}
|
|
125
|
+
</div>
|
|
126
|
+
{% endif %}
|
|
127
|
+
</div>
|
|
128
|
+
|
|
129
|
+
<div class="grid__item wide--one-quarter post-large--one-quarter large--one-quarter medium--one-whole small--grid__item">
|
|
130
|
+
{% if section.settings.footer_show_methods_of_payment %}
|
|
131
|
+
<div class="payment_section">
|
|
132
|
+
{% if section.settings.footer_payment_title != blank %}
|
|
133
|
+
<h4 style="color:{{ section.settings.footer_text }};">{{ section.settings.footer_payment_title}}</h4>
|
|
134
|
+
{% endif %}
|
|
135
|
+
<div class="footer-icons">
|
|
136
|
+
<ul class="inline-list payment-icons">
|
|
137
|
+
{%- for type in shop.enabled_payment_types -%}
|
|
138
|
+
<li class="payment-icon">
|
|
139
|
+
{{ type | payment_type_svg_tag }}
|
|
140
|
+
</li>
|
|
141
|
+
{% endfor %}
|
|
142
|
+
</ul>
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
{% endif %}
|
|
146
|
+
</div>
|
|
147
|
+
</div>
|
|
148
|
+
{% if section.settings.footer_newsletter_enable or section.settings.footer_social_enable %}
|
|
149
|
+
</div>
|
|
150
|
+
{% endif %}
|
|
151
|
+
|
|
152
|
+
{% if section.settings.show_contact %}
|
|
153
|
+
<div class="address">
|
|
154
|
+
{% if section.settings.footer_contact_title != blank %}
|
|
155
|
+
<h4 style="color:{{ section.settings.footer_text }};">{{ section.settings.footer_contact_title}}</h4>
|
|
156
|
+
{% endif %}
|
|
157
|
+
|
|
158
|
+
{% if section.settings.footer_address != blank or section.settings.footer_contact_no != blank %}
|
|
159
|
+
<div class="grid__item wide--one-half post-large--one-half large--one-half medium--one-half small--grid__item">
|
|
160
|
+
{% if section.settings.footer_address != blank %}
|
|
161
|
+
<p><i style="color:{{ section.settings.footer_link }};" class="fa fa-map-marker"></i>
|
|
162
|
+
<span>{{ section.settings.footer_address }}</span></p>
|
|
163
|
+
{% endif %}
|
|
164
|
+
</div>
|
|
165
|
+
|
|
166
|
+
<div class="grid__item wide--one-quarter post-large--one-quarter large--one-quarter medium--one-half small--grid__item">
|
|
167
|
+
{% if section.settings.footer_contact_no != blank %}
|
|
168
|
+
<p><i style="color:{{ section.settings.footer_link }};" class="fa fa-phone"></i>
|
|
169
|
+
<span>{{ section.settings.footer_contact_no }}</span>
|
|
170
|
+
<span>{{ section.settings.footer_contact_no_2 }}</span>
|
|
171
|
+
</p>
|
|
172
|
+
{% endif %}
|
|
173
|
+
</div>
|
|
174
|
+
{% endif %}
|
|
175
|
+
|
|
176
|
+
<div class="grid__item wide--one-quarter post-large--one-quarter large--one-quarter medium--one-half small--grid__item">
|
|
177
|
+
{% if section.settings.footer_contact_link != blank and section.settings.footer_contact_id != blank %}
|
|
178
|
+
<p><i style="color:{{ section.settings.footer_link }};" class="fa fa-paper-plane"></i>
|
|
179
|
+
<a class="mail" style="color:{{ section.settings.footer_link }};" href="mailto:{{ section.settings.footer_contact_link }}">{{ section.settings.footer_contact_id }}</a>
|
|
180
|
+
<a class="mail" style="color:{{ section.settings.footer_link }};" href="mailto:{{ section.settings.footer_contact_link_2 }}">{{ section.settings.footer_contact_id_2 }}</a>
|
|
181
|
+
</p>
|
|
182
|
+
{% endif %}
|
|
183
|
+
</div>
|
|
184
|
+
</div>
|
|
185
|
+
{% endif %}
|
|
186
|
+
|
|
187
|
+
{%- assign footer_linklist4 = section.settings.footer_menu_4 %}
|
|
188
|
+
{% if section.settings.use_footer_bottom and linklists[footer_linklist4].links.size > 0 %}
|
|
189
|
+
<div class="grid__item footer-bottom__menu" style="border-top:1px solid {{ section.settings.footer_bottom_bg }};">
|
|
190
|
+
|
|
191
|
+
<div class="container">
|
|
192
|
+
<ul>
|
|
193
|
+
{% for link in linklists[section.settings.footer_menu_4].links %}
|
|
194
|
+
<li>
|
|
195
|
+
<a style="color:{{ section.settings.footer_bottom_text }};border-right:1px solid {{ section.settings.footer_menu_border }};" href="{{ link.url }}">{{ link.title }}</a>
|
|
196
|
+
</li>
|
|
197
|
+
{% endfor %}
|
|
198
|
+
</ul>
|
|
199
|
+
</div>
|
|
200
|
+
|
|
201
|
+
</div>
|
|
202
|
+
{% endif %}
|
|
203
|
+
|
|
204
|
+
</div>
|
|
205
|
+
</div>
|
|
206
|
+
|
|
207
|
+
</footer>
|
|
208
|
+
|
|
209
|
+
<div class="grid__item">
|
|
210
|
+
{% if section.settings.copyright != blank or section.settings.footer_show_methods_of_payment or section.settings.use_powered_by %}
|
|
211
|
+
<div class="copyright" style="background:{{ section.settings.copyright_bg }}">
|
|
212
|
+
<div class="container">
|
|
213
|
+
{% if section.settings.copyright != blank %}
|
|
214
|
+
<p class="copyright_left" style="color:{{ section.settings.copyright_text }}">{{ section.settings.copyright }} © {{ 'now' | date: "%Y" }}, {{ shop.name }}
|
|
215
|
+
{% if section.settings.use_powered_by %}
|
|
216
|
+
{{ powered_by_link }}
|
|
217
|
+
{% endif %}
|
|
218
|
+
</p>
|
|
219
|
+
{% endif %}
|
|
220
|
+
</div>
|
|
221
|
+
</div>
|
|
222
|
+
{% endif %}
|
|
223
|
+
</div>
|
|
224
|
+
</div>
|
|
225
|
+
|
|
226
|
+
<style>
|
|
227
|
+
|
|
228
|
+
.footer-model-6 a.mail:hover { color:{{ section.settings.color_footer_link_hover }} !important; }
|
|
229
|
+
|
|
230
|
+
.footer-model-6 .footer_newsletter button:hover { background:{{ section.settings.color_footer_news_btn_bg }} !important;color:{{ section.settings.color_footer_news_btn_text }} !important; }
|
|
231
|
+
.footer-model-6 .site-footer__links li a:hover { color:{{ section.settings.color_footer_link_hover }} !important; }
|
|
232
|
+
.footer-model-6 .footer-bottom .footer-bottom__menu ul li a:hover { color:{{ section.settings.footer_bottom_text_hover }} !important; }
|
|
233
|
+
.footer-model-6 .copyright a { color:{{ section.settings.copyright_color }}; }
|
|
234
|
+
.footer-model-6 .copyright a:hover { color:{{ section.settings.copyright_link_color }}; }
|
|
235
|
+
.footer-model-6 .site-footer .social-icons li a { color:{{ section.settings.social_icon_clr }} ; }
|
|
236
|
+
.footer-model-6 .site-footer .social-icons li a:hover { color:{{ section.settings.social_icon_hover_clr }}; }
|
|
237
|
+
.footer-model-6 .footer_newsletter input::-webkit-input-placeholder { color:{{ section.settings.input_text }};}
|
|
238
|
+
.footer-model-6 .footer_newsletter input:-moz-placeholder { color:{{ section.settings.input_text }};}
|
|
239
|
+
.footer-model-6 .footer_newsletter input::-moz-placeholder { color:{{ section.settings.input_text }};}
|
|
240
|
+
.footer-model-6 .footer_newsletter input:-ms-input-placeholder { color:{{ section.settings.input_text }};}
|
|
241
|
+
.footer-model-6 .footer_newsletter input { color:{{ section.settings.input_text }}; }
|
|
242
|
+
|
|
243
|
+
</style>
|
|
244
|
+
|
|
245
|
+
{% schema %}
|
|
246
|
+
{
|
|
247
|
+
"name": "Footer",
|
|
248
|
+
"settings": [
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
{
|
|
252
|
+
"type": "color",
|
|
253
|
+
"id": "footer_bg",
|
|
254
|
+
"label": "Footer BG",
|
|
255
|
+
"default":"#000"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"type": "color",
|
|
259
|
+
"id": "footer_text",
|
|
260
|
+
"label": "Footer Title",
|
|
261
|
+
"default":"#000"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"type": "checkbox",
|
|
265
|
+
"id": "footer_about_section",
|
|
266
|
+
"label": "Footer about section?",
|
|
267
|
+
"default": true
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"type": "checkbox",
|
|
271
|
+
"id": "footer_logo_enable",
|
|
272
|
+
"label": "Show footer logo"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"type": "image_picker",
|
|
276
|
+
"id": "footer_logo",
|
|
277
|
+
"label": "Logo image",
|
|
278
|
+
"info": "Size: 198x62"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"type": "textarea",
|
|
282
|
+
"id": "welcome_text",
|
|
283
|
+
"label": "Welcome text"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"type": "color",
|
|
287
|
+
"id": "footer_link",
|
|
288
|
+
"label": "Footer Text",
|
|
289
|
+
"default":"#000"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"type": "color",
|
|
293
|
+
"id": "color_footer_link_hover",
|
|
294
|
+
"label": "Footer Link Hover",
|
|
295
|
+
"default": "#636363"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"type": "text",
|
|
299
|
+
"id": "footer_menu_1_title",
|
|
300
|
+
"label": "Heading",
|
|
301
|
+
"default": "Footer menu 1"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"type": "link_list",
|
|
305
|
+
"id": "footer_menu_1",
|
|
306
|
+
"label": "Footer link"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"type": "text",
|
|
310
|
+
"id": "footer_menu_2_title",
|
|
311
|
+
"label": "Heading",
|
|
312
|
+
"default": "Footer menu 2"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"type": "link_list",
|
|
316
|
+
"id": "footer_menu_2",
|
|
317
|
+
"label": "Footer link"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"type": "header",
|
|
321
|
+
"content": "Newsletter"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"type": "checkbox",
|
|
325
|
+
"id": "footer_newsletter_enable",
|
|
326
|
+
"label": "Show newsletter",
|
|
327
|
+
"default": true
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"type": "color",
|
|
331
|
+
"id": "border_top_clr",
|
|
332
|
+
"label": "Border Top Color",
|
|
333
|
+
"default":"#fff"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"type": "text",
|
|
337
|
+
"id": "footer_newsletter_title",
|
|
338
|
+
"label": "Heading",
|
|
339
|
+
"default": "Newsletter Subscription"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"type": "color",
|
|
343
|
+
"id": "input_bg",
|
|
344
|
+
"label": "Input Box Bg",
|
|
345
|
+
"default": "#000"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"type": "color",
|
|
349
|
+
"id": "input_text",
|
|
350
|
+
"label": "Input Box Text",
|
|
351
|
+
"default": "#000"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"type": "color",
|
|
355
|
+
"id": "newsletter_btn_bg",
|
|
356
|
+
"label": "Button Bg",
|
|
357
|
+
"default": "#000"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"type": "color",
|
|
361
|
+
"id": "newsletter_btn_text",
|
|
362
|
+
"label": "Button Text",
|
|
363
|
+
"default": "#fff"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"type": "color",
|
|
367
|
+
"id": "color_footer_news_btn_bg",
|
|
368
|
+
"label": "Button Hover BG",
|
|
369
|
+
"default": "#636363"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"type": "color",
|
|
373
|
+
"id": "color_footer_news_btn_text",
|
|
374
|
+
"label": "Button Hover Text",
|
|
375
|
+
"default": "#636363"
|
|
376
|
+
},
|
|
377
|
+
|
|
378
|
+
{
|
|
379
|
+
"type": "checkbox",
|
|
380
|
+
"id": "footer_social_enable",
|
|
381
|
+
"label": "Show social media icons"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"type": "text",
|
|
385
|
+
"id": "footer_social_title",
|
|
386
|
+
"label": "Heading",
|
|
387
|
+
"default": "Social"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"type": "color",
|
|
391
|
+
"id": "social_icon_clr",
|
|
392
|
+
"label": "Social Icon Color",
|
|
393
|
+
"default":"#fff"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"type": "color",
|
|
397
|
+
"id": "social_icon_hover_clr",
|
|
398
|
+
"label": "Social Icon Hover Color",
|
|
399
|
+
"default":"#fff"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"type": "checkbox",
|
|
403
|
+
"id": "footer_show_methods_of_payment",
|
|
404
|
+
"label": "Show payment method",
|
|
405
|
+
"default": true
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"type": "text",
|
|
409
|
+
"id": "footer_payment_title",
|
|
410
|
+
"label": "Heading",
|
|
411
|
+
"default": "Payment"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"type": "checkbox",
|
|
415
|
+
"id": "show_contact",
|
|
416
|
+
"label": "Show contact"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"type": "text",
|
|
420
|
+
"id": "footer_contact_title",
|
|
421
|
+
"label": "Heading",
|
|
422
|
+
"default": "Contact us"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"type": "textarea",
|
|
426
|
+
"id": "footer_address",
|
|
427
|
+
"label": "Address"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"type": "text",
|
|
431
|
+
"id": "footer_contact_no",
|
|
432
|
+
"label": "Phone 1"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"type": "text",
|
|
436
|
+
"id": "footer_contact_no_2",
|
|
437
|
+
"label": "Phone 2"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"type": "text",
|
|
441
|
+
"id": "footer_contact_id",
|
|
442
|
+
"label": "E-Mail 1"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"type": "text",
|
|
446
|
+
"id": "footer_contact_link",
|
|
447
|
+
"label": "Link 1"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"type": "text",
|
|
451
|
+
"id": "footer_contact_id_2",
|
|
452
|
+
"label": "E-Mail 2"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"type": "text",
|
|
456
|
+
"id": "footer_contact_link_2",
|
|
457
|
+
"label": "Link 2"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"type": "checkbox",
|
|
461
|
+
"id": "use_footer_bottom",
|
|
462
|
+
"label": "Use footer bottom?",
|
|
463
|
+
"default": true
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"type": "color",
|
|
467
|
+
"id": "footer_bottom_bg",
|
|
468
|
+
"label": "Footer Menu border Color",
|
|
469
|
+
"default": "#000"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"type": "color",
|
|
473
|
+
"id": "footer_bottom_text",
|
|
474
|
+
"label": "Footer Menu Link",
|
|
475
|
+
"default": "#000"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"type": "color",
|
|
479
|
+
"id": "footer_bottom_text_hover",
|
|
480
|
+
"label": "Footer Menu Hover",
|
|
481
|
+
"default": "#000"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"type": "color",
|
|
485
|
+
"id": "footer_menu_border",
|
|
486
|
+
"label": "Footer Menu Border",
|
|
487
|
+
"default": "#000"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"type": "link_list",
|
|
491
|
+
"id": "footer_menu_4",
|
|
492
|
+
"label": "Footer link 4"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"type": "color",
|
|
496
|
+
"id": "copyright_bg",
|
|
497
|
+
"label": "Copyright Bg",
|
|
498
|
+
"default": "#000"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"type": "color",
|
|
502
|
+
"id": "copyright_text",
|
|
503
|
+
"label": "Copyright Text",
|
|
504
|
+
"default": "#000"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"type": "color",
|
|
508
|
+
"id": "copyright_color",
|
|
509
|
+
"label": "Copyright Link Color",
|
|
510
|
+
"default": "#4f6f80"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"type": "color",
|
|
514
|
+
"id": "copyright_link_color",
|
|
515
|
+
"label": "Copyright Link Hover Color",
|
|
516
|
+
"default": "#fff"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"type": "textarea",
|
|
520
|
+
"id": "copyright",
|
|
521
|
+
"label": "Copy Right Text",
|
|
522
|
+
"default": "Copyright"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"type": "checkbox",
|
|
526
|
+
"id": "use_powered_by",
|
|
527
|
+
"label": "Use Powered By"
|
|
528
|
+
}
|
|
529
|
+
]
|
|
530
|
+
}
|
|
531
|
+
{% endschema %}
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
{% javascript %}
|
|
535
|
+
if (jQuery.cookie('footerPanel') == 'closed') {
|
|
536
|
+
jQuery('.footer-newsletter').fadeOut();
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
jQuery('.footer-newsletter a.close').bind('click',function(){
|
|
540
|
+
jQuery('.footer-newsletter').fadeOut();
|
|
541
|
+
jQuery.cookie('footerPanel', 'closed', {expires:-1, path:'/'});
|
|
542
|
+
});
|
|
543
|
+
{% endjavascript %}
|