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,832 @@
1
+ {% assign full = section.settings.full %}
2
+ {% assign margin = section.settings.margin | split: ',' %}
3
+ {% assign top = margin[0] %}
4
+ {% assign bottom = margin[1] %}
5
+
6
+ <div class="{% if section.settings.full %} {% else %}container{% endif %}">
7
+
8
+ <div class="custom-content-wrapper custom-content-wrapper--{{ section.id }} grid__item one-whole" data-section-id="{{ section.id }}" data-section-type="custom-content" style="{% if section.settings.image_1 != blank %}background-image:url('{{ section.settings.image_1 | img_url: '1920X' }}');float:left;width:100%;background-repeat:no-repeat;background-size:cover;background-position:center center;{% endif %}">
9
+ <div class="margin-section" style="margin-top:{{top}}px; margin-bottom:{{bottom}}px;">
10
+ <div class="border-title">
11
+ {% if section.settings.title_1 != blank %}
12
+ <h2 style="color:{{ section.settings.title_color }};">{{ section.settings.title_1 }} </h2>
13
+ {% endif %}
14
+ {% if section.settings.text_1 != blank %}
15
+ <h5 style="color:{{ section.settings.text_color }};">{{ section.settings.text_1 }}</h5>
16
+ {% endif %}
17
+ {% if section.settings.textshadow_1 != blank %}
18
+ <p style="color:{{ section.settings.textshadow_1_color }};">{{ section.settings.textshadow_1 }}</p>
19
+ {% endif %}
20
+ </div>
21
+ <div class="custom-content-block">
22
+ {% for block in section.blocks %}
23
+ {% case block.settings.width %}
24
+ {% when '25%' %}
25
+ {%- assign block_width = 'wide--one-quarter post-large--one-quarter large--one-half medium--one-whole' -%}
26
+ {% when '33%' %}
27
+ {%- assign block_width = 'wide--one-third post-large--one-third large--one-third medium--one-whole' -%}
28
+ {% when '50%' %}
29
+ {%- assign block_width = 'wide--one-half post-large--one-half large--one-half medium--one-half small--one-half' -%}
30
+ {% when '66%' %}
31
+ {%- assign block_width = 'wide--two-thirds post-large--two-thirds large--two-thirds medium--one-whole small--grid__item' -%}
32
+ {% when '75%' %}
33
+ {%- assign block_width = 'wide--three-quarters post-large--three-quarters large--three-quarters medium--one-whole small--grid__item' -%}
34
+ {% when '100%' %}
35
+ {%- assign block_width = 'one-whole' -%}
36
+ {% endcase %}
37
+ <div class="custom__item custom__item--{{ block.id }} grid__item {{ block_width }}" {{ block.shopify_attributes }}>
38
+ <div class="custom__item-inner custom__item-inner--{{ block.type }}">
39
+ {% case block.type %}
40
+ {% when 'image' %}
41
+
42
+ {% comment %}
43
+ Custom Image Block
44
+ {% endcomment %}
45
+
46
+ {% if block.settings.image != blank %}
47
+ <div class="custom__block-image-container" style="padding-top:{{ 1 | divided_by: block.settings.image.aspect_ratio | times: 100}}%">
48
+ {% assign img_url = block.settings.image | img_url: 'master' %}
49
+ <img class="custom__block-image lazyload"
50
+ src="{{ img_url }}"
51
+ data-widths="[180, 360, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]"
52
+ data-aspectratio="{{ block.settings.image.aspect_ratio }}"
53
+ data-sizes="auto"
54
+ alt="{{ block.settings.image.alt | escape }}">
55
+
56
+ <noscript>
57
+ <img src="{{ block.settings.image | img_url: '1024x1024' }}" alt="{{ block.settings.image.alt | escape }}" class="custom__block-image">
58
+ </noscript>
59
+ </div>
60
+ {% else %}
61
+ {{ 'image' | placeholder_svg_tag: 'placeholder-svg' }}
62
+ {% endif %}
63
+
64
+ {% when 'text' %}
65
+
66
+ {% comment %}
67
+ Custom Text Block
68
+ {% endcomment %}
69
+ <style>
70
+ .custom-content-wrapper--{{ section.id }} .custom__item--{{ block.id }} .custom__block-heading-text {
71
+ color: {{ block.settings.heading_color }};
72
+ }
73
+
74
+ .custom-content-wrapper--{{ section.id }} .custom__item--{{ block.id }} .custom__block-body-text {
75
+ color: {{ block.settings.paragraph_color }};
76
+ font-size: {{ block.settings.paragraph_size | append: 'em' }};
77
+ }
78
+ </style>
79
+
80
+
81
+ <div class="text-{{ block.settings.align_text }}">
82
+ {% if block.settings.heading_text != blank %}
83
+ <h2 class="custom__block-heading-text {{ block.settings.heading_style }}">{{ block.settings.heading_text | escape }}</h2>
84
+ {% endif %}
85
+ {% if block.settings.paragraph_text != blank %}
86
+ <div class="custom__block-body-text rte-setting">{{ block.settings.paragraph_text }}</div>
87
+ {% endif %}
88
+ </div>
89
+ {% when 'video' %}
90
+
91
+ {% comment %}
92
+ Custom Video Block
93
+ {% endcomment %}
94
+ <div class="video-wrapper">
95
+ {% if block.settings.video_url == blank %}
96
+ <iframe src="//www.youtube.com/embed/_9VUPq3SxOc?rel=0&showinfo=0&vq=720" width="850" height="480" frameborder="0" allowfullscreen></iframe>
97
+ {% else %}
98
+ {% if block.settings.video_url.type == "youtube" %}
99
+ <iframe src="//www.youtube.com/embed/{{ block.settings.video_url.id }}?rel=0&showinfo=0&vq=720" width="850" height="480" frameborder="0" allowfullscreen></iframe>
100
+ {% endif %}
101
+ {% if block.settings.video_url.type == "vimeo" %}
102
+ <iframe src="//player.vimeo.com/video/{{ block.settings.video_url.id }}?byline=0&portrait=0&badge=0" width="850" height="480" frameborder="0" allowfullscreen></iframe>
103
+ {% endif %}
104
+ {% endif %}
105
+ </div>
106
+ {% when 'product' %}
107
+
108
+ {% comment %}
109
+ Custom Product Block
110
+ {% endcomment %}
111
+
112
+ {%- assign product = all_products[block.settings.product] -%}
113
+
114
+ {% if product.title.size > 0 %}
115
+ <a href="{{ product.url }}" class="card__wrapper text-center{% if block.settings.show_spacing %} card__wrapper--padding{% endif %}">
116
+
117
+ {% include 'product-custom-grid-item' %}
118
+
119
+ {% else %}
120
+
121
+
122
+ <div class="products">
123
+ <div class="product-container">
124
+ <a href="#" class="grid-link">
125
+ {% if forloop.index == 3 %}
126
+ <div class="featured-tag">
127
+ <span class="badge badge--sale">
128
+ <i class="fa fa-star"></i>
129
+ <span class="gift-tag badge__text{% if sale_text.size > 7 %} badge__text--small{% endif %}">{{ 'products.product.sale' | t }}</span>
130
+ </span>
131
+ </div>{% endif %}
132
+
133
+ <div class="reveal">
134
+ {% capture current %}{% cycle 1, 2, 3, 4, 5, 6 %}{% endcapture %}
135
+ {{ 'product-' | append: current | placeholder_svg_tag: 'placeholder-svg' }}
136
+ </div>
137
+ </a>
138
+ <div class="ImageWrapper">
139
+ <div class="product-button">
140
+ <div class="button-row-1">
141
+ <a href="#" class="quick-view-text">
142
+ <i class="far fa-eye"></i>
143
+ </a>
144
+ <a href="{{ product.url }}">
145
+ <i class="fas fa-link"></i>
146
+ </a>
147
+ </div>
148
+ <div class="button-row-2">
149
+ <form action="#" method="post" class="variants clearfix" id="cart-form-6529189125">
150
+ <input type="hidden" name="id" value="21661289093">
151
+ <a href="#" class="add-cart-btn"><i class="fas fa-shopping-cart"></i> </a>
152
+ </form>
153
+ <a href="/account/login" class="wishlist"><i class="far fa-heart"></i></a>
154
+
155
+ </div>
156
+ </div>
157
+ </div>
158
+ </div>
159
+ <div class="product-detail">
160
+ <a href="#" class="grid-link__title">Sample title {{ i }}</a>
161
+
162
+ <div class="grid-link__meta">
163
+ <div class="product_price"> <span class="money" data-currency-usd="$320.00">$0.00</span> </div>
164
+ <del class="grid-link__sale_price"><span class="money" data-currency-usd="$756.00">$0.00</span></del> </div>
165
+ <span class="spr-badge" id="spr_badge_6529189125" data-rating="0.0">
166
+ <span class="spr-starrating spr-badge-starrating"><i class="spr-icon spr-icon-star-empty" style="color: #f05315;"></i><i class="spr-icon spr-icon-star-empty" style="color: #f05315;"></i><i class="spr-icon spr-icon-star-empty" style="color: #f05315;"></i><i class="spr-icon spr-icon-star-empty" style="color: #f05315;"></i><i class="spr-icon spr-icon-star-empty" style="color: #f05315;"></i></span> <span class="spr-badge-caption"> </span> </span>
167
+
168
+ </div>
169
+ </div>
170
+
171
+ </a>
172
+
173
+ {% endif %}
174
+ {% when 'collection' %}
175
+
176
+ {% comment %}
177
+ Custom Collection Block
178
+ {% endcomment %}
179
+
180
+ {%- assign collection = collections[block.settings.collection] -%}
181
+
182
+ {% unless collection == empty %}
183
+ <a href="{{ collection.url }}" class="card__wrapper text-center">
184
+
185
+ {% if collection.image %}
186
+ {% assign collection_image = collection.image %}
187
+ {% else %}
188
+ {% assign collection_image = collection.products.first %}
189
+ {% endif %}
190
+
191
+ {% if collection_image != blank %}
192
+ <div class="card__image-wrapper">
193
+ {% assign img_url = collection_image | img_url: '1024x1024' %}
194
+ <img class="card__image" src="{{ img_url }}" alt="{{ collection_image.alt | escape }}">
195
+ </div>
196
+ {% endif %}
197
+
198
+ <div class="card__info">
199
+ <div class="card__name h4">{{ collection.title }}</div>
200
+ {% if section.settings.show_description and collection.description != blank %}
201
+ <div class="rte card__description">
202
+ {{ collection.description | strip_html | truncatewords: 15 }}
203
+ </div>
204
+ {% endif %}
205
+ </div>
206
+ </a>
207
+ {% else %}
208
+ {% capture current %}{% cycle 1, 2, 3, 4, 5, 6 %}{% endcapture %}
209
+ {{ 'collection-' | append: current | placeholder_svg_tag: 'placeholder-svg' }}
210
+
211
+ <div class="card__info">
212
+ <div class="card__name h4">{{ 'home_page.onboarding.collection_title' | t: title: collection_title }}</div>
213
+ </div>
214
+ {% endunless %}
215
+ {% when 'html' %}
216
+ {% if block.settings.code != blank %}
217
+ {{ block.settings.code }}
218
+ {% endif %}
219
+ {% endcase %}
220
+ </div>
221
+ </div>
222
+
223
+ {% endfor %}
224
+ </div>
225
+ {% if section.blocks.size == 0 %}
226
+ {% include 'no-blocks' %}
227
+ {% endif %}
228
+
229
+ </div>
230
+ </div>
231
+ </div>
232
+ <style>
233
+ @media only screen(max-width: 767px)
234
+ {
235
+
236
+ .margin-section
237
+ {
238
+
239
+ margin-top:30px !important;
240
+ margin-bottom:0 !important;
241
+
242
+ }
243
+
244
+
245
+ }
246
+
247
+
248
+
249
+ .custom-content-wrapper--{{ section.id }} .custom-content__section-header {
250
+ color: {{ section.settings.heading_color }};
251
+ }
252
+
253
+
254
+ {% if section.settings.background_color != blank %}
255
+ .custom-content-wrapper--{{ section.id }} {
256
+ background-color: {{ section.settings.background_color }};
257
+ }
258
+ {% endif %}
259
+ </style>
260
+ {% schema %}
261
+ {
262
+ "name": "Custom content",
263
+ "class": "index-section home-custom-content",
264
+ "settings": [
265
+ {
266
+ "type": "checkbox",
267
+ "id": "full",
268
+ "label": "Show Full width"
269
+ },
270
+ {
271
+ "type": "image_picker",
272
+ "id": "image_1",
273
+ "label": "Image",
274
+ "info": "Size: 1920x1200"
275
+ },
276
+ {
277
+ "type": "text",
278
+ "id": "margin",
279
+ "label": "Style value (Margin)",
280
+ "default":"0,0",
281
+ "info":"Top(px),Bottom(px)"
282
+ },
283
+
284
+ {
285
+ "type": "text",
286
+ "id": "title_1",
287
+ "label": "Heading",
288
+ "default": "Heading"
289
+ },
290
+ {
291
+ "type": "color",
292
+ "id": "title_color",
293
+ "label":"Heading color",
294
+ "default": "#000"
295
+ },
296
+
297
+ {
298
+ "type": "text",
299
+ "id": "text_1",
300
+ "label": "Sub Heading",
301
+ "default": "sub Heading"
302
+ },
303
+ {
304
+ "type": "color",
305
+ "id": "text_color",
306
+ "label":"Sub Heading color",
307
+ "default": "#000"
308
+ },
309
+
310
+ {
311
+ "type": "textarea",
312
+ "id": "textshadow_1",
313
+ "label": "Description",
314
+ "default": "Few lines of short description"
315
+ },
316
+ {
317
+ "type": "color",
318
+ "id": "textshadow_1_color",
319
+ "label":"Description",
320
+ "default": "#000"
321
+ },
322
+ {
323
+ "type": "color",
324
+ "id": "background_color",
325
+ "label": "Background color"
326
+ }
327
+ ],
328
+ "blocks": [
329
+ {
330
+ "type": "text",
331
+ "name": "Text",
332
+ "settings": [
333
+ {
334
+ "type": "header",
335
+ "content": "Heading"
336
+ },
337
+ {
338
+ "type": "text",
339
+ "id": "heading_text",
340
+ "label": "Text",
341
+ "default": "Talk about your brand"
342
+ },
343
+ {
344
+ "type": "color",
345
+ "id": "heading_color",
346
+ "label": "Color",
347
+ "default": "#3a3a3a"
348
+ },
349
+ {
350
+ "type": "select",
351
+ "id": "heading_style",
352
+ "label": "Style",
353
+ "default": "h3",
354
+ "options": [
355
+ {
356
+ "value": "h1",
357
+ "label": "Heading 1"
358
+ },
359
+ {
360
+ "value": "h2",
361
+ "label": "Heading 2"
362
+ },
363
+ {
364
+ "value": "h3",
365
+ "label": "Heading 3"
366
+ },
367
+ {
368
+ "value": "h4",
369
+ "label": "Heading 4"
370
+ },
371
+ {
372
+ "value": "h5",
373
+ "label": "Heading 5"
374
+ },
375
+ {
376
+ "value": "h6",
377
+ "label": "Heading 6"
378
+ }
379
+ ]
380
+ },
381
+ {
382
+ "type": "header",
383
+ "content": "Paragraph"
384
+ },
385
+ {
386
+ "type": "richtext",
387
+ "id": "paragraph_text",
388
+ "label": "Text",
389
+ "default": "<p>Use this text to share information about your brand with your customers. Describe a product, share announcements, or welcome customers to your store.</p>"
390
+ },
391
+ {
392
+ "type": "color",
393
+ "id": "paragraph_color",
394
+ "label": "Color",
395
+ "default": "#4a4a4a"
396
+ },
397
+ {
398
+ "type": "select",
399
+ "id": "paragraph_size",
400
+ "label": "Size",
401
+ "default": "1",
402
+ "options": [
403
+ {
404
+ "value": "1",
405
+ "label": "Medium"
406
+ },
407
+ {
408
+ "value": "1.25",
409
+ "label": "Large"
410
+ },
411
+ {
412
+ "value": "1.5",
413
+ "label": "Extra large"
414
+ }
415
+ ]
416
+ },
417
+ {
418
+ "type": "header",
419
+ "content": "Layout"
420
+ },
421
+ {
422
+ "type": "select",
423
+ "id": "width",
424
+ "label": "Container width",
425
+ "default": "50%",
426
+ "options": [
427
+ {
428
+ "value": "25%",
429
+ "label": "25%"
430
+ },
431
+ {
432
+ "value": "33%",
433
+ "label": "33%"
434
+ },
435
+ {
436
+ "value": "50%",
437
+ "label": "50%"
438
+ },
439
+ {
440
+ "value": "66%",
441
+ "label": "66%"
442
+ },
443
+ {
444
+ "value": "75%",
445
+ "label": "75%"
446
+ },
447
+ {
448
+ "value": "100%",
449
+ "label": "100%"
450
+ }
451
+ ]
452
+ },
453
+ {
454
+ "type": "select",
455
+ "id": "alignment",
456
+ "label": "Vertical alignment",
457
+ "info": "Position relative to other content blocks on the same row",
458
+ "default": "center",
459
+ "options": [
460
+ {
461
+ "value": "top",
462
+ "label": "Top"
463
+ },
464
+ {
465
+ "value": "center",
466
+ "label": "Middle"
467
+ },
468
+ {
469
+ "value": "bottom",
470
+ "label": "Bottom"
471
+ }
472
+ ]
473
+ },
474
+ {
475
+ "type": "select",
476
+ "id": "align_text",
477
+ "label": "Horizontal alignment",
478
+ "default": "left",
479
+ "options": [
480
+ {
481
+ "value": "left",
482
+ "label": "Left"
483
+ },
484
+ {
485
+ "value": "center",
486
+ "label": "Centered"
487
+ },
488
+ {
489
+ "value": "right",
490
+ "label": "Right"
491
+ }
492
+ ]
493
+ }
494
+ ]
495
+ },
496
+ {
497
+ "type": "image",
498
+ "name": "Image",
499
+ "settings": [
500
+ {
501
+ "type": "image_picker",
502
+ "id": "image",
503
+ "label": "Image"
504
+ },
505
+ {
506
+ "type": "header",
507
+ "content": "Layout"
508
+ },
509
+ {
510
+ "type": "select",
511
+ "id": "width",
512
+ "label": "Container width",
513
+ "default": "50%",
514
+ "options": [
515
+ {
516
+ "value": "25%",
517
+ "label": "25%"
518
+ },
519
+ {
520
+ "value": "33%",
521
+ "label": "33%"
522
+ },
523
+ {
524
+ "value": "50%",
525
+ "label": "50%"
526
+ },
527
+ {
528
+ "value": "66%",
529
+ "label": "66%"
530
+ },
531
+ {
532
+ "value": "75%",
533
+ "label": "75%"
534
+ },
535
+ {
536
+ "value": "100%",
537
+ "label": "100%"
538
+ }
539
+ ]
540
+ }
541
+
542
+ ]
543
+ },
544
+ {
545
+ "type": "video",
546
+ "name": "Video",
547
+ "settings": [
548
+ {
549
+ "type": "video_url",
550
+ "id": "video_url",
551
+ "label": "Video link",
552
+ "accept": ["youtube", "vimeo"],
553
+ "default": "https:\/\/www.youtube.com\/watch?v=_9VUPq3SxOc"
554
+ },
555
+ {
556
+ "type": "header",
557
+ "content": "Layout"
558
+ },
559
+ {
560
+ "type": "select",
561
+ "id": "width",
562
+ "label": "Container width",
563
+ "default": "100%",
564
+ "options": [
565
+ {
566
+ "value": "25%",
567
+ "label": "25%"
568
+ },
569
+ {
570
+ "value": "33%",
571
+ "label": "33%"
572
+ },
573
+ {
574
+ "value": "50%",
575
+ "label": "50%"
576
+ },
577
+ {
578
+ "value": "66%",
579
+ "label": "66%"
580
+ },
581
+ {
582
+ "value": "75%",
583
+ "label": "75%"
584
+ },
585
+ {
586
+ "value": "100%",
587
+ "label": "100%"
588
+ }
589
+ ]
590
+ },
591
+ {
592
+ "type": "select",
593
+ "id": "alignment",
594
+ "label": "Vertical alignment",
595
+ "default": "top",
596
+ "options": [
597
+ {
598
+ "value": "top",
599
+ "label": "Top"
600
+ },
601
+ {
602
+ "value": "center",
603
+ "label": "Middle"
604
+ },
605
+ {
606
+ "value": "bottom",
607
+ "label": "Bottom"
608
+ }
609
+ ]
610
+ }
611
+ ]
612
+ },
613
+ {
614
+ "type": "product",
615
+ "name": "Product",
616
+ "settings": [
617
+ {
618
+ "type": "product",
619
+ "id": "product",
620
+ "label": "Product"
621
+ },
622
+ {
623
+ "type": "header",
624
+ "content": "Image"
625
+ },
626
+ {
627
+ "type": "checkbox",
628
+ "id": "show_spacing",
629
+ "label": "Enable image spacing"
630
+ },
631
+ {
632
+ "type": "header",
633
+ "content": "Layout"
634
+ },
635
+ {
636
+ "type": "select",
637
+ "id": "width",
638
+ "label": "Container width",
639
+ "default": "50%",
640
+ "options": [
641
+ {
642
+ "value": "25%",
643
+ "label": "25%"
644
+ },
645
+ {
646
+ "value": "33%",
647
+ "label": "33%"
648
+ },
649
+ {
650
+ "value": "50%",
651
+ "label": "50%"
652
+ },
653
+ {
654
+ "value": "66%",
655
+ "label": "66%"
656
+ },
657
+ {
658
+ "value": "75%",
659
+ "label": "75%"
660
+ },
661
+ {
662
+ "value": "100%",
663
+ "label": "100%"
664
+ }
665
+ ]
666
+ }
667
+
668
+ ]
669
+ },
670
+ {
671
+ "type": "collection",
672
+ "name": "Collection",
673
+ "settings": [
674
+ {
675
+ "type": "collection",
676
+ "id": "collection",
677
+ "label": "Collection"
678
+ },
679
+ {
680
+ "type": "header",
681
+ "content": "Layout"
682
+ },
683
+ {
684
+ "type": "select",
685
+ "id": "width",
686
+ "label": "Container width",
687
+ "default": "50%",
688
+ "options": [
689
+ {
690
+ "value": "25%",
691
+ "label": "25%"
692
+ },
693
+ {
694
+ "value": "33%",
695
+ "label": "33%"
696
+ },
697
+ {
698
+ "value": "50%",
699
+ "label": "50%"
700
+ },
701
+ {
702
+ "value": "66%",
703
+ "label": "66%"
704
+ },
705
+ {
706
+ "value": "75%",
707
+ "label": "75%"
708
+ },
709
+ {
710
+ "value": "100%",
711
+ "label": "100%"
712
+ }
713
+ ]
714
+ },
715
+ {
716
+ "type": "select",
717
+ "id": "alignment",
718
+ "label": "Vertical alignment",
719
+ "info": "Position relative to other content blocks on the same row",
720
+ "default": "center",
721
+ "options": [
722
+ {
723
+ "value": "top",
724
+ "label": "Top"
725
+ },
726
+ {
727
+ "value": "center",
728
+ "label": "Middle"
729
+ },
730
+ {
731
+ "value": "bottom",
732
+ "label": "Bottom"
733
+ }
734
+ ]
735
+ }
736
+ ]
737
+ },
738
+ {
739
+ "type": "html",
740
+ "name": "Custom HTML",
741
+ "settings": [
742
+ {
743
+ "type": "html",
744
+ "id": "code",
745
+ "label": "HTML",
746
+ "default": "<div><p>Write your own custom HTML content.</p></div>"
747
+ },
748
+ {
749
+ "type": "header",
750
+ "content": "Layout"
751
+ },
752
+ {
753
+ "type": "select",
754
+ "id": "width",
755
+ "label": "Container width",
756
+ "default": "50%",
757
+ "options": [
758
+ {
759
+ "value": "25%",
760
+ "label": "25%"
761
+ },
762
+ {
763
+ "value": "33%",
764
+ "label": "33%"
765
+ },
766
+ {
767
+ "value": "50%",
768
+ "label": "50%"
769
+ },
770
+ {
771
+ "value": "66%",
772
+ "label": "66%"
773
+ },
774
+ {
775
+ "value": "75%",
776
+ "label": "75%"
777
+ },
778
+ {
779
+ "value": "100%",
780
+ "label": "100%"
781
+ }
782
+ ]
783
+ },
784
+ {
785
+ "type": "select",
786
+ "id": "alignment",
787
+ "label": "Vertical alignment",
788
+ "info": "Position relative to other content blocks on the same row",
789
+ "default": "center",
790
+ "options": [
791
+ {
792
+ "value": "top",
793
+ "label": "Top"
794
+ },
795
+ {
796
+ "value": "center",
797
+ "label": "Middle"
798
+ },
799
+ {
800
+ "value": "bottom",
801
+ "label": "Bottom"
802
+ }
803
+ ]
804
+ }
805
+ ]
806
+ }
807
+ ],
808
+ "presets": [
809
+ {
810
+ "name": "Custom content",
811
+ "category": "Advanced layout",
812
+ "blocks": [
813
+ {
814
+ "type": "text"
815
+ },
816
+ {
817
+ "type": "image"
818
+ },
819
+ {
820
+ "type": "video"
821
+ },
822
+ {
823
+ "type": "collection"
824
+ },
825
+ {
826
+ "type": "html"
827
+ }
828
+ ]
829
+ }
830
+ ]
831
+ }
832
+ {% endschema %}