@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,25 +1,80 @@
1
1
  import type { IBlock } from "@levo-so/studio";
2
2
 
3
- const DUMMY_IMAGE = {
4
- id: "7141014160938075687",
5
- location: "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH.png",
3
+ const MEDIA_1 = {
4
+ id: "74dGgDI5SuDxp",
5
+ filename: "hero-8-1.png",
6
6
  kind: "image",
7
+ location: "https://static.levocdn.com/WLZ1TXTD/hero-8-1-eg6wFl4GZxLtF.png",
8
+ srcset: {
9
+ "1080w":
10
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-1-eg6wFl4GZxLtF-1080w.webp",
11
+ "1200w":
12
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-1-eg6wFl4GZxLtF-1200w.webp",
13
+ "1920w":
14
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-1-eg6wFl4GZxLtF-1920w.webp",
15
+ "320w":
16
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-1-eg6wFl4GZxLtF-320w.webp",
17
+ "640w":
18
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-1-eg6wFl4GZxLtF-640w.webp",
19
+ "750w":
20
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-1-eg6wFl4GZxLtF-750w.webp",
21
+ "828w":
22
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-1-eg6wFl4GZxLtF-828w.webp",
23
+ path: "https://static.levocdn.com/WLZ1TXTD/hero-8-1-eg6wFl4GZxLtF-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/hero-8-1-eg6wFl4GZxLtF-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/hero-8-1-eg6wFl4GZxLtF-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/hero-8-1-eg6wFl4GZxLtF-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/hero-8-1-eg6wFl4GZxLtF-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/hero-8-1-eg6wFl4GZxLtF-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/hero-8-1-eg6wFl4GZxLtF-828w.webp 828w",
24
+ },
25
+ mimetype: "image/png",
26
+ };
27
+ const MEDIA_2 = {
28
+ id: "pKkevltJxha9k",
29
+ filename: "hero-8-2.png",
30
+ kind: "image",
31
+ location: "https://static.levocdn.com/WLZ1TXTD/hero-8-2-DNP35s1aEu6ho.png",
32
+ srcset: {
33
+ "1080w":
34
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-2-DNP35s1aEu6ho-1080w.webp",
35
+ "1200w":
36
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-2-DNP35s1aEu6ho-1200w.webp",
37
+ "1920w":
38
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-2-DNP35s1aEu6ho-1920w.webp",
39
+ "320w":
40
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-2-DNP35s1aEu6ho-320w.webp",
41
+ "640w":
42
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-2-DNP35s1aEu6ho-640w.webp",
43
+ "750w":
44
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-2-DNP35s1aEu6ho-750w.webp",
45
+ "828w":
46
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-2-DNP35s1aEu6ho-828w.webp",
47
+ path: "https://static.levocdn.com/WLZ1TXTD/hero-8-2-DNP35s1aEu6ho-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/hero-8-2-DNP35s1aEu6ho-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/hero-8-2-DNP35s1aEu6ho-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/hero-8-2-DNP35s1aEu6ho-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/hero-8-2-DNP35s1aEu6ho-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/hero-8-2-DNP35s1aEu6ho-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/hero-8-2-DNP35s1aEu6ho-750w.webp 750w",
48
+ },
7
49
  mimetype: "image/png",
50
+ };
51
+ const MEDIA_3 = {
52
+ id: "rSCtjlLkzA4Ps",
53
+ filename: "hero-8-3.png",
54
+ kind: "image",
55
+ location: "https://static.levocdn.com/WLZ1TXTD/hero-8-3-1d791LgEXOxKz.png",
8
56
  srcset: {
9
57
  "1080w":
10
- "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp",
58
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-3-1d791LgEXOxKz-1080w.webp",
11
59
  "1200w":
12
- "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp",
60
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-3-1d791LgEXOxKz-1200w.webp",
13
61
  "1920w":
14
- "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp",
15
- "320w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp",
16
- "640w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp",
17
- "750w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp",
18
- "828w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp",
19
- path: "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp 640w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp 1080w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp 1200w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp 1920w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp 320w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp 750w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp 828w",
62
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-3-1d791LgEXOxKz-1920w.webp",
63
+ "320w":
64
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-3-1d791LgEXOxKz-320w.webp",
65
+ "640w":
66
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-3-1d791LgEXOxKz-640w.webp",
67
+ "750w":
68
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-3-1d791LgEXOxKz-750w.webp",
69
+ "828w":
70
+ "https://static.levocdn.com/WLZ1TXTD/hero-8-3-1d791LgEXOxKz-828w.webp",
71
+ path: "https://static.levocdn.com/WLZ1TXTD/hero-8-3-1d791LgEXOxKz-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/hero-8-3-1d791LgEXOxKz-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/hero-8-3-1d791LgEXOxKz-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/hero-8-3-1d791LgEXOxKz-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/hero-8-3-1d791LgEXOxKz-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/hero-8-3-1d791LgEXOxKz-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/hero-8-3-1d791LgEXOxKz-828w.webp 828w",
20
72
  },
73
+ mimetype: "image/png",
21
74
  };
22
75
 
76
+ const MEDIA_ARR = [MEDIA_1, MEDIA_2, MEDIA_3];
77
+
23
78
  const DEFAULT_SLIDES_COUNT = 3;
24
79
 
25
80
  const DEFAULT_CONTENT = {
@@ -27,21 +82,30 @@ const DEFAULT_CONTENT = {
27
82
  container: null,
28
83
  header_section: null,
29
84
  title: "Dream homes Delivered",
30
- cta: "Contact Us",
85
+ description:
86
+ "Dream homes Delivered Dream homes Delivered Dream homes Delivered Dream homes Delivered Dream homes Delivered",
87
+ ctas_levoGroup: null,
88
+ ctas: [{ cta: "Contact Us" }, { cta: "Learn More" }],
31
89
  carousel_main_container: null,
32
90
  carousel_navigation: null,
33
91
  carousel_navigation_arrow_left: "←",
34
92
  carousel_navigation_arrow_right: "→",
35
93
 
36
- slides: Array(DEFAULT_SLIDES_COUNT).fill({
37
- slide_wrapper: null,
38
- left_container: null,
39
- description:
40
- "Discover stunning properties in prime locations tailored to your lifestyle.",
41
- slide_cta: "Explore Projects",
42
- right_container: null,
43
- image: DUMMY_IMAGE,
44
- }),
94
+ slides: Array(DEFAULT_SLIDES_COUNT)
95
+ .fill(0)
96
+ .map((_, index) => ({
97
+ slide_wrapper: null,
98
+ left_container: null,
99
+ description:
100
+ "Discover stunning properties in prime locations tailored to your lifestyle.",
101
+ slide_ctas_levoGroup: null,
102
+ slide_ctas: [
103
+ { slide_cta: "Explore Projects" },
104
+ { slide_cta: "View Gallery" },
105
+ ],
106
+ right_container: null,
107
+ image: MEDIA_ARR[index],
108
+ })),
45
109
  };
46
110
 
47
111
  export type IHero8Content = typeof DEFAULT_CONTENT;
@@ -81,6 +145,11 @@ export const Hero8: IBlock = {
81
145
  "Container for the main title and CTA button at the top. No content—structural only.",
82
146
  },
83
147
  },
148
+ {
149
+ key: "header_content",
150
+ label: "Header Content",
151
+ field_interface: "BoxWidget",
152
+ },
84
153
  {
85
154
  key: "title",
86
155
  label: "Main Title",
@@ -93,15 +162,28 @@ export const Hero8: IBlock = {
93
162
  },
94
163
  },
95
164
  {
96
- key: "cta",
97
- label: "Main CTA",
98
- field_interface: "ButtonWidget",
99
- hint: {
100
- prompt_description:
101
- "Primary call-to-action button for the hero section. Use action-oriented text like 'Get Started', 'Learn More', 'Contact Us'.",
102
- min_characters: 8,
103
- max_characters: 20,
104
- },
165
+ key: "description",
166
+ label: "Main Description",
167
+ field_interface: "TypographyWidget",
168
+ },
169
+ {
170
+ key: "ctas",
171
+ label: "Main CTAs",
172
+ field_interface: "BoxWidget",
173
+ kind: "group",
174
+ fields: [
175
+ {
176
+ key: "cta",
177
+ label: "Main CTA",
178
+ field_interface: "ButtonWidget",
179
+ hint: {
180
+ prompt_description:
181
+ "Primary call-to-action button for the hero section. Use action-oriented text like 'Get Started', 'Learn More', 'Contact Us'.",
182
+ min_characters: 8,
183
+ max_characters: 20,
184
+ },
185
+ },
186
+ ],
105
187
  },
106
188
  {
107
189
  key: "carousel_main_container",
@@ -179,15 +261,17 @@ export const Hero8: IBlock = {
179
261
  },
180
262
  },
181
263
  {
182
- key: "slide_cta",
183
- label: "Slide CTA",
184
- field_interface: "ButtonWidget",
185
- hint: {
186
- prompt_description:
187
- "Call-to-action button for each slide. Use action-oriented text that relates to the slide content.",
188
- min_characters: 8,
189
- max_characters: 20,
190
- },
264
+ key: "slide_ctas",
265
+ label: "Slide CTA Buttons Group",
266
+ field_interface: "BoxWidget",
267
+ kind: "group",
268
+ fields: [
269
+ {
270
+ key: "slide_cta",
271
+ label: "Slide CTA Button",
272
+ field_interface: "ButtonWidget",
273
+ },
274
+ ],
191
275
  },
192
276
  {
193
277
  key: "right_container",
@@ -224,17 +308,8 @@ export const Hero8: IBlock = {
224
308
  title: "Default",
225
309
  key: "default",
226
310
  styles: {
227
- layout: {
228
- "padding-top": "3xl",
229
- "padding-bottom": "3xl",
230
- },
231
- container: {
232
- "max-width": "1280px",
233
- "margin-left": "auto",
234
- "margin-right": "auto",
235
- "padding-left": "xl",
236
- "padding-right": "xl",
237
- },
311
+ layout: {},
312
+ container: {},
238
313
  header_section: {
239
314
  display: "flex",
240
315
  "justify-content": "space-between",
@@ -247,20 +322,17 @@ export const Hero8: IBlock = {
247
322
  },
248
323
  },
249
324
  title: {
250
- color: "text-1",
251
325
  mobile: {
252
326
  "text-align": "center",
253
327
  },
254
328
  },
255
- cta: {
256
- "background-color": "background-2",
257
- color: "text-1",
258
- "padding-top": "base",
259
- "padding-bottom": "base",
260
- "padding-left": "xl",
261
- "padding-right": "xl",
262
- "border-color": "border",
329
+ ctas_levoGroup: {
330
+ display: "flex",
331
+ "flex-direction": "row",
332
+ "align-items": "center",
333
+ gap: "sm",
263
334
  },
335
+ ctas: Array(2).map(() => ({})),
264
336
  carousel_main_container: {
265
337
  "margin-bottom": "xl",
266
338
  },
@@ -271,89 +343,193 @@ export const Hero8: IBlock = {
271
343
  "align-items": "center",
272
344
  "margin-top": "lg",
273
345
  },
274
- carousel_navigation_arrow_left: {
275
- "background-color": "background-2",
276
- color: "text-1",
277
- "padding-top": "sm",
278
- "padding-bottom": "sm",
279
- "padding-left": "base",
280
- "padding-right": "base",
281
- "border-color": "border",
282
- "border-radius": "base",
283
- },
284
- carousel_navigation_arrow_right: {
285
- "background-color": "background-2",
286
- color: "text-1",
287
- "padding-top": "sm",
288
- "padding-bottom": "sm",
289
- "padding-left": "base",
290
- "padding-right": "base",
291
- "border-color": "border",
292
- "border-radius": "base",
293
- },
294
- slides: Array(DEFAULT_SLIDES_COUNT).fill({
295
- slide_wrapper: {
296
- display: "grid",
297
- "grid-template-columns": "1fr 1fr",
298
- "column-gap": "2xl",
299
- "align-items": "center",
300
- "min-height": "400px",
301
- mobile: {
302
- "grid-template-columns": "1fr",
303
- "row-gap": "xl",
304
- "min-height": "auto",
346
+ carousel_navigation_arrow_left: {},
347
+ carousel_navigation_arrow_right: {},
348
+ slides: [
349
+ {
350
+ slide_wrapper: {
351
+ display: "grid",
352
+ "grid-template-columns": "1fr 1fr",
353
+ "column-gap": "2xl",
354
+ "align-items": "center",
355
+ "min-height": "400px",
356
+ mobile: {
357
+ "grid-template-columns": "1fr",
358
+ "row-gap": "xl",
359
+ "min-height": "auto",
360
+ },
305
361
  },
306
- },
307
- left_container: {
308
- display: "flex",
309
- "flex-direction": "column",
310
- "row-gap": "lg",
311
- mobile: {
312
- "text-align": "center",
313
- "row-gap": "base",
362
+ left_container: {
363
+ display: "flex",
364
+ "flex-direction": "column",
365
+ "row-gap": "lg",
366
+ mobile: {
367
+ "text-align": "center",
368
+ "row-gap": "base",
369
+ },
314
370
  },
315
- },
316
- description: {
317
- "font-size": "lg",
318
- "line-height": "1.6",
319
- color: "text-1",
320
- "max-width": "500px",
321
- mobile: {
322
- "font-size": "base",
323
- "max-width": "100%",
371
+ description: {
372
+ "max-width": "500px",
373
+ mobile: {
374
+ "max-width": "100%",
375
+ },
324
376
  },
325
- },
326
- slide_cta: {
327
- "background-color": "background-2",
328
- color: "text-1",
329
- "padding-top": "sm",
330
- "padding-bottom": "sm",
331
- "padding-left": "lg",
332
- "padding-right": "lg",
333
- "border-color": "border",
334
- "align-self": "flex-start",
335
- mobile: {
336
- "align-self": "center",
377
+ slide_ctas_levoGroup: {
378
+ display: "flex",
379
+ "flex-direction": "row",
380
+ "column-gap": "md",
381
+ "row-gap": "md",
382
+ "flex-wrap": "wrap",
383
+ "align-items": "center",
384
+ "align-self": "flex-start",
385
+ mobile: {
386
+ "align-self": "center",
387
+ },
388
+ },
389
+ slide_ctas: Array(2)
390
+ .fill(0)
391
+ .map(() => ({ slide_cta: {} })),
392
+ right_container: {
393
+ display: "flex",
394
+ "justify-content": "center",
395
+ "align-items": "center",
396
+ mobile: {
397
+ order: "-1",
398
+ },
399
+ },
400
+ image: {
401
+ width: "100%",
402
+ height: "300px",
403
+ "object-fit": "cover",
404
+ "border-radius": "base",
405
+ mobile: {
406
+ height: "250px",
407
+ },
337
408
  },
338
409
  },
339
- right_container: {
340
- display: "flex",
341
- "justify-content": "center",
342
- "align-items": "center",
343
- mobile: {
344
- order: "-1",
410
+ {
411
+ slide_wrapper: {
412
+ display: "grid",
413
+ "grid-template-columns": "1fr 1fr",
414
+ "column-gap": "2xl",
415
+ "align-items": "center",
416
+ "min-height": "400px",
417
+ mobile: {
418
+ "grid-template-columns": "1fr",
419
+ "row-gap": "xl",
420
+ "min-height": "auto",
421
+ },
422
+ },
423
+ left_container: {
424
+ display: "flex",
425
+ "flex-direction": "column",
426
+ "row-gap": "lg",
427
+ mobile: {
428
+ "text-align": "center",
429
+ "row-gap": "base",
430
+ },
431
+ },
432
+ description: {
433
+ "max-width": "500px",
434
+ mobile: {
435
+ "max-width": "100%",
436
+ },
437
+ },
438
+ slide_ctas_levoGroup: {
439
+ display: "flex",
440
+ "flex-direction": "row",
441
+ "column-gap": "md",
442
+ "row-gap": "md",
443
+ "flex-wrap": "wrap",
444
+ "align-items": "center",
445
+ "align-self": "flex-start",
446
+ mobile: {
447
+ "align-self": "center",
448
+ },
449
+ },
450
+ slide_ctas: Array(2)
451
+ .fill(0)
452
+ .map(() => ({ slide_cta: {} })),
453
+ right_container: {
454
+ display: "flex",
455
+ "justify-content": "center",
456
+ "align-items": "center",
457
+ mobile: {
458
+ order: "-1",
459
+ },
460
+ },
461
+ image: {
462
+ width: "100%",
463
+ height: "300px",
464
+ "object-fit": "cover",
465
+ "border-radius": "base",
466
+ mobile: {
467
+ height: "250px",
468
+ },
345
469
  },
346
470
  },
347
- image: {
348
- width: "100%",
349
- height: "300px",
350
- "object-fit": "cover",
351
- "border-radius": "base",
352
- mobile: {
353
- height: "250px",
471
+ {
472
+ slide_wrapper: {
473
+ display: "grid",
474
+ "grid-template-columns": "1fr 1fr",
475
+ "column-gap": "2xl",
476
+ "align-items": "center",
477
+ "min-height": "400px",
478
+ mobile: {
479
+ "grid-template-columns": "1fr",
480
+ "row-gap": "xl",
481
+ "min-height": "auto",
482
+ },
483
+ },
484
+ left_container: {
485
+ display: "flex",
486
+ "flex-direction": "column",
487
+ "row-gap": "lg",
488
+ mobile: {
489
+ "text-align": "center",
490
+ "row-gap": "base",
491
+ },
492
+ },
493
+ description: {
494
+ "max-width": "500px",
495
+ mobile: {
496
+ "max-width": "100%",
497
+ },
498
+ },
499
+ slide_ctas_levoGroup: {
500
+ display: "flex",
501
+ "flex-direction": "row",
502
+ "column-gap": "md",
503
+ "row-gap": "md",
504
+ "flex-wrap": "wrap",
505
+ "align-items": "center",
506
+ "align-self": "flex-start",
507
+ mobile: {
508
+ "align-self": "center",
509
+ },
510
+ },
511
+ slide_ctas: Array(2)
512
+ .fill(0)
513
+ .map(() => ({ slide_cta: {} })),
514
+ right_container: {
515
+ display: "flex",
516
+ "justify-content": "center",
517
+ "align-items": "center",
518
+ mobile: {
519
+ order: "-1",
520
+ },
521
+ },
522
+ image: {
523
+ width: "100%",
524
+ height: "300px",
525
+ "object-fit": "cover",
526
+ "border-radius": "base",
527
+ mobile: {
528
+ height: "250px",
529
+ },
354
530
  },
355
531
  },
356
- }),
532
+ ],
357
533
  },
358
534
  content: DEFAULT_CONTENT,
359
535
  config: {
@@ -370,6 +546,60 @@ export const Hero8: IBlock = {
370
546
  Heading_Level: "H1",
371
547
  },
372
548
  },
549
+ slides: [
550
+ {
551
+ description: {
552
+ selectedVariants: {
553
+ Typography_Variants: "Lead",
554
+ },
555
+ },
556
+ slide_ctas: Array(2)
557
+ .fill(0)
558
+ .map(() => ({
559
+ slide_cta: {
560
+ selectedVariants: {},
561
+ },
562
+ })),
563
+ },
564
+ {
565
+ slide_ctas: Array(2)
566
+ .fill(0)
567
+ .map(() => ({
568
+ slide_cta: {
569
+ selectedVariants: {},
570
+ },
571
+ })),
572
+ description: {
573
+ selectedVariants: {
574
+ Typography_Variants: "Lead",
575
+ },
576
+ },
577
+ },
578
+ {
579
+ slide_ctas: Array(2)
580
+ .fill(0)
581
+ .map(() => ({
582
+ slide_cta: {
583
+ selectedVariants: {},
584
+ },
585
+ })),
586
+ description: {
587
+ selectedVariants: {
588
+ Typography_Variants: "Lead",
589
+ },
590
+ },
591
+ },
592
+ ],
593
+ carousel_navigation_arrow_right: {
594
+ selectedVariants: {
595
+ Button_Variants: "Secondary",
596
+ },
597
+ },
598
+ carousel_navigation_arrow_left: {
599
+ selectedVariants: {
600
+ Button_Variants: "Secondary",
601
+ },
602
+ },
373
603
  },
374
604
  },
375
605
  ],
@@ -56,8 +56,19 @@ const Hero8: React.FC<ILevoBlockBaseProps<IHero8Content>> = ({ content }) => {
56
56
  <Section elementKey="layout">
57
57
  <Container elementKey="container">
58
58
  <Box elementKey="header_section">
59
- <Heading elementKey="title" />
60
- <Button elementKey="cta" />
59
+ <Box elementKey="header_content">
60
+ <Heading elementKey="title" />
61
+ <Typography elementKey="description" />
62
+ </Box>
63
+ <Box elementKey="ctas_levoGroup" data-levo_group>
64
+ {(content?.ctas ?? []).map((_: any, ctaIndex: number) => (
65
+ <Button
66
+ key={ctaIndex}
67
+ elementKey={`ctas.${ctaIndex}.cta`}
68
+ data-levo_group_item
69
+ />
70
+ ))}
71
+ </Box>
61
72
  </Box>
62
73
  <Box elementKey="carousel_main_container">
63
74
  <Carousel
@@ -71,7 +82,20 @@ const Hero8: React.FC<ILevoBlockBaseProps<IHero8Content>> = ({ content }) => {
71
82
  <Box elementKey={`slides.${index}.slide_wrapper`}>
72
83
  <Box elementKey={`slides.${index}.left_container`}>
73
84
  <Typography elementKey={`slides.${index}.description`} />
74
- <Button elementKey={`slides.${index}.slide_cta`} />
85
+ <Box
86
+ elementKey={`slides.${index}.slide_ctas_levoGroup`}
87
+ data-levo_group
88
+ >
89
+ {(content?.slides?.[index]?.slide_ctas ?? []).map(
90
+ (_: any, ctaIndex: number) => (
91
+ <Button
92
+ key={`slides.${index}.slide_ctas.${ctaIndex}.slide_cta`}
93
+ elementKey={`slides.${index}.slide_ctas.${ctaIndex}.slide_cta`}
94
+ data-levo_group_item
95
+ />
96
+ ),
97
+ )}
98
+ </Box>
75
99
  {count > 0 && index === current && (
76
100
  <Box elementKey="carousel_navigation">
77
101
  <Button