@levo-so/blocks 0.1.59 → 0.1.61

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 (245) hide show
  1. package/package.json +6 -6
  2. package/src/blocks/about-us/about-us-1.schema.ts +60 -58
  3. package/src/blocks/about-us/about-us-1.tsx +2 -4
  4. package/src/blocks/about-us/about-us-2.schema.ts +165 -42
  5. package/src/blocks/about-us/about-us-2.tsx +7 -13
  6. package/src/blocks/blogs/blog-listing-1.schema.ts +7 -14
  7. package/src/blocks/blogs/blog-listing-1.tsx +27 -36
  8. package/src/blocks/blogs/blog-listing-2.schema.ts +17 -34
  9. package/src/blocks/blogs/blog-listing-2.tsx +21 -27
  10. package/src/blocks/blogs/blog-listing-3.schema.ts +32 -64
  11. package/src/blocks/blogs/blog-listing-3.tsx +21 -27
  12. package/src/blocks/blogs/blog-post-1.schema.ts +9 -18
  13. package/src/blocks/blogs/blog-post-1.tsx +3 -14
  14. package/src/blocks/calendar/calendar-1.schema.ts +351 -180
  15. package/src/blocks/calendar/calendar-1.tsx +60 -25
  16. package/src/blocks/cards/cards-10.schema.ts +278 -331
  17. package/src/blocks/cards/cards-10.tsx +18 -15
  18. package/src/blocks/cards/cards-11.schema.ts +178 -356
  19. package/src/blocks/cards/cards-11.tsx +5 -11
  20. package/src/blocks/cards/cards-12.schema.ts +110 -196
  21. package/src/blocks/cards/cards-12.tsx +4 -10
  22. package/src/blocks/cards/cards-13.schema.ts +131 -120
  23. package/src/blocks/cards/cards-13.tsx +4 -6
  24. package/src/blocks/cards/cards-14.schema.ts +51 -154
  25. package/src/blocks/cards/cards-14.tsx +5 -11
  26. package/src/blocks/cards/cards-15.schema.ts +48 -32
  27. package/src/blocks/cards/cards-15.tsx +15 -6
  28. package/src/blocks/cards/cards-2.schema.ts +76 -88
  29. package/src/blocks/cards/cards-2.tsx +12 -17
  30. package/src/blocks/cards/cards-3.schema.ts +68 -70
  31. package/src/blocks/cards/cards-3.tsx +7 -13
  32. package/src/blocks/cards/cards-4.schema.ts +160 -115
  33. package/src/blocks/cards/cards-4.tsx +22 -17
  34. package/src/blocks/cards/cards-5.schema.ts +76 -70
  35. package/src/blocks/cards/cards-5.tsx +10 -10
  36. package/src/blocks/cards/cards-6.schema.ts +755 -985
  37. package/src/blocks/cards/cards-6.tsx +17 -9
  38. package/src/blocks/cards/cards-7.schema.ts +754 -2250
  39. package/src/blocks/cards/cards-7.tsx +18 -24
  40. package/src/blocks/cards/cards-8.schema.ts +171 -363
  41. package/src/blocks/cards/cards-8.tsx +15 -8
  42. package/src/blocks/cards/cards-9.schema.ts +283 -329
  43. package/src/blocks/cards/cards-9.tsx +28 -12
  44. package/src/blocks/carousel/carousel-1.schema.ts +418 -49
  45. package/src/blocks/carousel/carousel-1.tsx +8 -8
  46. package/src/blocks/carousel/carousel-2.schema.ts +153 -127
  47. package/src/blocks/carousel/carousel-2.tsx +16 -20
  48. package/src/blocks/community/community-1.schema.ts +612 -0
  49. package/src/blocks/community/community-1.tsx +557 -0
  50. package/src/blocks/community/community-post-1.schema.ts +408 -0
  51. package/src/blocks/community/community-post-1.tsx +405 -0
  52. package/src/blocks/contact-us/contact-us-1.schema.ts +25 -43
  53. package/src/blocks/contact-us/contact-us-1.tsx +2 -12
  54. package/src/blocks/contact-us/contact-us-2.schema.ts +39 -17
  55. package/src/blocks/contact-us/contact-us-2.tsx +21 -32
  56. package/src/blocks/content/content-1.schema.ts +163 -234
  57. package/src/blocks/content/content-1.tsx +46 -43
  58. package/src/blocks/content/content-2.schema.ts +117 -35
  59. package/src/blocks/content/content-2.tsx +19 -7
  60. package/src/blocks/content/content-3.schema.ts +215 -205
  61. package/src/blocks/content/content-3.tsx +14 -18
  62. package/src/blocks/content/content-4.schema.ts +105 -89
  63. package/src/blocks/content/content-4.tsx +10 -18
  64. package/src/blocks/content/content-5.schema.ts +301 -278
  65. package/src/blocks/content/content-5.tsx +23 -16
  66. package/src/blocks/content/content-6.schema.ts +432 -250
  67. package/src/blocks/content/content-6.tsx +24 -19
  68. package/src/blocks/content/content-7.schema.ts +200 -197
  69. package/src/blocks/content/content-7.tsx +29 -21
  70. package/src/blocks/content/content-8.schema.ts +28 -23
  71. package/src/blocks/content/content-8.tsx +3 -3
  72. package/src/blocks/content/content-9.schema.ts +64 -2208
  73. package/src/blocks/content/content-9.tsx +31 -43
  74. package/src/blocks/cta/cta-1.schema.ts +23 -128
  75. package/src/blocks/cta/cta-2.schema.ts +46 -69
  76. package/src/blocks/cta/cta-2.tsx +2 -6
  77. package/src/blocks/cta/cta-3.schema.ts +77 -72
  78. package/src/blocks/cta/cta-3.tsx +2 -6
  79. package/src/blocks/embed/embed-1.schema.ts +30 -52
  80. package/src/blocks/embed/embed-1.tsx +1 -9
  81. package/src/blocks/event/ClientOnly.tsx +1 -4
  82. package/src/blocks/event/event-details.schema.ts +23 -32
  83. package/src/blocks/event/event-details.tsx +9 -23
  84. package/src/blocks/event/event-listing-2.schema.ts +19 -38
  85. package/src/blocks/event/event-listing-2.tsx +29 -38
  86. package/src/blocks/event/event-listing-3.schema.ts +10 -20
  87. package/src/blocks/event/event-listing-3.tsx +26 -30
  88. package/src/blocks/event/event-listing-4.schema.ts +40 -80
  89. package/src/blocks/event/event-listing-4.tsx +22 -28
  90. package/src/blocks/event/event-listing.schema.ts +12 -24
  91. package/src/blocks/event/event-listing.tsx +26 -30
  92. package/src/blocks/faq/faq-1.schema.ts +150 -112
  93. package/src/blocks/faq/faq-1.tsx +31 -33
  94. package/src/blocks/faq/faq-2.schema.ts +132 -77
  95. package/src/blocks/faq/faq-2.tsx +21 -11
  96. package/src/blocks/faq/faq-3.schema.ts +178 -107
  97. package/src/blocks/faq/faq-3.tsx +30 -22
  98. package/src/blocks/features/features-1/features-1.schema.ts +11 -3
  99. package/src/blocks/features/features-1/features-1.tsx +12 -5
  100. package/src/blocks/features/features-1/variants/default.ts +176 -62
  101. package/src/blocks/features/features-1/variants/index.ts +1 -1
  102. package/src/blocks/features/features-1/variants/stylized-cards-v1.ts +392 -54
  103. package/src/blocks/features/features-1/variants/stylized-cards-v2.ts +119 -103
  104. package/src/blocks/features/features-1/variants/stylized-cards-v3.ts +16 -199
  105. package/src/blocks/features/features-2.schema.ts +149 -48
  106. package/src/blocks/features/features-2.tsx +18 -12
  107. package/src/blocks/features/features-3.schema.ts +255 -68
  108. package/src/blocks/features/features-3.tsx +25 -15
  109. package/src/blocks/features/features-4.schema.ts +367 -188
  110. package/src/blocks/features/features-4.tsx +12 -8
  111. package/src/blocks/features/features-5.schema.ts +195 -200
  112. package/src/blocks/features/features-5.tsx +14 -14
  113. package/src/blocks/features/features-6.schema.ts +230 -215
  114. package/src/blocks/features/features-6.tsx +28 -34
  115. package/src/blocks/filter-listing/filter-listing-1.tsx +12 -36
  116. package/src/blocks/floating-buttons/floating-button-1.schema.ts +100 -0
  117. package/src/blocks/floating-buttons/floating-button-1.tsx +14 -0
  118. package/src/blocks/footer/footer-1.schema.ts +110 -48
  119. package/src/blocks/footer/footer-1.tsx +17 -31
  120. package/src/blocks/footer/footer-2.schema.ts +230 -34
  121. package/src/blocks/footer/footer-2.tsx +19 -29
  122. package/src/blocks/footer/footer-3.schema.ts +335 -59
  123. package/src/blocks/footer/footer-3.tsx +11 -26
  124. package/src/blocks/footer/footer-4.schema.ts +139 -76
  125. package/src/blocks/footer/footer-4.tsx +37 -55
  126. package/src/blocks/footer/footer-5.schema.ts +138 -60
  127. package/src/blocks/footer/footer-5.tsx +16 -30
  128. package/src/blocks/footer/footer-6.schema.ts +62 -149
  129. package/src/blocks/footer/footer-6.tsx +30 -44
  130. package/src/blocks/form/form-1.schema.ts +144 -0
  131. package/src/blocks/form/form-1.tsx +33 -0
  132. package/src/blocks/hero/hero-1.schema.ts +153 -101
  133. package/src/blocks/hero/hero-1.tsx +4 -4
  134. package/src/blocks/hero/hero-10.schema.ts +9 -31
  135. package/src/blocks/hero/hero-10.tsx +4 -4
  136. package/src/blocks/hero/hero-11.schema.ts +196 -89
  137. package/src/blocks/hero/hero-11.tsx +5 -10
  138. package/src/blocks/hero/hero-12.schema.ts +111 -192
  139. package/src/blocks/hero/hero-12.tsx +4 -7
  140. package/src/blocks/hero/hero-13.schema.ts +36 -30
  141. package/src/blocks/hero/hero-13.tsx +1 -1
  142. package/src/blocks/hero/hero-2.schema.ts +30 -58
  143. package/src/blocks/hero/hero-2.tsx +3 -21
  144. package/src/blocks/hero/hero-3.schema.ts +70 -90
  145. package/src/blocks/hero/hero-3.tsx +6 -15
  146. package/src/blocks/hero/hero-4.schema.ts +246 -73
  147. package/src/blocks/hero/hero-4.tsx +22 -16
  148. package/src/blocks/hero/hero-5.schema.ts +104 -47
  149. package/src/blocks/hero/hero-5.tsx +21 -12
  150. package/src/blocks/hero/hero-6.schema.ts +127 -258
  151. package/src/blocks/hero/hero-6.tsx +6 -6
  152. package/src/blocks/hero/hero-7.schema.ts +90 -43
  153. package/src/blocks/hero/hero-7.tsx +6 -4
  154. package/src/blocks/hero/hero-8.schema.ts +342 -138
  155. package/src/blocks/hero/hero-8.tsx +23 -13
  156. package/src/blocks/hero/hero-9.schema.ts +111 -86
  157. package/src/blocks/hero/hero-9.tsx +12 -4
  158. package/src/blocks/index.ts +12 -8
  159. package/src/blocks/jobs/jobs-1.schema.ts +990 -0
  160. package/src/blocks/jobs/jobs-1.tsx +145 -0
  161. package/src/blocks/logos/logos-1.schema.ts +370 -36
  162. package/src/blocks/logos/logos-1.tsx +7 -7
  163. package/src/blocks/navbar/navbar-1.schema.ts +15 -28
  164. package/src/blocks/navbar/navbar-1.tsx +24 -60
  165. package/src/blocks/navbar/navbar-2.schema.ts +14 -28
  166. package/src/blocks/navbar/navbar-2.tsx +26 -56
  167. package/src/blocks/navbar/navbar-3.schema.ts +11 -22
  168. package/src/blocks/navbar/navbar-3.tsx +33 -82
  169. package/src/blocks/navbar/navbar-4.schema.ts +14343 -0
  170. package/src/blocks/navbar/navbar-4.tsx +546 -0
  171. package/src/blocks/polling/polling-1.schema.ts +2 -21
  172. package/src/blocks/polling/polling-1.tsx +24 -39
  173. package/src/blocks/pricing/pricing-1.schema.ts +307 -290
  174. package/src/blocks/pricing/pricing-1.tsx +32 -42
  175. package/src/blocks/products/products-listing-1.schema.ts +115 -36
  176. package/src/blocks/products/products-listing-1.tsx +15 -13
  177. package/src/blocks/products/products-listing-2.schema.ts +178 -220
  178. package/src/blocks/products/products-listing-2.tsx +29 -16
  179. package/src/blocks/products/products-listing-3.schema.ts +412 -154
  180. package/src/blocks/products/products-listing-3.tsx +102 -73
  181. package/src/blocks/profile/profile-1.schema.ts +60 -49
  182. package/src/blocks/profile/profile-1.tsx +5 -10
  183. package/src/blocks/profile/profile-2.schema.ts +71 -92
  184. package/src/blocks/profile/profile-2.tsx +6 -7
  185. package/src/blocks/profile/profile-3.schema.ts +141 -529
  186. package/src/blocks/profile/profile-3.tsx +19 -41
  187. package/src/blocks/{blogs/blog-post-2.schema.ts → profile/profile-4.schema.ts} +75 -97
  188. package/src/blocks/{blogs/blog-post-2.tsx → profile/profile-4.tsx} +32 -61
  189. package/src/blocks/{blogs/blog-post-3.schema.ts → profile/profile-5.schema.ts} +6 -6
  190. package/src/blocks/{blogs/blog-post-3.tsx → profile/profile-5.tsx} +6 -11
  191. package/src/blocks/services/service-1.schema.ts +210 -830
  192. package/src/blocks/services/service-1.tsx +46 -59
  193. package/src/blocks/services/service-2.schema.ts +92 -80
  194. package/src/blocks/services/service-2.tsx +13 -7
  195. package/src/blocks/services/service-3.schema.ts +74 -86
  196. package/src/blocks/services/service-3.tsx +44 -45
  197. package/src/blocks/stats/stats-1.schema.ts +225 -21
  198. package/src/blocks/stats/stats-1.tsx +7 -14
  199. package/src/blocks/stats/stats-2.schema.ts +13 -5
  200. package/src/blocks/stats/stats-2.tsx +12 -15
  201. package/src/blocks/stats/variants/default.ts +59 -41
  202. package/src/blocks/stats/variants/hero.ts +64 -31
  203. package/src/blocks/stats/variants/index.ts +1 -1
  204. package/src/blocks/tabs/tab-1.schema.ts +103 -409
  205. package/src/blocks/tabs/tab-1.tsx +47 -53
  206. package/src/blocks/tabs/tab-2.schema.ts +207 -290
  207. package/src/blocks/tabs/tab-2.tsx +20 -9
  208. package/src/blocks/team/team-1.schema.ts +593 -76
  209. package/src/blocks/team/team-1.tsx +16 -22
  210. package/src/blocks/team/team-2.schema.ts +621 -1453
  211. package/src/blocks/team/team-2.tsx +19 -34
  212. package/src/blocks/team/team-3.schema.ts +127 -78
  213. package/src/blocks/team/team-3.tsx +9 -14
  214. package/src/blocks/team/team-4.schema.ts +197 -63
  215. package/src/blocks/team/team-4.tsx +25 -26
  216. package/src/blocks/team/team-5.schema.ts +65 -54
  217. package/src/blocks/team/team-5.tsx +13 -4
  218. package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +9 -26
  219. package/src/blocks/termsAndPrivacy/terms-and-conditions-1.tsx +4 -6
  220. package/src/blocks/testimonial/testimonial-1.schema.ts +713 -65
  221. package/src/blocks/testimonial/testimonial-1.tsx +12 -23
  222. package/src/blocks/testimonial/testimonial-2.schema.ts +1316 -354
  223. package/src/blocks/testimonial/testimonial-2.tsx +21 -37
  224. package/src/blocks/testimonial/testimonial-3.schema.ts +210 -74
  225. package/src/blocks/testimonial/testimonial-3.tsx +17 -27
  226. package/src/blocks/testimonial/testimonial-4.schema.ts +353 -1049
  227. package/src/blocks/testimonial/testimonial-4.tsx +16 -34
  228. package/src/blocks/testimonial/testimonial-5/variants/default.ts +155 -171
  229. package/src/blocks/testimonial/testimonial-5/variants/index.ts +1 -1
  230. package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +201 -501
  231. package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +166 -316
  232. package/src/blocks/testimonial/testimonial-5.schema.ts +2 -6
  233. package/src/blocks/testimonial/testimonial-5.tsx +15 -25
  234. package/src/blocks/testimonial/testimonial-6.schema.ts +226 -315
  235. package/src/blocks/testimonial/testimonial-6.tsx +9 -25
  236. package/src/blocks/testimonial/testimonial-7.schema.ts +74 -45
  237. package/src/blocks/testimonial/testimonial-7.tsx +16 -27
  238. package/src/blocks/timeline/timeline-1.schema.ts +166 -153
  239. package/src/blocks/timeline/timeline-1.tsx +6 -7
  240. package/src/blocks/users/edit-profile.schema.ts +56 -44
  241. package/src/blocks/users/edit-profile.tsx +23 -28
  242. package/src/constants/index.ts +16 -0
  243. package/src/index.ts +1 -1
  244. package/src/schemas/blocks.ts +17 -5
  245. package/src/schemas/categories.ts +26 -2
@@ -15,6 +15,9 @@ const DEFAULT_CONTENT = {
15
15
  layout: null,
16
16
  container: null,
17
17
  stats_levoGroup: null,
18
+ title: "Title",
19
+ description:
20
+ "Description Description Description Description Description Description Description Description ",
18
21
  stats: [
19
22
  {
20
23
  stat: null,
@@ -112,6 +115,21 @@ export const Stats1: IBlock = {
112
115
  "Acts as the main content container for the statistics block, ensuring visual consistency, providing padding, and maintaining readability on a colored background.",
113
116
  },
114
117
  },
118
+ {
119
+ key: "header",
120
+ label: "Header",
121
+ field_interface: "BoxWidget",
122
+ },
123
+ {
124
+ key: "title",
125
+ label: "Title",
126
+ field_interface: "HeadingWidget",
127
+ },
128
+ {
129
+ key: "description",
130
+ label: "Description",
131
+ field_interface: "TypographyWidget",
132
+ },
115
133
  {
116
134
  key: "stats",
117
135
  label: "Stats",
@@ -185,28 +203,12 @@ export const Stats1: IBlock = {
185
203
  title: "Default",
186
204
  styles: {
187
205
  layout: {
188
- width: "100%",
189
- "background-color": "var(--color-brand)",
190
- "padding-top": "9xl",
191
- "padding-bottom": "9xl",
192
- "padding-right": "12xl",
193
- "padding-left": "12xl",
194
- tablet: {
195
- "padding-top": "9xl",
196
- "padding-bottom": "9xl",
197
- "padding-right": "9xl",
198
- "padding-left": "9xl",
199
- },
200
- mobile: {
201
- "padding-top": "6xl",
202
- "padding-bottom": "6xl",
203
- "padding-right": "6xl",
204
- "padding-left": "6xl",
205
- },
206
+ "background-color": "brand",
206
207
  },
207
208
  container: {
208
- "margin-left": "auto",
209
- "margin-right": "auto",
209
+ display: "flex",
210
+ "flex-direction": "column",
211
+ "row-gap": "2xl",
210
212
  },
211
213
  stats_levoGroup: {
212
214
  display: "grid",
@@ -220,7 +222,141 @@ export const Stats1: IBlock = {
220
222
  "grid-template-columns": "repeat(1, minmax(0, 1fr))",
221
223
  },
222
224
  },
223
- stats: STATS_STYLES,
225
+ stats: [
226
+ {
227
+ stat: {
228
+ border: "none",
229
+ "background-color": "transparent",
230
+ "box-shadow": "none",
231
+ display: "flex",
232
+ width: "100%",
233
+ "flex-direction": "column",
234
+ "row-gap": "xl",
235
+ },
236
+ icon: {
237
+ width: "48px",
238
+ height: "48px",
239
+ "object-fit": "contain",
240
+ "margin-left": "auto",
241
+ "margin-right": "auto",
242
+ },
243
+ "content-wrapper": {
244
+ display: "flex",
245
+ "flex-direction": "column",
246
+ "align-items": "center",
247
+ "row-gap": "4xs",
248
+ },
249
+ header: {
250
+ color: "brandForeground",
251
+ },
252
+ description: {
253
+ "font-weight": 600,
254
+ color: "brandForeground",
255
+ },
256
+ },
257
+ {
258
+ stat: {
259
+ border: "none",
260
+ "background-color": "transparent",
261
+ "box-shadow": "none",
262
+ display: "flex",
263
+ width: "100%",
264
+ "flex-direction": "column",
265
+ "row-gap": "xl",
266
+ },
267
+ icon: {
268
+ width: "48px",
269
+ height: "48px",
270
+ "object-fit": "contain",
271
+ "margin-left": "auto",
272
+ "margin-right": "auto",
273
+ },
274
+ "content-wrapper": {
275
+ display: "flex",
276
+ "flex-direction": "column",
277
+ "align-items": "center",
278
+ "row-gap": "4xs",
279
+ },
280
+ header: {
281
+ color: "brandForeground",
282
+ },
283
+ description: {
284
+ "font-weight": 600,
285
+ color: "brandForeground",
286
+ },
287
+ },
288
+ {
289
+ stat: {
290
+ border: "none",
291
+ "background-color": "transparent",
292
+ "box-shadow": "none",
293
+ display: "flex",
294
+ width: "100%",
295
+ "flex-direction": "column",
296
+ "row-gap": "xl",
297
+ },
298
+ icon: {
299
+ width: "48px",
300
+ height: "48px",
301
+ "object-fit": "contain",
302
+ "margin-left": "auto",
303
+ "margin-right": "auto",
304
+ },
305
+ "content-wrapper": {
306
+ display: "flex",
307
+ "flex-direction": "column",
308
+ "align-items": "center",
309
+ "row-gap": "4xs",
310
+ },
311
+ header: {
312
+ color: "brandForeground",
313
+ },
314
+ description: {
315
+ "font-weight": 600,
316
+ color: "brandForeground",
317
+ },
318
+ },
319
+ {
320
+ stat: {
321
+ border: "none",
322
+ "background-color": "transparent",
323
+ "box-shadow": "none",
324
+ display: "flex",
325
+ width: "100%",
326
+ "flex-direction": "column",
327
+ "row-gap": "xl",
328
+ },
329
+ icon: {
330
+ width: "48px",
331
+ height: "48px",
332
+ "object-fit": "contain",
333
+ "margin-left": "auto",
334
+ "margin-right": "auto",
335
+ },
336
+ "content-wrapper": {
337
+ display: "flex",
338
+ "flex-direction": "column",
339
+ "align-items": "center",
340
+ "row-gap": "4xs",
341
+ },
342
+ header: {
343
+ color: "brandForeground",
344
+ },
345
+ description: {
346
+ "font-weight": 600,
347
+ color: "brandForeground",
348
+ },
349
+ },
350
+ ],
351
+ title: {
352
+ color: "brandForeground",
353
+ "text-align": "center",
354
+ "margin-bottom": "4xs",
355
+ },
356
+ description: {
357
+ "text-align": "center",
358
+ color: "brandForeground",
359
+ },
224
360
  },
225
361
  content: DEFAULT_CONTENT,
226
362
  config: {
@@ -256,6 +392,74 @@ export const Stats1: IBlock = {
256
392
  Heading_Level: "H2",
257
393
  },
258
394
  },
395
+ stats: [
396
+ {
397
+ header: {
398
+ heading: {
399
+ level: "3",
400
+ },
401
+ selectedVariants: {
402
+ Heading_Level: "H2",
403
+ },
404
+ },
405
+ "content-wrapper": {
406
+ selectedVariants: {},
407
+ },
408
+ description: {
409
+ selectedVariants: {},
410
+ },
411
+ },
412
+ {
413
+ header: {
414
+ selectedVariants: {
415
+ Heading_Level: "H2",
416
+ },
417
+ },
418
+ "content-wrapper": {
419
+ selectedVariants: {},
420
+ },
421
+ description: {
422
+ selectedVariants: {},
423
+ },
424
+ },
425
+ {
426
+ header: {
427
+ selectedVariants: {
428
+ Heading_Level: "H2",
429
+ },
430
+ heading: {
431
+ level: "3",
432
+ },
433
+ },
434
+ "content-wrapper": {
435
+ selectedVariants: {},
436
+ },
437
+ description: {
438
+ selectedVariants: {},
439
+ },
440
+ },
441
+ {
442
+ header: {
443
+ selectedVariants: {
444
+ Heading_Level: "H2",
445
+ },
446
+ heading: {
447
+ level: "3",
448
+ },
449
+ },
450
+ "content-wrapper": {
451
+ selectedVariants: {},
452
+ },
453
+ description: {
454
+ selectedVariants: {},
455
+ },
456
+ },
457
+ ],
458
+ title: {
459
+ selectedVariants: {
460
+ Heading_Level: "H2",
461
+ },
462
+ },
259
463
  },
260
464
  },
261
465
  ],
@@ -1,13 +1,6 @@
1
1
  import type { ILevoBlockBaseProps } from "@levo-so/studio";
2
- import {
3
- Box,
4
- Container,
5
- Heading,
6
- Icon,
7
- Section,
8
- Typography,
9
- } from "@levo-so/studio";
10
- import React from "react";
2
+ import { Box, Container, Heading, Icon, Section, Typography } from "@levo-so/studio";
3
+ import type React from "react";
11
4
 
12
5
  import type { IStats1Content } from "./stats-1.schema";
13
6
 
@@ -15,13 +8,13 @@ const Stats1: React.FC<ILevoBlockBaseProps<IStats1Content>> = ({ content }) => {
15
8
  return (
16
9
  <Section elementKey="layout">
17
10
  <Container elementKey="container">
11
+ <Box elementKey="header">
12
+ <Heading elementKey="title" />
13
+ <Typography elementKey="description" />
14
+ </Box>
18
15
  <Box elementKey="stats_levoGroup">
19
16
  {(content?.stats ?? []).map((_: any, index: number) => (
20
- <Box
21
- data-levo_group_item
22
- elementKey={`stats.${index}.stat`}
23
- key={index}
24
- >
17
+ <Box data-levo_group_item elementKey={`stats.${index}.stat`} key={index}>
25
18
  <Icon elementKey={`stats.${index}.icon`} />
26
19
  <Box elementKey={`stats.${index}.content-wrapper`}>
27
20
  <Heading elementKey={`stats.${index}.header`} />
@@ -51,7 +51,7 @@ export const Stats2: IBlock = {
51
51
  {
52
52
  key: "main_title",
53
53
  label: "Main Title",
54
- field_interface: "TypographyWidget",
54
+ field_interface: "HeadingWidget",
55
55
  },
56
56
  {
57
57
  key: "description",
@@ -59,9 +59,17 @@ export const Stats2: IBlock = {
59
59
  field_interface: "TypographyWidget",
60
60
  },
61
61
  {
62
- key: "cta",
63
- label: "CTA Button",
64
- field_interface: "ButtonWidget",
62
+ key: "ctas",
63
+ label: "CTA Buttons Group",
64
+ field_interface: "BoxWidget",
65
+ kind: "group",
66
+ fields: [
67
+ {
68
+ key: "cta",
69
+ label: "CTA Button",
70
+ field_interface: "ButtonWidget",
71
+ },
72
+ ],
65
73
  },
66
74
  {
67
75
  key: "stats_section",
@@ -97,7 +105,7 @@ export const Stats2: IBlock = {
97
105
  {
98
106
  key: "number",
99
107
  label: "Number",
100
- field_interface: "TypographyWidget",
108
+ field_interface: "HeadingWidget",
101
109
  },
102
110
  {
103
111
  key: "label",
@@ -1,13 +1,6 @@
1
1
  import type { ILevoBlockBaseProps } from "@levo-so/studio";
2
- import {
3
- Box,
4
- Button,
5
- Container,
6
- Heading,
7
- Section,
8
- Typography,
9
- } from "@levo-so/studio";
10
- import React from "react";
2
+ import { Box, Button, Container, Heading, Section, Typography } from "@levo-so/studio";
3
+ import type React from "react";
11
4
 
12
5
  import type { IStats2Content } from "./stats-2.schema";
13
6
 
@@ -23,7 +16,15 @@ const Stats2: React.FC<ILevoBlockBaseProps<IStats2Content>> = ({ content }) => {
23
16
  </Box>
24
17
  <Heading elementKey="main_title" />
25
18
  <Typography elementKey="description" />
26
- <Button elementKey="cta" />
19
+ <Box elementKey="ctas_levoGroup" data-levo_group>
20
+ {(content?.ctas ?? []).map((_: any, index: number) => (
21
+ <Button
22
+ key={`ctas.${index}.cta`}
23
+ elementKey={`ctas.${index}.cta`}
24
+ data-levo_group_item
25
+ />
26
+ ))}
27
+ </Box>
27
28
  </Box>
28
29
  <Box elementKey="stats_section">
29
30
  <Box elementKey="header_section">
@@ -32,11 +33,7 @@ const Stats2: React.FC<ILevoBlockBaseProps<IStats2Content>> = ({ content }) => {
32
33
  </Box>
33
34
  <Box elementKey="stats_levoGroup" data-levo_group>
34
35
  {(content?.stats ?? []).map((_: unknown, index: number) => (
35
- <Box
36
- data-levo_group_item
37
- elementKey={`stats.${index}.stat_card`}
38
- key={index}
39
- >
36
+ <Box data-levo_group_item elementKey={`stats.${index}.stat_card`} key={index}>
40
37
  <Heading elementKey={`stats.${index}.number`} />
41
38
  <Typography elementKey={`stats.${index}.label`} />
42
39
  </Box>
@@ -9,7 +9,8 @@ export const DEFAULT_CONTENT = {
9
9
  main_title: "Where bold ideas meet flawless execution",
10
10
  description:
11
11
  "We are a modern venture studio dedicated to building world-class products and companies from the ground up.",
12
- cta: "Built With Us",
12
+ ctas_levoGroup: null,
13
+ ctas: [{ cta: "Built With Us" }, { cta: "Learn More" }],
13
14
  stats_section: null,
14
15
  header_section: null,
15
16
  section_title: "Who we are",
@@ -43,26 +44,51 @@ export const defaultStats2Variant: IBlockLayouts = {
43
44
  title: "Default",
44
45
  key: "default",
45
46
  content: DEFAULT_CONTENT,
46
- config: {},
47
- styles: {
48
- layout: {
49
- "padding-top": "3xl",
50
- "padding-bottom": "3xl",
51
- "padding-left": "base",
52
- "padding-right": "base",
53
- },
54
- container: {
55
- "max-width": "1280px",
56
- "margin-left": "auto",
57
- "margin-right": "auto",
58
- filter: "none",
59
- mobile: {
60
- filter: "none",
47
+ config: {
48
+ section_title: {
49
+ selectedVariants: {
50
+ Typography_Variants: "Small",
61
51
  },
62
- tablet: {
63
- filter: "none",
52
+ },
53
+ section_description: {
54
+ selectedVariants: {
55
+ Typography_Variants: "Large",
64
56
  },
65
57
  },
58
+ stats: [
59
+ {
60
+ number: {
61
+ selectedVariants: {
62
+ Heading_Level: "H2",
63
+ },
64
+ },
65
+ },
66
+ {
67
+ number: {
68
+ selectedVariants: {
69
+ Heading_Level: "H2",
70
+ },
71
+ },
72
+ },
73
+ {
74
+ number: {
75
+ selectedVariants: {
76
+ Heading_Level: "H2",
77
+ },
78
+ },
79
+ },
80
+ {
81
+ number: {
82
+ selectedVariants: {
83
+ Heading_Level: "H2",
84
+ },
85
+ },
86
+ },
87
+ ],
88
+ },
89
+ styles: {
90
+ layout: {},
91
+ container: {},
66
92
  content_wrapper: {
67
93
  display: "block",
68
94
  },
@@ -90,42 +116,25 @@ export const defaultStats2Variant: IBlockLayouts = {
90
116
  },
91
117
  },
92
118
  section_title: {
93
- "font-size": "xs",
94
- "font-weight": "600",
95
- color: "text-1",
119
+ color: "brandSecondaryForeground",
96
120
  "margin-bottom": "lg",
97
- "background-color": "background-2",
121
+ "background-color": "brandSecondary",
98
122
  "padding-top": "xs",
99
123
  "padding-bottom": "xs",
100
124
  "padding-left": "base",
101
125
  "padding-right": "base",
102
126
  "border-radius": "100px",
103
127
  display: "inline-block",
104
- mobile: {
105
- "font-size": "xs",
106
- },
107
- filter: "none",
128
+ "font-weight": 600,
108
129
  },
109
130
  section_description: {
110
131
  "font-size": "2xl",
111
- "font-weight": "400",
112
132
  color: "text-1",
113
- "line-height": "1.6",
114
133
  mobile: {
115
134
  "font-size": "lg",
116
- filter: "none",
117
135
  "text-align": "center",
118
136
  },
119
- filter: "none",
120
- display: "block",
121
- width: "auto",
122
- "object-fit": "none",
123
- "justify-content": "start",
124
- "align-items": "start",
125
137
  "text-align": "left",
126
- tablet: {
127
- filter: "none",
128
- },
129
138
  },
130
139
  stats_levoGroup: {
131
140
  display: "grid",
@@ -182,8 +191,17 @@ export const defaultStats2Variant: IBlockLayouts = {
182
191
  description: {
183
192
  display: "none",
184
193
  },
185
- cta: {
186
- display: "none",
187
- },
194
+ ctas_levoGroup: {
195
+ display: "flex",
196
+ "flex-direction": "row",
197
+ "column-gap": "md",
198
+ "row-gap": "md",
199
+ "flex-wrap": "wrap",
200
+ "align-items": "center",
201
+ },
202
+ ctas: Array(2)
203
+ .fill(0)
204
+ .map(() => ({})),
205
+ stats: [{}, {}, {}, {}],
188
206
  },
189
207
  };
@@ -6,19 +6,56 @@ export const heroStats2Variant: IBlockLayouts = {
6
6
  title: "Hero",
7
7
  key: "hero",
8
8
  content: DEFAULT_CONTENT,
9
- config: {},
10
- styles: {
11
- layout: {
12
- "padding-top": "3xl",
13
- "padding-bottom": "3xl",
14
- "padding-left": "base",
15
- "padding-right": "base",
9
+ config: {
10
+ small_title: {
11
+ selectedVariants: {
12
+ Typography_Variants: "Lead",
13
+ },
14
+ },
15
+ description: {
16
+ selectedVariants: {
17
+ Typography_Variants: "Large",
18
+ },
16
19
  },
17
- container: {
18
- "max-width": "1280px",
19
- "margin-left": "auto",
20
- "margin-right": "auto",
20
+ stats: [
21
+ {
22
+ number: {
23
+ selectedVariants: {
24
+ Heading_Level: "H2",
25
+ },
26
+ },
27
+ },
28
+ {
29
+ number: {
30
+ selectedVariants: {
31
+ Heading_Level: "H2",
32
+ },
33
+ },
34
+ },
35
+ {
36
+ number: {
37
+ selectedVariants: {
38
+ Heading_Level: "H2",
39
+ },
40
+ },
41
+ },
42
+ {
43
+ number: {
44
+ selectedVariants: {
45
+ Heading_Level: "H2",
46
+ },
47
+ },
48
+ },
49
+ ],
50
+ main_title: {
51
+ selectedVariants: {
52
+ Heading_Level: "H4",
53
+ },
21
54
  },
55
+ },
56
+ styles: {
57
+ layout: {},
58
+ container: {},
22
59
  content_wrapper: {
23
60
  display: "grid",
24
61
  "grid-template-columns": "repeat(2, minmax(0, 1fr))",
@@ -39,12 +76,9 @@ export const heroStats2Variant: IBlockLayouts = {
39
76
  "align-items": "flex-start",
40
77
  },
41
78
  small_title: {
42
- "font-size": "xl",
43
- "font-weight": "600",
79
+ "font-weight": 600,
44
80
  color: "text-1",
45
81
  "margin-bottom": "base",
46
- "padding-top": "none",
47
- "padding-bottom": "none",
48
82
  "padding-left": "base",
49
83
  "padding-right": "base",
50
84
  "border-radius": "100px",
@@ -52,26 +86,13 @@ export const heroStats2Variant: IBlockLayouts = {
52
86
  "margin-top": "xs",
53
87
  },
54
88
  main_title: {
55
- "font-size": "3xl",
56
- "font-weight": "700",
57
- color: "text-1",
89
+ "font-weight": 700,
58
90
  "margin-bottom": "base",
59
- "line-height": "1.2",
60
- mobile: {
61
- "font-size": "2xl",
62
- },
63
91
  },
64
92
  description: {
65
- "font-size": "lg",
66
- "font-weight": "400",
67
- color: "text-2",
68
- "line-height": "1.6",
69
93
  "margin-bottom": "xl",
70
- mobile: {
71
- "font-size": "base",
72
- },
94
+ "font-weight": 400,
73
95
  },
74
-
75
96
  stats_section: {
76
97
  display: "block",
77
98
  },
@@ -126,7 +147,7 @@ export const heroStats2Variant: IBlockLayouts = {
126
147
  horizontal_divider: {
127
148
  width: "60px",
128
149
  height: "2px",
129
- "background-color": " #00C896",
150
+ "background-color": " brand",
130
151
  "padding-top": "none",
131
152
  "padding-bottom": "none",
132
153
  "margin-top": "none",
@@ -138,5 +159,17 @@ export const heroStats2Variant: IBlockLayouts = {
138
159
  "align-items": "center",
139
160
  "flex-direction": "row",
140
161
  },
162
+ stats: [{}, {}, {}, {}],
163
+ ctas_levoGroup: {
164
+ display: "flex",
165
+ "flex-direction": "row",
166
+ "column-gap": "md",
167
+ "row-gap": "md",
168
+ "flex-wrap": "wrap",
169
+ "align-items": "center",
170
+ },
171
+ ctas: Array(2)
172
+ .fill(0)
173
+ .map(() => ({})),
141
174
  },
142
175
  };
@@ -1,4 +1,4 @@
1
- import { defaultStats2Variant, DEFAULT_CONTENT } from "./default";
1
+ import { DEFAULT_CONTENT, defaultStats2Variant } from "./default";
2
2
  import { heroStats2Variant } from "./hero";
3
3
 
4
4
  export { defaultStats2Variant, heroStats2Variant, DEFAULT_CONTENT };