@levo-so/blocks 0.1.58 → 0.1.60

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 (191) hide show
  1. package/package.json +16 -15
  2. package/src/blocks/about-us/about-us-1.schema.ts +75 -58
  3. package/src/blocks/about-us/about-us-2.schema.ts +186 -39
  4. package/src/blocks/blogs/blog-listing-1.tsx +17 -15
  5. package/src/blocks/blogs/blog-listing-2.tsx +17 -15
  6. package/src/blocks/blogs/blog-listing-3.tsx +17 -15
  7. package/src/blocks/calendar/calendar-1.schema.ts +263 -181
  8. package/src/blocks/calendar/calendar-1.tsx +42 -11
  9. package/src/blocks/cards/cards-10.schema.ts +322 -313
  10. package/src/blocks/cards/cards-10.tsx +9 -1
  11. package/src/blocks/cards/cards-11.schema.ts +139 -248
  12. package/src/blocks/cards/cards-12.schema.ts +117 -196
  13. package/src/blocks/cards/cards-13.schema.ts +107 -56
  14. package/src/blocks/cards/cards-14.schema.ts +58 -154
  15. package/src/blocks/cards/cards-15.schema.ts +54 -31
  16. package/src/blocks/cards/cards-15.tsx +13 -2
  17. package/src/blocks/cards/cards-2.schema.ts +83 -88
  18. package/src/blocks/cards/cards-2.tsx +10 -2
  19. package/src/blocks/cards/cards-3.schema.ts +75 -70
  20. package/src/blocks/cards/cards-4.schema.ts +149 -91
  21. package/src/blocks/cards/cards-4.tsx +13 -2
  22. package/src/blocks/cards/cards-5.schema.ts +91 -68
  23. package/src/blocks/cards/cards-5.tsx +9 -1
  24. package/src/blocks/cards/cards-6.schema.ts +794 -972
  25. package/src/blocks/cards/cards-6.tsx +18 -2
  26. package/src/blocks/cards/cards-7.schema.ts +802 -2250
  27. package/src/blocks/cards/cards-7.tsx +14 -1
  28. package/src/blocks/cards/cards-8.schema.ts +166 -347
  29. package/src/blocks/cards/cards-8.tsx +14 -1
  30. package/src/blocks/cards/cards-9.schema.ts +300 -305
  31. package/src/blocks/cards/cards-9.tsx +27 -3
  32. package/src/blocks/carousel/carousel-1.schema.ts +479 -46
  33. package/src/blocks/carousel/carousel-1.tsx +2 -0
  34. package/src/blocks/carousel/carousel-2.schema.ts +170 -118
  35. package/src/blocks/carousel/carousel-2.tsx +10 -2
  36. package/src/blocks/community/community-1.schema.ts +566 -0
  37. package/src/blocks/community/community-1.tsx +690 -0
  38. package/src/blocks/community/community-post-1.schema.ts +417 -0
  39. package/src/blocks/community/community-post-1.tsx +155 -0
  40. package/src/blocks/contact-us/contact-us-1.schema.ts +33 -43
  41. package/src/blocks/contact-us/contact-us-2.schema.ts +39 -17
  42. package/src/blocks/contact-us/contact-us-2.tsx +1 -1
  43. package/src/blocks/content/content-1.schema.ts +184 -234
  44. package/src/blocks/content/content-1.tsx +48 -38
  45. package/src/blocks/content/content-2.schema.ts +143 -32
  46. package/src/blocks/content/content-2.tsx +15 -3
  47. package/src/blocks/content/content-3.schema.ts +215 -205
  48. package/src/blocks/content/content-3.tsx +13 -1
  49. package/src/blocks/content/content-4.schema.ts +124 -85
  50. package/src/blocks/content/content-4.tsx +2 -1
  51. package/src/blocks/content/content-5.schema.ts +296 -278
  52. package/src/blocks/content/content-5.tsx +23 -2
  53. package/src/blocks/content/content-6.schema.ts +474 -244
  54. package/src/blocks/content/content-6.tsx +23 -1
  55. package/src/blocks/content/content-7.schema.ts +173 -133
  56. package/src/blocks/content/content-7.tsx +27 -3
  57. package/src/blocks/content/content-8.schema.ts +27 -17
  58. package/src/blocks/content/content-9.schema.ts +64 -2208
  59. package/src/blocks/content/content-9.tsx +6 -3
  60. package/src/blocks/cta/cta-1.schema.ts +13 -108
  61. package/src/blocks/cta/cta-2.schema.ts +60 -69
  62. package/src/blocks/cta/cta-3.schema.ts +97 -66
  63. package/src/blocks/embed/embed-1.schema.ts +30 -52
  64. package/src/blocks/event/event-details.schema.ts +7 -0
  65. package/src/blocks/event/event-details.tsx +1 -0
  66. package/src/blocks/event/event-listing-2.tsx +17 -15
  67. package/src/blocks/event/event-listing-3.tsx +17 -15
  68. package/src/blocks/event/event-listing-4.tsx +17 -15
  69. package/src/blocks/event/event-listing.tsx +17 -15
  70. package/src/blocks/faq/faq-1.schema.ts +158 -112
  71. package/src/blocks/faq/faq-1.tsx +12 -3
  72. package/src/blocks/faq/faq-2.schema.ts +137 -74
  73. package/src/blocks/faq/faq-2.tsx +10 -1
  74. package/src/blocks/faq/faq-3.schema.ts +185 -105
  75. package/src/blocks/faq/faq-3.tsx +19 -3
  76. package/src/blocks/features/features-1/features-1.schema.ts +11 -3
  77. package/src/blocks/features/features-1/features-1.tsx +10 -1
  78. package/src/blocks/features/features-1/variants/default.ts +172 -54
  79. package/src/blocks/features/features-1/variants/stylized-cards-v1.ts +392 -54
  80. package/src/blocks/features/features-1/variants/stylized-cards-v2.ts +119 -103
  81. package/src/blocks/features/features-1/variants/stylized-cards-v3.ts +16 -199
  82. package/src/blocks/features/features-2.schema.ts +178 -45
  83. package/src/blocks/features/features-2.tsx +10 -2
  84. package/src/blocks/features/features-3.schema.ts +284 -65
  85. package/src/blocks/features/features-3.tsx +22 -3
  86. package/src/blocks/features/features-4.schema.ts +380 -185
  87. package/src/blocks/features/features-4.tsx +9 -1
  88. package/src/blocks/features/features-5.schema.ts +194 -198
  89. package/src/blocks/features/features-5.tsx +12 -1
  90. package/src/blocks/features/features-6.schema.ts +240 -193
  91. package/src/blocks/features/features-6.tsx +16 -2
  92. package/src/blocks/floating-buttons/floating-button-1.schema.ts +105 -0
  93. package/src/blocks/floating-buttons/floating-button-1.tsx +20 -0
  94. package/src/blocks/footer/footer-1.schema.ts +118 -48
  95. package/src/blocks/footer/footer-1.tsx +2 -1
  96. package/src/blocks/footer/footer-2.schema.ts +235 -31
  97. package/src/blocks/footer/footer-2.tsx +2 -1
  98. package/src/blocks/footer/footer-3.schema.ts +334 -57
  99. package/src/blocks/footer/footer-3.tsx +2 -1
  100. package/src/blocks/footer/footer-4.schema.ts +147 -76
  101. package/src/blocks/footer/footer-4.tsx +2 -1
  102. package/src/blocks/footer/footer-5.schema.ts +144 -52
  103. package/src/blocks/footer/footer-5.tsx +2 -1
  104. package/src/blocks/footer/footer-6.schema.ts +68 -140
  105. package/src/blocks/footer/footer-6.tsx +2 -1
  106. package/src/blocks/hero/hero-1.schema.ts +184 -87
  107. package/src/blocks/hero/hero-10.schema.ts +8 -29
  108. package/src/blocks/hero/hero-11.schema.ts +192 -89
  109. package/src/blocks/hero/hero-11.tsx +1 -1
  110. package/src/blocks/hero/hero-12.schema.ts +107 -170
  111. package/src/blocks/hero/hero-12.tsx +1 -1
  112. package/src/blocks/hero/hero-13.schema.ts +42 -28
  113. package/src/blocks/hero/hero-2.schema.ts +33 -58
  114. package/src/blocks/hero/hero-3.schema.ts +42 -34
  115. package/src/blocks/hero/hero-4.schema.ts +265 -70
  116. package/src/blocks/hero/hero-4.tsx +19 -2
  117. package/src/blocks/hero/hero-5.schema.ts +122 -44
  118. package/src/blocks/hero/hero-5.tsx +14 -2
  119. package/src/blocks/hero/hero-6.schema.ts +159 -255
  120. package/src/blocks/hero/hero-7.schema.ts +105 -34
  121. package/src/blocks/hero/hero-7.tsx +4 -1
  122. package/src/blocks/hero/hero-8.schema.ts +363 -133
  123. package/src/blocks/hero/hero-8.tsx +27 -3
  124. package/src/blocks/hero/hero-9.schema.ts +116 -83
  125. package/src/blocks/hero/hero-9.tsx +9 -1
  126. package/src/blocks/index.ts +7 -0
  127. package/src/blocks/logos/logos-1.schema.ts +424 -30
  128. package/src/blocks/polling/polling-1.schema.ts +1 -19
  129. package/src/blocks/pricing/pricing-1.schema.ts +296 -266
  130. package/src/blocks/pricing/pricing-1.tsx +16 -2
  131. package/src/blocks/products/products-listing-1.schema.ts +144 -33
  132. package/src/blocks/products/products-listing-1.tsx +9 -1
  133. package/src/blocks/products/products-listing-2.schema.ts +199 -213
  134. package/src/blocks/products/products-listing-2.tsx +25 -3
  135. package/src/blocks/products/products-listing-3.schema.ts +439 -154
  136. package/src/blocks/products/products-listing-3.tsx +43 -8
  137. package/src/blocks/profile/profile-1.schema.ts +67 -49
  138. package/src/blocks/profile/profile-1.tsx +3 -2
  139. package/src/blocks/profile/profile-2.schema.ts +73 -85
  140. package/src/blocks/profile/profile-2.tsx +2 -1
  141. package/src/blocks/profile/profile-3.schema.ts +162 -529
  142. package/src/blocks/profile/profile-3.tsx +2 -2
  143. package/src/blocks/services/service-1.schema.ts +204 -804
  144. package/src/blocks/services/service-1.tsx +15 -2
  145. package/src/blocks/services/service-2.schema.ts +95 -75
  146. package/src/blocks/services/service-2.tsx +9 -1
  147. package/src/blocks/services/service-3.schema.ts +73 -73
  148. package/src/blocks/services/service-3.tsx +40 -39
  149. package/src/blocks/stats/stats-1.schema.ts +225 -21
  150. package/src/blocks/stats/stats-1.tsx +4 -0
  151. package/src/blocks/stats/stats-2.schema.ts +13 -5
  152. package/src/blocks/stats/stats-2.tsx +9 -1
  153. package/src/blocks/stats/variants/default.ts +59 -41
  154. package/src/blocks/stats/variants/hero.ts +64 -31
  155. package/src/blocks/tabs/tab-1.schema.ts +105 -407
  156. package/src/blocks/tabs/tab-1.tsx +15 -4
  157. package/src/blocks/tabs/tab-2.schema.ts +208 -278
  158. package/src/blocks/tabs/tab-2.tsx +14 -2
  159. package/src/blocks/team/team-1.schema.ts +621 -76
  160. package/src/blocks/team/team-1.tsx +9 -1
  161. package/src/blocks/team/team-2.schema.ts +693 -1421
  162. package/src/blocks/team/team-2.tsx +4 -1
  163. package/src/blocks/team/team-3.schema.ts +147 -74
  164. package/src/blocks/team/team-3.tsx +1 -0
  165. package/src/blocks/team/team-4.schema.ts +216 -57
  166. package/src/blocks/team/team-4.tsx +10 -2
  167. package/src/blocks/team/team-5.schema.ts +67 -42
  168. package/src/blocks/team/team-5.tsx +12 -3
  169. package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +9 -26
  170. package/src/blocks/termsAndPrivacy/terms-and-conditions-1.tsx +1 -1
  171. package/src/blocks/testimonial/testimonial-1.schema.ts +712 -63
  172. package/src/blocks/testimonial/testimonial-1.tsx +2 -4
  173. package/src/blocks/testimonial/testimonial-2.schema.ts +1332 -354
  174. package/src/blocks/testimonial/testimonial-2.tsx +4 -1
  175. package/src/blocks/testimonial/testimonial-3.schema.ts +215 -71
  176. package/src/blocks/testimonial/testimonial-3.tsx +5 -2
  177. package/src/blocks/testimonial/testimonial-4.schema.ts +331 -933
  178. package/src/blocks/testimonial/testimonial-4.tsx +4 -1
  179. package/src/blocks/testimonial/testimonial-5/variants/default.ts +179 -171
  180. package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +205 -501
  181. package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +190 -316
  182. package/src/blocks/testimonial/testimonial-6.schema.ts +204 -267
  183. package/src/blocks/testimonial/testimonial-7.schema.ts +74 -45
  184. package/src/blocks/testimonial/testimonial-7.tsx +2 -2
  185. package/src/blocks/timeline/timeline-1.schema.ts +196 -149
  186. package/src/blocks/timeline/timeline-1.tsx +4 -1
  187. package/src/blocks/users/edit-profile.schema.ts +56 -44
  188. package/src/blocks/users/edit-profile.tsx +13 -6
  189. package/src/constants/index.ts +19 -0
  190. package/src/schemas/blocks.ts +6 -0
  191. package/src/schemas/categories.ts +12 -0
@@ -1,28 +1,81 @@
1
1
  import type { IBlock } from "@levo-so/studio";
2
2
 
3
- const DEFAULT_IMAGE = {
4
- id: "k5KVTx5M8f9M",
5
- filename: "image.png",
3
+ const MEDIA_1 = {
4
+ id: "Imv2Br3xZnrf",
5
+ filename: "product-listing-2-1.jpg",
6
6
  kind: "image",
7
- location: "https://static.levostg.online/W6OEVMW8/image-8eR70ULi9jcm.png",
7
+ location:
8
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-1-w9frJuthKQ8f.jpg",
8
9
  srcset: {
9
10
  "1080w":
10
- "https://static.levostg.online/W6OEVMW8/image-8eR70ULi9jcm-1080w.webp",
11
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-1-w9frJuthKQ8f-1080w.webp",
11
12
  "1200w":
12
- "https://static.levostg.online/W6OEVMW8/image-8eR70ULi9jcm-1200w.webp",
13
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-1-w9frJuthKQ8f-1200w.webp",
13
14
  "1920w":
14
- "https://static.levostg.online/W6OEVMW8/image-8eR70ULi9jcm-1920w.webp",
15
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-1-w9frJuthKQ8f-1920w.webp",
15
16
  "320w":
16
- "https://static.levostg.online/W6OEVMW8/image-8eR70ULi9jcm-320w.webp",
17
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-1-w9frJuthKQ8f-320w.webp",
17
18
  "640w":
18
- "https://static.levostg.online/W6OEVMW8/image-8eR70ULi9jcm-640w.webp",
19
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-1-w9frJuthKQ8f-640w.webp",
19
20
  "750w":
20
- "https://static.levostg.online/W6OEVMW8/image-8eR70ULi9jcm-750w.webp",
21
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-1-w9frJuthKQ8f-750w.webp",
21
22
  "828w":
22
- "https://static.levostg.online/W6OEVMW8/image-8eR70ULi9jcm-828w.webp",
23
- path: "https://static.levostg.online/W6OEVMW8/image-8eR70ULi9jcm-1920w.webp 1920w, https://static.levostg.online/W6OEVMW8/image-8eR70ULi9jcm-320w.webp 320w, https://static.levostg.online/W6OEVMW8/image-8eR70ULi9jcm-828w.webp 828w, https://static.levostg.online/W6OEVMW8/image-8eR70ULi9jcm-750w.webp 750w, https://static.levostg.online/W6OEVMW8/image-8eR70ULi9jcm-640w.webp 640w, https://static.levostg.online/W6OEVMW8/image-8eR70ULi9jcm-1080w.webp 1080w, https://static.levostg.online/W6OEVMW8/image-8eR70ULi9jcm-1200w.webp 1200w",
23
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-1-w9frJuthKQ8f-828w.webp",
24
+ path: "https://static.levocdn.com/WLZ1TXTD/product-listing-2-1-w9frJuthKQ8f-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/product-listing-2-1-w9frJuthKQ8f-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/product-listing-2-1-w9frJuthKQ8f-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/product-listing-2-1-w9frJuthKQ8f-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/product-listing-2-1-w9frJuthKQ8f-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/product-listing-2-1-w9frJuthKQ8f-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/product-listing-2-1-w9frJuthKQ8f-1920w.webp 1920w",
24
25
  },
25
- mimetype: "image/png",
26
+ mimetype: "image/jpeg",
27
+ };
28
+
29
+ const MEDIA_2 = {
30
+ id: "pKknltJ2E9tp",
31
+ filename: "product-listing-2-3.jpg",
32
+ kind: "image",
33
+ location:
34
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-3-aytUN3yzqdh4.jpg",
35
+ srcset: {
36
+ "1080w":
37
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-3-aytUN3yzqdh4-1080w.webp",
38
+ "1200w":
39
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-3-aytUN3yzqdh4-1200w.webp",
40
+ "1920w":
41
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-3-aytUN3yzqdh4-1920w.webp",
42
+ "320w":
43
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-3-aytUN3yzqdh4-320w.webp",
44
+ "640w":
45
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-3-aytUN3yzqdh4-640w.webp",
46
+ "750w":
47
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-3-aytUN3yzqdh4-750w.webp",
48
+ "828w":
49
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-3-aytUN3yzqdh4-828w.webp",
50
+ path: "https://static.levocdn.com/WLZ1TXTD/product-listing-2-3-aytUN3yzqdh4-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/product-listing-2-3-aytUN3yzqdh4-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/product-listing-2-3-aytUN3yzqdh4-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/product-listing-2-3-aytUN3yzqdh4-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/product-listing-2-3-aytUN3yzqdh4-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/product-listing-2-3-aytUN3yzqdh4-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/product-listing-2-3-aytUN3yzqdh4-750w.webp 750w",
51
+ },
52
+ mimetype: "image/jpeg",
53
+ };
54
+
55
+ const MEDIA_3 = {
56
+ id: "jfwkpeTXrkef",
57
+ filename: "product-listing-2-2.jpg",
58
+ kind: "image",
59
+ location:
60
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-2-iPDjfZlgejpk.jpg",
61
+ srcset: {
62
+ "1080w":
63
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-2-iPDjfZlgejpk-1080w.webp",
64
+ "1200w":
65
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-2-iPDjfZlgejpk-1200w.webp",
66
+ "1920w":
67
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-2-iPDjfZlgejpk-1920w.webp",
68
+ "320w":
69
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-2-iPDjfZlgejpk-320w.webp",
70
+ "640w":
71
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-2-iPDjfZlgejpk-640w.webp",
72
+ "750w":
73
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-2-iPDjfZlgejpk-750w.webp",
74
+ "828w":
75
+ "https://static.levocdn.com/WLZ1TXTD/product-listing-2-2-iPDjfZlgejpk-828w.webp",
76
+ path: "https://static.levocdn.com/WLZ1TXTD/product-listing-2-2-iPDjfZlgejpk-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/product-listing-2-2-iPDjfZlgejpk-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/product-listing-2-2-iPDjfZlgejpk-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/product-listing-2-2-iPDjfZlgejpk-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/product-listing-2-2-iPDjfZlgejpk-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/product-listing-2-2-iPDjfZlgejpk-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/product-listing-2-2-iPDjfZlgejpk-1080w.webp 1080w",
77
+ },
78
+ mimetype: "image/jpeg",
26
79
  };
27
80
 
28
81
  const DEFAULT_CONTENT = {
@@ -30,12 +83,18 @@ const DEFAULT_CONTENT = {
30
83
  container: null,
31
84
  header_container: null,
32
85
  title: "Our Bestsellers",
33
- header_cta: "View All Bestsellers",
86
+ description:
87
+ "Our Bestsellers Our Bestsellers Our Bestsellers Our Bestsellers Our Bestsellers ",
88
+ header_ctas_levoGroup: null,
89
+ header_ctas: [
90
+ { header_cta: "View All Bestsellers" },
91
+ { header_cta: "Learn More" },
92
+ ],
34
93
  products_levoGroup: null,
35
94
  products: [
36
95
  {
37
96
  card: null,
38
- image: DEFAULT_IMAGE,
97
+ image: MEDIA_1,
39
98
  title_price_container: null,
40
99
  title: "Calm Daily CBD Oil",
41
100
  price: "$25",
@@ -43,7 +102,8 @@ const DEFAULT_CONTENT = {
43
102
  description: "25mg CBD per serving",
44
103
  rating_container: null,
45
104
  rating_text: "4.2",
46
- cta: "Add to Cart",
105
+ ctas_levoGroup: null,
106
+ ctas: [{ cta: "Add to Cart" }, { cta: "Learn More" }],
47
107
  rating_icon: {
48
108
  kind: "icon",
49
109
  data: {
@@ -57,7 +117,7 @@ const DEFAULT_CONTENT = {
57
117
  },
58
118
  {
59
119
  card: null,
60
- image: DEFAULT_IMAGE,
120
+ image: MEDIA_2,
61
121
  title_price_container: null,
62
122
  title: "Calm Daily CBD Oil",
63
123
  price: "$25",
@@ -65,7 +125,8 @@ const DEFAULT_CONTENT = {
65
125
  description: "25mg CBD per serving",
66
126
  rating_container: null,
67
127
  rating_text: "4.2",
68
- cta: "Add to Cart",
128
+ ctas_levoGroup: null,
129
+ ctas: [{ cta: "Add to Cart" }, { cta: "Learn More" }],
69
130
  rating_icon: {
70
131
  kind: "icon",
71
132
  data: {
@@ -79,7 +140,7 @@ const DEFAULT_CONTENT = {
79
140
  },
80
141
  {
81
142
  card: null,
82
- image: DEFAULT_IMAGE,
143
+ image: MEDIA_3,
83
144
  title_price_container: null,
84
145
  title: "Calm Daily CBD Oil",
85
146
  price: "$25",
@@ -87,7 +148,8 @@ const DEFAULT_CONTENT = {
87
148
  description: "25mg CBD per serving",
88
149
  rating_container: null,
89
150
  rating_text: "4.2",
90
- cta: "Add to Cart",
151
+ ctas_levoGroup: null,
152
+ ctas: [{ cta: "Add to Cart" }, { cta: "Learn More" }],
91
153
  rating_icon: {
92
154
  kind: "icon",
93
155
  data: {
@@ -127,15 +189,33 @@ export const ProductsListing2: IBlock = {
127
189
  label: "Header Container",
128
190
  field_interface: "BoxWidget",
129
191
  },
192
+ {
193
+ key: "header_content",
194
+ label: "Header Content",
195
+ field_interface: "BoxWidget",
196
+ },
130
197
  {
131
198
  key: "title",
132
199
  label: "Title",
133
200
  field_interface: "HeadingWidget",
134
201
  },
135
202
  {
136
- key: "header_cta",
137
- label: "Header CTA",
138
- field_interface: "ButtonWidget",
203
+ key: "description",
204
+ label: "Description",
205
+ field_interface: "TypographyWidget",
206
+ },
207
+ {
208
+ key: "header_ctas",
209
+ label: "Header CTAs",
210
+ field_interface: "BoxWidget",
211
+ kind: "group",
212
+ fields: [
213
+ {
214
+ key: "header_cta",
215
+ label: "Header CTA",
216
+ field_interface: "ButtonWidget",
217
+ },
218
+ ],
139
219
  },
140
220
  {
141
221
  key: "products",
@@ -194,9 +274,17 @@ export const ProductsListing2: IBlock = {
194
274
  field_interface: "TypographyWidget",
195
275
  },
196
276
  {
197
- key: "cta",
198
- label: "CTA Button",
199
- field_interface: "ButtonWidget",
277
+ key: "ctas",
278
+ label: "CTA Buttons",
279
+ kind: "group",
280
+ field_interface: "BoxWidget",
281
+ fields: [
282
+ {
283
+ key: "cta",
284
+ label: "CTA Button",
285
+ field_interface: "ButtonWidget",
286
+ },
287
+ ],
200
288
  },
201
289
  ],
202
290
  },
@@ -206,17 +294,8 @@ export const ProductsListing2: IBlock = {
206
294
  key: "default",
207
295
  title: "Default",
208
296
  styles: {
209
- layout: {
210
- "padding-top": "3xl",
211
- "padding-bottom": "3xl",
212
- },
213
- container: {
214
- "max-width": "1280px",
215
- "margin-left": "auto",
216
- "margin-right": "auto",
217
- "padding-left": "lg",
218
- "padding-right": "lg",
219
- },
297
+ layout: {},
298
+ container: {},
220
299
  header_container: {
221
300
  display: "flex",
222
301
  "justify-content": "space-between",
@@ -228,10 +307,14 @@ export const ProductsListing2: IBlock = {
228
307
  "row-gap": "lg",
229
308
  },
230
309
  },
231
- title: {
232
- color: "text-1",
310
+ title: {},
311
+ header_ctas_levoGroup: {
312
+ display: "flex",
313
+ "flex-direction": "row",
314
+ "align-items": "center",
315
+ gap: "sm",
233
316
  },
234
- header_cta: {},
317
+ header_ctas: Array(2).map(() => ({})),
235
318
  products_levoGroup: {
236
319
  display: "grid",
237
320
  "grid-template-columns": "repeat(3, minmax(0, 1fr))",
@@ -268,12 +351,8 @@ export const ProductsListing2: IBlock = {
268
351
  "padding-left": "none",
269
352
  "padding-right": "none",
270
353
  },
271
- title: {
272
- color: "text-1",
273
- },
274
- price: {
275
- color: "text-1",
276
- },
354
+ title: {},
355
+ price: {},
277
356
  description_container: {
278
357
  display: "flex",
279
358
  "justify-content": "space-between",
@@ -283,7 +362,6 @@ export const ProductsListing2: IBlock = {
283
362
  "padding-right": "none",
284
363
  },
285
364
  description: {
286
- color: "text-2",
287
365
  "margin-bottom": "sm",
288
366
  },
289
367
  rating_container: {
@@ -296,12 +374,16 @@ export const ProductsListing2: IBlock = {
296
374
  width: "16px",
297
375
  height: "16px",
298
376
  },
299
- rating_text: {
300
- color: "text-2",
301
- },
302
- cta: {
303
- width: "100%",
377
+ rating_text: {},
378
+ ctas_levoGroup: {
379
+ display: "flex",
380
+ "flex-direction": "column",
381
+ gap: "sm",
382
+ "margin-top": "md",
304
383
  },
384
+ ctas: Array(2)
385
+ .fill(0)
386
+ .map(() => ({ cta: {} })),
305
387
  },
306
388
  {
307
389
  card: {
@@ -326,12 +408,8 @@ export const ProductsListing2: IBlock = {
326
408
  "padding-left": "none",
327
409
  "padding-right": "none",
328
410
  },
329
- title: {
330
- color: "text-1",
331
- },
332
- price: {
333
- color: "text-1",
334
- },
411
+ title: {},
412
+ price: {},
335
413
  description_container: {
336
414
  display: "flex",
337
415
  "justify-content": "space-between",
@@ -341,7 +419,6 @@ export const ProductsListing2: IBlock = {
341
419
  "padding-right": "none",
342
420
  },
343
421
  description: {
344
- color: "text-2",
345
422
  "margin-bottom": "sm",
346
423
  },
347
424
  rating_container: {
@@ -354,12 +431,16 @@ export const ProductsListing2: IBlock = {
354
431
  width: "16px",
355
432
  height: "16px",
356
433
  },
357
- rating_text: {
358
- color: "text-2",
359
- },
360
- cta: {
361
- width: "100%",
434
+ rating_text: {},
435
+ ctas_levoGroup: {
436
+ display: "flex",
437
+ "flex-direction": "column",
438
+ gap: "sm",
439
+ "margin-top": "md",
362
440
  },
441
+ ctas: Array(2)
442
+ .fill(0)
443
+ .map(() => ({ cta: {} })),
363
444
  },
364
445
  {
365
446
  card: {
@@ -384,12 +465,8 @@ export const ProductsListing2: IBlock = {
384
465
  "padding-left": "none",
385
466
  "padding-right": "none",
386
467
  },
387
- title: {
388
- color: "text-1",
389
- },
390
- price: {
391
- color: "text-1",
392
- },
468
+ title: {},
469
+ price: {},
393
470
  description_container: {
394
471
  display: "flex",
395
472
  "justify-content": "space-between",
@@ -399,7 +476,6 @@ export const ProductsListing2: IBlock = {
399
476
  "padding-right": "none",
400
477
  },
401
478
  description: {
402
- color: "text-2",
403
479
  "margin-bottom": "sm",
404
480
  },
405
481
  rating_container: {
@@ -412,148 +488,16 @@ export const ProductsListing2: IBlock = {
412
488
  width: "16px",
413
489
  height: "16px",
414
490
  },
415
- rating_text: {
416
- color: "text-2",
417
- },
418
- cta: {
419
- width: "100%",
420
- },
421
- },
422
- {
423
- card: {
424
- "background-color": "background-1",
425
- "border-radius": "base",
426
- "box-shadow": "default",
427
- "padding-top": "none",
428
- "padding-bottom": "lg",
429
- "padding-left": "none",
430
- "padding-right": "none",
431
- "border-color": "border",
432
- "border-width": "1px",
433
- },
434
- image: {
435
- width: "100%",
436
- height: "280px",
437
- "border-radius": "base",
438
- "margin-bottom": "lg",
439
- "object-fit": "cover",
440
- },
441
- title_price_container: {
442
- display: "flex",
443
- "justify-content": "space-between",
444
- "align-items": "flex-start",
445
- "margin-bottom": "sm",
446
- "padding-left": "lg",
447
- "padding-right": "lg",
448
- },
449
- title: {
450
- color: "text-1",
451
- },
452
- price: {
453
- color: "text-1",
454
- },
455
- description_container: {
456
- "padding-left": "lg",
457
- "padding-right": "lg",
458
- "margin-bottom": "lg",
459
- },
460
- description: {
461
- color: "text-2",
462
- "margin-bottom": "sm",
463
- },
464
- rating_container: {
465
- display: "flex",
466
- "align-items": "center",
467
- "column-gap": "xs",
468
- },
469
- rating_icon: {
470
- color: "text-2",
471
- width: "16px",
472
- height: "16px",
473
- },
474
- rating_text: {
475
- color: "text-2",
476
- },
477
- cta: {
478
- width: "100%",
479
- "background-color": "background-1",
480
- color: "text-1",
481
- "padding-top": "sm",
482
- "padding-bottom": "sm",
483
- "border-color": "border",
484
- "border-width": "1px",
485
- "margin-left": "lg",
486
- "margin-right": "lg",
487
- "justify-content": "center",
488
- },
489
- },
490
- {
491
- card: {
492
- "background-color": "background-1",
493
- "border-radius": "base",
494
- "box-shadow": "default",
495
- "padding-top": "none",
496
- "padding-bottom": "lg",
497
- "padding-left": "none",
498
- "padding-right": "none",
499
- "border-color": "border",
500
- "border-width": "1px",
501
- },
502
- image: {
503
- width: "100%",
504
- height: "280px",
505
- "border-radius": "base",
506
- "margin-bottom": "lg",
507
- "object-fit": "cover",
508
- },
509
- title_price_container: {
510
- display: "flex",
511
- "justify-content": "space-between",
512
- "align-items": "flex-start",
513
- "margin-bottom": "sm",
514
- "padding-left": "lg",
515
- "padding-right": "lg",
516
- },
517
- title: {
518
- color: "text-1",
519
- },
520
- price: {
521
- color: "text-1",
522
- },
523
- description_container: {
524
- "padding-left": "lg",
525
- "padding-right": "lg",
526
- "margin-bottom": "lg",
527
- },
528
- description: {
529
- color: "text-2",
530
- "margin-bottom": "sm",
531
- },
532
- rating_container: {
491
+ rating_text: {},
492
+ ctas_levoGroup: {
533
493
  display: "flex",
534
- "align-items": "center",
535
- "column-gap": "xs",
536
- },
537
- rating_icon: {
538
- color: "text-2",
539
- width: "16px",
540
- height: "16px",
541
- },
542
- rating_text: {
543
- color: "text-2",
544
- },
545
- cta: {
546
- width: "100%",
547
- "background-color": "background-1",
548
- color: "text-1",
549
- "padding-top": "sm",
550
- "padding-bottom": "sm",
551
- "border-color": "border",
552
- "border-width": "1px",
553
- "margin-left": "lg",
554
- "margin-right": "lg",
555
- "justify-content": "center",
494
+ "flex-direction": "column",
495
+ gap: "sm",
496
+ "margin-top": "md",
556
497
  },
498
+ ctas: Array(2)
499
+ .fill(0)
500
+ .map(() => ({ cta: {} })),
557
501
  },
558
502
  ],
559
503
  },
@@ -561,10 +505,10 @@ export const ProductsListing2: IBlock = {
561
505
  config: {
562
506
  title: {
563
507
  heading: {
564
- level: "1",
508
+ level: "2",
565
509
  },
566
510
  selectedVariants: {
567
- Heading_Level: "H1",
511
+ Heading_Level: "H2",
568
512
  },
569
513
  },
570
514
  products: [
@@ -573,6 +517,20 @@ export const ProductsListing2: IBlock = {
573
517
  selectedVariants: {
574
518
  Heading_Level: "H4",
575
519
  },
520
+ heading: {
521
+ level: "4",
522
+ },
523
+ },
524
+ description: {
525
+ selectedVariants: {},
526
+ },
527
+ rating_text: {
528
+ selectedVariants: {},
529
+ },
530
+ price: {
531
+ selectedVariants: {
532
+ Typography_Variants: "Large",
533
+ },
576
534
  },
577
535
  },
578
536
  {
@@ -580,6 +538,20 @@ export const ProductsListing2: IBlock = {
580
538
  selectedVariants: {
581
539
  Heading_Level: "H4",
582
540
  },
541
+ heading: {
542
+ level: "4",
543
+ },
544
+ },
545
+ description: {
546
+ selectedVariants: {},
547
+ },
548
+ rating_text: {
549
+ selectedVariants: {},
550
+ },
551
+ price: {
552
+ selectedVariants: {
553
+ Typography_Variants: "Large",
554
+ },
583
555
  },
584
556
  },
585
557
  {
@@ -587,6 +559,20 @@ export const ProductsListing2: IBlock = {
587
559
  selectedVariants: {
588
560
  Heading_Level: "H4",
589
561
  },
562
+ heading: {
563
+ level: "4",
564
+ },
565
+ },
566
+ description: {
567
+ selectedVariants: {},
568
+ },
569
+ rating_text: {
570
+ selectedVariants: {},
571
+ },
572
+ price: {
573
+ selectedVariants: {
574
+ Typography_Variants: "Large",
575
+ },
590
576
  },
591
577
  },
592
578
  ],
@@ -18,8 +18,19 @@ const ProductsListing2: React.FC<
18
18
  <Section elementKey="layout">
19
19
  <Container elementKey="container">
20
20
  <Box elementKey="header_container">
21
- <Heading elementKey="title" />
22
- <Button elementKey="header_cta" />
21
+ <Box elementKey="header_content">
22
+ <Heading elementKey="title" />
23
+ <Typography elementKey="description" />
24
+ </Box>
25
+ <Box elementKey="header_ctas_levoGroup" data-levo_group>
26
+ {(content.header_ctas ?? []).map((_, index) => (
27
+ <Button
28
+ key={`header_ctas.${index}.header_cta`}
29
+ elementKey={`header_ctas.${index}.header_cta`}
30
+ data-levo_group_item
31
+ />
32
+ ))}
33
+ </Box>
23
34
  </Box>
24
35
  <Box data-levo_group elementKey="products_levoGroup">
25
36
  {(content.products ?? []).map((_, index) => (
@@ -45,7 +56,18 @@ const ProductsListing2: React.FC<
45
56
  <Typography elementKey={`products.${index}.rating_text`} />
46
57
  </Box>
47
58
  </Box>
48
- <Button elementKey={`products.${index}.cta`} />
59
+ <Box
60
+ elementKey={`products.${index}.ctas_levoGroup`}
61
+ data-levo_group
62
+ >
63
+ {(content?.products?.[index]?.ctas ?? []).map((_, ctaIndex) => (
64
+ <Button
65
+ key={`products.${index}.ctas.${ctaIndex}.cta`}
66
+ elementKey={`products.${index}.ctas.${ctaIndex}.cta`}
67
+ data-levo_group_item
68
+ />
69
+ ))}
70
+ </Box>
49
71
  </Box>
50
72
  ))}
51
73
  </Box>