@levo-so/blocks 0.1.2 → 0.1.52

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 (115) hide show
  1. package/package.json +2 -2
  2. package/src/blocks/about-us/about-us-1.schema.ts +26 -12
  3. package/src/blocks/about-us/about-us-2.schema.ts +269 -0
  4. package/src/blocks/about-us/about-us-2.tsx +47 -0
  5. package/src/blocks/blogs/blog-listing-1.schema.ts +64 -10
  6. package/src/blocks/blogs/blog-listing-1.tsx +79 -56
  7. package/src/blocks/blogs/blog-listing-2.schema.ts +3141 -31
  8. package/src/blocks/blogs/blog-listing-2.tsx +16 -11
  9. package/src/blocks/blogs/blog-listing-3.schema.ts +2476 -0
  10. package/src/blocks/blogs/blog-listing-3.tsx +84 -0
  11. package/src/blocks/blogs/blog-post-1.schema.ts +17 -9
  12. package/src/blocks/blogs/blog-post-2.schema.ts +13 -56
  13. package/src/blocks/blogs/blog-post-3.schema.ts +284 -0
  14. package/src/blocks/blogs/blog-post-3.tsx +58 -0
  15. package/src/blocks/cards/cards-10.schema.ts +579 -0
  16. package/src/blocks/cards/cards-10.tsx +2 -0
  17. package/src/blocks/cards/cards-11.schema.ts +514 -36
  18. package/src/blocks/cards/cards-13.schema.ts +615 -0
  19. package/src/blocks/cards/cards-13.tsx +67 -0
  20. package/src/blocks/cards/cards-2.schema.ts +14 -17
  21. package/src/blocks/cards/cards-3.schema.ts +15 -25
  22. package/src/blocks/cards/cards-4.schema.ts +22 -44
  23. package/src/blocks/cards/cards-4.tsx +39 -39
  24. package/src/blocks/cards/cards-5.schema.ts +15 -34
  25. package/src/blocks/cards/cards-6.schema.ts +1500 -0
  26. package/src/blocks/cards/cards-6.tsx +11 -7
  27. package/src/blocks/cards/cards-7.schema.ts +1772 -27
  28. package/src/blocks/cards/cards-7.tsx +32 -0
  29. package/src/blocks/cards/cards-8.schema.ts +9 -9
  30. package/src/blocks/contact-us/contact-us-1.schema.ts +13 -6
  31. package/src/blocks/contact-us/contact-us-2.schema.ts +43 -43
  32. package/src/blocks/content/content-1.schema.ts +45 -67
  33. package/src/blocks/content/content-2.schema.ts +14 -11
  34. package/src/blocks/content/content-3.schema.ts +17 -115
  35. package/src/blocks/content/content-3.tsx +1 -0
  36. package/src/blocks/content/content-5.tsx +1 -0
  37. package/src/blocks/content/content-6.tsx +1 -0
  38. package/src/blocks/content/content-7.schema.ts +723 -0
  39. package/src/blocks/content/content-7.tsx +53 -0
  40. package/src/blocks/cta/cta-1.schema.ts +18 -26
  41. package/src/blocks/cta/cta-3.schema.ts +60 -0
  42. package/src/blocks/event/event-details.schema.ts +30 -35
  43. package/src/blocks/event/event-details.tsx +74 -79
  44. package/src/blocks/event/event-listing-2.schema.ts +85 -26
  45. package/src/blocks/event/event-listing-2.tsx +76 -52
  46. package/src/blocks/event/event-listing-3.schema.ts +58 -42
  47. package/src/blocks/event/event-listing-3.tsx +4 -9
  48. package/src/blocks/event/event-listing-4.schema.ts +3528 -0
  49. package/src/blocks/event/event-listing-4.tsx +97 -0
  50. package/src/blocks/event/event-listing.schema.ts +81 -86
  51. package/src/blocks/event/event-listing.tsx +1 -3
  52. package/src/blocks/faq/faq-1.schema.ts +13 -10
  53. package/src/blocks/faq/faq-2.schema.ts +12 -10
  54. package/src/blocks/features/features-1/variants/default.ts +12 -3
  55. package/src/blocks/features/features-2.schema.ts +192 -59
  56. package/src/blocks/features/features-3.schema.ts +11 -25
  57. package/src/blocks/features/features-4.schema.ts +20 -35
  58. package/src/blocks/features/features-5.schema.ts +18 -37
  59. package/src/blocks/footer/footer-1.schema.ts +28 -5
  60. package/src/blocks/footer/footer-2.schema.ts +18 -3
  61. package/src/blocks/footer/footer-3.schema.ts +85 -160
  62. package/src/blocks/footer/footer-3.tsx +1 -2
  63. package/src/blocks/footer/footer-4.schema.ts +10 -5
  64. package/src/blocks/footer/footer-4.tsx +1 -1
  65. package/src/blocks/footer/footer-5.schema.ts +10 -0
  66. package/src/blocks/footer/footer-5.tsx +11 -3
  67. package/src/blocks/footer/footer-6.schema.ts +730 -0
  68. package/src/blocks/footer/footer-6.tsx +100 -0
  69. package/src/blocks/hero/hero-1.schema.ts +165 -185
  70. package/src/blocks/hero/hero-10.schema.ts +175 -0
  71. package/src/blocks/hero/hero-10.tsx +35 -0
  72. package/src/blocks/hero/hero-2.schema.ts +60 -104
  73. package/src/blocks/hero/hero-2.tsx +11 -3
  74. package/src/blocks/hero/hero-3.schema.ts +68 -64
  75. package/src/blocks/hero/hero-4.schema.ts +148 -48
  76. package/src/blocks/hero/hero-5.schema.ts +29 -23
  77. package/src/blocks/hero/hero-6.schema.ts +28 -66
  78. package/src/blocks/hero/hero-7.schema.ts +34 -37
  79. package/src/blocks/hero/hero-8.schema.ts +5 -1
  80. package/src/blocks/index.ts +11 -0
  81. package/src/blocks/logos/logos-1.schema.ts +10 -4
  82. package/src/blocks/navbar/navbar-1.schema.ts +3 -5
  83. package/src/blocks/navbar/navbar-1.tsx +5 -19
  84. package/src/blocks/navbar/navbar-2.schema.ts +2 -4
  85. package/src/blocks/navbar/navbar-2.tsx +4 -18
  86. package/src/blocks/navbar/navbar-3.schema.ts +6834 -0
  87. package/src/blocks/navbar/navbar-3.tsx +551 -0
  88. package/src/blocks/pricing/pricing-1.schema.ts +23 -37
  89. package/src/blocks/products/products-listing-1.schema.ts +73 -76
  90. package/src/blocks/profile/profile-1.schema.ts +399 -0
  91. package/src/blocks/profile/profile-1.tsx +64 -0
  92. package/src/blocks/stats/stats-1.schema.ts +34 -3
  93. package/src/blocks/stats/variants/default.ts +0 -1
  94. package/src/blocks/stats/variants/hero.ts +2 -13
  95. package/src/blocks/team/team-1.schema.ts +50 -22
  96. package/src/blocks/team/team-1.tsx +9 -3
  97. package/src/blocks/team/team-2.schema.ts +96 -167
  98. package/src/blocks/team/team-3.schema.ts +32 -49
  99. package/src/blocks/team/team-4.schema.ts +551 -0
  100. package/src/blocks/team/team-4.tsx +59 -0
  101. package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +10 -20
  102. package/src/blocks/testimonial/testimonial-1.schema.ts +14 -8
  103. package/src/blocks/testimonial/testimonial-2.schema.ts +2 -2
  104. package/src/blocks/testimonial/testimonial-3.schema.ts +12 -18
  105. package/src/blocks/testimonial/testimonial-4.schema.ts +131 -126
  106. package/src/blocks/testimonial/testimonial-5/variants/default.ts +510 -0
  107. package/src/blocks/testimonial/testimonial-5/variants/index.ts +4 -0
  108. package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +887 -0
  109. package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +923 -0
  110. package/src/blocks/testimonial/testimonial-5.schema.ts +62 -246
  111. package/src/blocks/testimonial/testimonial-5.tsx +32 -8
  112. package/src/blocks/testimonial/testimonial-6.schema.ts +986 -23
  113. package/src/blocks/testimonial/testimonial-6.tsx +107 -57
  114. package/src/schemas/blocks.ts +22 -0
  115. package/src/schemas/categories.ts +6 -0
@@ -179,6 +179,7 @@ export const Cards2: IBlock = {
179
179
  styles: {
180
180
  layout: {
181
181
  width: "100%",
182
+ "background-color": "background-1",
182
183
  },
183
184
  container: {
184
185
  "padding-top": "10xl",
@@ -201,8 +202,8 @@ export const Cards2: IBlock = {
201
202
  "flex-direction": "row",
202
203
  "align-items": "center",
203
204
  "justify-content": "space-between",
204
- "border-radius": "3xl",
205
- "background-color": "brand",
205
+ "border-radius": "base",
206
+
206
207
  "media:max:768px": {
207
208
  "flex-direction": "column",
208
209
  "padding-left": "none",
@@ -232,25 +233,12 @@ export const Cards2: IBlock = {
232
233
  },
233
234
  },
234
235
  title: {
235
- "font-size": "4xl",
236
- "font-weight": 700,
237
236
  color: "brandForeground",
238
- "line-height": "47px",
239
- "media:max:768px": {
240
- "font-size": "3xl",
241
- },
242
237
  },
243
238
  description: {
244
- "font-size": "base",
245
- "font-weight": 400,
246
- "line-height": 1.5,
247
239
  color: "brandForeground",
248
240
  },
249
241
  button: {
250
- "border-radius": "3xl",
251
- "font-size": "base",
252
- "font-weight": 600,
253
- "line-height": 1.5,
254
242
  width: "fit-content",
255
243
  "background-color": "brandSecondary",
256
244
  color: "brandSecondaryForeground",
@@ -261,7 +249,7 @@ export const Cards2: IBlock = {
261
249
  image_desktop: {
262
250
  width: "auto",
263
251
  "align-self": "end",
264
- "border-radius": "3xl",
252
+ "border-radius": "base",
265
253
  "object-fit": "contain",
266
254
  display: "flex",
267
255
  "media:max:640px": {
@@ -287,7 +275,16 @@ export const Cards2: IBlock = {
287
275
  },
288
276
  },
289
277
  content: DEFAULT_CONTENT,
290
- config: {},
278
+ config: {
279
+ title: {
280
+ heading: {
281
+ level: 2,
282
+ },
283
+ selectedVariants: {
284
+ Heading_Level: "H2",
285
+ },
286
+ },
287
+ },
291
288
  },
292
289
  ],
293
290
  };
@@ -87,7 +87,7 @@ export const Cards3: IBlock = {
87
87
  {
88
88
  key: "main_title",
89
89
  label: "Main Title",
90
- field_interface: "TypographyWidget",
90
+ field_interface: "HeadingWidget",
91
91
  },
92
92
  {
93
93
  key: "description",
@@ -118,7 +118,7 @@ export const Cards3: IBlock = {
118
118
  {
119
119
  key: "number",
120
120
  label: "Number",
121
- field_interface: "TypographyWidget",
121
+ field_interface: "HeadingWidget",
122
122
  },
123
123
  {
124
124
  key: "label",
@@ -192,12 +192,8 @@ export const Cards3: IBlock = {
192
192
  },
193
193
  },
194
194
  main_title: {
195
- "font-size": "5xl",
196
- "font-weight": "700",
197
195
  color: "text-1",
198
- "line-height": "1.2",
199
196
  mobile: {
200
- "font-size": "3xl",
201
197
  filter: "none",
202
198
  width: "100%",
203
199
  "text-align": "center",
@@ -221,7 +217,7 @@ export const Cards3: IBlock = {
221
217
  hero_image: {
222
218
  width: "100%",
223
219
  height: "500px",
224
- "border-radius": "lg",
220
+ "border-radius": "base",
225
221
  filter: "none",
226
222
  "object-fit": "cover",
227
223
  "margin-top": "8xl",
@@ -260,21 +256,11 @@ export const Cards3: IBlock = {
260
256
  "text-align": "center",
261
257
  },
262
258
  "stats_cards.$.number": {
263
- "font-size": "4xl",
264
- "font-weight": "700",
265
259
  color: "text-1",
266
260
  "margin-bottom": "xs",
267
- mobile: {
268
- "font-size": "3xl",
269
- },
270
261
  },
271
262
  "stats_cards.$.label": {
272
- "font-size": "base",
273
- "font-weight": "500",
274
263
  color: "text-2",
275
- mobile: {
276
- "font-size": "sm",
277
- },
278
264
  },
279
265
  "stats_cards.$.separator": {
280
266
  width: "1px",
@@ -300,9 +286,7 @@ export const Cards3: IBlock = {
300
286
  },
301
287
  },
302
288
  number: {
303
- "font-size": "5xl",
304
289
  filter: "none",
305
- "font-weight": 700,
306
290
  mobile: {
307
291
  filter: "none",
308
292
  "text-align": "center",
@@ -310,14 +294,12 @@ export const Cards3: IBlock = {
310
294
  },
311
295
  label: {
312
296
  filter: "none",
313
- "font-weight": 500,
314
297
  },
315
298
  },
316
299
  {
317
300
  number: {
318
301
  filter: "none",
319
- "font-size": "5xl",
320
- "font-weight": 700,
302
+
321
303
  mobile: {
322
304
  filter: "none",
323
305
  "text-align": "center",
@@ -344,8 +326,7 @@ export const Cards3: IBlock = {
344
326
  {
345
327
  number: {
346
328
  filter: "none",
347
- "font-size": "5xl",
348
- "font-weight": 700,
329
+
349
330
  mobile: {
350
331
  filter: "none",
351
332
  "text-align": "center",
@@ -359,7 +340,16 @@ export const Cards3: IBlock = {
359
340
  ],
360
341
  },
361
342
  content: DEFAULT_CONTENT,
362
- config: {},
343
+ config: {
344
+ main_title: {
345
+ heading: {
346
+ level: 2,
347
+ },
348
+ selectedVariants: {
349
+ Heading_Level: "H2",
350
+ },
351
+ },
352
+ },
363
353
  },
364
354
  ],
365
355
  };
@@ -72,25 +72,25 @@ const DEFAULT_CONTENT = {
72
72
  kind: "custom",
73
73
  data: {
74
74
  id: "UpLVWyg9E9QC",
75
- location: "https://space.levo.in.net/W6OEVMW8/image-sR8IjbcW18vs.png",
75
+ location: "https://static.levostg.online/W6OEVMW8/image-sR8IjbcW18vs.png",
76
76
  mimetype: "image/png",
77
77
  kind: "image",
78
78
  srcset: {
79
79
  "1080w":
80
- "https://space.levo.in.net/W6OEVMW8/image-sR8IjbcW18vs-1080w.webp",
80
+ "https://static.levostg.online/W6OEVMW8/image-sR8IjbcW18vs-1080w.webp",
81
81
  "1200w":
82
- "https://space.levo.in.net/W6OEVMW8/image-sR8IjbcW18vs-1200w.webp",
82
+ "https://static.levostg.online/W6OEVMW8/image-sR8IjbcW18vs-1200w.webp",
83
83
  "1920w":
84
- "https://space.levo.in.net/W6OEVMW8/image-sR8IjbcW18vs-1920w.webp",
84
+ "https://static.levostg.online/W6OEVMW8/image-sR8IjbcW18vs-1920w.webp",
85
85
  "320w":
86
- "https://space.levo.in.net/W6OEVMW8/image-sR8IjbcW18vs-320w.webp",
86
+ "https://static.levostg.online/W6OEVMW8/image-sR8IjbcW18vs-320w.webp",
87
87
  "640w":
88
- "https://space.levo.in.net/W6OEVMW8/image-sR8IjbcW18vs-640w.webp",
88
+ "https://static.levostg.online/W6OEVMW8/image-sR8IjbcW18vs-640w.webp",
89
89
  "750w":
90
- "https://space.levo.in.net/W6OEVMW8/image-sR8IjbcW18vs-750w.webp",
90
+ "https://static.levostg.online/W6OEVMW8/image-sR8IjbcW18vs-750w.webp",
91
91
  "828w":
92
- "https://space.levo.in.net/W6OEVMW8/image-sR8IjbcW18vs-828w.webp",
93
- path: "https://space.levo.in.net/W6OEVMW8/image-sR8IjbcW18vs-320w.webp 320w, https://space.levo.in.net/W6OEVMW8/image-sR8IjbcW18vs-750w.webp 750w, https://space.levo.in.net/W6OEVMW8/image-sR8IjbcW18vs-640w.webp 640w, https://space.levo.in.net/W6OEVMW8/image-sR8IjbcW18vs-1200w.webp 1200w, https://space.levo.in.net/W6OEVMW8/image-sR8IjbcW18vs-1920w.webp 1920w, https://space.levo.in.net/W6OEVMW8/image-sR8IjbcW18vs-828w.webp 828w, https://space.levo.in.net/W6OEVMW8/image-sR8IjbcW18vs-1080w.webp 1080w",
92
+ "https://static.levostg.online/W6OEVMW8/image-sR8IjbcW18vs-828w.webp",
93
+ path: "https://static.levostg.online/W6OEVMW8/image-sR8IjbcW18vs-320w.webp 320w, https://static.levostg.online/W6OEVMW8/image-sR8IjbcW18vs-750w.webp 750w, https://static.levostg.online/W6OEVMW8/image-sR8IjbcW18vs-640w.webp 640w, https://static.levostg.online/W6OEVMW8/image-sR8IjbcW18vs-1200w.webp 1200w, https://static.levostg.online/W6OEVMW8/image-sR8IjbcW18vs-1920w.webp 1920w, https://static.levostg.online/W6OEVMW8/image-sR8IjbcW18vs-828w.webp 828w, https://static.levostg.online/W6OEVMW8/image-sR8IjbcW18vs-1080w.webp 1080w",
94
94
  },
95
95
  },
96
96
  },
@@ -280,22 +280,11 @@ export const Cards4: IBlock = {
280
280
  filter: "drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2))",
281
281
  },
282
282
  main_title: {
283
- "font-size": "5xl",
284
- "font-weight": "700",
285
283
  color: "text-1",
286
- "line-height": "1.2",
287
- tablet: {
288
- "font-size": "3xl",
289
- },
290
- mobile: {
291
- "font-size": "2xl",
292
- },
293
284
  filter: "none",
294
285
  },
295
286
  header_button: {
296
287
  color: "text-3",
297
- "font-size": "base",
298
- "font-weight": "500",
299
288
  display: "flex",
300
289
  "align-items": "center",
301
290
  "column-gap": "xs",
@@ -321,8 +310,6 @@ export const Cards4: IBlock = {
321
310
  {
322
311
  title: {
323
312
  filter: "none",
324
- "font-size": "3xl",
325
- "font-weight": 700,
326
313
  },
327
314
  card: {
328
315
  filter: "drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2))",
@@ -332,7 +319,7 @@ export const Cards4: IBlock = {
332
319
  "padding-bottom": "4xl",
333
320
  "padding-left": "4xl",
334
321
  "padding-right": "4xl",
335
- "border-radius": "xl",
322
+ "border-radius": "base",
336
323
  mobile: {
337
324
  filter: "drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2))",
338
325
  "padding-top": "xl",
@@ -350,7 +337,6 @@ export const Cards4: IBlock = {
350
337
  },
351
338
  details: {
352
339
  filter: "none",
353
- "font-size": "base",
354
340
  },
355
341
  ctas_levoGroup: {
356
342
  filter: "none",
@@ -378,13 +364,11 @@ export const Cards4: IBlock = {
378
364
  {
379
365
  button: {
380
366
  filter: "none",
381
- "border-radius": "3xl",
382
367
  },
383
368
  },
384
369
  {
385
370
  button: {
386
371
  filter: "none",
387
- "border-radius": "3xl",
388
372
  },
389
373
  },
390
374
  ],
@@ -392,8 +376,6 @@ export const Cards4: IBlock = {
392
376
  {
393
377
  title: {
394
378
  filter: "none",
395
- "font-size": "3xl",
396
- "font-weight": 700,
397
379
  },
398
380
  card: {
399
381
  filter: "drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2))",
@@ -403,7 +385,7 @@ export const Cards4: IBlock = {
403
385
  "padding-bottom": "4xl",
404
386
  "padding-left": "4xl",
405
387
  "padding-right": "4xl",
406
- "border-radius": "xl",
388
+ "border-radius": "base",
407
389
  mobile: {
408
390
  filter: "drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2))",
409
391
  "padding-top": "xl",
@@ -421,7 +403,6 @@ export const Cards4: IBlock = {
421
403
  },
422
404
  details: {
423
405
  filter: "none",
424
- "font-size": "base",
425
406
  },
426
407
  ctas_levoGroup: {
427
408
  filter: "none",
@@ -449,13 +430,11 @@ export const Cards4: IBlock = {
449
430
  {
450
431
  button: {
451
432
  filter: "none",
452
- "border-radius": "3xl",
453
433
  },
454
434
  },
455
435
  {
456
436
  button: {
457
437
  filter: "none",
458
- "border-radius": "3xl",
459
438
  },
460
439
  },
461
440
  ],
@@ -463,8 +442,6 @@ export const Cards4: IBlock = {
463
442
  {
464
443
  title: {
465
444
  filter: "none",
466
- "font-size": "3xl",
467
- "font-weight": 700,
468
445
  },
469
446
  card: {
470
447
  filter: "drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2))",
@@ -474,7 +451,7 @@ export const Cards4: IBlock = {
474
451
  "padding-bottom": "4xl",
475
452
  "padding-left": "4xl",
476
453
  "padding-right": "4xl",
477
- "border-radius": "xl",
454
+ "border-radius": "base",
478
455
  mobile: {
479
456
  filter: "drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2))",
480
457
  "padding-top": "xl",
@@ -492,7 +469,6 @@ export const Cards4: IBlock = {
492
469
  },
493
470
  details: {
494
471
  filter: "none",
495
- "font-size": "base",
496
472
  },
497
473
  ctas_levoGroup: {
498
474
  filter: "none",
@@ -520,13 +496,11 @@ export const Cards4: IBlock = {
520
496
  {
521
497
  button: {
522
498
  filter: "none",
523
- "border-radius": "3xl",
524
499
  },
525
500
  },
526
501
  {
527
502
  button: {
528
503
  filter: "none",
529
- "border-radius": "3xl",
530
504
  },
531
505
  },
532
506
  ],
@@ -534,8 +508,6 @@ export const Cards4: IBlock = {
534
508
  {
535
509
  title: {
536
510
  filter: "none",
537
- "font-size": "3xl",
538
- "font-weight": 700,
539
511
  },
540
512
  card: {
541
513
  filter: "drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2))",
@@ -545,7 +517,7 @@ export const Cards4: IBlock = {
545
517
  "padding-bottom": "4xl",
546
518
  "padding-left": "4xl",
547
519
  "padding-right": "4xl",
548
- "border-radius": "xl",
520
+ "border-radius": "base",
549
521
  mobile: {
550
522
  filter: "drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2))",
551
523
  "padding-top": "xl",
@@ -563,7 +535,6 @@ export const Cards4: IBlock = {
563
535
  },
564
536
  details: {
565
537
  filter: "none",
566
- "font-size": "base",
567
538
  },
568
539
  ctas_levoGroup: {
569
540
  filter: "none",
@@ -591,13 +562,11 @@ export const Cards4: IBlock = {
591
562
  {
592
563
  button: {
593
564
  filter: "none",
594
- "border-radius": "3xl",
595
565
  },
596
566
  },
597
567
  {
598
568
  button: {
599
569
  filter: "none",
600
- "border-radius": "3xl",
601
570
  },
602
571
  },
603
572
  ],
@@ -621,6 +590,15 @@ export const Cards4: IBlock = {
621
590
  },
622
591
  content: DEFAULT_CONTENT,
623
592
  config: {
593
+ main_title: {
594
+ heading: {
595
+ level: 2,
596
+ },
597
+ selectedVariants: {
598
+ Heading_Level: "H2",
599
+ },
600
+ },
601
+
624
602
  "cards.0.ctas.0.button": {
625
603
  selectedVariants: {
626
604
  Button_Variants: "Primary",
@@ -1,50 +1,50 @@
1
1
  import {
2
- Box,
3
- Button,
4
- Container,
5
- Heading,
6
- type ILevoBlockBaseProps,
7
- Section,
8
- Typography,
2
+ Box,
3
+ Button,
4
+ Container,
5
+ Heading,
6
+ type ILevoBlockBaseProps,
7
+ Section,
8
+ Typography,
9
9
  } from "@levo-so/studio";
10
10
  import React from "react";
11
11
 
12
12
  import type { ICards4Content } from "./cards-4.schema";
13
13
 
14
14
  const Cards4: React.FC<ILevoBlockBaseProps<ICards4Content>> = ({ content }) => (
15
- <Section elementKey="layout">
16
- <Container elementKey="container">
17
- <Box elementKey="header_section">
18
- <Heading elementKey="main_title" />
19
- <Button elementKey="header_button" />
15
+ <Section elementKey="layout">
16
+ <Container elementKey="container">
17
+ <Box elementKey="header_section">
18
+ <Heading elementKey="main_title" />
19
+ <Button elementKey="header_button" />
20
+ </Box>
21
+ <Box elementKey="grid_levoGroup" data-levo_group>
22
+ {(content?.grid ?? []).map((_: any, index: number) => (
23
+ <Box
24
+ key={`cards-4-${index}`}
25
+ data-levo_group_item
26
+ elementKey={`grid.${index}.card`}
27
+ >
28
+ <Box elementKey={`grid.${index}.content_wrapper`}>
29
+ <Heading elementKey={`grid.${index}.title`} />
30
+ <Typography elementKey={`grid.${index}.details`} />
20
31
  </Box>
21
- <Box elementKey="grid_levoGroup" data-levo_group>
22
- {(content?.grid ?? []).map((_: any, index: number) => (
23
- <Box
24
- key={`cards-4-${index}`}
25
- data-levo_group_item
26
- elementKey={`grid.${index}.card`}
27
- >
28
- <Box elementKey={`grid.${index}.content_wrapper`}>
29
- <Heading elementKey={`grid.${index}.title`} />
30
- <Typography elementKey={`grid.${index}.details`} />
31
- </Box>
32
- <Box elementKey={`grid.${index}.ctas_levoGroup`} data-levo_group>
33
- {(content?.grid?.[index]?.ctas ?? []).map(
34
- (_: any, ctaIndex: number) => (
35
- <Button
36
- key={`cta-${ctaIndex}`}
37
- data-levo_group_item
38
- elementKey={`grid.${index}.ctas.${ctaIndex}.button`}
39
- />
40
- ),
41
- )}
42
- </Box>
43
- </Box>
44
- ))}
32
+ <Box elementKey={`grid.${index}.ctas_levoGroup`} data-levo_group>
33
+ {(content?.grid?.[index]?.ctas ?? []).map(
34
+ (_: any, ctaIndex: number) => (
35
+ <Button
36
+ key={`cta-${ctaIndex}`}
37
+ data-levo_group_item
38
+ elementKey={`grid.${index}.ctas.${ctaIndex}.button`}
39
+ />
40
+ ),
41
+ )}
45
42
  </Box>
46
- </Container>
47
- </Section>
43
+ </Box>
44
+ ))}
45
+ </Box>
46
+ </Container>
47
+ </Section>
48
48
  );
49
49
 
50
- export default Cards4;
50
+ export default Cards4;
@@ -174,13 +174,13 @@ export const Cards5: IBlock = {
174
174
  width: "100%",
175
175
  height: "100%",
176
176
  "object-fit": "cover",
177
- "border-radius": "lg",
177
+ "border-radius": "base",
178
178
  },
179
179
  right_section: {
180
180
  flex: "1",
181
181
  position: "relative",
182
182
  "min-height": "400px",
183
- "border-radius": "lg",
183
+ "border-radius": "base",
184
184
  overflow: "hidden",
185
185
  },
186
186
  background_image: {
@@ -197,17 +197,16 @@ export const Cards5: IBlock = {
197
197
  top: "50%",
198
198
  left: "50%",
199
199
  transform: "translate(-50%, -50%)",
200
- "background-color": "background-1",
201
200
  "padding-top": "xl",
202
201
  "padding-bottom": "xl",
203
202
  "padding-left": "lg",
204
203
  "padding-right": "lg",
205
- "border-radius": "lg",
206
- "box-shadow":
207
- "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
204
+ "border-radius": "base",
205
+ "box-shadow": "default",
208
206
  "z-index": "2",
209
207
  "text-align": "center",
210
208
  "max-width": "320px",
209
+ "background-color": "background-2",
211
210
  width: "90%",
212
211
  mobile: {
213
212
  "max-width": "280px",
@@ -218,47 +217,29 @@ export const Cards5: IBlock = {
218
217
  },
219
218
  },
220
219
  title: {
221
- "font-size": "2xl",
222
- "font-weight": "700",
223
220
  color: "text-1",
221
+ "font-size": "base",
224
222
  "margin-bottom": "base",
225
- "line-height": "1.3",
226
- mobile: {
227
- "font-size": "xl",
228
- },
229
223
  },
230
224
  description: {
231
- "font-size": "base",
232
225
  color: "text-2",
233
226
  "margin-bottom": "lg",
234
- "line-height": "1.6",
235
227
  mobile: {
236
- "font-size": "sm",
237
228
  "margin-bottom": "base",
238
229
  },
239
230
  },
240
- cta: {
241
- "background-color": "background-2",
242
- color: "text-1",
243
- "padding-top": "sm",
244
- "padding-bottom": "sm",
245
- "padding-left": "lg",
246
- "padding-right": "lg",
247
- "border-radius": "base",
248
- "font-weight": "600",
249
- border: "none",
250
- cursor: "pointer",
251
- mobile: {
252
- "padding-top": "xs",
253
- "padding-bottom": "xs",
254
- "padding-left": "base",
255
- "padding-right": "base",
256
- "font-size": "sm",
231
+ },
232
+ content: DEFAULT_CONTENT,
233
+ config: {
234
+ title: {
235
+ heading: {
236
+ level: 2,
237
+ },
238
+ selectedVariants: {
239
+ Heading_Level: "H2",
257
240
  },
258
241
  },
259
242
  },
260
- content: DEFAULT_CONTENT,
261
- config: {},
262
243
  },
263
244
  ],
264
245
  };