@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,7 +2,6 @@
2
2
 
3
3
  import type { CarouselApi } from "@levo-so/studio";
4
4
  import {
5
- type ILevoBlockBaseProps,
6
5
  Box,
7
6
  Button,
8
7
  Carousel,
@@ -10,8 +9,9 @@ import {
10
9
  CarouselItem,
11
10
  Container,
12
11
  Heading,
13
- Iframe,
14
12
  Icon,
13
+ Iframe,
14
+ type ILevoBlockBaseProps,
15
15
  Media,
16
16
  Section,
17
17
  Typography,
@@ -20,9 +20,7 @@ import { useEffect, useState } from "react";
20
20
 
21
21
  import type { ITestimonial4Content } from "./testimonial-4.schema";
22
22
 
23
- const Testimonial4: React.FC<ILevoBlockBaseProps<ITestimonial4Content>> = ({
24
- content,
25
- }) => {
23
+ const Testimonial4: React.FC<ILevoBlockBaseProps<ITestimonial4Content>> = ({ content }) => {
26
24
  const [api, setApi] = useState<CarouselApi>();
27
25
  const [current, setCurrent] = useState(0);
28
26
  const [count, setCount] = useState(0);
@@ -64,7 +62,10 @@ const Testimonial4: React.FC<ILevoBlockBaseProps<ITestimonial4Content>> = ({
64
62
  <Box elementKey="badge-container">
65
63
  <Typography elementKey="badge-text" />
66
64
  </Box>
67
- <Heading elementKey="title" />
65
+ <Box elementKey="text-container">
66
+ <Heading elementKey="title" />
67
+ <Typography elementKey="description" />
68
+ </Box>
68
69
  </Box>
69
70
  {count > 0 && (
70
71
  <Box elementKey="carousel-navigation-top-container">
@@ -129,37 +130,18 @@ const Testimonial4: React.FC<ILevoBlockBaseProps<ITestimonial4Content>> = ({
129
130
  <CarouselItem key={index} data-levo_group_item>
130
131
  <Box elementKey={`testimonials.${index}.testimonial`}>
131
132
  <Box elementKey={`testimonials.${index}.cover-container`}>
132
- <Media
133
- elementKey={`testimonials.${index}.cover`}
134
- alt="cover"
135
- />
136
- <Iframe
137
- elementKey={`testimonials.${index}.cover_embed`}
138
- />
133
+ <Media elementKey={`testimonials.${index}.cover`} alt="cover" />
134
+ <Iframe elementKey={`testimonials.${index}.cover_embed`} />
139
135
  </Box>
140
- <Box
141
- elementKey={`testimonials.${index}.testimonial-content-wrapper`}
142
- >
143
- <Box
144
- elementKey={`testimonials.${index}.testimonial-content`}
145
- >
136
+ <Box elementKey={`testimonials.${index}.testimonial-content-wrapper`}>
137
+ <Box elementKey={`testimonials.${index}.testimonial-content`}>
146
138
  <Icon elementKey={`testimonials.${index}.icon`} />
147
- <Box
148
- elementKey={`testimonials.${index}.testimonial-info`}
149
- >
150
- <Typography
151
- elementKey={`testimonials.${index}.testimonial-text`}
152
- />
139
+ <Box elementKey={`testimonials.${index}.testimonial-info`}>
140
+ <Typography elementKey={`testimonials.${index}.testimonial-text`} />
153
141
 
154
- <Box
155
- elementKey={`testimonials.${index}.author-wrapper`}
156
- >
157
- <Heading
158
- elementKey={`testimonials.${index}.author-name`}
159
- />
160
- <Typography
161
- elementKey={`testimonials.${index}.author-position`}
162
- />
142
+ <Box elementKey={`testimonials.${index}.author-wrapper`}>
143
+ <Heading elementKey={`testimonials.${index}.author-name`} />
144
+ <Typography elementKey={`testimonials.${index}.author-position`} />
163
145
  </Box>
164
146
  </Box>
165
147
  </Box>
@@ -11,11 +11,64 @@ const DUMMY_ICON = {
11
11
  },
12
12
  };
13
13
 
14
+ const MEDIA_AVATAR_1 = {
15
+ id: "R6eXNbORkdbl",
16
+ filename: "testimonial-5-avatar-1.png",
17
+ kind: "image",
18
+ location: "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL.png",
19
+ srcset: {
20
+ "1080w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-1080w.webp",
21
+ "1200w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-1200w.webp",
22
+ "1920w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-1920w.webp",
23
+ "320w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-320w.webp",
24
+ "640w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-640w.webp",
25
+ "750w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-750w.webp",
26
+ "828w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-828w.webp",
27
+ path: "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-1920w.webp 1920w",
28
+ },
29
+ mimetype: "image/png",
30
+ };
31
+
32
+ const MEDIA_AVATAR_2 = {
33
+ id: "6Hg6xxyV3ZKJ",
34
+ filename: "testimonial-5-avatar-2.png",
35
+ kind: "image",
36
+ location: "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc.png",
37
+ srcset: {
38
+ "1080w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-1080w.webp",
39
+ "1200w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-1200w.webp",
40
+ "1920w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-1920w.webp",
41
+ "320w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-320w.webp",
42
+ "640w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-640w.webp",
43
+ "750w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-750w.webp",
44
+ "828w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-828w.webp",
45
+ path: "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-1200w.webp 1200w",
46
+ },
47
+ mimetype: "image/png",
48
+ };
49
+ const MEDIA_AVATAR_3 = {
50
+ id: "VbXFFm7BySJX9",
51
+ filename: "testimonial-5-avatar-3.png",
52
+ kind: "image",
53
+ location: "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY.png",
54
+ srcset: {
55
+ "1080w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-1080w.webp",
56
+ "1200w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-1200w.webp",
57
+ "1920w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-1920w.webp",
58
+ "320w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-320w.webp",
59
+ "640w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-640w.webp",
60
+ "750w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-750w.webp",
61
+ "828w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-828w.webp",
62
+ path: "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-750w.webp 750w",
63
+ },
64
+ mimetype: "image/png",
65
+ };
66
+
14
67
  const DEFAULT_TESTIMONIALS_CONTENT = [
15
68
  {
16
69
  card: null,
17
70
  profileSection: null,
18
- avatar: DUMMY_ICON,
71
+ avatar: MEDIA_AVATAR_1,
19
72
  clientInfo: null,
20
73
  name: "John Smith",
21
74
  position: "Director, Global Supply Chain",
@@ -25,7 +78,7 @@ const DEFAULT_TESTIMONIALS_CONTENT = [
25
78
  {
26
79
  card: null,
27
80
  profileSection: null,
28
- avatar: DUMMY_ICON,
81
+ avatar: MEDIA_AVATAR_1,
29
82
  clientInfo: null,
30
83
  name: "Sarah Chen",
31
84
  position: "VP of Operations",
@@ -35,7 +88,7 @@ const DEFAULT_TESTIMONIALS_CONTENT = [
35
88
  {
36
89
  card: null,
37
90
  profileSection: null,
38
- avatar: DUMMY_ICON,
91
+ avatar: MEDIA_AVATAR_1,
39
92
  clientInfo: null,
40
93
  name: "Michael Rodriguez",
41
94
  position: "Chief Technology Officer",
@@ -45,7 +98,7 @@ const DEFAULT_TESTIMONIALS_CONTENT = [
45
98
  {
46
99
  card: null,
47
100
  profileSection: null,
48
- avatar: DUMMY_ICON,
101
+ avatar: MEDIA_AVATAR_1,
49
102
  clientInfo: null,
50
103
  name: "Emily Johnson",
51
104
  position: "Supply Chain Manager",
@@ -68,108 +121,20 @@ export const DEFAULT_CONTENT = {
68
121
  "carousel-navigation-pill": null,
69
122
  };
70
123
 
71
- const TESTIMONIAL_CARD_STYLE = {
72
- card: {
73
- display: "flex",
74
- "flex-direction": "column",
75
- "background-color": "var(--color-background)",
76
- "border-radius": "2xl",
77
- "box-shadow": "lg",
78
- padding: "2xl",
79
- "row-gap": "xl",
80
- border: "1px solid",
81
- "border-color": "var(--color-border)",
82
- height: "100%",
83
- mobile: {
84
- padding: "lg",
85
- "row-gap": "lg",
86
- },
87
- },
88
- profileSection: {
89
- display: "flex",
90
- "align-items": "center",
91
- "column-gap": "lg",
92
- mobile: {
93
- "column-gap": "sm",
94
- },
95
- },
96
- avatar: {
97
- height: "64px",
98
- width: "64px",
99
- "border-radius": "50%",
100
- "object-fit": "cover",
101
- border: "2px solid",
102
- "border-color": "var(--color-border)",
103
- mobile: {
104
- height: "48px",
105
- width: "48px",
106
- },
107
- },
108
- clientInfo: {
109
- display: "flex",
110
- "flex-direction": "column",
111
- "row-gap": "4xs",
112
- },
113
- name: {
114
- color: "var(--color-text-1)",
115
- "font-size": "xl",
116
- "font-weight": "bold",
117
- mobile: {
118
- "font-size": "lg",
119
- },
120
- },
121
- position: {
122
- color: "var(--color-text-2)",
123
- "font-size": "sm",
124
- "font-weight": "medium",
125
- },
126
- quote: {
127
- color: "var(--color-text-1)",
128
- "font-size": "base",
129
- "line-height": 1.6,
130
- "font-style": "italic",
131
- mobile: {
132
- "font-size": "sm",
133
- },
134
- },
135
- };
136
-
137
- const TESTIMONIALS_STYLES = Array(DEFAULT_TESTIMONIALS_CONTENT.length)
138
- ?.fill(0)
139
- ?.map(() => TESTIMONIAL_CARD_STYLE);
140
-
141
124
  export const defaultTestimonial5Variant: IBlockLayouts = {
142
125
  key: "default",
143
126
  title: "Default",
144
127
  styles: {
145
- layout: {
146
- width: "100%",
147
- "padding-top": "10xl",
148
- "padding-bottom": "10xl",
149
- "padding-right": "8xl",
150
- "padding-left": "8xl",
151
- "media:max:768px": {
152
- "padding-top": "5xl",
153
- "padding-bottom": "5xl",
154
- "padding-right": "5xl",
155
- "padding-left": "5xl",
156
- },
157
- "media:max:480px": {
158
- "padding-top": "2xl",
159
- "padding-bottom": "2xl",
160
- "padding-right": "2xl",
161
- "padding-left": "2xl",
162
- },
163
- },
128
+ layout: {},
164
129
  container: {
165
130
  width: "100%",
166
131
  display: "flex",
167
132
  "flex-direction": "column",
168
133
  "row-gap": "7xl",
169
- "media:max:768px": {
134
+ tablet: {
170
135
  "row-gap": "3xl",
171
136
  },
172
- "media:max:480px": {
137
+ mobile: {
173
138
  "row-gap": "4xl",
174
139
  },
175
140
  },
@@ -189,21 +154,8 @@ export const defaultTestimonial5Variant: IBlockLayouts = {
189
154
  "row-gap": "sm",
190
155
  "max-width": "600px",
191
156
  },
192
- title: {
193
- "font-size": "3xl",
194
- "font-weight": "bold",
195
- color: "var(--color-text-1)",
196
- tablet: {
197
- "font-size": "2xl",
198
- },
199
- },
200
- description: {
201
- "font-size": "lg",
202
- color: "var(--color-text-2)",
203
- tablet: {
204
- "font-size": "base",
205
- },
206
- },
157
+ title: {},
158
+ description: {},
207
159
  testimonials_levoGroup: {
208
160
  number_of_slides: 1,
209
161
  tablet: {
@@ -257,26 +209,13 @@ export const defaultTestimonial5Variant: IBlockLayouts = {
257
209
  "row-gap": "4xs",
258
210
  },
259
211
  name: {
260
- color: "var(--color-text-1)",
261
- "font-size": "xl",
262
- "font-weight": "bold",
263
- mobile: {
264
- "font-size": "lg",
265
- },
212
+ "font-weight": 700,
266
213
  },
267
214
  position: {
268
- color: "var(--color-text-2)",
269
- "font-size": "sm",
270
- "font-weight": "medium",
215
+ "font-weight": 500,
271
216
  },
272
217
  quote: {
273
- color: "var(--color-text-1)",
274
- "font-size": "base",
275
- "line-height": 1.6,
276
218
  "font-style": "italic",
277
- mobile: {
278
- "font-size": "sm",
279
- },
280
219
  },
281
220
  },
282
221
  {
@@ -322,26 +261,13 @@ export const defaultTestimonial5Variant: IBlockLayouts = {
322
261
  "row-gap": "4xs",
323
262
  },
324
263
  name: {
325
- color: "var(--color-text-1)",
326
- "font-size": "xl",
327
- "font-weight": "bold",
328
- mobile: {
329
- "font-size": "lg",
330
- },
264
+ "font-weight": 700,
331
265
  },
332
266
  position: {
333
- color: "var(--color-text-2)",
334
- "font-size": "sm",
335
- "font-weight": "medium",
267
+ "font-weight": 500,
336
268
  },
337
269
  quote: {
338
- color: "var(--color-text-1)",
339
- "font-size": "base",
340
- "line-height": 1.6,
341
270
  "font-style": "italic",
342
- mobile: {
343
- "font-size": "sm",
344
- },
345
271
  },
346
272
  },
347
273
  {
@@ -387,32 +313,19 @@ export const defaultTestimonial5Variant: IBlockLayouts = {
387
313
  "row-gap": "4xs",
388
314
  },
389
315
  name: {
390
- color: "var(--color-text-1)",
391
- "font-size": "xl",
392
- "font-weight": "bold",
393
- mobile: {
394
- "font-size": "lg",
395
- },
316
+ "font-weight": 700,
396
317
  },
397
318
  position: {
398
- color: "var(--color-text-2)",
399
- "font-size": "sm",
400
- "font-weight": "medium",
319
+ "font-weight": 500,
401
320
  },
402
321
  quote: {
403
- color: "var(--color-text-1)",
404
- "font-size": "base",
405
- "line-height": 1.6,
406
322
  "font-style": "italic",
407
- mobile: {
408
- "font-size": "sm",
409
- },
410
323
  },
411
324
  },
412
325
  {
413
326
  card: {
414
327
  display: "flex",
415
- "flex-direction": "column",
328
+ "flex-direction": "column-reverse",
416
329
  "background-color": "var(--color-background)",
417
330
  "border-radius": "2xl",
418
331
  "box-shadow": "lg",
@@ -452,26 +365,13 @@ export const defaultTestimonial5Variant: IBlockLayouts = {
452
365
  "row-gap": "4xs",
453
366
  },
454
367
  name: {
455
- color: "var(--color-text-1)",
456
- "font-size": "xl",
457
- "font-weight": "bold",
458
- mobile: {
459
- "font-size": "lg",
460
- },
368
+ "font-weight": 700,
461
369
  },
462
370
  position: {
463
- color: "var(--color-text-2)",
464
- "font-size": "sm",
465
- "font-weight": "medium",
371
+ "font-weight": 500,
466
372
  },
467
373
  quote: {
468
- color: "var(--color-text-1)",
469
- "font-size": "base",
470
- "line-height": 1.6,
471
374
  "font-style": "italic",
472
- mobile: {
473
- "font-size": "sm",
474
- },
475
375
  },
476
376
  },
477
377
  ],
@@ -506,5 +406,89 @@ export const defaultTestimonial5Variant: IBlockLayouts = {
506
406
  autoPlay: false,
507
407
  },
508
408
  },
409
+ title: {
410
+ selectedVariants: {
411
+ Heading_Level: "H2",
412
+ },
413
+ },
414
+ description: {
415
+ selectedVariants: {
416
+ Typography_Variants: "Large",
417
+ },
418
+ },
419
+ testimonials: [
420
+ {
421
+ name: {
422
+ heading: {
423
+ level: "4",
424
+ },
425
+ selectedVariants: {
426
+ Heading_Level: "H5",
427
+ },
428
+ },
429
+ position: {
430
+ selectedVariants: {
431
+ Typography_Variants: "Small",
432
+ },
433
+ },
434
+ quote: {
435
+ selectedVariants: {},
436
+ },
437
+ },
438
+ {
439
+ name: {
440
+ selectedVariants: {
441
+ Heading_Level: "H5",
442
+ },
443
+ heading: {
444
+ level: "4",
445
+ },
446
+ },
447
+ quote: {
448
+ selectedVariants: {},
449
+ },
450
+ position: {
451
+ selectedVariants: {
452
+ Typography_Variants: "Small",
453
+ },
454
+ },
455
+ },
456
+ {
457
+ name: {
458
+ selectedVariants: {
459
+ Heading_Level: "H5",
460
+ },
461
+ heading: {
462
+ level: "4",
463
+ },
464
+ },
465
+ quote: {
466
+ selectedVariants: {},
467
+ },
468
+ position: {
469
+ selectedVariants: {
470
+ Typography_Variants: "Small",
471
+ },
472
+ },
473
+ },
474
+ {
475
+ name: {
476
+ selectedVariants: {
477
+ Heading_Level: "H5",
478
+ },
479
+ heading: {
480
+ level: "4",
481
+ },
482
+ },
483
+ quote: {
484
+ selectedVariants: {},
485
+ },
486
+ position: {
487
+ selectedVariants: {
488
+ Typography_Variants: "Small",
489
+ },
490
+ },
491
+ },
492
+ ],
509
493
  },
510
494
  };
@@ -1,4 +1,4 @@
1
- import { defaultTestimonial5Variant, DEFAULT_CONTENT } from "./default";
1
+ import { DEFAULT_CONTENT, defaultTestimonial5Variant } from "./default";
2
2
  import { testimonialWithRatings } from "./testimonialWithRatings";
3
3
 
4
4
  export { defaultTestimonial5Variant, testimonialWithRatings, DEFAULT_CONTENT };