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,478 @@
1
+ {% assign margin = section.settings.margin | split: ',' %}
2
+ {% assign margin_top = margin[0] %}
3
+ {% assign margin_bottom = margin[1] %}
4
+ {% assign padding = section.settings.padding | split: ',' %}
5
+ {% assign padding_top = padding[0] %}
6
+ {% assign padding_bottom = padding[1] %}
7
+
8
+ {% if section.blocks.size > 0 %}
9
+ {% case section.settings.grid %}
10
+ {% when '1' %}
11
+ {% when '2' %}
12
+ {%- assign column = 'two-column' -%}
13
+ {% when '3' %}
14
+ {%- assign column = 'three-column' -%}
15
+ {% when '4' %}
16
+ {%- assign column = 'four-column' -%}
17
+ {% else %}
18
+ {%- assign column = 'three-column' -%}
19
+ {% endcase %}
20
+ {% endif %}
21
+
22
+ {% if section.settings.enable_overlay %}
23
+ {% assign section_overlay = 'dt-sc-overlay' %}
24
+ {% endif %}
25
+
26
+ {% if section.settings.show_background_image %}
27
+ {% assign lazyScript = "lazyload" %}
28
+ {% endif %}
29
+ <div class="dt-sc-section-wrapper {{lazyScript}} {{ section_overlay }} {% if section.settings.background_style == 'parallax' %} parallax-initiated{% endif %}" {% if section.settings.background_style == 'parallax' %} data-speed="2" data-style="parallax"{% endif %} style="{% render 'bg-color-image-padding' %} background-size: {{- section.settings.background_size -}}; {% if section.settings.background_style == 'fixed' %}background-attachment: fixed;{% endif %} background-repeat:{% if section.settings.background_size == 'repeat' %}repeat{% else %}no-repeat;{% endif %}" {% include 'bg_image' %}>
30
+ <div class="{% render 'container-settings' %}">
31
+ <div class="row {{ section.settings.custom_class_name }}">
32
+ {% render 'section-heading', class: section.id %}
33
+ {% if section.settings.html != blank %}
34
+ <div class="dt-sc-divider">
35
+ <div class="icon-with-contents-section dt-sc-column {{column}} {{section.settings.block_style}}">
36
+ {% for block in section.blocks %}
37
+ <div class="icon-with-content-block {{block.type}}-{{block.id}}">
38
+ <div class="dt-sc-icon-content">
39
+ {% if block.settings.title != blank %}
40
+ <h5 class="dt-sc-icon-heading marker">{{ block.settings.title }}
41
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 71 23" style="enable-background:new 0 0 71 23;" xml:space="preserve">
42
+ <path class="st0" d="M57.4,4.2C52.9,1.3,43.5,0.8,38.8,1c-9.3,0.6-33,2.7-35.4,12c0,0-1.1,9.2,31.7,8.9c0,0,31.1,1.4,32.3-8.1 c0,0-2-10.7-28.2-10.1"/>
43
+ </svg>
44
+ </h5>
45
+ {% endif %}
46
+ {% if block.settings.desc_1 != blank %}
47
+ <p class="dt-sc-icon-description"> {{ block.settings.desc_1}}</p>
48
+ {% endif %}
49
+ {% if block.settings.desc_2 != blank %}
50
+ <p class="dt-sc-icon-description"> {{ block.settings.desc_2}}</p>
51
+ {% endif %}
52
+ {% if block.settings.desc_3 != blank %}
53
+ <p class="dt-sc-icon-description"> {{ block.settings.desc_3}}</p>
54
+ {% endif %}
55
+ </div>
56
+ {% if block.settings.icon != blank %}
57
+ <div class="dt-sc-icon-image">
58
+ <img src="{{ block.settings.icon | img_url: '300x300' }}" alt="{{block.settings.icon.alt}}" />
59
+ </div>
60
+ {% endif%}
61
+ </div>
62
+ {% endfor %}
63
+ </div>
64
+ </div>
65
+ {% endif %}
66
+ </div>
67
+ </div>
68
+ </div>
69
+ <style type="text/css">
70
+
71
+ #shopify-section-{{section.id}}.icon-with-content .dt-sc-heading .dt-sc-main-heading { color: var(--DTColor_Heading); color:{{ section.settings.section_heading_color }}; }
72
+ #shopify-section-{{section.id}}.icon-with-content .dt-sc-heading .dt-sc-sub-heading { color: var(--DTColor_Heading); color:{{ section.settings.section_sub_heading_color }}; }
73
+ #shopify-section-{{section.id}}.icon-with-content .dt-sc-heading .dt-sc-heading-description { color: var(--DTColor_Body); color:{{ section.settings.section_description_color }}; }
74
+ #shopify-section-{{section.id}}.icon-with-content .dt-sc-heading .dt-sc-btn {
75
+ background: var(--DT_Button_BG_Color); background:{{ section.settings.section_button_bg_color }};
76
+ color: var(--DT_Button_Text_Color); color:{{ section.settings.section_button_text_color }}; }
77
+ #shopify-section-{{section.id}}.icon-with-content .dt-sc-heading .dt-sc-btn:hover {
78
+ background: var(--DT_Button_BG_Hover_Color); background:{{ section.settings.section_button_hover_bg_color }};
79
+ color: var(--DT_Button_Text_Hover_Color); color:{{ section.settings.section_button_hover_text_color }}; }
80
+ #shopify-section-{{section.id}}.icon-with-content .dt-sc-overlay:before {
81
+ color: var(--DTTertiaryColor);
82
+ color: {{ section.settings.background_color }};
83
+ background: currentcolor;
84
+ opacity: {{ section.settings.overlay_transparency }}; }
85
+
86
+
87
+ #shopify-section-{{section.id}}.icon-with-content .icon-with-contents-section .icon-with-content-block .dt-sc-icon-content .dt-sc-icon-heading {
88
+ color: var(--DTColor_Heading); color:{{ section.settings.block_heading_color }}; margin-bottom: 35px; position: relative; display: inline-block; }
89
+ #shopify-section-{{section.id}}.icon-with-content .icon-with-contents-section .icon-with-content-block .dt-sc-icon-content .dt-sc-icon-description {
90
+ color: var(--DTColor_Body); color:{{ section.settings.block_description_color }}; }
91
+
92
+ .icon-with-contents-section .icon-with-content-block { display: flex; flex-wrap: wrap; height: 100%; }
93
+
94
+ .icon-with-contents-section .icon-with-content-block .dt-sc-icon-content { padding: 0 20px; }
95
+
96
+ .icon-with-contents-section .icon-with-content-block .dt-sc-icon-content { padding-left: 0px; padding-right: 15px; }
97
+ .icon-with-contents-section .icon-with-content-block .dt-sc-icon-content *,
98
+ .icon-with-contents-section .icon-with-content-block .dt-sc-icon-content *:not(:only-child) { margin: 0; }
99
+ .icon-with-contents-section .icon-with-content-block .dt-sc-icon-content *:not(:last-child) { margin: 0 0 10px 0; }
100
+
101
+ .icon-with-contents-section .icon-with-content-block .dt-sc-icon-image { display: flex; justify-content: center; align-items: flex-start; }
102
+ .icon-with-contents-section .icon-with-content-block .dt-sc-icon-image img { width: 100%; }
103
+
104
+ .icon-with-contents-section .icon-with-content-block .dt-sc-icon-content .dt-sc-icon-description:before { content: "\f00c"; font-family: 'FontAwesome'; padding-right: 15px; }
105
+
106
+
107
+ /* Marker styling */
108
+
109
+ /* #shopify-section-{{section.id}}.icon-with-content .icon-with-contents-section .icon-with-content-block.{{block.type}}-{{block.id}} .marker {
110
+ position: relative;
111
+ margin: 0 40px;
112
+ color: #333;
113
+ text-decoration: none;
114
+ }
115
+ #shopify-section-{{section.id}}.icon-with-content .icon-with-contents-section .icon-with-content-block.{{block.type}}-{{block.id}} .marker svg {
116
+ position: absolute;
117
+ left: 0;
118
+ top: -50%;
119
+ right: 0;
120
+ margin-left: auto;
121
+ margin-right: auto;
122
+ pointer-events: none;
123
+ }
124
+ #shopify-section-{{section.id}}.icon-with-content .icon-with-contents-section .icon-with-content-block.{{block.type}}-{{block.id}} .marker path {
125
+ transition: stroke-dashoffset 300ms linear;
126
+ stroke-width: 1;
127
+ stroke: darkgreen;
128
+ fill: none;
129
+ stroke-linecap: round;
130
+ }
131
+ #shopify-section-{{section.id}}.icon-with-content .icon-with-contents-section .icon-with-content-block.{{block.type}}-{{block.id}} .marker:hover path {
132
+ stroke-dashoffset: 0;
133
+ } */
134
+
135
+
136
+ {% for block in section.blocks %}
137
+ #shopify-section-{{section.id}}.icon-with-content .icon-with-contents-section .icon-with-content-block.{{block.type}}-{{block.id}} .marker svg {
138
+ fill: none;
139
+ stroke: currentColor;
140
+ stroke-width: 2;
141
+ stroke-miterlimit: 10;
142
+ stroke-dasharray: 338;
143
+ stroke-dashoffset: 338;
144
+ stroke-linecap: round;
145
+ position: absolute;
146
+ top: 50%;
147
+ left: 50%;
148
+ width: calc(100% + 60px);
149
+ opacity: 0;
150
+ transform: translate(-50%, -50%);
151
+ transition: stroke-dashoffset 0s 0.2s, opacity 0.2s;
152
+ z-index: -1;
153
+ height: 100%;
154
+ }
155
+ #shopify-section-{{section.id}}.icon-with-content .icon-with-contents-section .icon-with-content-block.{{block.type}}-{{block.id}}:hover .marker svg {
156
+ stroke-dashoffset: 0;
157
+ opacity: 1;
158
+ transition: opacity 0s, stroke-dashoffset 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
159
+ }
160
+ {% endfor %}
161
+
162
+
163
+
164
+
165
+ @media only screen and (min-width: 1200px) {
166
+ #shopify-section-{{section.id}}.icon-with-content .dt-sc-section-wrapper { margin-top:{{margin_top}}px; margin-bottom:{{margin_bottom}}px;padding-top:{{padding_top}}px; padding-bottom:{{padding_bottom}}px; }
167
+ }
168
+
169
+ @media only screen and (max-width: 1199px) {
170
+ #shopify-section-{{section.id}}.icon-with-content .dt-sc-section-wrapper { margin-top:{{margin_top | divided_by: 2 }}px; margin-bottom:{{margin_bottom | divided_by: 2}}px;padding-top:{{padding_top | divided_by: 2}}px; padding-bottom:{{padding_bottom | divided_by: 2}}px;}
171
+ }
172
+
173
+ </style>
174
+
175
+
176
+
177
+ {% schema %}
178
+ {
179
+ "name": "Icon with content",
180
+ "class": "index-section icon-with-content",
181
+ "settings": [
182
+ {
183
+ "type": "checkbox",
184
+ "id": "full",
185
+ "label": "Show Full width"
186
+ },
187
+ {
188
+ "type": "checkbox",
189
+ "id": "spacing_both_ends",
190
+ "label": "Enable Right & Left Spacing (Works only on Fullwidth)",
191
+ "default": false
192
+ },
193
+ {
194
+ "type": "text",
195
+ "id": "padding",
196
+ "label": "Style value (Padding)",
197
+ "default":"0,0",
198
+ "info":"Top(px),Bottom(px)"
199
+ },
200
+ {
201
+ "type": "text",
202
+ "id": "margin",
203
+ "label": "Style value (Margin)",
204
+ "default":"0,0",
205
+ "info":"Top(px),Bottom(px)"
206
+ },
207
+ {
208
+ "type": "checkbox",
209
+ "id": "show_background_image",
210
+ "label": "Enable Background image"
211
+ },
212
+ {
213
+ "type": "image_picker",
214
+ "id": "background_image",
215
+ "label": "Background image",
216
+ "info": "Size: 1920x1280"
217
+ },
218
+ {
219
+ "type": "select",
220
+ "id": "background_style",
221
+ "label": "Background Style",
222
+ "default": "none",
223
+ "options": [
224
+ {
225
+ "value": "fixed",
226
+ "label": "Fixed"
227
+ },
228
+ {
229
+ "value": "parallax",
230
+ "label": "Parallax"
231
+ },
232
+ {
233
+ "value": "none",
234
+ "label": "None"
235
+ }
236
+ ]
237
+ },
238
+ {
239
+ "type": "select",
240
+ "id": "background_size",
241
+ "label": "Background Size",
242
+ "info": "This will not apply for parallax",
243
+ "default": "auto",
244
+ "options": [
245
+ {
246
+ "value": "auto",
247
+ "label": "Auto"
248
+ },
249
+ {
250
+ "value": "cover",
251
+ "label": "Cover"
252
+ },
253
+ {
254
+ "value": "contain",
255
+ "label": "Contain"
256
+ },
257
+ {
258
+ "value": "repeat",
259
+ "label": "Repeat"
260
+ }
261
+ ]
262
+ },
263
+ {
264
+ "type": "checkbox",
265
+ "id": "enable_overlay",
266
+ "label": "Enable Background Color (Used as Background Image Overlay Color too)"
267
+ },
268
+ {
269
+ "type": "color",
270
+ "id": "background_color",
271
+ "label":"Background color"
272
+ },
273
+ {
274
+ "type": "text",
275
+ "id": "overlay_transparency",
276
+ "label": "Overlay Transparency (0.01 to 1)",
277
+ "default": "0.5"
278
+ },
279
+ {
280
+ "type": "text",
281
+ "id": "section_heading",
282
+ "label": "Main Heading",
283
+ "default": "Html Text"
284
+ },
285
+ {
286
+ "type": "text",
287
+ "id": "section_sub_heading",
288
+ "label": "Sub Heading",
289
+ "default": "Sub Heading"
290
+ },
291
+ {
292
+ "type": "text",
293
+ "id": "section_description",
294
+ "label": "Description",
295
+ "default": "Use this text to share the information which you like!."
296
+ },
297
+ {
298
+ "type": "text",
299
+ "id": "section_button_text",
300
+ "label": "Link text"
301
+ },
302
+ {
303
+ "type": "url",
304
+ "id": "section_button_link",
305
+ "label": "Link URL"
306
+ },
307
+ {
308
+ "type": "header",
309
+ "content": "Section Color settings"
310
+ },
311
+ {
312
+ "type": "color",
313
+ "id": "section_heading_color",
314
+ "label": "Heading color"
315
+ },
316
+ {
317
+ "type": "color",
318
+ "id": "section_sub_heading_color",
319
+ "label": "Sub heading color"
320
+ },
321
+ {
322
+ "type": "color",
323
+ "id": "section_description_color",
324
+ "label": "Description color"
325
+ },
326
+ {
327
+ "type": "color",
328
+ "id": "section_button_bg_color",
329
+ "label": "Button bg color"
330
+ },
331
+ {
332
+ "type": "color",
333
+ "id": "section_button_text_color",
334
+ "label": "Button text color"
335
+ },
336
+ {
337
+ "type": "color",
338
+ "id": "section_button_hover_bg_color",
339
+ "label": "Button hover bg color"
340
+ },
341
+ {
342
+ "type": "color",
343
+ "id": "section_button_hover_text_color",
344
+ "label": "Button hover text color"
345
+ },
346
+ {
347
+ "type": "select",
348
+ "id": "heading_position",
349
+ "label": "Heading Position",
350
+ "options": [
351
+ {
352
+ "value": "text-center",
353
+ "label": "Center"
354
+ },
355
+ {
356
+ "value": "text-start",
357
+ "label": "Left"
358
+ },
359
+ {
360
+ "value": "text-end",
361
+ "label": "Right"
362
+ }
363
+ ]
364
+ },
365
+ {
366
+ "type": "html",
367
+ "id": "html",
368
+ "label": "Add your HTML text here",
369
+ "default": "<!--<div id='insta-feed'></div>-->"
370
+ },
371
+ {
372
+ "type": "header",
373
+ "content": "Block Settings"
374
+ },
375
+ {
376
+ "type": "select",
377
+ "id": "grid",
378
+ "label": "Item per row",
379
+ "default": "3",
380
+ "options": [
381
+ {
382
+ "value": "1",
383
+ "label": "1"
384
+ },
385
+ {
386
+ "value": "2",
387
+ "label": "2"
388
+ },
389
+ {
390
+ "value": "3",
391
+ "label": "3"
392
+ },
393
+ {
394
+ "value": "4",
395
+ "label": "4"
396
+ }
397
+ ]
398
+ },
399
+ {
400
+ "type": "header",
401
+ "content": "Block Color settings"
402
+ },
403
+ {
404
+ "type": "color",
405
+ "id": "block_heading_color",
406
+ "label": "Heading Color"
407
+ },
408
+ {
409
+ "type": "color",
410
+ "id": "block_description_color",
411
+ "label": "Description Color"
412
+ },
413
+ {
414
+ "type": "header",
415
+ "content": "Custom class"
416
+ },
417
+ {
418
+ "type": "text",
419
+ "id": "custom_class_name",
420
+ "label": "Add your custom class name here"
421
+ }
422
+ ],
423
+ "blocks": [
424
+ {
425
+ "type": "icon",
426
+ "name": "Icon",
427
+ "settings": [
428
+ {
429
+ "type": "image_picker",
430
+ "id": "icon",
431
+ "label": "Icon"
432
+ },
433
+ {
434
+ "type": "text",
435
+ "id": "title",
436
+ "label": "Heading",
437
+ "default": "Heading"
438
+ },
439
+ {
440
+ "type": "text",
441
+ "id": "desc_1",
442
+ "label": "Description 1",
443
+ "default": "Lorem ipsum dolor sit amet"
444
+ },
445
+ {
446
+ "type": "text",
447
+ "id": "desc_2",
448
+ "label": "Description 2",
449
+ "default": "Lorem ipsum dolor sit amet"
450
+ },
451
+ {
452
+ "type": "text",
453
+ "id": "desc_3",
454
+ "label": "Description 3",
455
+ "default": "Lorem ipsum dolor sit amet"
456
+ }
457
+ ]
458
+ }
459
+ ],
460
+ "presets": [
461
+ {
462
+ "name": "Icon with content",
463
+ "category": "Text",
464
+ "blocks": [
465
+ {
466
+ "type": "icon"
467
+ },
468
+ {
469
+ "type": "icon"
470
+ },
471
+ {
472
+ "type": "icon"
473
+ }
474
+ ]
475
+ }
476
+ ]
477
+ }
478
+ {% endschema %}
@@ -0,0 +1 @@
1
+ <style>#insta-feed{width:{{section.settings.feed_width}}%;}#insta-feed h2{font-size:{{section.settings.heading_size}}px;}</style>{{section.settings.html_area}}{% unless section.settings.html_area contains "feed-" %}<div id="insta-feed"></div>{% endunless %}{%schema%}{"name":"Instafeed App","settings":[{"type":"range","id":"heading_size","min":10,"max":30,"step":1,"unit":"px","label":"Title Size","default":20},{"type":"range","id":"feed_width","min":50,"max":100,"step":5,"unit":"%","label":"Feed Width","default":100},{"type":"html","id":"html_area","label":"Custom Code (optional)","default":"<!-- -->","info":"Save to see your changes"}],"presets":[{"name":"Instafeed App","category":"Instagram Feed"}]}{%endschema%}