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.
Files changed (161) hide show
  1. package/assets/data/block-patterns.csv +160 -0
  2. package/assets/data/component-library/GDPR-modal.liquid +183 -0
  3. package/assets/data/component-library/Ishi_parallaxblockstyle1.liquid +331 -0
  4. package/assets/data/component-library/_index.csv +157 -19
  5. package/assets/data/component-library/about.liquid +1557 -0
  6. package/assets/data/component-library/adv-header.liquid +344 -0
  7. package/assets/data/component-library/adv-navigation.liquid +542 -0
  8. package/assets/data/component-library/announcement-bar.liquid +42 -60
  9. package/assets/data/component-library/article.liquid +242 -0
  10. package/assets/data/component-library/axeo-perfume-cosmetics-store-shopify-theme-about.liquid +1557 -0
  11. package/assets/data/component-library/basel-gl_newsletter_pets.liquid +612 -0
  12. package/assets/data/component-library/bixbang-fullpackage-collection-template.liquid +990 -0
  13. package/assets/data/component-library/blog-sidebar-article.liquid +51 -0
  14. package/assets/data/component-library/blog-sidebar-deals.liquid +189 -0
  15. package/assets/data/component-library/blog-sidebar-instagram.liquid +126 -0
  16. package/assets/data/component-library/blog-sidebar-tags.liquid +30 -0
  17. package/assets/data/component-library/blog.liquid +371 -0
  18. package/assets/data/component-library/brands-page.liquid +114 -0
  19. package/assets/data/component-library/cake-shop-shopify-theme-for-bakery-and-cafe-home-support-blo.liquid +780 -0
  20. package/assets/data/component-library/collection-template-promotion.liquid +1139 -0
  21. package/assets/data/component-library/collection-template.liquid +146 -0
  22. package/assets/data/component-library/contact-us.liquid +663 -0
  23. package/assets/data/component-library/contact.liquid +256 -0
  24. package/assets/data/component-library/copyright_payment.liquid +95 -0
  25. package/assets/data/component-library/custom-content.liquid +832 -0
  26. package/assets/data/component-library/faq-template-3.liquid +1014 -0
  27. package/assets/data/component-library/footer-model-1.liquid +503 -0
  28. package/assets/data/component-library/footer-model-10.liquid +210 -0
  29. package/assets/data/component-library/footer-model-2.liquid +460 -0
  30. package/assets/data/component-library/footer-model-3.liquid +548 -0
  31. package/assets/data/component-library/footer-model-4.liquid +455 -0
  32. package/assets/data/component-library/footer-model-5.liquid +407 -0
  33. package/assets/data/component-library/footer-model-6.liquid +543 -0
  34. package/assets/data/component-library/footer-model-7.liquid +345 -0
  35. package/assets/data/component-library/footer-model-8.liquid +279 -0
  36. package/assets/data/component-library/footer-model-9.liquid +376 -0
  37. package/assets/data/component-library/gallery.liquid +236 -0
  38. package/assets/data/component-library/gecko-shopify-v5-7-6-nulled-manual_blog.liquid +720 -0
  39. package/assets/data/component-library/gl_newsletter_pets.liquid +612 -0
  40. package/assets/data/component-library/gp-logo-list.liquid +362 -0
  41. package/assets/data/component-library/grid-banner-type-3-b.liquid +655 -0
  42. package/assets/data/component-library/header-model-1.liquid +427 -0
  43. package/assets/data/component-library/header-model-10.liquid +599 -0
  44. package/assets/data/component-library/header-model-2.liquid +633 -0
  45. package/assets/data/component-library/header-model-3.liquid +415 -0
  46. package/assets/data/component-library/header-model-4.liquid +754 -0
  47. package/assets/data/component-library/header-model-5.liquid +562 -0
  48. package/assets/data/component-library/header-model-6.liquid +713 -0
  49. package/assets/data/component-library/header-model-7.liquid +743 -0
  50. package/assets/data/component-library/header-model-8.liquid +500 -0
  51. package/assets/data/component-library/header-model-9.liquid +506 -0
  52. package/assets/data/component-library/home-blog-posts-1.liquid +399 -0
  53. package/assets/data/component-library/home-blog-posts-2.liquid +393 -0
  54. package/assets/data/component-library/home-blog-posts-3.liquid +545 -0
  55. package/assets/data/component-library/home-brand-slider.liquid +224 -0
  56. package/assets/data/component-library/home-circled-block.liquid +332 -0
  57. package/assets/data/component-library/home-contact-block-1.liquid +395 -0
  58. package/assets/data/component-library/home-contact-block-2.liquid +372 -0
  59. package/assets/data/component-library/home-content-block-1.liquid +320 -0
  60. package/assets/data/component-library/home-donut-chart.liquid +335 -0
  61. package/assets/data/component-library/home-fade-in-banner.liquid +277 -0
  62. package/assets/data/component-library/home-faq-model.liquid +323 -0
  63. package/assets/data/component-library/home-featured-blog.liquid +1462 -0
  64. package/assets/data/component-library/home-featured-collections.liquid +484 -0
  65. package/assets/data/component-library/home-gallery-block1.liquid +276 -0
  66. package/assets/data/component-library/home-gallery-block2.liquid +396 -0
  67. package/assets/data/component-library/home-grid-banner-type-1.liquid +371 -0
  68. package/assets/data/component-library/home-grid-banner-type-2.liquid +362 -0
  69. package/assets/data/component-library/home-grid-banner-type-3.liquid +374 -0
  70. package/assets/data/component-library/home-grid-banner-type-4.liquid +900 -0
  71. package/assets/data/component-library/home-grid-banner-type-5.liquid +368 -0
  72. package/assets/data/component-library/home-grid-banner-type-6.liquid +382 -0
  73. package/assets/data/component-library/home-grid-banner-type-7.liquid +371 -0
  74. package/assets/data/component-library/home-hotspot-with-product-carousel.liquid +1425 -0
  75. package/assets/data/component-library/home-image-gallery.liquid +1087 -0
  76. package/assets/data/component-library/home-instagram.liquid +356 -0
  77. package/assets/data/component-library/home-newsletter.liquid +246 -0
  78. package/assets/data/component-library/home-number-counter.liquid +790 -0
  79. package/assets/data/component-library/home-price-table.liquid +416 -0
  80. package/assets/data/component-library/home-pricing-table.liquid +1076 -0
  81. package/assets/data/component-library/home-product-grid.liquid +413 -0
  82. package/assets/data/component-library/home-product-tab-1.liquid +528 -0
  83. package/assets/data/component-library/home-product-tab-2.liquid +342 -0
  84. package/assets/data/component-library/home-product-tab-3.liquid +357 -0
  85. package/assets/data/component-library/home-product-vertical-carousel.liquid +477 -0
  86. package/assets/data/component-library/home-quotes-1.liquid +274 -0
  87. package/assets/data/component-library/home-quotes-2.liquid +239 -0
  88. package/assets/data/component-library/home-quotes-3.liquid +244 -0
  89. package/assets/data/component-library/home-quotes-4.liquid +258 -0
  90. package/assets/data/component-library/home-slider-width-promo-images.liquid +1377 -0
  91. package/assets/data/component-library/home-slideshow-type-1.liquid +656 -0
  92. package/assets/data/component-library/home-slideshow-type-2.liquid +570 -0
  93. package/assets/data/component-library/home-specification-block-1.liquid +468 -0
  94. package/assets/data/component-library/home-specification-block-2.liquid +291 -0
  95. package/assets/data/component-library/home-specification-block-3.liquid +429 -0
  96. package/assets/data/component-library/home-support-block.liquid +392 -0
  97. package/assets/data/component-library/home-testimonial.liquid +1348 -0
  98. package/assets/data/component-library/home-video-banner.liquid +317 -0
  99. package/assets/data/component-library/home-wide-banner.liquid +327 -0
  100. package/assets/data/component-library/icon-with-content.liquid +478 -0
  101. package/assets/data/component-library/instafeed.liquid +1 -0
  102. package/assets/data/component-library/kea-ecommerce-interior-furniture-shopify-theme-about.liquid +1300 -0
  103. package/assets/data/component-library/kidslife-responsive-shopify-theme-home-number-counter.liquid +729 -0
  104. package/assets/data/component-library/logo-bar.liquid +314 -0
  105. package/assets/data/component-library/lookbook.liquid +367 -0
  106. package/assets/data/component-library/manual_blog.liquid +724 -0
  107. package/assets/data/component-library/navigation-etc.liquid +642 -0
  108. package/assets/data/component-library/newsletter.liquid +246 -0
  109. package/assets/data/component-library/order-form.liquid +96 -0
  110. package/assets/data/component-library/page-catev1-template.liquid +344 -0
  111. package/assets/data/component-library/popup_video.liquid +396 -0
  112. package/assets/data/component-library/product-sidebar-bestsellers.liquid +99 -0
  113. package/assets/data/component-library/product-sidebar-deals.liquid +158 -0
  114. package/assets/data/component-library/product-template-2.liquid +629 -0
  115. package/assets/data/component-library/product-template-3.liquid +670 -0
  116. package/assets/data/component-library/product-template-4.liquid +627 -0
  117. package/assets/data/component-library/product-template-5.liquid +652 -0
  118. package/assets/data/component-library/product-template.liquid +698 -0
  119. package/assets/data/component-library/rich-text.liquid +541 -0
  120. package/assets/data/component-library/section-countdown-v2.liquid +215 -0
  121. package/assets/data/component-library/services.liquid +596 -0
  122. package/assets/data/component-library/shipping_info.liquid +327 -0
  123. package/assets/data/component-library/sidebar-bestsellers.liquid +109 -0
  124. package/assets/data/component-library/sidebar-category.liquid +105 -0
  125. package/assets/data/component-library/sidebar-colors.liquid +104 -0
  126. package/assets/data/component-library/single_product_feature.liquid +1892 -0
  127. package/assets/data/component-library/social-links-menu.liquid +244 -0
  128. package/assets/data/component-library/someone-purchased.liquid +190 -0
  129. package/assets/data/component-library/special-offer-area.liquid +530 -0
  130. package/assets/data/component-library/theno-minimal-clean-watch-store-shopify-theme-page-catev1-te.liquid +344 -0
  131. package/assets/data/component-library/top-bar-type-1.liquid +200 -0
  132. package/assets/data/component-library/top-bar-type-10.liquid +395 -0
  133. package/assets/data/component-library/top-bar-type-11.liquid +395 -0
  134. package/assets/data/component-library/top-bar-type-2.liquid +106 -0
  135. package/assets/data/component-library/top-bar-type-3.liquid +205 -0
  136. package/assets/data/component-library/top-countdown-bar.liquid +116 -0
  137. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-image-gallery.liquid +783 -0
  138. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-pricing-table.liquid +1043 -0
  139. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-testimonial.liquid +1338 -0
  140. package/assets/data/component-library/video.liquid +511 -0
  141. package/assets/data/component-library/waffy-spices-dry-fruits-store-shopify-theme-v-1-1-contact-us.liquid +523 -0
  142. package/assets/data/design-tokens.csv +93 -57
  143. package/assets/data/schema-library.csv +48 -46
  144. package/assets/data/settings-profiles.csv +235 -0
  145. package/assets/data/shopify-best-practices.csv +58 -36
  146. package/assets/scripts/backfill-component-index.py +102 -0
  147. package/assets/scripts/core.py +30 -8
  148. package/assets/scripts/fix-schema-library.py +42 -0
  149. package/assets/scripts/kb-analyzer-helpers.py +136 -0
  150. package/assets/scripts/kb-analyzer.py +186 -0
  151. package/assets/scripts/kb-builder.py +32 -63
  152. package/assets/scripts/kb-constants.py +62 -0
  153. package/assets/scripts/kb-extractor-helpers.py +178 -0
  154. package/assets/scripts/kb-extractor.py +106 -170
  155. package/assets/scripts/kb-synthesizer.py +251 -0
  156. package/assets/scripts/quality-gate-checks.py +55 -0
  157. package/assets/scripts/quality-gate.py +56 -2
  158. package/assets/scripts/section-generator-helpers.py +74 -0
  159. package/assets/scripts/section-generator.py +59 -49
  160. package/assets/templates/generation-prompt.md +78 -14
  161. package/package.json +1 -1
@@ -0,0 +1,344 @@
1
+ <div class="container container-240">
2
+ <div class="e-cat">
3
+ <div class="banner">
4
+ <a href="{{section.settings.bg_url}}" class="image-bd effect_img2">
5
+ <img {%if section.settings.bg_img == blank%}src="{{'o-banner.jpg'| asset_url }}"
6
+ {%else%}
7
+ src="{{section.settings.bg_img | img_url:'master'}}" class="img-reponsive"{%endif%} alt="" />
8
+ </a>
9
+ </div>
10
+ {% include 'breadcrumb' %}
11
+ <div class="section-cate">
12
+ <h3 class="e-title text-center">{{section.settings.cate_title}}</h3>
13
+ <div class="owl-carousel owl-theme owl-cate js-owl-cate">
14
+ {% if section.blocks.size > 0 %}
15
+ {% for block in section.blocks %}
16
+ {% if block.type == 'catetab' %}
17
+ <div class="item item-pd">
18
+ <div class="product-img">
19
+ <a href="{{block.settings.cate_url}}">
20
+ <img {%if block.settings.cate_img == blank%}src="{{'pd1.jpg'| asset_url }}"
21
+ {%else%}
22
+ src="{{block.settings.cate_img | img_url:'master'}}" {%endif%} alt="" />
23
+ </a>
24
+ </div>
25
+ <h3>{{block.settings.text1}}</h3>
26
+ </div>
27
+ {% endif %}
28
+ {% endfor %}
29
+ {% endif %}
30
+
31
+ </div>
32
+ </div>
33
+ <div class="bestseller">
34
+ <div class="ecome-heading style3 spc3">
35
+ <h3>{{section.settings.list_name1}}</h3>
36
+ <a href="{{section.settings.list_btn_url1}}" class="btn-show">{{section.settings.list_btn_name1}}<i class="ion-ios-arrow-forward"></i></a>
37
+ </div>
38
+ <div class="owl-carousel owl-theme owl-cate v2 js-owl-cate">
39
+ {%for product in collections[section.settings.product_collection1].products limit:section.settings.product_limit1%}
40
+ {% include 'product-grid-12' %}
41
+ {% else %}
42
+ {% include 'empty-product-grid-12'%}
43
+ {% endfor %}
44
+ </div>
45
+ </div>
46
+
47
+ <div class="onsale">
48
+ <div class="ecome-heading style3 spc3">
49
+ <h3>{{section.settings.list_name2}}</h3>
50
+ <a href="{{section.settings.list_btn_url2}}" class="btn-show">{{section.settings.list_btn_name2}}<i class="ion-ios-arrow-forward"></i></a>
51
+ </div>
52
+ <div class="owl-carousel owl-theme owl-cate v3 js-owl-cate">
53
+ {%for product in collections[section.settings.product_collection2].products limit:section.settings.product_limit2%}
54
+ {% include 'product-grid-12' %}
55
+ {% else %}
56
+ {% include 'empty-product-grid-12'%}
57
+ {% endfor %}
58
+ </div>
59
+ </div>
60
+ <!-- Brand -->
61
+ <div class="brand">
62
+ <div class="ecome-heading style3 spc3">
63
+
64
+ <h3>{{section.settings.text1}}</h3>
65
+ <a href="{{section.settings.btn_url}}" class="btn-show">{{section.settings.btn_name}}<i class="ion-ios-arrow-forward"></i></a>
66
+ </div>
67
+
68
+ <div class="owl-carousel owl-theme owl-brand js-owl-brand">
69
+ {% if section.blocks.size > 0 %}
70
+ {% for block in section.blocks %}
71
+ {% if block.type == 'brandtab' %}
72
+ <div class="brand-item">
73
+ <a href="{{block.settings.brand_url}}" class="hover-images">
74
+ <img {%if block.settings.brand_img == blank%}src="{{'brandlogo1.png'| asset_url }}"
75
+ {%else%}
76
+ src="{{block.settings.brand_img | img_url:'master'}}" class="img-reponsive"{%endif%} alt="" />
77
+ </a>
78
+ </div>
79
+ {% endif %}
80
+ {% endfor %}
81
+ {% endif %}
82
+ </div>
83
+ <div class="about-brand">
84
+ <div class="row">
85
+ <div class="col-xs-12 col-sm-12 col-sm-3 col-md-4">
86
+ <div class="about-brand-info text-center">
87
+ <div class="brand-img">
88
+ <a href="{{section.settings.btn_url}}" class="hover-images">
89
+ <img {%if section.settings.brand_img == blank%}src="{{'sony_info.jpg'| asset_url }}"
90
+ {%else%}
91
+ src="{{section.settings.brand_img | img_url:'master'}}" class="img-reponsive"{%endif%} alt="" />
92
+ </a>
93
+ </div>
94
+ <div class="brand-info">
95
+ <p>{{section.settings.brand_desc}}</p>
96
+ </div>
97
+ <a href="{{section.settings.btn_url}}" class="btn-gradient btn-brand">{{section.settings.brand_name}} <i class="ion-ios-arrow-forward"></i></a>
98
+ </div>
99
+ </div>
100
+ <div class="col-xs-12 col-sm-12 col-sm-8 col-md-8">
101
+ <div class="row engoc-equal-row">
102
+ {%for product in collections[section.settings.product_collection3].products limit:section.settings.product_limit3%}
103
+
104
+ {% include 'product-grid-4' %}
105
+ {% else %}
106
+ {% include 'empty-product-grid-4'%}
107
+ {% endfor %}
108
+ </div>
109
+ </div>
110
+ </div>
111
+ </div>
112
+ </div>
113
+ </div>
114
+ </div>
115
+ {% schema %}
116
+ {
117
+ "name": "Page Category Full Width",
118
+ "settings": [
119
+ {
120
+ "type": "header",
121
+ "content": "Heading"
122
+ },
123
+ {
124
+ "type": "text",
125
+ "id": "cate_title",
126
+ "label": "Title",
127
+ "default": "Cell Phones & Accessories"
128
+ },
129
+ {
130
+ "type": "header",
131
+ "content": "Banner Top"
132
+ },
133
+ {
134
+ "type": "image_picker",
135
+ "id": "bg_img",
136
+ "label": "Image",
137
+ "info": "1398x191 recommended"
138
+ },
139
+ {
140
+ "id": "bg_url",
141
+ "type": "url",
142
+ "default": "/collections/all",
143
+ "label": "Button link"
144
+ },
145
+ {
146
+ "type": "header",
147
+ "content": "List Products 1"
148
+ },
149
+ {
150
+ "type": "text",
151
+ "id": "list_name1",
152
+ "label": "Title",
153
+ "default": "Beseller Products"
154
+ },
155
+ {
156
+ "type":"header",
157
+ "content":"Button"
158
+ },
159
+ {
160
+ "type": "text",
161
+ "id": "list_btn_name1",
162
+ "label": "Title button",
163
+ "default": "Shop more"
164
+ },
165
+ {
166
+ "type": "url",
167
+ "id": "list_btn_url1",
168
+ "label": "URL"
169
+ },
170
+ {
171
+ "type": "collection",
172
+ "id": "product_collection1",
173
+ "label": "Select collection"
174
+ },
175
+ {
176
+ "type": "text",
177
+ "id": "product_limit1",
178
+ "label": "Limit number",
179
+ "default": "12"
180
+ },
181
+ {
182
+ "type": "header",
183
+ "content": "List Products 2"
184
+ },
185
+ {
186
+ "type": "text",
187
+ "id": "list_name2",
188
+ "label": "Title",
189
+ "default": "On Sale Products"
190
+ },
191
+ {
192
+ "type":"header",
193
+ "content":"Button"
194
+ },
195
+ {
196
+ "type": "text",
197
+ "id": "list_btn_name2",
198
+ "label": "Title button",
199
+ "default": "Shop more"
200
+ },
201
+ {
202
+ "type": "url",
203
+ "id": "list_btn_url2",
204
+ "label": "URL"
205
+ },
206
+ {
207
+ "type": "collection",
208
+ "id": "product_collection2",
209
+ "label": "Select collection"
210
+ },
211
+ {
212
+ "type": "text",
213
+ "id": "product_limit2",
214
+ "label": "Limit number",
215
+ "default": "12"
216
+ },
217
+ {
218
+ "type": "header",
219
+ "content": "Brand"
220
+ },
221
+ {
222
+ "type": "text",
223
+ "id": "text1",
224
+ "label": "Title",
225
+ "default": "Shop by brand"
226
+ },
227
+ {
228
+ "type":"header",
229
+ "content":"Button"
230
+ },
231
+ {
232
+ "type": "text",
233
+ "id": "btn_name",
234
+ "label": "Title button",
235
+ "default": "Shop more"
236
+ },
237
+ {
238
+ "type": "url",
239
+ "id": "btn_url",
240
+ "label": "URL"
241
+ },
242
+ {
243
+ "type": "header",
244
+ "content": "Brand"
245
+ },
246
+ {
247
+ "type": "image_picker",
248
+ "id": "brand_img",
249
+ "label": "Brand Image",
250
+ "info": "209x37 recommended"
251
+ },
252
+ {
253
+ "type": "text",
254
+ "id": "brand_desc",
255
+ "label": "Brand Description",
256
+ "default": "brand desc"
257
+ },
258
+ {
259
+ "type": "text",
260
+ "id": "brand_name",
261
+ "label": "Title button",
262
+ "default": "Shop this brand"
263
+ },
264
+ {
265
+ "type": "url",
266
+ "id": "brand_url",
267
+ "label": "URL"
268
+ },
269
+ {
270
+ "type": "header",
271
+ "content": "List Products 3"
272
+ },
273
+ {
274
+ "type": "collection",
275
+ "id": "product_collection3",
276
+ "label": "Select collection"
277
+ },
278
+ {
279
+ "type": "text",
280
+ "id": "product_limit3",
281
+ "label": "Limit number",
282
+ "default": "4"
283
+ }
284
+
285
+
286
+ ],
287
+ "blocks": [
288
+ {
289
+ "type": "catetab",
290
+ "name": "Category Block",
291
+ "limit": 12,
292
+ "settings": [
293
+ {
294
+ "type": "image_picker",
295
+ "id": "cate_img",
296
+ "label": "Image",
297
+ "info": "320x320px recommended"
298
+ },
299
+ {
300
+ "type": "text",
301
+ "id": "text1",
302
+ "label": "Title",
303
+ "default": "Our vision"
304
+ },
305
+ {
306
+ "id": "cate_url",
307
+ "type": "url",
308
+ "default": "/collections/all",
309
+ "label": "Button link"
310
+ }
311
+ ]
312
+ },
313
+ {
314
+ "type": "brandtab",
315
+ "name": "Brand Image",
316
+ "settings": [
317
+ {
318
+ "type": "image_picker",
319
+ "id": "brand_img",
320
+ "label": "Image",
321
+ "info": "200 x 100px Recommended"
322
+ },
323
+ {
324
+ "type": "url",
325
+ "id": "brand_url",
326
+ "label": "URL"
327
+ }
328
+ ]
329
+ }
330
+
331
+ ],
332
+ "presets": [
333
+ {
334
+ "name": "Category Full Width"
335
+ }
336
+ ]
337
+ }
338
+ {% endschema %}
339
+
340
+ {% stylesheet %}
341
+ {% endstylesheet %}
342
+
343
+ {% javascript %}
344
+ {% endjavascript %}
@@ -0,0 +1,200 @@
1
+ {% if section.settings.display_top_bar %}
2
+ <div class="wrapper">
3
+ <div class="top_bar">
4
+ {% if section.settings.header_phone_value != blank or section.settings.header_mail_value != blank %}
5
+ <ul class="top_bar_left">
6
+ {% if section.settings.header_phone_value != blank %}
7
+ <li class="phone"><span>{{ section.settings.header_phone_label }} : {{ section.settings.header_phone_value }}</span></li>
8
+ {% endif %}
9
+ {% if section.settings.header_mail_value != blank %}
10
+ <li class="mail">{{ section.settings.header_mail_label }} :<a href="mailto:{{ section.settings.header_mail_value }}"> {{ section.settings.header_mail_value }}</a></li>
11
+ {% endif %}
12
+ </ul>
13
+ {% endif %}
14
+ <div class="top_bar_menu">
15
+ {%- assign top_bar_menu = section.settings.top_bar_menu %}
16
+ {% if linklists[top_bar_menu].links.size > 0 %}
17
+ <ul>
18
+ {% for link in linklists[top_bar_menu].links %}
19
+ <li>
20
+ <a href="{{ link.url }}" class="{% if link.active %}current{% endif %}">
21
+ {{ link.title }}
22
+ </a>
23
+ </li>
24
+ {% endfor %}
25
+ </ul>
26
+ {% endif %}
27
+
28
+ {% if shop.customer_accounts_enabled or section.settings.display_wishlist %}
29
+ <div class="customer_account post-large--hide large--hide medium-down--hide">
30
+ <ul>
31
+ {% if shop.customer_accounts_enabled %}
32
+ {% if customer %}
33
+ <li>
34
+ <a href="/account" title="{{ 'layout.customer.account' | t }}"><i class="fas fa-user"></i></a>
35
+ </li>
36
+ <li class="logout-link">
37
+ <a title="{{ 'layout.customer.log_out' }}" href="/account/logout" ><i class="fas fa-sign-out-alt"></i></a>
38
+ </li>
39
+ {% else %}
40
+ <li>
41
+ <a title="{{ 'layout.customer.log_in' | t }}" href="/account/login"><i class="fas fa-sign-in-alt"></i></a>
42
+ </li>
43
+ <li>
44
+ <a title="{{ 'layout.customer.account' | t }}" href="/account/register"><i class="fas fa-user"></i></a>
45
+ </li>
46
+ {% endif %}
47
+ {% endif %}
48
+ {% if section.settings.display_wishlist %}
49
+ <li>
50
+ <a class="wishlist" href="/pages/wishlist" title="{{ 'products.wishlist.wishlist_name' | t }}"><i class="far fa-heart"></i></a>
51
+ </li>
52
+ {% endif %}
53
+ </ul>
54
+ </div>
55
+ {% endif %}
56
+
57
+ </div>
58
+ </div>
59
+ </div>
60
+ {% endif %}
61
+
62
+ <style>
63
+
64
+ /* Top block */
65
+ .header-type-1 .top_bar { background: {{ section.settings.top_bar_bg }}; }
66
+ .header-type-1 .top_bar li, .header-type-1 .top_bar span { color:{{section.settings.top_bar_text}};}
67
+ .header-type-1 .top_bar a,.header-type-1 .top_bar button { color:{{section.settings.top_bar_links }};}
68
+ .header-type-1 .top_bar a:hover,.header-type-1 .top_bar button:hover { color:{{section.settings.top_bar_link_hover }};}
69
+ .header-type-1 .top_bar_menu li a,.header-type-1 .top_bar li span { border-color: {{ section.settings.top_bar_border }};}
70
+
71
+
72
+
73
+ @media (max-width: 1199px) {
74
+ {% if section.settings.display_phone_mob %}
75
+ .header-type-1 .top_bar_left { margin-bottom:7px; }
76
+
77
+ .header-type-1 .top_bar_left li.phone { display:block; }
78
+
79
+ {% else %}
80
+
81
+ .header-type-1 .top_bar_left li.phone { display:none; }
82
+
83
+ {% endif %}
84
+
85
+ {% if section.settings.display_mail_mob %} .header-type-1 .top_bar_left li.mail { display:block; }
86
+
87
+ {% else %}
88
+
89
+ .header-type-1 .top_bar_left li.mail { display:none; }
90
+
91
+ {% endif %}
92
+
93
+ {% unless section.settings.display_phone_mob or section.settings.display_mail_mob %}
94
+
95
+ .header-type-1 .top_bar { padding:0; display:none;}
96
+ {% endunless %}
97
+
98
+ }
99
+ </style>
100
+
101
+
102
+
103
+ {% schema %}
104
+ {
105
+ "name": "Top Bar",
106
+
107
+ "settings": [
108
+ {
109
+ "type":"checkbox",
110
+ "id": "display_top_bar",
111
+ "label": "Display topbar"
112
+ },
113
+ {
114
+ "type": "text",
115
+ "id": "header_phone_label",
116
+ "label": "Phone lable text",
117
+ "default": "TOLL FREE"
118
+ },
119
+ {
120
+ "type": "text",
121
+ "id": "header_phone_value",
122
+ "label": "Phone number",
123
+ "default": "(00) 000 111 222"
124
+ },
125
+ {
126
+ "type":"checkbox",
127
+ "id": "display_phone_mob",
128
+ "label": "Display phone on Mobile?",
129
+ "default": true
130
+ },
131
+ {
132
+ "type": "text",
133
+ "id": "header_mail_label",
134
+ "label": "Mail lable text",
135
+ "default": "MAIL INFO"
136
+ },
137
+ {
138
+ "type":"checkbox",
139
+ "id": "display_mail_mob",
140
+ "label": "Display mail on Mobile?",
141
+ "default": true
142
+
143
+ },
144
+ {
145
+ "type": "text",
146
+ "id": "header_mail_value",
147
+ "label": "Mail address",
148
+ "default": "info@somedomain.com"
149
+ },
150
+ {
151
+ "type": "link_list",
152
+ "id": "top_bar_menu",
153
+ "label": "Pick linkedlist"
154
+ },
155
+ {
156
+ "type": "header",
157
+ "content": "Top Bar"
158
+ },
159
+ {
160
+ "type": "color",
161
+ "id": "top_bar_bg",
162
+ "label": "Top bar background",
163
+ "default": "#fff"
164
+ },
165
+ {
166
+ "type": "color",
167
+ "id": "top_bar_text",
168
+ "label": "Top bar text",
169
+ "default": "#000"
170
+ },
171
+ {
172
+ "type": "color",
173
+ "id": "top_bar_links",
174
+ "label": "Top bar links",
175
+ "default": "#000"
176
+ },
177
+ {
178
+ "type": "color",
179
+ "id": "top_bar_link_hover",
180
+ "label": "Top bar links hover",
181
+ "default": "#35b8f4"
182
+ },
183
+ {
184
+ "type": "color",
185
+ "id": "top_bar_border",
186
+ "label": "Top bar border",
187
+ "default": "#35b8f4"
188
+ },
189
+ {
190
+ "type": "checkbox",
191
+ "id": "display_wishlist",
192
+ "label": "Display wishlist"
193
+ }
194
+
195
+ ]
196
+
197
+ }
198
+
199
+
200
+ {% endschema %}