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,224 @@
1
+ {% assign full = section.settings.full %}
2
+ {% assign margin = section.settings.margin | split: ',' %}
3
+ {% assign top = margin[0] %}
4
+ {% assign bottom = margin[1] %}
5
+ <div class="{% if section.settings.full %} container-fluid {% else %}container{% endif %}">
6
+ <div style="margin-top:{{top}}px; margin-bottom:{{bottom}}px;">
7
+ <div class="dt-sc-hr-invisible-small"></div>
8
+ {% if section.blocks.size > 0 %}
9
+ <div class="grid-uniform">
10
+
11
+ <div class="grid__item">
12
+ {% if section.settings.title != blank %}
13
+ <div class="section-header section-header--small full-position-{{section.settings.heading_position}}">
14
+ <div class="border-title">
15
+ <h2 style="color:{{ section.settings.title_clr }};">{{ section.settings.title }}</h2>
16
+ {% if section.settings.text != blank %}
17
+ <p style="color:{{ section.settings.text_clr }};">{{ section.settings.text }}</p>
18
+ {% endif %}
19
+ </div>
20
+ </div>
21
+ <div class="dt-sc-hr-invisible-very-small"></div>
22
+ {% endif %}
23
+ {% if section.settings.brand_style == 'style2' %}
24
+ {% case section.settings.brand_rows %}
25
+ {% when '3' %}
26
+ {%- assign block_width = 'grid__item wide--one-third post-large--one-third large--one-third medium--one-half small-grid__item' -%}
27
+ {% when '4' %}
28
+ {%- assign block_width = 'grid__item wide--one-quarter post-large--one-quarter large--one-quarter medium--one-half small-grid__item' -%}
29
+ {% when '5' %}
30
+ {%- assign block_width = 'grid__item wide--one-fifth post-large--one-fifth large--one-fifth medium--one-half small-grid__item' -%}
31
+ {% when '6' %}
32
+ {%- assign block_width = 'grid__item wide--one-sixth post-large--one-sixth large--one-sixth medium--one-half small-grid__item' -%}
33
+ {% endcase %}
34
+ {% endif %}
35
+ <div class="client-logo-block">
36
+ <div class="{% if section.settings.brand_style == 'style1' %}client-carousel{% else %}grid-uniform{% endif %}" {% if section.settings.brand_style == 'style1' %} data-brands-slider data-rows="{{ section.settings.brand_rows }}" {% endif %}>
37
+ {% for block in section.blocks %}
38
+ {% if block.settings.client_img != blank %}
39
+ <div class="logo-item {% if section.settings.brand_style == 'style2' %} {{block_width}} {% endif %}">
40
+ <a href="{{ block.settings.client_link }}"> <img src="{{ block.settings.client_img | img_url: "x150" }}" alt="{{ block.settings.client_heading }}" /></a>
41
+ </div>
42
+ {% else %}
43
+ <div class="logo-item {% if section.settings.brand_style == 'style2' %} {{block_width}} {% endif %}">
44
+ <img src="//via.placeholder.com/250x150">
45
+ </div>
46
+ {% endif %}
47
+ {% endfor %}
48
+ </div>
49
+
50
+ {% if section.settings.brand_navigation %}
51
+ <div class="brand_nav carousel-arrow {{ section.settings.navigation_position }}"></div>
52
+ {% endif %}
53
+ </div>
54
+ </div>
55
+ </div>
56
+ {% endif %}
57
+ </div>
58
+ </div>
59
+ <script type="text/javascript">
60
+ window.brand_navigation = {{ section.settings.brand_navigation }};
61
+ window.brand_pagination = {{section.settings.brand_pagination }}
62
+ </script>
63
+
64
+ {% schema %}
65
+ {
66
+ "name": "Brand Logos",
67
+ "class": "index-section client-logo",
68
+ "settings": [
69
+ {
70
+ "type": "checkbox",
71
+ "id": "full",
72
+ "label": "Show Full width"
73
+ },
74
+ {
75
+ "type": "text",
76
+ "id": "margin",
77
+ "label": "Style value (Margin)",
78
+ "default":"0,0",
79
+ "info":"Top(px),Bottom(px)"
80
+ },
81
+ {
82
+ "type": "text",
83
+ "id": "title",
84
+ "label": "Heading"
85
+ },
86
+ {
87
+ "type": "color",
88
+ "id": "title_clr",
89
+ "label": "Title Color",
90
+ "default":"#000"
91
+ },
92
+ {
93
+ "type": "text",
94
+ "id": "text",
95
+ "label": "Sub Heading",
96
+ "default": "Sub Heading"
97
+ },
98
+ {
99
+ "type": "color",
100
+ "id": "text_clr",
101
+ "label": "Text color",
102
+ "default":"#000"
103
+ },
104
+ {
105
+ "type": "select",
106
+ "id": "heading_position",
107
+ "label": "Heading Position",
108
+ "options": [
109
+ {
110
+ "value": "default",
111
+ "label": "Full center"
112
+ },
113
+ {
114
+ "value": "full-left",
115
+ "label": "Full left"
116
+ },
117
+ {
118
+ "value": "full-right",
119
+ "label": "Full right"
120
+ }
121
+ ]
122
+ },
123
+ {
124
+ "type": "select",
125
+ "id": "brand_style",
126
+ "label": "Style",
127
+ "options": [
128
+ {
129
+ "value": "style1",
130
+ "label": "Style 1"
131
+ },
132
+ {
133
+ "value": "style2",
134
+ "label": "Style 2"
135
+ }
136
+ ],
137
+ "default": "style1"
138
+ },
139
+ {
140
+ "type": "select",
141
+ "id": "brand_rows",
142
+ "label": "Brand per row",
143
+ "options": [
144
+ {
145
+ "value": "3",
146
+ "label": "3"
147
+ },
148
+ {
149
+ "value": "4",
150
+ "label": "4"
151
+ },
152
+ {
153
+ "value": "5",
154
+ "label": "5"
155
+ },
156
+ {
157
+ "value": "6",
158
+ "label": "6"
159
+ }
160
+ ],
161
+ "default": "5"
162
+ },
163
+ {
164
+ "type": "checkbox",
165
+ "id": "brand_pagination",
166
+ "label": "Enable Pagination",
167
+ "default": true
168
+ },
169
+ {
170
+ "type": "checkbox",
171
+ "id": "brand_navigation",
172
+ "label": "Enable Navigaiton",
173
+ "default": true
174
+ },
175
+ {
176
+ "type": "select",
177
+ "id": "navigation_position",
178
+ "label": "Navigation position",
179
+ "options": [
180
+ {
181
+ "value": "nav-middle",
182
+ "label": "Middle"
183
+ },
184
+ {
185
+ "value": "nav-bottom",
186
+ "label": "Bottom"
187
+ }
188
+ ],
189
+ "default": "nav-middle"
190
+ }
191
+ ],
192
+ "blocks": [
193
+ {
194
+ "type": "Image",
195
+ "name":"Image",
196
+ "settings": [
197
+ {
198
+ "type": "image_picker",
199
+ "id": "client_img",
200
+ "label": "Image",
201
+ "info": "Size: 200x150"
202
+ },
203
+ {
204
+ "type": "text",
205
+ "id": "client_heading",
206
+ "label": "text"
207
+ },
208
+ {
209
+ "type": "url",
210
+ "id": "client_link",
211
+ "label": "Link URL"
212
+ }
213
+ ]
214
+ }
215
+ ],
216
+
217
+ "presets": [
218
+ {
219
+ "name": "Brand Logos",
220
+ "category": "Image"
221
+ }
222
+ ]
223
+ }
224
+ {% endschema %}
@@ -0,0 +1,332 @@
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="circled-block-inner" style="float:left;width:100%;{% if section.settings.image_bg != blank %} background-image:url('{{ section.settings.image_bg | img_url: 'master' }}');background-repeat:no-repeat;background-position:left top; {% endif %} background-color:{{ section.settings.bg_color }};">
7
+ <div class="{% if section.settings.full %}container-bg{% else %}container{% endif %}" style="margin-top:{{top}}px; margin-bottom:{{bottom}}px;">
8
+
9
+ <div class="container">
10
+ {% if section.settings.heading != blank or section.settings.desc %}
11
+ <div class="section-header section-header--small full-position-{{section.settings.heading_position}}">
12
+ <div class="border-title">
13
+ {% if section.settings.heading != blank %} <h2 style="color:{{ section.settings.heading_clr }}">{{ section.settings.heading }}</h2> {% endif %}
14
+ {% if section.settings.desc != blank %} <p style="color:{{ section.settings.desc_color }}">{{ section.settings.desc }}</p> {% endif %}
15
+ </div>
16
+ </div>
17
+ {% endif %}
18
+ </div>
19
+ <div class="dt-sc-hr-invisible-small"></div>
20
+
21
+ <div class="grid-uniform">
22
+ {% if section.blocks.size > 0 %}
23
+ {% for block in section.blocks %}
24
+ {% case section.blocks.size %}
25
+ {% when 1 %}
26
+ {%- assign column = 'grid__item one-block' -%}
27
+ {% when 2 %}
28
+ {%- assign column = 'grid__item wide--one-half post-large--one-half large--one-half two-blocks' -%}
29
+ {% when 3 %}
30
+ {%- assign column = 'grid__item wide--one-third post-large--one-third large--one-half three-blocks' -%}
31
+ {% when 4 %}
32
+ {%- assign column = 'grid__item wide--one-quarter post-large--one-quarter large--one-half four-blocks' -%}
33
+ {% endcase %}
34
+
35
+ <div class="{{column}} animated wow animated fadeInUp animated">
36
+ {% if block.settings.link_1 != blank %} <a href="{{ block.settings.link_1 }}"> {% endif %}
37
+ <div class="ovrly31 overlay_1">
38
+ {% if block.settings.image_1 != blank %}
39
+
40
+ <img class="banner_half_img" style="border:10px solid {{ block.settings.border_clr }};" src="{{ block.settings.image_1 | img_url: 'master' }}" alt="{{ block.settings.title_1 }}" />
41
+
42
+ <div class="ovrly"></div>
43
+ {% else %}
44
+ <img src="//via.placeholder.com/600x600">
45
+ {% endif%}
46
+
47
+ <div class="ch-info" {% if block.settings.overlay1 %} style="background: {{ block.settings.overlay_1 | color_modify: 'alpha', 0.8 }};"{% endif %}>
48
+ {% if block.settings.icon_img_1 != blank %}
49
+ <img src="{{ block.settings.icon_img_1 | img_url: 'master' }}" alt="{{ block.settings.title_1 }}" />
50
+ {% endif %}
51
+
52
+ <div class="ch-info-content">
53
+ {% if block.settings.titleshadow_3 != blank %}
54
+ <h6 style="text-transform:uppercase;color:{{ block.settings.shadowtext_color_3 }}">{{ block.settings.titleshadow_3 }}</h6>
55
+ {% endif %}
56
+
57
+ {% if block.settings.title_3_overlay != blank %}
58
+ <h3 style="color:{{ block.settings.title_color_3 }}">{{ block.settings.title_3_overlay }}</h3>
59
+ {% endif %}
60
+ {% if block.settings.text_3_desc != blank %}
61
+ <h4 style="color:{{ block.settings.text_color_3 }}">{{ block.settings.text_3_desc }}</h4>
62
+ {% endif %}
63
+ </div>
64
+ </div>
65
+ </div>
66
+ {% if block.settings.link_1 != blank %} </a> {% endif %}
67
+ <div class="featured-content featured-content--{{ block.id }}">
68
+ {% if block.settings.title_top_1 != blank %}
69
+ <h6 style="color:{{ block.settings.title_top_1_clr }};">{{ block.settings.title_top_1 }}</h6>
70
+ {% endif %}
71
+ {% if block.settings.title_1 != blank %}
72
+ <h4><a href="{{ block.settings.link_1 }}" style="color:{{ block.settings.title_1_clr }};">{{ block.settings.title_1 }}</a></h4>
73
+ {% endif %}
74
+ {% if block.settings.text_1 != blank %}
75
+ <p style="color:{{ block.settings.text_1_clr }};">{{ block.settings.text_1}}</p>
76
+ {% endif %}
77
+ </div>
78
+ </div>
79
+ {% endfor %}
80
+ {% endif %}
81
+ <div class="view_more">
82
+ {% if section.settings.button_2 != blank %}
83
+ <a class="btn two" href="{{ section.settings.link_button }}">{{ section.settings.button_2}}</a>
84
+ {% endif %}
85
+ </div>
86
+ </div>
87
+ </div>
88
+ </div>
89
+
90
+ <style>
91
+
92
+ {% if section.settings.heading_image_need %} .home-circled-blocks .border-title h2:after { background-image:url({{ section.settings.heading_image | img_url: 'master' }}); } {% endif %}
93
+
94
+ {% for block in section.blocks %}
95
+
96
+ .home-circled-blocks .grid__item:hover .featured-content--{{ block.id }} h4 a { color:{{ block.settings.title_1_hover_clr }} !important; }
97
+
98
+ {% endfor %}
99
+
100
+ </style>
101
+
102
+ {% schema %}
103
+ {
104
+ "name": "Rounded Text Columns",
105
+ "class": "index-section home-circled-blocks",
106
+ "settings": [
107
+ {
108
+ "type": "checkbox",
109
+ "id": "full",
110
+ "label": "Show Full width"
111
+ },
112
+ {
113
+ "type": "text",
114
+ "id": "margin",
115
+ "label": "Style value (Margin)",
116
+ "default":"0,0",
117
+ "info":"Top(px),Bottom(px)"
118
+ },
119
+ {
120
+ "type": "color",
121
+ "id": "bg_color",
122
+ "label": "Bg color",
123
+ "default": "#f5f5f5"
124
+ },
125
+ {
126
+ "type": "image_picker",
127
+ "id": "image_bg",
128
+ "label": "Image",
129
+ "info": "Size: 1920x1770"
130
+ },
131
+ {
132
+ "type": "checkbox",
133
+ "id": "heading_image_need",
134
+ "label": "Show Heading Image ?"
135
+
136
+ },
137
+ {
138
+ "type": "image_picker",
139
+ "id": "heading_image",
140
+ "label": "Image",
141
+ "info": "Size: 105x17"
142
+ },
143
+ {
144
+ "type": "text",
145
+ "id": "heading",
146
+ "label": "Heading",
147
+ "default": "Rounded Text Columns"
148
+ },
149
+ {
150
+ "type": "color",
151
+ "id": "heading_clr",
152
+ "label": "Heading color",
153
+ "default": "#000"
154
+ },
155
+ {
156
+ "type": "textarea",
157
+ "id": "desc",
158
+ "label": "Description",
159
+ "default": "Short Description"
160
+ },
161
+ {
162
+ "type": "color",
163
+ "id": "desc_color",
164
+ "label": "Description Color",
165
+ "default":"#000"
166
+ },
167
+ {
168
+ "type": "select",
169
+ "id": "heading_position",
170
+ "label": "Heading Position",
171
+ "options": [
172
+ {
173
+ "value": "default",
174
+ "label": "Full center"
175
+ },
176
+ {
177
+ "value": "full-left",
178
+ "label": "Full left"
179
+ },
180
+ {
181
+ "value": "full-right",
182
+ "label": "Full right"
183
+ }
184
+ ]
185
+ },
186
+ {
187
+ "type": "text",
188
+ "id": "button_2",
189
+ "label": "Button text",
190
+ "default": "View all"
191
+ },
192
+ {
193
+ "type": "url",
194
+ "id": "link_button",
195
+ "label": "Link URL"
196
+ }
197
+ ],
198
+ "blocks": [
199
+ {
200
+ "type": "image",
201
+ "name": "Block",
202
+ "settings": [
203
+ {
204
+ "type": "image_picker",
205
+ "id": "image_1",
206
+ "label": "Image",
207
+ "info": "Size: 600x600"
208
+ },
209
+ {
210
+ "type": "text",
211
+ "id": "title_top_1",
212
+ "label": "Small text",
213
+ "default": "Small text"
214
+ },
215
+ {
216
+ "type": "color",
217
+ "id": "title_top_1_clr",
218
+ "label": "Small text color",
219
+ "default": "#000"
220
+ },
221
+ {
222
+ "type": "text",
223
+ "id": "title_1",
224
+ "label": "Heading",
225
+ "default": "Heading"
226
+ },
227
+ {
228
+ "type": "color",
229
+ "id": "title_1_clr",
230
+ "label": "Heading color",
231
+ "default": "#000"
232
+ },
233
+ {
234
+ "type": "color",
235
+ "id": "title_1_hover_clr",
236
+ "label": "Heading hover color",
237
+ "default": "#000"
238
+ },
239
+ {
240
+ "type": "textarea",
241
+ "id": "text_1",
242
+ "label": "Description",
243
+ "default": "Few Lines of Short Description"
244
+ },
245
+ {
246
+ "type": "color",
247
+ "id": "text_1_clr",
248
+ "label": "Description color",
249
+ "default": "#000"
250
+ },
251
+
252
+ {
253
+ "type": "checkbox",
254
+ "id": "overlay1",
255
+ "label": "Overlay"
256
+ },
257
+ {
258
+ "type": "color",
259
+ "id": "overlay_1",
260
+ "label": "Overlay",
261
+ "default": "#fff"
262
+ },
263
+ {
264
+ "type": "color",
265
+ "id": "border_clr",
266
+ "label": "Border Color",
267
+ "default": "#000"
268
+ },
269
+ {
270
+ "type": "text",
271
+ "id": "titleshadow_3",
272
+ "label": "Sub Heading",
273
+ "default": "Sub Heading"
274
+ },
275
+ {
276
+ "type": "color",
277
+ "id": "shadowtext_color_3",
278
+ "label":"Text color",
279
+ "default": "#000"
280
+ },
281
+ {
282
+ "type": "text",
283
+ "id": "title_3_overlay",
284
+ "label": "Heading",
285
+ "default": "50% Offer"
286
+ },
287
+ {
288
+ "type": "color",
289
+ "id": "title_color_3",
290
+ "label":"Title color",
291
+ "default": "#000"
292
+ },
293
+ {
294
+ "type": "textarea",
295
+ "id": "text_3_desc",
296
+ "label": "Description",
297
+ "default": "Short Text"
298
+ },
299
+ {
300
+ "type": "color",
301
+ "id": "text_color_3",
302
+ "label":"Text color",
303
+ "default": "#000"
304
+ },
305
+
306
+ {
307
+ "type": "url",
308
+ "id": "link_1",
309
+ "label": "Link URL"
310
+ }
311
+ ]
312
+ }
313
+ ],
314
+ "presets": [
315
+ {
316
+ "name": "Rounded Text Columns",
317
+ "category": "Image",
318
+ "blocks": [
319
+ {
320
+ "type": "image"
321
+ },
322
+ {
323
+ "type": "image"
324
+ },
325
+ {
326
+ "type": "image"
327
+ }
328
+ ]
329
+ }
330
+ ]
331
+ }
332
+ {% endschema %}