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,371 @@
|
|
|
1
|
+
{% if section.settings.blog_results_per_page != blank %}
|
|
2
|
+
{% assign blog_per_page = section.settings.blog_results_per_page %}
|
|
3
|
+
{% else %}
|
|
4
|
+
{% assign blog_per_page = 12 %}
|
|
5
|
+
{% endif %}
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
{% case section.settings.blog_grid %}
|
|
9
|
+
{% when '1' %}
|
|
10
|
+
{%- assign blog_item_width = 'wide--grid__item post-large--grid__item large--grid__item medium--grid__item small-grid__item' -%}
|
|
11
|
+
{% when '2' %}
|
|
12
|
+
{%- assign blog_item_width = 'wide--one-half post-large--one-half large--one-half medium--one-half small-grid__item' -%}
|
|
13
|
+
{% when '3' %}
|
|
14
|
+
{%- assign blog_item_width = 'wide--one-third post-large--one-third large--one-half medium--one-half small-grid__item' -%}
|
|
15
|
+
{% when '4' %}
|
|
16
|
+
{%- assign blog_item_width = 'wide--one-quarter post-large--one-third large--one-half medium--one-half small-grid__item' -%}
|
|
17
|
+
{% when '5' %}
|
|
18
|
+
{%- assign blog_item_width = 'wide--one-fifth post-large--one-quarter large--one-half medium--one-half small-grid__item' -%}
|
|
19
|
+
{% endcase %}
|
|
20
|
+
{% paginate blog.articles by blog_per_page %}
|
|
21
|
+
|
|
22
|
+
<div class="blog-section">
|
|
23
|
+
{% if section.settings.blog_1_img != blank %}
|
|
24
|
+
<div class="blog-header">
|
|
25
|
+
<div class="blog-featured-image">
|
|
26
|
+
{% if section.settings.blog_1_img != blank %}
|
|
27
|
+
<img src="{{ section.settings.blog_1_img | img_url:"2000x" }}" alt="{{ section.settings.banner_title }}">
|
|
28
|
+
<div class="overlay" style="position:absolute;background:#000;opacity:0.3;top:0;left:0;right:0;width:100%;height:100%;z-index:1;"></div>
|
|
29
|
+
{% endif %}
|
|
30
|
+
{% if section.settings.banner_title != blank or section.settings.banner_btn_txt != blank %}
|
|
31
|
+
<div class="blog_banner_cnt">
|
|
32
|
+
<div class="container">
|
|
33
|
+
<a href="{{ section.settings.banner_btn_link }}"> <h2 style="color:{{ section.settings.banner_title_clr }};">{{ section.settings.banner_title }}</h2></a>
|
|
34
|
+
{% if section.settings.banner_btn_txt != blank %} <a class="btn" href="{{ section.settings.banner_btn_link }}"> {{ section.settings.banner_btn_txt }}</a>{% endif %}
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
{% endif %}
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
{% endif %}
|
|
41
|
+
<div class="container">
|
|
42
|
+
<div class="grid-uniform">
|
|
43
|
+
<div class="blog-title">
|
|
44
|
+
<h2 class="text-center">{{ blog.title }}</h2>
|
|
45
|
+
</div>
|
|
46
|
+
{% if blog.all_tags.size > 0 %}
|
|
47
|
+
<ul class="blog-tags-section {{ request.path | replace: '/', ' ' }}">
|
|
48
|
+
{% for tag in blog.all_tags %}
|
|
49
|
+
{% if current_tags contains tag %}
|
|
50
|
+
<li class="active">{{ tag | link_to_tag: tag }}</li>
|
|
51
|
+
{% else %}
|
|
52
|
+
<li>{{ tag | link_to_tag: tag }}</li>
|
|
53
|
+
{% endif %}
|
|
54
|
+
{% endfor %}
|
|
55
|
+
</ul>
|
|
56
|
+
{% endif %}
|
|
57
|
+
<div class="blog_grid_section">
|
|
58
|
+
{% for article in blog.articles %}
|
|
59
|
+
<div class="article-item grid__item {% if section.settings.blog_masonary %} blog-model-mansory {% else %} {{ blog_item_width }} {% endif %}">
|
|
60
|
+
<div class="article">
|
|
61
|
+
{% if section.settings.show_blog_4_img %}
|
|
62
|
+
{% if article.image %}
|
|
63
|
+
{% assign image_alt = article.title | escape %}
|
|
64
|
+
<div class="article-image">
|
|
65
|
+
{{ article | img_url: 'master' | img_tag: image_alt, 'article__image' | link_to: article.url }}
|
|
66
|
+
</div>
|
|
67
|
+
{% endif %}
|
|
68
|
+
{% endif %}
|
|
69
|
+
<div class="article-description">
|
|
70
|
+
{% if article.tags.size > 0 and section.settings.show_blog_4_tag %}
|
|
71
|
+
<div class="blog-tag">
|
|
72
|
+
<i class="fas fa-tag"></i>
|
|
73
|
+
{% for tag in article.tags %}
|
|
74
|
+
<a class="blog-tags" href="{{ blog.url }}/tagged/{{ tag | handle }}">{{ tag }}</a>{% unless forloop.last %} , {% endunless %}
|
|
75
|
+
{% endfor %}
|
|
76
|
+
</div>
|
|
77
|
+
{% endif %}
|
|
78
|
+
|
|
79
|
+
<div class="article-content">
|
|
80
|
+
<h4><a href="{{ article.url }}">{{ article.title }}</a></h4>
|
|
81
|
+
<div class="article-header">
|
|
82
|
+
{% if section.settings.show_blog_4_date %}
|
|
83
|
+
<p class="blog-date">
|
|
84
|
+
<i class="far fa-calendar"></i> <span data-datetime="{{ article.published_at | date: '%Y-%m-%d' }}"><span class="date">{{ article.published_at | date: '%b' }} {{ article.published_at | date: '%d' }} , {{ article.published_at | date: '%Y' }}</span></span>
|
|
85
|
+
</p>
|
|
86
|
+
{% endif %}
|
|
87
|
+
|
|
88
|
+
{% if article.comments_enabled? %}
|
|
89
|
+
{% assign number_of_comments = article.comments_count %}
|
|
90
|
+
<p class="comments-count"><i class="far fa-comment"></i><a style="color:{{ section.settings.blog_design_commentcolor }};" href="{{ article.url }}#comments">{{ number_of_comments }} {{ 'blogs.comments.comments' | t }}</a></p>
|
|
91
|
+
{% endif %}
|
|
92
|
+
{% if section.settings.show_blog_4_author %}
|
|
93
|
+
<p class="author">
|
|
94
|
+
<i class="far fa-user"></i>
|
|
95
|
+
<span> {{ article.author }}</span>
|
|
96
|
+
</p>
|
|
97
|
+
{% endif %}
|
|
98
|
+
</div>
|
|
99
|
+
|
|
100
|
+
{% if section.settings.show_blog_4_content %}
|
|
101
|
+
<p class="blog_desc"> {{ article.excerpt_or_content | strip_html | truncate: 150 }}</p>
|
|
102
|
+
{% endif %}
|
|
103
|
+
|
|
104
|
+
{% if section.settings.show_blog_4_btn %}
|
|
105
|
+
<div class="blog-btn">
|
|
106
|
+
<a href="{{ article.url }}" class="link_text">{{ 'blogs.article.read_more' | t }}</a>
|
|
107
|
+
</div>
|
|
108
|
+
{% endif %}
|
|
109
|
+
</div>
|
|
110
|
+
|
|
111
|
+
</div>
|
|
112
|
+
</div>
|
|
113
|
+
</div>
|
|
114
|
+
{% endfor %}
|
|
115
|
+
</div>
|
|
116
|
+
{% if paginate.pages > 1 %}
|
|
117
|
+
<div class="text-center">
|
|
118
|
+
{% include 'pagination-default' %}
|
|
119
|
+
</div>
|
|
120
|
+
{% endif %}
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
{% endpaginate %}
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
<style>
|
|
128
|
+
|
|
129
|
+
{% if section.settings.blog_masonary %}
|
|
130
|
+
.blog-model-mansory { margin-bottom:30px;break-inside: avoid;break-inside: avoid-column; page-break-inside: avoid; -webkit-column-break-inside: avoid;}
|
|
131
|
+
.blog-section .blog_grid_section {-moz-column-count: {{ section.settings.blog_grid }}; -webkit-column-count: {{ section.settings.blog_grid }}; column-count: {{ section.settings.blog_grid }}; }
|
|
132
|
+
{% endif %}
|
|
133
|
+
|
|
134
|
+
.blog-post .article .article-content h4 a, .blog-post .comments-count a:hover { color:{{ section.settings.blog_design_4_title }}; }
|
|
135
|
+
.blog-post .article .article-content:hover h4 a { color:{{ section.settings.blog_design_4_titlehover }}; }
|
|
136
|
+
.blog-post .article-description { background:{{ section.settings.blog_bg }}; }
|
|
137
|
+
.blog-post .article-description:hover { background:{{ section.settings.blog_hover_bg }}; }
|
|
138
|
+
|
|
139
|
+
.blog-post .article-header .blog-date { background:{{ section.settings.date_bgcolor }};color:{{ section.settings.blog_design_4_datecolor }}; }
|
|
140
|
+
.blog-post .article-header .author { color:{{ section.settings.blog_design_4_authorcolor }}; }
|
|
141
|
+
.blog-post .article-header .comments-count { color:{{ section.settings.blog_design_commentcolor }}; }
|
|
142
|
+
.blog-post .blog-tag a, .blog-post .blog-tag, .blog-post .blog-tag i {color:{{ section.settings.blog_design_4_tag }};}
|
|
143
|
+
.blog-post .blog-tag a:hover {color:{{ section.settings.blog_design_4_taghover }}; }
|
|
144
|
+
.blog-post .article .blog-btn a { color:{{ section.settings.button_txt_color }}; }
|
|
145
|
+
.blog-post .article .blog-btn a:hover { color:{{ section.settings.hover_button_txt_color }} ;}
|
|
146
|
+
|
|
147
|
+
.blog-section .blog_banner_cnt a.btn { background-color: transparent; border: 2px solid {{ section.settings.banner_btn_clr }}; color: {{ section.settings.banner_btn_clr }}; }
|
|
148
|
+
.blog-section .blog_banner_cnt a.btn:hover { background-color: {{ section.settings.banner_btn_hvr_bgclr }}; border-color: {{ section.settings.banner_btn_hvr_bgclr }}; color: {{ section.settings.banner_btn_hvrclr }}; }
|
|
149
|
+
|
|
150
|
+
.blog-post .article-content .blog-btn a { font-size: 13px; border-bottom: 1px solid {{ section.settings.button_txt_color }}; text-transform: uppercase; text-decoration: none; position: relative; }
|
|
151
|
+
.blog-post .article-content .blog-btn a:before { bottom: 0; content: ''; height: 1px; margin: auto; position: absolute; width: 0; bottom: -1px; left: 0; background-color: {{ section.settings.hover_button_txt_color }}; }
|
|
152
|
+
.blog-post .article-content .blog-btn a:after { bottom: 0; content: ''; height: 1px; margin: auto; position: absolute; width: 0; bottom: -1px; right: 0; -webkit-transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); -moz-transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); -ms-transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); -o-transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); background-color: {{ section.settings.hover_button_txt_color }}; }
|
|
153
|
+
|
|
154
|
+
.blog-post .article-content .blog-btn a:hover:before { -webkit-transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); -moz-transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); -ms-transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); -o-transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); width: 100%; }
|
|
155
|
+
.blog-post .article-content .blog-btn a:hover:after { background: transparent; width: 100%; }
|
|
156
|
+
|
|
157
|
+
</style>
|
|
158
|
+
|
|
159
|
+
{% schema %}
|
|
160
|
+
{
|
|
161
|
+
"name": "Blog Page",
|
|
162
|
+
"settings": [
|
|
163
|
+
{
|
|
164
|
+
"type": "image_picker",
|
|
165
|
+
"id": "blog_1_img",
|
|
166
|
+
"label": "Blog Featured Image",
|
|
167
|
+
"info":"2000x1335"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"type": "text",
|
|
171
|
+
"id": "banner_title",
|
|
172
|
+
"label": "Banner Title"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"type": "color",
|
|
176
|
+
"id": "banner_title_clr",
|
|
177
|
+
"label": "Banner Title Color",
|
|
178
|
+
"default":"#000"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"type": "text",
|
|
182
|
+
"id": "banner_btn_txt",
|
|
183
|
+
"label": "Banner Btn Text",
|
|
184
|
+
"default":"Read More"
|
|
185
|
+
},
|
|
186
|
+
|
|
187
|
+
{
|
|
188
|
+
"type": "color",
|
|
189
|
+
"id": "banner_btn_clr",
|
|
190
|
+
"label": "Banner Btn Color",
|
|
191
|
+
"default":"#fff"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"type": "color",
|
|
195
|
+
"id": "banner_btn_hvrclr",
|
|
196
|
+
"label": "Banner Btn Hover Color",
|
|
197
|
+
"default":"#fff"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"type": "color",
|
|
201
|
+
"id": "banner_btn_hvr_bgclr",
|
|
202
|
+
"label": "Banner Btn Hover Bg Color",
|
|
203
|
+
"default":"#fff"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"type": "url",
|
|
207
|
+
"id": "banner_btn_link",
|
|
208
|
+
"label": "Banner Link"
|
|
209
|
+
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"type": "checkbox",
|
|
213
|
+
"id": "blog_masonary",
|
|
214
|
+
"label": "Use Blog Masonary?"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"type": "select",
|
|
218
|
+
"id": "blog_results_per_page",
|
|
219
|
+
"label": "Blogs per page",
|
|
220
|
+
"default": "12",
|
|
221
|
+
"options": [
|
|
222
|
+
{
|
|
223
|
+
"value": "8",
|
|
224
|
+
"label": "8"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"value": "9",
|
|
228
|
+
"label": "9"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"value": "12",
|
|
232
|
+
"label": "12"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"value": "24",
|
|
236
|
+
"label": "24"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"value": "36",
|
|
240
|
+
"label": "36"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"value": "100",
|
|
244
|
+
"label": "100"
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"type": "select",
|
|
250
|
+
"id": "blog_grid",
|
|
251
|
+
"label": "Blog per row (grid only)",
|
|
252
|
+
"default": "4",
|
|
253
|
+
"options": [
|
|
254
|
+
{
|
|
255
|
+
"value": "1",
|
|
256
|
+
"label": "1"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"value": "2",
|
|
260
|
+
"label": "2"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"value": "3",
|
|
264
|
+
"label": "3"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"value": "4",
|
|
268
|
+
"label": "4"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"value": "5",
|
|
272
|
+
"label": "5"
|
|
273
|
+
}
|
|
274
|
+
]
|
|
275
|
+
},
|
|
276
|
+
|
|
277
|
+
{
|
|
278
|
+
"type": "checkbox",
|
|
279
|
+
"id": "show_blog_4_content",
|
|
280
|
+
"label": "Display Blog content"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"type": "checkbox",
|
|
284
|
+
"id": "show_blog_4_img",
|
|
285
|
+
"label": "Display Blog img"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"type": "checkbox",
|
|
289
|
+
"id": "show_blog_4_author",
|
|
290
|
+
"label": "Display Blog author name"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"type": "checkbox",
|
|
294
|
+
"id": "show_blog_4_btn",
|
|
295
|
+
"label": "Display Blog button"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"type": "checkbox",
|
|
299
|
+
"id": "show_blog_4_date",
|
|
300
|
+
"label": "Display Blog date"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"type": "checkbox",
|
|
304
|
+
"id": "show_blog_4_tag",
|
|
305
|
+
"label": "Display Blog tag"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"type": "color",
|
|
309
|
+
"id": "blog_bg",
|
|
310
|
+
"label": "Blog Bg",
|
|
311
|
+
"default": "#000"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"type": "color",
|
|
315
|
+
"id": "blog_design_4_title",
|
|
316
|
+
"label": "Blog title color",
|
|
317
|
+
"default": "#000"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"type": "color",
|
|
321
|
+
"id": "blog_design_4_titlehover",
|
|
322
|
+
"label": "Blog title hover color",
|
|
323
|
+
"default": "#000"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"type": "color",
|
|
327
|
+
"id": "blog_design_4_datecolor",
|
|
328
|
+
"label": "Blog date color",
|
|
329
|
+
"default": "#929292"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"type": "color",
|
|
333
|
+
"id": "blog_design_4_authorcolor",
|
|
334
|
+
"label": "Blog author color",
|
|
335
|
+
"default": "#929292"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"type": "color",
|
|
339
|
+
"id": "blog_design_commentcolor",
|
|
340
|
+
"label": "Blog comment color",
|
|
341
|
+
"default": "#929292"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"type": "color",
|
|
345
|
+
"id": "blog_design_4_tag",
|
|
346
|
+
"label": "Blog tag color",
|
|
347
|
+
"default": "#929292"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"type": "color",
|
|
351
|
+
"id": "blog_design_4_taghover",
|
|
352
|
+
"label": "Blog tag hover",
|
|
353
|
+
"default": "#000"
|
|
354
|
+
},
|
|
355
|
+
|
|
356
|
+
{
|
|
357
|
+
"type": "color",
|
|
358
|
+
"id": "button_txt_color",
|
|
359
|
+
"label":"Text color",
|
|
360
|
+
"default": "#000"
|
|
361
|
+
},
|
|
362
|
+
|
|
363
|
+
{
|
|
364
|
+
"type": "color",
|
|
365
|
+
"id": "hover_button_txt_color",
|
|
366
|
+
"label":"Hover Text color",
|
|
367
|
+
"default": "#000"
|
|
368
|
+
}
|
|
369
|
+
]
|
|
370
|
+
}
|
|
371
|
+
{% endschema %}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
|
|
2
|
+
{% if section.settings.display_brand and section.blocks.size > 0 %}
|
|
3
|
+
<div class="logo-brands">
|
|
4
|
+
<div class="grid__item brands-slider" data-brands-slider data-rows="5">
|
|
5
|
+
{% for block in section.blocks %}
|
|
6
|
+
<div class="grid__item wide--one-whole post-large--one-half large--one-half medium--one-half small-one-half">
|
|
7
|
+
<a title="{{ block.settings.title }}" href="{{ block.settings.link }}">
|
|
8
|
+
{% if block.settings.image != blank %}
|
|
9
|
+
<img src="{{ block.settings.image | img_url : "200x" }}" alt="{{ block.settings.image.alt }}"/>
|
|
10
|
+
{% else %}
|
|
11
|
+
<div class="not_img" style="font-size: 16px;">
|
|
12
|
+
186 x 74px
|
|
13
|
+
</div>
|
|
14
|
+
{% endif %}
|
|
15
|
+
</a>
|
|
16
|
+
</div>
|
|
17
|
+
{% endfor %}
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
{% endif %}
|
|
21
|
+
|
|
22
|
+
<ul class="azbrandstable">
|
|
23
|
+
<li class="all-brand">
|
|
24
|
+
<a class="active readonly" href="javascript:void(0)">All</a>
|
|
25
|
+
</li>
|
|
26
|
+
|
|
27
|
+
{% assign array = "A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z|#" | split: "|" %}
|
|
28
|
+
|
|
29
|
+
{% for item in array %}
|
|
30
|
+
<li class="vendor-letter">
|
|
31
|
+
<a href="javascript:void(0)">
|
|
32
|
+
{{ item }}
|
|
33
|
+
</a>
|
|
34
|
+
</li>
|
|
35
|
+
{% endfor %}
|
|
36
|
+
</ul>
|
|
37
|
+
|
|
38
|
+
<div class="brands-list" data-brands-list>
|
|
39
|
+
{% assign curr = "" %}
|
|
40
|
+
|
|
41
|
+
{% for vendor in shop.vendors %}
|
|
42
|
+
{% assign first = vendor | strip_html | upcase | truncate: 1, '' %}
|
|
43
|
+
|
|
44
|
+
<div class="brand{% unless first == curr %} brand-{{ first }}{% endunless %}"{% if first == curr %} style="display:none"{% endif %}>
|
|
45
|
+
{% unless first == curr %}
|
|
46
|
+
<div class="azbrands-title">
|
|
47
|
+
{% if first == '1' or first == '2' or first == '3' or first == '4' or first == '5' or first == '6' or first == '7' or first == '8' or first == '9' or first == '0' %}
|
|
48
|
+
<h3>#</h3>
|
|
49
|
+
{% else %}
|
|
50
|
+
<h3>
|
|
51
|
+
{{ first }}
|
|
52
|
+
</h3>
|
|
53
|
+
{% endif %}
|
|
54
|
+
</div>
|
|
55
|
+
{% endunless %}
|
|
56
|
+
|
|
57
|
+
{% assign curr = first %}
|
|
58
|
+
<ul class='brand-grid row'>
|
|
59
|
+
<li class='brand-item grid__item wide--one-whole post-large--one-half large--one-half medium--one-half small-one-half'>
|
|
60
|
+
{{ vendor | link_to_vendor }}
|
|
61
|
+
</li>
|
|
62
|
+
</ul>
|
|
63
|
+
</div>
|
|
64
|
+
{% endfor %}
|
|
65
|
+
</div>
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
{% schema %}
|
|
69
|
+
{
|
|
70
|
+
"name": "Brands Page",
|
|
71
|
+
"max_blocks": 15,
|
|
72
|
+
"settings": [
|
|
73
|
+
{
|
|
74
|
+
"type": "header",
|
|
75
|
+
"content": "Brands Page"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "checkbox",
|
|
79
|
+
"id": "display_brand",
|
|
80
|
+
"label": "Display Brands Slider?",
|
|
81
|
+
"default": true
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
],
|
|
85
|
+
"blocks": [
|
|
86
|
+
{
|
|
87
|
+
"type": "image",
|
|
88
|
+
"name": "Image",
|
|
89
|
+
"settings": [
|
|
90
|
+
{
|
|
91
|
+
"type": "image_picker",
|
|
92
|
+
"id": "image",
|
|
93
|
+
"label": "Image"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"type": "text",
|
|
97
|
+
"id": "title",
|
|
98
|
+
"label": "Your Brands",
|
|
99
|
+
"default": "Benjamin Button"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"type": "url",
|
|
103
|
+
"id": "link",
|
|
104
|
+
"label": "Link",
|
|
105
|
+
"info": "Optional"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
{% endschema %}
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|