@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
@@ -226,7 +226,7 @@ export const Hero3: IBlock = {
226
226
  config: {
227
227
  title: {
228
228
  heading: {
229
- level: 1,
229
+ level: "1",
230
230
  },
231
231
  selectedVariants: {
232
232
  Heading_Level: "H1",
@@ -256,19 +256,42 @@ export const Hero3: IBlock = {
256
256
  Heading_Level: "H1",
257
257
  },
258
258
  },
259
+ features: [
260
+ {
261
+ title: {
262
+ heading: {
263
+ level: "4",
264
+ },
265
+ selectedVariants: {
266
+ Heading_Level: "H4",
267
+ },
268
+ },
269
+ },
270
+ {
271
+ title: {
272
+ selectedVariants: {
273
+ Heading_Level: "H4",
274
+ },
275
+ heading: {
276
+ level: "4",
277
+ },
278
+ },
279
+ },
280
+ {
281
+ title: {
282
+ selectedVariants: {
283
+ Heading_Level: "H4",
284
+ },
285
+ heading: {
286
+ level: "4",
287
+ },
288
+ },
289
+ },
290
+ ],
259
291
  },
260
292
  content: DEFAULT_CONTENT,
261
293
  styles: {
262
- container: {
263
- "max-width": "72rem",
264
- "margin-left": "auto",
265
- "margin-right": "auto",
266
- "padding-left": "base",
267
- "padding-right": "base",
268
- "padding-top": "4xl",
269
- "padding-bottom": "4xl",
270
- "background-color": "background-1",
271
- },
294
+ container: {},
272
295
  header_wrapper: {
273
296
  "margin-bottom": "3xl",
274
297
  },
@@ -293,11 +316,9 @@ export const Hero3: IBlock = {
293
316
  },
294
317
  },
295
318
  title: {
296
- color: "text-1",
297
319
  "max-width": "36rem",
298
320
  },
299
321
  description: {
300
- color: "text-2",
301
322
  "max-width": "28rem",
302
323
  "margin-top": "xs",
303
324
  },
@@ -338,13 +359,7 @@ export const Hero3: IBlock = {
338
359
  icon: {
339
360
  color: "brand",
340
361
  },
341
- title: {
342
- color: "text-1",
343
- "margin-bottom": "xs",
344
- },
345
- description: {
346
- color: "text-2",
347
- },
362
+ description: {},
348
363
  },
349
364
  {
350
365
  card: {
@@ -371,13 +386,7 @@ export const Hero3: IBlock = {
371
386
  icon: {
372
387
  color: "brand",
373
388
  },
374
- title: {
375
- color: "text-1",
376
- "margin-bottom": "xs",
377
- },
378
- description: {
379
- color: "text-2",
380
- },
389
+ description: {},
381
390
  },
382
391
  {
383
392
  card: {
@@ -404,15 +413,14 @@ export const Hero3: IBlock = {
404
413
  icon: {
405
414
  color: "brand",
406
415
  },
407
- title: {
408
- color: "text-1",
409
- "margin-bottom": "xs",
410
- },
411
- description: {
412
- color: "text-2",
413
- },
416
+ description: {},
414
417
  },
415
418
  ],
419
+ features_levoGroupItem: {
420
+ title: {
421
+ "margin-bottom": "xs",
422
+ },
423
+ },
416
424
  },
417
425
  },
418
426
  ],
@@ -1,23 +1,76 @@
1
1
  import type { IBlock } from "@levo-so/studio";
2
2
 
3
- const DEFAULT_IMAGE = {
4
- id: "7141014160938075687",
5
- location: "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH.png",
3
+ const MEDIA_1 = {
4
+ id: "ZnM7UkWOHJ8a",
5
+ filename: "hero-defauly.png",
6
6
  kind: "image",
7
+ location: "https://static.levocdn.com/WLZ1TXTD/hero-defauly-qW3Y1jcCxtM6.png",
8
+ srcset: {
9
+ "1080w":
10
+ "https://static.levocdn.com/WLZ1TXTD/hero-defauly-qW3Y1jcCxtM6-1080w.webp",
11
+ "1200w":
12
+ "https://static.levocdn.com/WLZ1TXTD/hero-defauly-qW3Y1jcCxtM6-1200w.webp",
13
+ "1920w":
14
+ "https://static.levocdn.com/WLZ1TXTD/hero-defauly-qW3Y1jcCxtM6-1920w.webp",
15
+ "320w":
16
+ "https://static.levocdn.com/WLZ1TXTD/hero-defauly-qW3Y1jcCxtM6-320w.webp",
17
+ "640w":
18
+ "https://static.levocdn.com/WLZ1TXTD/hero-defauly-qW3Y1jcCxtM6-640w.webp",
19
+ "750w":
20
+ "https://static.levocdn.com/WLZ1TXTD/hero-defauly-qW3Y1jcCxtM6-750w.webp",
21
+ "828w":
22
+ "https://static.levocdn.com/WLZ1TXTD/hero-defauly-qW3Y1jcCxtM6-828w.webp",
23
+ path: "https://static.levocdn.com/WLZ1TXTD/hero-defauly-qW3Y1jcCxtM6-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/hero-defauly-qW3Y1jcCxtM6-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/hero-defauly-qW3Y1jcCxtM6-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/hero-defauly-qW3Y1jcCxtM6-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/hero-defauly-qW3Y1jcCxtM6-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/hero-defauly-qW3Y1jcCxtM6-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/hero-defauly-qW3Y1jcCxtM6-1920w.webp 1920w",
24
+ },
7
25
  mimetype: "image/png",
26
+ };
27
+ const MEDIA_2 = {
28
+ id: "CISNrrDGAzAU",
29
+ filename: "hero-4-2.png",
30
+ kind: "image",
31
+ location: "https://static.levocdn.com/WLZ1TXTD/hero-4-2-w9fMJutqwfWi.png",
32
+ srcset: {
33
+ "1080w":
34
+ "https://static.levocdn.com/WLZ1TXTD/hero-4-2-w9fMJutqwfWi-1080w.webp",
35
+ "1200w":
36
+ "https://static.levocdn.com/WLZ1TXTD/hero-4-2-w9fMJutqwfWi-1200w.webp",
37
+ "1920w":
38
+ "https://static.levocdn.com/WLZ1TXTD/hero-4-2-w9fMJutqwfWi-1920w.webp",
39
+ "320w":
40
+ "https://static.levocdn.com/WLZ1TXTD/hero-4-2-w9fMJutqwfWi-320w.webp",
41
+ "640w":
42
+ "https://static.levocdn.com/WLZ1TXTD/hero-4-2-w9fMJutqwfWi-640w.webp",
43
+ "750w":
44
+ "https://static.levocdn.com/WLZ1TXTD/hero-4-2-w9fMJutqwfWi-750w.webp",
45
+ "828w":
46
+ "https://static.levocdn.com/WLZ1TXTD/hero-4-2-w9fMJutqwfWi-828w.webp",
47
+ path: "https://static.levocdn.com/WLZ1TXTD/hero-4-2-w9fMJutqwfWi-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/hero-4-2-w9fMJutqwfWi-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/hero-4-2-w9fMJutqwfWi-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/hero-4-2-w9fMJutqwfWi-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/hero-4-2-w9fMJutqwfWi-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/hero-4-2-w9fMJutqwfWi-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/hero-4-2-w9fMJutqwfWi-320w.webp 320w",
48
+ },
49
+ mimetype: "image/png",
50
+ };
51
+ const MEDIA_3 = {
52
+ id: "XZbtbcwEoYoF",
53
+ filename: "hero-4-3.png",
54
+ kind: "image",
55
+ location: "https://static.levocdn.com/WLZ1TXTD/hero-4-3-1d7MLgEXzj4o.png",
8
56
  srcset: {
9
57
  "1080w":
10
- "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp",
58
+ "https://static.levocdn.com/WLZ1TXTD/hero-4-3-1d7MLgEXzj4o-1080w.webp",
11
59
  "1200w":
12
- "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp",
60
+ "https://static.levocdn.com/WLZ1TXTD/hero-4-3-1d7MLgEXzj4o-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-4-3-1d7MLgEXzj4o-1920w.webp",
63
+ "320w":
64
+ "https://static.levocdn.com/WLZ1TXTD/hero-4-3-1d7MLgEXzj4o-320w.webp",
65
+ "640w":
66
+ "https://static.levocdn.com/WLZ1TXTD/hero-4-3-1d7MLgEXzj4o-640w.webp",
67
+ "750w":
68
+ "https://static.levocdn.com/WLZ1TXTD/hero-4-3-1d7MLgEXzj4o-750w.webp",
69
+ "828w":
70
+ "https://static.levocdn.com/WLZ1TXTD/hero-4-3-1d7MLgEXzj4o-828w.webp",
71
+ path: "https://static.levocdn.com/WLZ1TXTD/hero-4-3-1d7MLgEXzj4o-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/hero-4-3-1d7MLgEXzj4o-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/hero-4-3-1d7MLgEXzj4o-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/hero-4-3-1d7MLgEXzj4o-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/hero-4-3-1d7MLgEXzj4o-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/hero-4-3-1d7MLgEXzj4o-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/hero-4-3-1d7MLgEXzj4o-1200w.webp 1200w",
20
72
  },
73
+ mimetype: "image/png",
21
74
  };
22
75
 
23
76
  const DEFAULT_CONTENT = {
@@ -29,29 +82,41 @@ const DEFAULT_CONTENT = {
29
82
  wrapper: null,
30
83
  headerWrapper: null,
31
84
  title: "Your Trusted Partner in Financial Excellence",
32
- cta: "Get Started",
33
- image: DEFAULT_IMAGE,
85
+ description:
86
+ "Your Trusted Partner in Financial Excellence Your Trusted Partner in Financial Excellence Your Trusted Partner in Financial Excellence Your Trusted Partner in Financial Excellence ",
87
+ ctas_levoGroup: null,
88
+ ctas: [{ cta: "Get Started" }, { cta: "Learn More" }],
89
+ image: MEDIA_1,
34
90
  },
35
91
  {
36
92
  wrapper: null,
37
93
  headerWrapper: null,
38
94
  title: "Smart Investment Solutions for Your Future",
39
- cta: "Invest Now",
40
- image: DEFAULT_IMAGE,
95
+ description:
96
+ "Smart Investment Solutions for Your Future Smart Investment Solutions for Your Future Smart Investment Solutions for Your Future Smart Investment Solutions for Your Future ",
97
+ ctas_levoGroup: null,
98
+ ctas: [{ cta: "Invest Now" }, { cta: "Learn More" }],
99
+ image: MEDIA_2,
41
100
  },
42
101
  {
43
102
  wrapper: null,
44
103
  headerWrapper: null,
45
104
  title: "Secure Digital Banking at Your Fingertips",
46
- cta: "Open Account",
47
- image: DEFAULT_IMAGE,
105
+ description:
106
+ "Secure Digital Banking at Your Fingertips Secure Digital Banking at Your Fingertips Secure Digital Banking at Your Fingertips Secure Digital Banking at Your Fingertips ",
107
+ ctas_levoGroup: null,
108
+ ctas: [{ cta: "Open Account" }, { cta: "Learn More" }],
109
+ image: MEDIA_3,
48
110
  },
49
111
  {
50
112
  wrapper: null,
51
113
  headerWrapper: null,
52
114
  title: "Expert Financial Planning for Business Growth",
53
- cta: "Learn More",
54
- image: DEFAULT_IMAGE,
115
+ description:
116
+ "Expert Financial Planning for Business Growth Expert Financial Planning for Business Growth Expert Financial Planning for Business Growth Expert Financial Planning for Business Growth ",
117
+ ctas_levoGroup: null,
118
+ ctas: [{ cta: "Learn More" }, { cta: "Get Started" }],
119
+ image: MEDIA_1,
55
120
  },
56
121
  ],
57
122
  };
@@ -100,15 +165,39 @@ export const Hero4: IBlock = {
100
165
  label: "Header Wrapper",
101
166
  field_interface: "BoxWidget",
102
167
  },
168
+ {
169
+ key: "header",
170
+ label: "Header",
171
+ field_interface: "BoxWidget",
172
+ },
103
173
  {
104
174
  key: "title",
105
175
  label: "Title",
106
176
  field_interface: "HeadingWidget",
107
177
  },
108
178
  {
109
- key: "cta",
110
- label: "CTA Button",
111
- field_interface: "ButtonWidget",
179
+ key: "description",
180
+ label: "Description",
181
+ field_interface: "TypographyWidget",
182
+ },
183
+ {
184
+ key: "ctas",
185
+ label: "CTA Buttons",
186
+ field_interface: "BoxWidget",
187
+ kind: "group",
188
+ fields: [
189
+ {
190
+ key: "cta",
191
+ label: "CTA Button",
192
+ field_interface: "ButtonWidget",
193
+ },
194
+ ],
195
+ hint: {
196
+ prompt_description:
197
+ "Group of call-to-action buttons for hero slide interactions",
198
+ min_items: 1,
199
+ max_items: 3,
200
+ },
112
201
  },
113
202
  {
114
203
  key: "image",
@@ -123,22 +212,9 @@ export const Hero4: IBlock = {
123
212
  key: "default",
124
213
  title: "Default",
125
214
  styles: {
126
- layout: {
127
- "padding-left": "2xl",
128
- "padding-right": "2xl",
129
- "padding-top": "4xl",
130
- "padding-bottom": "3xl",
131
- mobile: {
132
- "padding-top": "2xl",
133
- "padding-left": "base",
134
- "padding-right": "base",
135
- "padding-bottom": "2xl",
136
- },
137
- },
215
+ layout: {},
138
216
  container: {
139
217
  position: "relative",
140
- "margin-left": "auto",
141
- "margin-right": "auto",
142
218
  },
143
219
  slider_dots: {
144
220
  position: "absolute",
@@ -175,7 +251,7 @@ export const Hero4: IBlock = {
175
251
  {
176
252
  headerWrapper: {
177
253
  display: "flex",
178
- "align-items": "end",
254
+ "align-items": "start",
179
255
  "justify-content": "space-between",
180
256
  "margin-bottom": "lg",
181
257
  mobile: {
@@ -196,19 +272,22 @@ export const Hero4: IBlock = {
196
272
  },
197
273
  },
198
274
  title: {
199
- "max-width": "42rem",
200
- color: "text-1",
201
275
  "margin-bottom": "md",
202
276
  tablet: {
203
277
  "text-align": "center",
204
278
  },
205
- mobile: {
206
- "text-align": "center",
207
- },
208
279
  },
209
- cta: {
210
- "box-shadow": "default",
280
+ ctas_levoGroup: {
281
+ display: "flex",
282
+ "align-items": "center",
283
+ "justify-content": "center",
284
+ "column-gap": "sm",
211
285
  },
286
+ ctas: Array(2)
287
+ .fill(0)
288
+ .map((v) => ({
289
+ cta: {},
290
+ })),
212
291
  image: {
213
292
  width: "100%",
214
293
  height: "100%",
@@ -226,17 +305,39 @@ export const Hero4: IBlock = {
226
305
  "row-gap": "sm",
227
306
  },
228
307
  },
308
+ header: {
309
+ "max-width": "42rem",
310
+ },
311
+ description: {
312
+ tablet: {
313
+ "text-align": "center",
314
+ },
315
+ },
229
316
  },
230
317
  {
318
+ ctas_levoGroup: {
319
+ display: "flex",
320
+ "align-items": "center",
321
+ "justify-content": "center",
322
+ "column-gap": "sm",
323
+ },
324
+ ctas: Array(2)
325
+ .fill(0)
326
+ .map((v) => ({
327
+ cta: {},
328
+ })),
231
329
  headerWrapper: {
232
330
  display: "flex",
233
- "align-items": "end",
331
+ "align-items": "start",
234
332
  "justify-content": "space-between",
235
333
  "margin-bottom": "lg",
236
334
  mobile: {
237
335
  "flex-direction": "column",
238
336
  "align-items": "center",
239
337
  "justify-content": "center",
338
+ "padding-left": "sm",
339
+ "padding-top": "sm",
340
+ "padding-right": "sm",
240
341
  "row-gap": "md",
241
342
  "margin-bottom": "md",
242
343
  },
@@ -248,18 +349,10 @@ export const Hero4: IBlock = {
248
349
  },
249
350
  },
250
351
  title: {
251
- "max-width": "42rem",
252
- color: "text-1",
253
352
  "margin-bottom": "md",
254
353
  tablet: {
255
354
  "text-align": "center",
256
355
  },
257
- mobile: {
258
- "text-align": "center",
259
- },
260
- },
261
- cta: {
262
- "box-shadow": "default",
263
356
  },
264
357
  image: {
265
358
  width: "100%",
@@ -278,17 +371,39 @@ export const Hero4: IBlock = {
278
371
  "row-gap": "sm",
279
372
  },
280
373
  },
374
+ header: {
375
+ "max-width": "42rem",
376
+ },
377
+ description: {
378
+ tablet: {
379
+ "text-align": "center",
380
+ },
381
+ },
281
382
  },
282
383
  {
384
+ ctas_levoGroup: {
385
+ display: "flex",
386
+ "align-items": "center",
387
+ "justify-content": "center",
388
+ "column-gap": "sm",
389
+ },
390
+ ctas: Array(2)
391
+ .fill(0)
392
+ .map((v) => ({
393
+ cta: {},
394
+ })),
283
395
  headerWrapper: {
284
396
  display: "flex",
285
- "align-items": "end",
397
+ "align-items": "start",
286
398
  "justify-content": "space-between",
287
399
  "margin-bottom": "lg",
288
400
  mobile: {
289
401
  "flex-direction": "column",
290
402
  "align-items": "center",
291
403
  "justify-content": "center",
404
+ "padding-left": "sm",
405
+ "padding-top": "sm",
406
+ "padding-right": "sm",
292
407
  "row-gap": "md",
293
408
  "margin-bottom": "md",
294
409
  },
@@ -300,18 +415,10 @@ export const Hero4: IBlock = {
300
415
  },
301
416
  },
302
417
  title: {
303
- "max-width": "42rem",
304
- color: "text-1",
305
418
  "margin-bottom": "md",
306
419
  tablet: {
307
420
  "text-align": "center",
308
421
  },
309
- mobile: {
310
- "text-align": "center",
311
- },
312
- },
313
- cta: {
314
- "box-shadow": "default",
315
422
  },
316
423
  image: {
317
424
  width: "100%",
@@ -330,17 +437,28 @@ export const Hero4: IBlock = {
330
437
  "row-gap": "sm",
331
438
  },
332
439
  },
440
+ header: {
441
+ "max-width": "42rem",
442
+ },
443
+ description: {
444
+ tablet: {
445
+ "text-align": "center",
446
+ },
447
+ },
333
448
  },
334
449
  {
335
450
  headerWrapper: {
336
451
  display: "flex",
337
- "align-items": "end",
452
+ "align-items": "start",
338
453
  "justify-content": "space-between",
339
454
  "margin-bottom": "lg",
340
455
  mobile: {
341
456
  "flex-direction": "column",
342
457
  "align-items": "center",
343
458
  "justify-content": "center",
459
+ "padding-left": "sm",
460
+ "padding-top": "sm",
461
+ "padding-right": "sm",
344
462
  "row-gap": "md",
345
463
  "margin-bottom": "md",
346
464
  },
@@ -352,19 +470,22 @@ export const Hero4: IBlock = {
352
470
  },
353
471
  },
354
472
  title: {
355
- "max-width": "42rem",
356
- color: "text-1",
357
473
  "margin-bottom": "md",
358
474
  tablet: {
359
475
  "text-align": "center",
360
476
  },
361
- mobile: {
362
- "text-align": "center",
363
- },
364
477
  },
365
- cta: {
366
- "box-shadow": "default",
478
+ ctas_levoGroup: {
479
+ display: "flex",
480
+ "align-items": "center",
481
+ "justify-content": "center",
482
+ "column-gap": "sm",
367
483
  },
484
+ ctas: Array(2)
485
+ .fill(0)
486
+ .map((v) => ({
487
+ cta: {},
488
+ })),
368
489
  image: {
369
490
  width: "100%",
370
491
  height: "100%",
@@ -382,6 +503,14 @@ export const Hero4: IBlock = {
382
503
  "row-gap": "sm",
383
504
  },
384
505
  },
506
+ header: {
507
+ "max-width": "42rem",
508
+ },
509
+ description: {
510
+ tablet: {
511
+ "text-align": "center",
512
+ },
513
+ },
385
514
  },
386
515
  ],
387
516
  },
@@ -419,6 +548,72 @@ export const Hero4: IBlock = {
419
548
  Heading_Level: "H1",
420
549
  },
421
550
  },
551
+ slides: [
552
+ {
553
+ title: {
554
+ heading: {
555
+ level: "1",
556
+ },
557
+ selectedVariants: {
558
+ Heading_Level: "H1",
559
+ },
560
+ },
561
+ header: {
562
+ selectedVariants: {},
563
+ },
564
+ description: {
565
+ selectedVariants: {},
566
+ },
567
+ },
568
+ {
569
+ title: {
570
+ selectedVariants: {
571
+ Heading_Level: "H1",
572
+ },
573
+ heading: {
574
+ level: "1",
575
+ },
576
+ },
577
+ header: {
578
+ selectedVariants: {},
579
+ },
580
+ description: {
581
+ selectedVariants: {},
582
+ },
583
+ },
584
+ {
585
+ title: {
586
+ selectedVariants: {
587
+ Heading_Level: "H1",
588
+ },
589
+ heading: {
590
+ level: "1",
591
+ },
592
+ },
593
+ header: {
594
+ selectedVariants: {},
595
+ },
596
+ description: {
597
+ selectedVariants: {},
598
+ },
599
+ },
600
+ {
601
+ title: {
602
+ selectedVariants: {
603
+ Heading_Level: "H1",
604
+ },
605
+ heading: {
606
+ level: "1",
607
+ },
608
+ },
609
+ header: {
610
+ selectedVariants: {},
611
+ },
612
+ description: {
613
+ selectedVariants: {},
614
+ },
615
+ },
616
+ ],
422
617
  },
423
618
  },
424
619
  ],
@@ -12,6 +12,7 @@ import {
12
12
  Carousel,
13
13
  CarouselContent,
14
14
  CarouselItem,
15
+ Typography,
15
16
  } from "@levo-so/studio";
16
17
  import { useEffect, useState } from "react";
17
18
 
@@ -47,8 +48,24 @@ const Hero4: React.FC<ILevoBlockBaseProps<IHero4Content>> = ({ content }) => {
47
48
  data-levo_group_item
48
49
  >
49
50
  <Box elementKey={`slides.${index}.headerWrapper`}>
50
- <Heading elementKey={`slides.${index}.title`} />
51
- <Button elementKey={`slides.${index}.cta`} />
51
+ <Box elementKey={`slides.${index}.header`}>
52
+ <Heading elementKey={`slides.${index}.title`} />
53
+ <Typography elementKey={`slides.${index}.description`} />
54
+ </Box>
55
+ <Box
56
+ elementKey={`slides.${index}.ctas_levoGroup`}
57
+ data-levo_group
58
+ >
59
+ {(content?.slides?.[index]?.ctas ?? []).map(
60
+ (_: any, ctaIndex: number) => (
61
+ <Button
62
+ key={`slides.${index}.ctas.${ctaIndex}.cta`}
63
+ elementKey={`slides.${index}.ctas.${ctaIndex}.cta`}
64
+ data-levo_group_item
65
+ />
66
+ )
67
+ )}
68
+ </Box>
52
69
  </Box>
53
70
  <Image
54
71
  elementKey={`slides.${index}.image`}