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,511 @@
1
+ <script
2
+ type="application/json"
3
+ data-section-type="video"
4
+ data-section-id="{{ section.id }}"
5
+ >
6
+ </script>
7
+
8
+ {% assign object_selector = '#shopify-section-' | append: section.id %}
9
+ {% assign mobile_crop = 'mobile-banner--crop-' | append: section.settings.mobile_image_crop %}
10
+ {% assign mobile_text_alpha = section.settings.mobile_text_color | default: 'rgba(0,0,0,0)' | color_extract: 'alpha' %}
11
+
12
+ <style>
13
+ {%
14
+ render 'css-loop',
15
+ css: section.settings.custom_css,
16
+ id: section.id
17
+ %}
18
+
19
+ {% if section.settings.mobile_text_below_image and mobile_text_alpha != 0 %}
20
+ @media only screen and (max-width: 480px) {
21
+ {{ object_selector }} .pretext,
22
+ {{ object_selector }} .headline,
23
+ {{ object_selector }} .subtitle {
24
+ color: {{ section.settings.mobile_text_color }};
25
+ }
26
+ }
27
+ {% endif %}
28
+ </style>
29
+
30
+ <section
31
+ class="
32
+ section
33
+ {% if section.settings.wide_display == true %}
34
+ is-width-wide
35
+ has-no-side-gutter
36
+ {% endif %}
37
+ {{ section.settings.css_class }}
38
+ "
39
+ >
40
+ <div class="container">
41
+ <div class="one-whole column">
42
+ <div class="video-section full-width--{{ section.settings.wide_display }}">
43
+ <div
44
+ class="
45
+ video-wrapper
46
+ video-controls-enabled--{{ section.settings.show_controls }}
47
+ darken-video--{{ section.settings.video_dark_overlay }}
48
+ caption-background-{{ section.settings.caption_content_background }}
49
+ caption--below-{{ section.settings.mobile_text_below_image }}
50
+ "
51
+ id="video-{{ section.id }}"
52
+ data-autoplay="{{ section.settings.autoplay }}"
53
+ data-autoloop="{{ section.settings.autoloop }}"
54
+ data-mute-video="{{ section.settings.mute_video }}"
55
+ data-video-src="{{ section.settings.iframe_video.id }}"
56
+ data-aspect-ratio="{{ section.settings.aspect_ratio }}"
57
+ data-poster-image-uploaded="{% if section.settings.image != blank %}true{% else %}false{% endif%}"
58
+ >
59
+ <div class="video__overlay"></div>
60
+ {% if section.settings.image != blank %}
61
+ <div class="video-wrapper__image {% if section.settings.mobile_image %}is-hidden-mobile-only{% endif %}">
62
+ {%
63
+ render 'image-element',
64
+ image: section.settings.image,
65
+ alt: section.settings.image.alt,
66
+ stretch_width: true,
67
+ additional_classes: mobile_crop
68
+ %}
69
+ {% if section.settings.caption_content_background == 'darken_bg' %}
70
+ <div class="darken-bg"></div>
71
+ {% endif %}
72
+ </div>
73
+ {% else %}
74
+ {% unless section.settings.html5_video != blank or section.settings.iframe_video != blank %}
75
+ <div class="video-wrapper__image {% if section.settings.mobile_image %}is-hidden-mobile-only{% endif %}">
76
+ {{ 'lifestyle-1' | placeholder_svg_tag: 'placeholder-svg placeholder-svg--video' }}
77
+ </div>
78
+ {% endunless %}
79
+ {% endif %}
80
+ {% if section.settings.mobile_image and section.settings.image %}
81
+ <div class="video-wrapper__image is-hidden-desktop-only">
82
+ {%
83
+ render 'image-element',
84
+ image: section.settings.mobile_image,
85
+ alt: section.settings.mobile_image.alt,
86
+ stretch_width: true,
87
+ additional_classes: mobile_crop
88
+ %}
89
+ {% if section.settings.caption_content_background == 'darken_bg' %}
90
+ <div class="darken-bg"></div>
91
+ {% endif %}
92
+ </div>
93
+ {% endif %}
94
+
95
+ {% comment %} Checks there is an iframe video (YouTube or Vimeo) {% endcomment %}
96
+ {% if section.settings.iframe_video != blank %}
97
+ {% if section.settings.iframe_video.type == 'vimeo' %}
98
+ <div
99
+ class="plyr__video-embed"
100
+ id="video-{{ section.id }}"
101
+ data-video-element
102
+ data-external-video
103
+ >
104
+ <iframe src="https://player.vimeo.com/video/{{ section.settings.iframe_video.id }}?loop=false&amp;byline=false&amp;portrait=false&amp;title=false&amp;speed=true&amp;transparent=0&amp;gesture=media" allowfullscreen allowtransparency allow="autoplay"></iframe>
105
+ </div>
106
+ {% elsif section.settings.iframe_video.type == 'youtube' %}
107
+ <div
108
+ class="plyr__video-embed"
109
+ id="video-{{ section.id }}"
110
+ data-video-element
111
+ data-external-video
112
+ >
113
+ <iframe src="https://www.youtube.com/embed/{{ section.settings.iframe_video.id }}?origin=https://plyr.io&amp;iv_load_policy=3&amp;modestbranding=1&amp;playsinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1" allowfullscreen allowtransparency allow="autoplay"></iframe>
114
+ </div>
115
+ {% endif %}
116
+ {% comment %} Checks there is an HTML5 video {% endcomment %}
117
+ {% elsif section.settings.html5_video != blank %}
118
+ <video
119
+ class="video-{{ section.id }}"
120
+ data-video-element
121
+ data-html5-video
122
+ >
123
+ <source src="{{ section.settings.html5_video }}">
124
+ </video>
125
+ {% endif %}
126
+
127
+ <div
128
+ class="
129
+ video__text-container
130
+ display-text-over-video--{{ section.settings.display_text_over_video }}
131
+ caption
132
+ js-caption position-{{ section.settings.text_position }}
133
+ "
134
+ data-video-text-container
135
+ >
136
+ <div
137
+ class="
138
+ video__text-wrapper
139
+ caption-content
140
+ align-{{ section.settings.text_align }}
141
+ "
142
+ >
143
+ {% if section.settings.preheading != blank %}
144
+ <div class="pretext" data-video-text>
145
+ {{ section.settings.preheading }}
146
+ </div>
147
+ {% endif %}
148
+
149
+ {% if section.settings.heading != blank %}
150
+ <h1 class="headline" data-video-text>
151
+ {{ section.settings.heading | escape }}
152
+ </h1>
153
+ {% endif %}
154
+
155
+ {% if section.settings.subheading != blank %}
156
+ <div class="subtitle" data-video-text>
157
+ {{ section.settings.subheading }}
158
+ </div>
159
+ {% endif %}
160
+
161
+ {% if section.settings.button1_link == blank %}
162
+ {% assign button1_attrs = 'data-play-button' %}
163
+ {% endif %}
164
+
165
+ {%
166
+ render 'banner-buttons',
167
+ button1_text: section.settings.button1_label,
168
+ button1_style: section.settings.button1_style,
169
+ button1_link: section.settings.button1_link,
170
+ button1_attrs: button1_attrs,
171
+ button2_text: section.settings.button2_label,
172
+ button2_style: section.settings.button2_style,
173
+ button2_link: section.settings.button2_link,
174
+ mobile_text_below_image: section.settings.mobile_text_below_image,
175
+ mobile_text_color: section.settings.mobile_text_color,
176
+ object_selector: object_selector,
177
+ %}
178
+ </div>
179
+ </div>
180
+ </div>
181
+ </div>
182
+ </div>
183
+ </div>
184
+ </section>
185
+
186
+ {% schema %}
187
+ {
188
+ "name": "Video",
189
+ "class": "shopify-section--video under-menu",
190
+ "settings": [
191
+ {
192
+ "type": "checkbox",
193
+ "id": "wide_display",
194
+ "label": "Wide display",
195
+ "default": true
196
+ },
197
+ {
198
+ "type": "select",
199
+ "id": "aspect_ratio",
200
+ "label": "Aspect ratio",
201
+ "default": "16:9",
202
+ "options": [
203
+ {
204
+ "value": "16:9",
205
+ "label": "16:9"
206
+ },
207
+ {
208
+ "value": "4:3",
209
+ "label": "4:3"
210
+ }
211
+ ]
212
+ },
213
+ {
214
+ "type": "checkbox",
215
+ "id": "autoplay",
216
+ "label": "Autoplay video",
217
+ "info": "Limited browser support for autoplaying video. [Learn more](https:\/\/help.outofthesandbox.com\/hc\/en-us\/articles\/360000661568-Why-won-t-my-video-autoplay-)",
218
+ "default": false
219
+ },
220
+ {
221
+ "type": "checkbox",
222
+ "id": "autoloop",
223
+ "label": "Autoloop video",
224
+ "default": true
225
+ },
226
+ {
227
+ "type": "checkbox",
228
+ "id": "mute_video",
229
+ "label": "Mute video",
230
+ "default": false
231
+ },
232
+ {
233
+ "type": "checkbox",
234
+ "id": "show_controls",
235
+ "label": "Show video controls",
236
+ "default": true
237
+ },
238
+ {
239
+ "type": "checkbox",
240
+ "id": "video_dark_overlay",
241
+ "label": "Darken video",
242
+ "default": false
243
+ },
244
+ {
245
+ "type": "video_url",
246
+ "id": "iframe_video",
247
+ "label": "Video link",
248
+ "accept": ["youtube", "vimeo"],
249
+ "default": "https://www.youtube.com/watch?v=_9VUPq3SxOc"
250
+ },
251
+ {
252
+ "type": "text",
253
+ "id": "html5_video",
254
+ "label": "HTML5 MP4/OGV File URL"
255
+ },
256
+ {
257
+ "type": "header",
258
+ "content": "Content"
259
+ },
260
+ {
261
+ "type": "image_picker",
262
+ "id": "image",
263
+ "label": "Image",
264
+ "info": "1600 x 900px recommended"
265
+ },
266
+ {
267
+ "type": "checkbox",
268
+ "id": "display_text_over_video",
269
+ "label": "Show text when video is playing",
270
+ "default": false
271
+ },
272
+ {
273
+ "type": "richtext",
274
+ "id": "preheading",
275
+ "label": "Preheading"
276
+ },
277
+ {
278
+ "type": "text",
279
+ "id": "heading",
280
+ "label": "Heading"
281
+ },
282
+ {
283
+ "type": "richtext",
284
+ "id": "subheading",
285
+ "label": "Subheading"
286
+ },
287
+ {
288
+ "type": "text",
289
+ "id": "button1_label",
290
+ "label": "First button label"
291
+ },
292
+ {
293
+ "type": "url",
294
+ "id": "button1_link",
295
+ "label": "First button link"
296
+ },
297
+ {
298
+ "type": "select",
299
+ "id": "button1_style",
300
+ "label": "First button color",
301
+ "options": [
302
+ {
303
+ "value": "global-button--primary",
304
+ "label": "Primary button"
305
+ },
306
+ {
307
+ "value": "global-button--banner",
308
+ "label": "Banner button (outline)"
309
+ },
310
+ {
311
+ "value": "global-button--banner-highlighted",
312
+ "label": "Banner button (solid)"
313
+ },
314
+ {
315
+ "value": "global-button--banner-text",
316
+ "label": "Banner text button (outline)"
317
+ },
318
+ {
319
+ "value": "global-button--banner-text-highlighted",
320
+ "label": "Banner text button (solid)"
321
+ }
322
+ ],
323
+ "default": "global-button--banner"
324
+ },
325
+ {
326
+ "type": "text",
327
+ "id": "button2_label",
328
+ "label": "Second button label"
329
+ },
330
+ {
331
+ "type": "url",
332
+ "id": "button2_link",
333
+ "label": "Second button link"
334
+ },
335
+ {
336
+ "type": "select",
337
+ "id": "button2_style",
338
+ "label": "Second button color",
339
+ "options": [
340
+ {
341
+ "value": "global-button--primary",
342
+ "label": "Primary button"
343
+ },
344
+ {
345
+ "value": "global-button--banner",
346
+ "label": "Banner button (outline)"
347
+ },
348
+ {
349
+ "value": "global-button--banner-highlighted",
350
+ "label": "Banner button (solid)"
351
+ },
352
+ {
353
+ "value": "global-button--banner-text",
354
+ "label": "Banner text button (outline)"
355
+ },
356
+ {
357
+ "value": "global-button--banner-text-highlighted",
358
+ "label": "Banner text button (solid)"
359
+ }
360
+ ],
361
+ "default": "global-button--banner"
362
+ },
363
+ {
364
+ "type": "header",
365
+ "content": "Content layout"
366
+ },
367
+ {
368
+ "type": "select",
369
+ "id": "text_position",
370
+ "label": "Text position",
371
+ "default": "center",
372
+ "options": [
373
+ {
374
+ "value": "left",
375
+ "label": "Left"
376
+ },
377
+ {
378
+ "value": "center",
379
+ "label": "Center"
380
+ },
381
+ {
382
+ "value": "right",
383
+ "label": "Right"
384
+ }
385
+ ]
386
+ },
387
+ {
388
+ "type": "select",
389
+ "id": "text_align",
390
+ "label": "Text alignment",
391
+ "default": "center",
392
+ "options": [
393
+ {
394
+ "value": "left",
395
+ "label": "Left"
396
+ },
397
+ {
398
+ "value": "center",
399
+ "label": "Center"
400
+ },
401
+ {
402
+ "value": "right",
403
+ "label": "Right"
404
+ }
405
+ ]
406
+ },
407
+ {
408
+ "type": "header",
409
+ "content": "Text contrast",
410
+ "info": "Improve legibility by applying a contrast technique to your banner’s text."
411
+ },
412
+ {
413
+ "type": "select",
414
+ "id": "caption_content_background",
415
+ "label": "Contrast technique",
416
+ "default": "original",
417
+ "options": [
418
+ {
419
+ "value": "original",
420
+ "label": "None"
421
+ },
422
+ {
423
+ "value": "darken_bg",
424
+ "label": "Darken banner image"
425
+ },
426
+ {
427
+ "value": "text_box",
428
+ "label": "Solid box"
429
+ },
430
+ {
431
+ "value": "translucent_text_box",
432
+ "label": "Translucent box"
433
+ }
434
+ ]
435
+ },
436
+ {
437
+ "type": "header",
438
+ "content": "Mobile"
439
+ },
440
+ {
441
+ "type": "image_picker",
442
+ "id": "mobile_image",
443
+ "label": "Image",
444
+ "info": "Display a different image on mobile screens. This only appears when the desktop image is set."
445
+ },
446
+ {
447
+ "type": "select",
448
+ "id": "mobile_image_crop",
449
+ "label": "Image cropping",
450
+ "default": "none",
451
+ "options": [
452
+ {
453
+ "value": "none",
454
+ "label": "None"
455
+ },
456
+ {
457
+ "value": "left",
458
+ "label": "Left"
459
+ },
460
+ {
461
+ "value": "center",
462
+ "label": "Center"
463
+ },
464
+ {
465
+ "value": "right",
466
+ "label": "Right"
467
+ }
468
+ ]
469
+ },
470
+ {
471
+ "type": "checkbox",
472
+ "id": "mobile_text_below_image",
473
+ "label": "Show text below image",
474
+ "default": true
475
+ },
476
+ {
477
+ "type": "color",
478
+ "id": "mobile_text_color",
479
+ "label": "Text below image",
480
+ "info": "Set this to “None” to use the “Regular text” color."
481
+ },
482
+ {
483
+ "type": "header",
484
+ "content": "Advanced"
485
+ },
486
+ {
487
+ "type": "paragraph",
488
+ "content": "[Learn more](https://help.outofthesandbox.com/hc/en-us/articles/360022329373)"
489
+ },
490
+ {
491
+ "type": "text",
492
+ "id": "css_class",
493
+ "label": "CSS Class"
494
+ },
495
+ {
496
+ "type": "textarea",
497
+ "id": "custom_css",
498
+ "label": "Custom CSS"
499
+ }
500
+ ],
501
+ "presets": [{
502
+ "name": "Video",
503
+ "category": "Video",
504
+ "settings": {
505
+ "iframe_video": "https://www.youtube.com/watch?v=_9VUPq3SxOc",
506
+ "button1_label": "Play Video"
507
+ }
508
+ }]
509
+ }
510
+
511
+ {% endschema %}