@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
@@ -2,19 +2,17 @@ import {
2
2
  Box,
3
3
  Container,
4
4
  Heading,
5
- Image,
5
+ Icon,
6
6
  type ILevoBlockBaseProps,
7
+ Image,
7
8
  Section,
8
9
  Typography,
9
- Icon,
10
10
  } from "@levo-so/studio";
11
- import React from "react";
11
+ import type React from "react";
12
12
 
13
13
  import type { ICards11Content } from "./cards-11.schema";
14
14
 
15
- const Cards11: React.FC<ILevoBlockBaseProps<ICards11Content>> = ({
16
- content,
17
- }) => (
15
+ const Cards11: React.FC<ILevoBlockBaseProps<ICards11Content>> = ({ content }) => (
18
16
  <Section elementKey="layout">
19
17
  <Container elementKey="container">
20
18
  <Box elementKey="header_section">
@@ -25,11 +23,7 @@ const Cards11: React.FC<ILevoBlockBaseProps<ICards11Content>> = ({
25
23
  <Box elementKey="left_container">
26
24
  <Box elementKey="cards_levoGroup" data-levo_group>
27
25
  {(content?.cards ?? []).map((_, index: number) => (
28
- <Box
29
- key={`card-${index}`}
30
- data-levo_group_item
31
- elementKey={`cards.${index}.card`}
32
- >
26
+ <Box key={`card-${index}`} data-levo_group_item elementKey={`cards.${index}.card`}>
33
27
  <Icon elementKey={`cards.${index}.icon`} />
34
28
  <Box elementKey={`cards.${index}.content_wrapper`}>
35
29
  <Heading elementKey={`cards.${index}.title`} />
@@ -1,5 +1,23 @@
1
1
  import type { IBlock } from "@levo-so/studio";
2
2
 
3
+ const MEDIA = {
4
+ id: "aytAUN3yAYoHd",
5
+ filename: "cards-12-1.png",
6
+ kind: "image",
7
+ location: "https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St.png",
8
+ srcset: {
9
+ "1080w": "https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-1080w.webp",
10
+ "1200w": "https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-1200w.webp",
11
+ "1920w": "https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-1920w.webp",
12
+ "320w": "https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-320w.webp",
13
+ "640w": "https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-640w.webp",
14
+ "750w": "https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-750w.webp",
15
+ "828w": "https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-828w.webp",
16
+ path: "https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-1920w.webp 1920w",
17
+ },
18
+ mimetype: "image/png",
19
+ };
20
+
3
21
  const DEFAULT_CONTENT = {
4
22
  layout: null,
5
23
  container: null,
@@ -11,30 +29,7 @@ const DEFAULT_CONTENT = {
11
29
  right_container: null,
12
30
  images: [
13
31
  {
14
- image: {
15
- id: "7141014160938075687",
16
- location:
17
- "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH.png",
18
- kind: "image",
19
- mimetype: "image/png",
20
- srcset: {
21
- "1080w":
22
- "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp",
23
- "1200w":
24
- "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp",
25
- "1920w":
26
- "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp",
27
- "320w":
28
- "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp",
29
- "640w":
30
- "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp",
31
- "750w":
32
- "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp",
33
- "828w":
34
- "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp",
35
- path: "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp 828w",
36
- },
37
- },
32
+ image: MEDIA,
38
33
  },
39
34
  ],
40
35
  cards: [
@@ -231,29 +226,8 @@ export const Cards12: IBlock = {
231
226
  title: "Default",
232
227
  key: "default",
233
228
  styles: {
234
- layout: {
235
- "padding-top": "5xl",
236
- "padding-bottom": "5xl",
237
- "padding-left": "xl",
238
- "padding-right": "xl",
239
- tablet: {
240
- "padding-top": "4xl",
241
- "padding-bottom": "4xl",
242
- "padding-left": "lg",
243
- "padding-right": "lg",
244
- },
245
- mobile: {
246
- "padding-top": "3xl",
247
- "padding-bottom": "3xl",
248
- "padding-left": "base",
249
- "padding-right": "base",
250
- },
251
- },
252
- container: {
253
- "max-width": "1280px",
254
- "margin-left": "auto",
255
- "margin-right": "auto",
256
- },
229
+ layout: {},
230
+ container: {},
257
231
  main_wrapper: {
258
232
  display: "flex",
259
233
  "column-gap": "5xl",
@@ -272,23 +246,8 @@ export const Cards12: IBlock = {
272
246
  "flex-direction": "column",
273
247
  "row-gap": "xl",
274
248
  },
275
- left_title: {
276
- "font-size": "4xl",
277
- "font-weight": "700",
278
- color: "text-1",
279
- "line-height": "1.2",
280
- tablet: {
281
- "font-size": "3xl",
282
- },
283
- mobile: {
284
- "font-size": "2xl",
285
- },
286
- },
287
- left_description: {
288
- "font-size": "lg",
289
- color: "text-2",
290
- "line-height": "1.6",
291
- },
249
+ left_title: {},
250
+ left_description: {},
292
251
  images_levoGroup: {
293
252
  display: "grid",
294
253
  "grid-template-columns": "repeat(1, minmax(0, 1fr))",
@@ -330,9 +289,12 @@ export const Cards12: IBlock = {
330
289
  "border-width": "1px",
331
290
  "border-color": "border",
332
291
  },
292
+ title: {
293
+ "font-weight": 600,
294
+ },
295
+ description: {},
333
296
  small_desc: {
334
- "font-size": "sm",
335
- "font-weight": "600",
297
+ "font-weight": 600,
336
298
  color: "text-3",
337
299
  "text-transform": "uppercase",
338
300
  "letter-spacing": "0.05em",
@@ -344,17 +306,6 @@ export const Cards12: IBlock = {
344
306
  "padding-bottom": "4xs",
345
307
  "border-radius": "3xl",
346
308
  },
347
- title: {
348
- "font-size": "xl",
349
- "font-weight": "600",
350
- color: "text-1",
351
- "line-height": "1.3",
352
- },
353
- description: {
354
- "font-size": "base",
355
- color: "text-2",
356
- "line-height": "1.6",
357
- },
358
309
  },
359
310
  {
360
311
  card: {
@@ -369,9 +320,12 @@ export const Cards12: IBlock = {
369
320
  "border-width": "1px",
370
321
  "border-color": "border",
371
322
  },
323
+ title: {
324
+ "font-weight": 600,
325
+ },
326
+ description: {},
372
327
  small_desc: {
373
- "font-size": "sm",
374
- "font-weight": "600",
328
+ "font-weight": 600,
375
329
  color: "text-3",
376
330
  "text-transform": "uppercase",
377
331
  "letter-spacing": "0.05em",
@@ -383,34 +337,10 @@ export const Cards12: IBlock = {
383
337
  "padding-bottom": "4xs",
384
338
  "border-radius": "3xl",
385
339
  },
386
- title: {
387
- "font-size": "xl",
388
- "font-weight": "600",
389
- color: "text-1",
390
- "line-height": "1.3",
391
- },
392
- description: {
393
- "font-size": "base",
394
- color: "text-2",
395
- "line-height": "1.6",
396
- },
397
340
  },
398
341
  {
399
- card: {
400
- display: "flex",
401
- "flex-direction": "column",
402
- "row-gap": "sm",
403
- "padding-top": "lg",
404
- "padding-bottom": "lg",
405
- "padding-left": "lg",
406
- "padding-right": "lg",
407
- "border-radius": "lg",
408
- "border-width": "1px",
409
- "border-color": "border",
410
- },
411
342
  small_desc: {
412
- "font-size": "sm",
413
- "font-weight": "600",
343
+ "font-weight": 600,
414
344
  color: "text-3",
415
345
  "text-transform": "uppercase",
416
346
  "letter-spacing": "0.05em",
@@ -422,19 +352,6 @@ export const Cards12: IBlock = {
422
352
  "padding-bottom": "4xs",
423
353
  "border-radius": "3xl",
424
354
  },
425
- title: {
426
- "font-size": "xl",
427
- "font-weight": "600",
428
- color: "text-1",
429
- "line-height": "1.3",
430
- },
431
- description: {
432
- "font-size": "base",
433
- color: "text-2",
434
- "line-height": "1.6",
435
- },
436
- },
437
- {
438
355
  card: {
439
356
  display: "flex",
440
357
  "flex-direction": "column",
@@ -447,9 +364,14 @@ export const Cards12: IBlock = {
447
364
  "border-width": "1px",
448
365
  "border-color": "border",
449
366
  },
367
+ title: {
368
+ "font-weight": 600,
369
+ },
370
+ description: {},
371
+ },
372
+ {
450
373
  small_desc: {
451
- "font-size": "sm",
452
- "font-weight": "600",
374
+ "font-weight": 600,
453
375
  color: "text-3",
454
376
  "text-transform": "uppercase",
455
377
  "letter-spacing": "0.05em",
@@ -461,19 +383,6 @@ export const Cards12: IBlock = {
461
383
  "padding-bottom": "4xs",
462
384
  "border-radius": "3xl",
463
385
  },
464
- title: {
465
- "font-size": "xl",
466
- "font-weight": "600",
467
- color: "text-1",
468
- "line-height": "1.3",
469
- },
470
- description: {
471
- "font-size": "base",
472
- color: "text-2",
473
- "line-height": "1.6",
474
- },
475
- },
476
- {
477
386
  card: {
478
387
  display: "flex",
479
388
  "flex-direction": "column",
@@ -486,93 +395,98 @@ export const Cards12: IBlock = {
486
395
  "border-width": "1px",
487
396
  "border-color": "border",
488
397
  },
489
- small_desc: {
490
- "font-size": "sm",
491
- "font-weight": "600",
492
- color: "text-3",
493
- "text-transform": "uppercase",
494
- "letter-spacing": "0.05em",
495
- },
496
398
  title: {
497
- "font-size": "xl",
498
- "font-weight": "600",
499
- color: "text-1",
500
- "line-height": "1.3",
501
- },
502
- description: {
503
- "font-size": "base",
504
- color: "text-2",
505
- "line-height": "1.6",
399
+ "font-weight": 600,
506
400
  },
401
+ description: {},
507
402
  },
403
+ ],
404
+ },
405
+ content: DEFAULT_CONTENT,
406
+ config: {
407
+ left_title: {
408
+ selectedVariants: {
409
+ Heading_Level: "H3",
410
+ },
411
+ },
412
+ left_description: {
413
+ selectedVariants: {},
414
+ },
415
+ cards: [
508
416
  {
509
- card: {
510
- display: "flex",
511
- "flex-direction": "column",
512
- "row-gap": "sm",
513
- "padding-top": "lg",
514
- "padding-bottom": "lg",
515
- "padding-left": "lg",
516
- "padding-right": "lg",
517
- "border-radius": "lg",
518
- "border-width": "1px",
519
- "border-color": "border",
417
+ title: {
418
+ heading: {
419
+ level: "4",
420
+ },
421
+ selectedVariants: {
422
+ Heading_Level: "H5",
423
+ },
424
+ },
425
+ description: {
426
+ selectedVariants: {},
520
427
  },
521
428
  small_desc: {
522
- "font-size": "sm",
523
- "font-weight": "600",
524
- color: "text-3",
525
- "text-transform": "uppercase",
526
- "letter-spacing": "0.05em",
429
+ selectedVariants: {
430
+ Typography_Variants: "Small",
431
+ },
527
432
  },
433
+ },
434
+ {
528
435
  title: {
529
- "font-size": "xl",
530
- "font-weight": "600",
531
- color: "text-1",
532
- "line-height": "1.3",
436
+ selectedVariants: {
437
+ Heading_Level: "H5",
438
+ },
439
+ heading: {
440
+ level: "4",
441
+ },
533
442
  },
534
443
  description: {
535
- "font-size": "base",
536
- color: "text-2",
537
- "line-height": "1.6",
444
+ selectedVariants: {},
445
+ },
446
+ small_desc: {
447
+ selectedVariants: {
448
+ Typography_Variants: "Small",
449
+ },
538
450
  },
539
451
  },
540
452
  {
541
- card: {
542
- display: "flex",
543
- "flex-direction": "column",
544
- "row-gap": "sm",
545
- "padding-top": "lg",
546
- "padding-bottom": "lg",
547
- "padding-left": "lg",
548
- "padding-right": "lg",
549
- "border-radius": "lg",
550
- "border-width": "1px",
551
- "border-color": "border",
453
+ title: {
454
+ selectedVariants: {
455
+ Heading_Level: "H5",
456
+ },
457
+ heading: {
458
+ level: "4",
459
+ },
460
+ },
461
+ description: {
462
+ selectedVariants: {},
552
463
  },
553
464
  small_desc: {
554
- "font-size": "sm",
555
- "font-weight": "600",
556
- color: "text-3",
557
- "text-transform": "uppercase",
558
- "letter-spacing": "0.05em",
465
+ selectedVariants: {
466
+ Typography_Variants: "Small",
467
+ },
559
468
  },
469
+ },
470
+ {
560
471
  title: {
561
- "font-size": "xl",
562
- "font-weight": "600",
563
- color: "text-1",
564
- "line-height": "1.3",
472
+ selectedVariants: {
473
+ Heading_Level: "H5",
474
+ },
475
+ heading: {
476
+ level: "4",
477
+ },
565
478
  },
566
479
  description: {
567
- "font-size": "base",
568
- color: "text-2",
569
- "line-height": "1.6",
480
+ selectedVariants: {},
481
+ },
482
+ small_desc: {
483
+ selectedVariants: {
484
+ Typography_Variants: "Small",
485
+ },
570
486
  },
571
487
  },
572
488
  ],
573
489
  },
574
- content: DEFAULT_CONTENT,
575
- config: {},
576
490
  },
577
491
  ],
578
492
  };
@@ -2,18 +2,16 @@ import {
2
2
  Box,
3
3
  Container,
4
4
  Heading,
5
- Image,
6
5
  type ILevoBlockBaseProps,
6
+ Image,
7
7
  Section,
8
8
  Typography,
9
9
  } from "@levo-so/studio";
10
- import React from "react";
10
+ import type React from "react";
11
11
 
12
12
  import type { ICards12Content } from "./cards-12.schema";
13
13
 
14
- const Cards12: React.FC<ILevoBlockBaseProps<ICards12Content>> = ({
15
- content,
16
- }) => (
14
+ const Cards12: React.FC<ILevoBlockBaseProps<ICards12Content>> = ({ content }) => (
17
15
  <Section elementKey="layout">
18
16
  <Container elementKey="container">
19
17
  <Box elementKey="main_wrapper">
@@ -34,11 +32,7 @@ const Cards12: React.FC<ILevoBlockBaseProps<ICards12Content>> = ({
34
32
  <Box elementKey="right_container">
35
33
  <Box elementKey="cards_levoGroup" data-levo_group>
36
34
  {(content?.cards ?? []).map((_, index: number) => (
37
- <Box
38
- key={`card-${index}`}
39
- data-levo_group_item
40
- elementKey={`cards.${index}.card`}
41
- >
35
+ <Box key={`card-${index}`} data-levo_group_item elementKey={`cards.${index}.card`}>
42
36
  <Typography elementKey={`cards.${index}.small_desc`} />
43
37
  <Heading elementKey={`cards.${index}.title`} />
44
38
  <Typography elementKey={`cards.${index}.description`} />