@levo-so/blocks 0.1.101 → 0.1.103

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 (177) hide show
  1. package/package.json +24 -23
  2. package/src/blocks/about-us/about-us-1.schema.ts +302 -295
  3. package/src/blocks/about-us/about-us-2.schema.ts +225 -220
  4. package/src/blocks/blogs/blog-author-1.schema.ts +719 -0
  5. package/src/blocks/blogs/blog-author-1.tsx +121 -0
  6. package/src/blocks/blogs/blog-listing-1.tsx +111 -33
  7. package/src/blocks/blogs/blog-listing-2.schema.ts +15 -33
  8. package/src/blocks/blogs/blog-listing-2.tsx +118 -33
  9. package/src/blocks/blogs/blog-listing-3.schema.ts +10 -22
  10. package/src/blocks/blogs/blog-listing-3.tsx +118 -33
  11. package/src/blocks/blogs/blog-post-1.schema.ts +766 -16
  12. package/src/blocks/blogs/blog-post-1.tsx +272 -39
  13. package/src/blocks/calendar/calendar-1.schema.ts +641 -192
  14. package/src/blocks/calendar/calendar-1.tsx +1 -0
  15. package/src/blocks/cards/cards-10.schema.ts +557 -544
  16. package/src/blocks/cards/cards-11.schema.ts +525 -419
  17. package/src/blocks/cards/cards-12.schema.ts +538 -147
  18. package/src/blocks/cards/cards-13.schema.ts +482 -312
  19. package/src/blocks/cards/cards-14.schema.ts +423 -196
  20. package/src/blocks/cards/cards-15.schema.ts +309 -143
  21. package/src/blocks/cards/cards-16.schema.ts +1277 -175
  22. package/src/blocks/cards/cards-17.schema.ts +2908 -1303
  23. package/src/blocks/cards/cards-18.schema.ts +1404 -217
  24. package/src/blocks/cards/cards-19.schema.ts +1105 -1084
  25. package/src/blocks/cards/cards-19.tsx +4 -5
  26. package/src/blocks/cards/cards-2.schema.ts +513 -42
  27. package/src/blocks/cards/cards-20.schema.ts +790 -212
  28. package/src/blocks/cards/cards-21.schema.ts +1215 -229
  29. package/src/blocks/cards/cards-21.tsx +51 -6
  30. package/src/blocks/cards/cards-22.schema.ts +1252 -2809
  31. package/src/blocks/cards/cards-22.tsx +6 -7
  32. package/src/blocks/cards/cards-23.schema.ts +571 -109
  33. package/src/blocks/cards/cards-3.schema.ts +355 -116
  34. package/src/blocks/cards/cards-4.schema.ts +805 -321
  35. package/src/blocks/cards/cards-5.schema.ts +216 -64
  36. package/src/blocks/cards/cards-6.schema.ts +568 -1330
  37. package/src/blocks/cards/cards-7.schema.ts +1181 -1378
  38. package/src/blocks/cards/cards-8.schema.ts +585 -221
  39. package/src/blocks/cards/cards-9.schema.ts +763 -382
  40. package/src/blocks/carousel/carousel-1.schema.ts +257 -502
  41. package/src/blocks/carousel/carousel-1.tsx +2 -2
  42. package/src/blocks/carousel/carousel-2.schema.ts +771 -761
  43. package/src/blocks/community/community-1.schema.ts +8 -23
  44. package/src/blocks/community/community-1.tsx +3 -3
  45. package/src/blocks/community/community-post-1.tsx +4 -4
  46. package/src/blocks/contact-us/contact-us-1.schema.ts +360 -14
  47. package/src/blocks/contact-us/contact-us-2.schema.ts +441 -325
  48. package/src/blocks/content/content-1.schema.ts +800 -381
  49. package/src/blocks/content/content-10.schema.ts +763 -20
  50. package/src/blocks/content/content-2.schema.ts +426 -52
  51. package/src/blocks/content/content-3.schema.ts +631 -432
  52. package/src/blocks/content/content-4.schema.ts +378 -123
  53. package/src/blocks/content/content-5.schema.ts +1152 -682
  54. package/src/blocks/content/content-6.schema.ts +679 -707
  55. package/src/blocks/content/content-7.schema.ts +694 -291
  56. package/src/blocks/content/content-8.schema.ts +247 -7
  57. package/src/blocks/content/content-9.schema.ts +855 -116
  58. package/src/blocks/cta/cta-1.schema.ts +294 -62
  59. package/src/blocks/cta/cta-2.schema.ts +302 -66
  60. package/src/blocks/cta/cta-2.tsx +1 -2
  61. package/src/blocks/cta/cta-3.schema.ts +312 -62
  62. package/src/blocks/ecommerce/ecommerce-1.schema.ts +477 -0
  63. package/src/blocks/ecommerce/ecommerce-1.tsx +243 -0
  64. package/src/blocks/ecommerce/ecommerce-2.schema.ts +268 -0
  65. package/src/blocks/ecommerce/ecommerce-2.tsx +238 -0
  66. package/src/blocks/ecommerce/ecommerce-3.schema.ts +56 -0
  67. package/src/blocks/ecommerce/ecommerce-3.tsx +72 -0
  68. package/src/blocks/ecommerce/ecommerce-4.schema.ts +461 -0
  69. package/src/blocks/ecommerce/ecommerce-4.tsx +249 -0
  70. package/src/blocks/ecommerce/ecommerce-5.schema.ts +230 -0
  71. package/src/blocks/ecommerce/ecommerce-5.tsx +146 -0
  72. package/src/blocks/embed/embed-1.schema.ts +181 -0
  73. package/src/blocks/event/event-listing-2.schema.ts +5 -11
  74. package/src/blocks/event/event-listing-3.schema.ts +5 -11
  75. package/src/blocks/event/event-listing-4.schema.ts +5 -11
  76. package/src/blocks/event/event-listing.schema.ts +5 -11
  77. package/src/blocks/faq/faq-1.schema.ts +439 -260
  78. package/src/blocks/faq/faq-2.schema.ts +444 -266
  79. package/src/blocks/faq/faq-3.schema.ts +1420 -224
  80. package/src/blocks/features/features-1/features-1.schema.ts +21 -21
  81. package/src/blocks/features/features-1/variants/default.ts +120 -138
  82. package/src/blocks/features/features-1/variants/index.ts +2 -2
  83. package/src/blocks/features/features-1/variants/minimal-list.ts +139 -0
  84. package/src/blocks/features/features-1/variants/stylized-cards-v1.ts +69 -385
  85. package/src/blocks/features/features-1/variants/stylized-cards-v2.ts +74 -408
  86. package/src/blocks/features/features-2.schema.ts +368 -286
  87. package/src/blocks/features/features-3.schema.ts +557 -280
  88. package/src/blocks/features/features-4.schema.ts +940 -432
  89. package/src/blocks/features/features-5.schema.ts +566 -407
  90. package/src/blocks/features/features-6.schema.ts +557 -523
  91. package/src/blocks/filter-listing/filter-listing-1.schema.ts +922 -270
  92. package/src/blocks/floating-buttons/floating-button-1.schema.ts +123 -0
  93. package/src/blocks/footer/footer-1.schema.ts +383 -401
  94. package/src/blocks/footer/footer-2.schema.ts +337 -878
  95. package/src/blocks/footer/footer-3.schema.ts +445 -381
  96. package/src/blocks/footer/footer-4.schema.ts +610 -439
  97. package/src/blocks/footer/footer-5.schema.ts +367 -321
  98. package/src/blocks/footer/footer-6.schema.ts +610 -357
  99. package/src/blocks/form/form-1.schema.ts +237 -0
  100. package/src/blocks/hero/hero-1.schema.ts +251 -221
  101. package/src/blocks/hero/hero-10.schema.ts +23 -14
  102. package/src/blocks/hero/hero-11.schema.ts +728 -601
  103. package/src/blocks/hero/hero-12.schema.ts +524 -334
  104. package/src/blocks/hero/hero-13.schema.ts +83 -95
  105. package/src/blocks/hero/hero-2.schema.ts +277 -68
  106. package/src/blocks/hero/hero-3.schema.ts +371 -235
  107. package/src/blocks/hero/hero-3.tsx +1 -1
  108. package/src/blocks/hero/hero-4.schema.ts +605 -338
  109. package/src/blocks/hero/hero-5.schema.ts +545 -61
  110. package/src/blocks/hero/hero-6.schema.ts +446 -257
  111. package/src/blocks/hero/hero-6.tsx +1 -1
  112. package/src/blocks/hero/hero-7.schema.ts +1299 -131
  113. package/src/blocks/hero/hero-7.tsx +43 -23
  114. package/src/blocks/hero/hero-8.schema.ts +736 -236
  115. package/src/blocks/hero/hero-9.schema.ts +908 -58
  116. package/src/blocks/index.ts +14 -2
  117. package/src/blocks/jobs/jobs-1.schema.ts +741 -219
  118. package/src/blocks/logos/logos-1.schema.ts +317 -321
  119. package/src/blocks/logos/logos-1.tsx +32 -19
  120. package/src/blocks/logos/logos-2.schema.ts +223 -0
  121. package/src/blocks/logos/logos-2.tsx +55 -0
  122. package/src/blocks/navbar/navbar-1.schema.ts +319 -186
  123. package/src/blocks/navbar/navbar-3.schema.ts +618 -570
  124. package/src/blocks/navbar/navbar-3.tsx +3 -2
  125. package/src/blocks/navbar/navbar-4.schema.ts +731 -1234
  126. package/src/blocks/navbar/navbar-4.tsx +1 -6
  127. package/src/blocks/polling/polling-1.schema.ts +161 -0
  128. package/src/blocks/pricing/pricing-1.schema.ts +549 -626
  129. package/src/blocks/products/products-listing-1.schema.ts +363 -249
  130. package/src/blocks/products/products-listing-2.schema.ts +515 -257
  131. package/src/blocks/products/products-listing-3.schema.ts +790 -839
  132. package/src/blocks/products/products-listing-3.tsx +86 -84
  133. package/src/blocks/profile/profile-1.schema.ts +168 -187
  134. package/src/blocks/profile/profile-2.schema.ts +150 -122
  135. package/src/blocks/profile/profile-3.schema.ts +307 -256
  136. package/src/blocks/profile/profile-4.schema.ts +372 -504
  137. package/src/blocks/profile/profile-5.schema.ts +186 -79
  138. package/src/blocks/services/service-1.schema.ts +700 -631
  139. package/src/blocks/services/service-2.schema.ts +559 -82
  140. package/src/blocks/services/service-2.tsx +5 -6
  141. package/src/blocks/services/service-3.schema.ts +592 -207
  142. package/src/blocks/services/service-3.tsx +10 -2
  143. package/src/blocks/stats/stats-1.schema.ts +347 -257
  144. package/src/blocks/stats/stats-2.schema.ts +14 -2
  145. package/src/blocks/stats/variants/default.ts +14 -37
  146. package/src/blocks/stats/variants/extra.ts +232 -0
  147. package/src/blocks/stats/variants/hero.ts +1 -30
  148. package/src/blocks/stats/variants/index.ts +13 -1
  149. package/src/blocks/tabs/tab-1.schema.ts +1361 -214
  150. package/src/blocks/tabs/tab-2.schema.ts +984 -390
  151. package/src/blocks/tabs/tab-3.schema.ts +961 -95
  152. package/src/blocks/team/team-1.schema.ts +681 -564
  153. package/src/blocks/team/team-2.schema.ts +589 -935
  154. package/src/blocks/team/team-3.schema.ts +375 -284
  155. package/src/blocks/team/team-4.schema.ts +569 -355
  156. package/src/blocks/team/team-5.schema.ts +307 -111
  157. package/src/blocks/testimonial/testimonial-1.schema.ts +605 -706
  158. package/src/blocks/testimonial/testimonial-2.schema.ts +825 -1099
  159. package/src/blocks/testimonial/testimonial-3.schema.ts +580 -235
  160. package/src/blocks/testimonial/testimonial-4.schema.ts +1326 -1779
  161. package/src/blocks/testimonial/testimonial-5/variants/default.ts +179 -328
  162. package/src/blocks/testimonial/testimonial-5/variants/index.ts +9 -1
  163. package/src/blocks/testimonial/testimonial-5/variants/testimonialCentered.ts +194 -0
  164. package/src/blocks/testimonial/testimonial-5/variants/testimonialCompact.ts +188 -0
  165. package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +275 -396
  166. package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +254 -602
  167. package/src/blocks/testimonial/testimonial-5.schema.ts +6 -2
  168. package/src/blocks/testimonial/testimonial-6.schema.ts +962 -1234
  169. package/src/blocks/testimonial/testimonial-7.schema.ts +515 -233
  170. package/src/blocks/timeline/timeline-1.schema.ts +382 -140
  171. package/src/blocks/users/edit-profile.schema.ts +2 -8
  172. package/src/blocks/users/edit-profile.tsx +2 -3
  173. package/src/schemas/blocks.ts +14 -2
  174. package/src/schemas/categories.ts +6 -0
  175. package/src/blocks/features/features-1/variants/stylized-cards-v3.ts +0 -268
  176. package/src/blocks/navbar/navbar-2.schema.ts +0 -1134
  177. package/src/blocks/navbar/navbar-2.tsx +0 -381
@@ -1,113 +1,407 @@
1
1
  import type { IBlock } from "@levo-so/studio";
2
2
 
3
- const DUMMY_ICON = {
3
+ const ICON_CLOCK = {
4
4
  kind: "icon",
5
5
  data: {
6
- id: "archive-minus",
7
- label: "Archive Minus",
8
- tags: ["archive", "custom", "directional", "minus"],
6
+ id: "clock",
7
+ label: "Clock",
9
8
  svgCode:
10
- '<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.5 11.4H9.5C9.09 11.4 8.75 11.06 8.75 10.65C8.75 10.24 9.09 9.90002 9.5 9.90002H14.5C14.91 9.90002 15.25 10.24 15.25 10.65C15.25 11.06 14.91 11.4 14.5 11.4Z" fill="var(--color-icon-primary)"/>\n<path d="M4.92957 22.75C4.50957 22.75 4.11957 22.65 3.76957 22.45C2.99957 22 2.55957 21.09 2.55957 19.96V5.86C2.55957 3.32 4.62957 1.25 7.16957 1.25H16.8196C19.3596 1.25 21.4296 3.32 21.4296 5.86V19.95C21.4296 21.08 20.9896 21.99 20.2196 22.44C19.4496 22.89 18.4396 22.84 17.4496 22.29L12.5696 19.58C12.2796 19.42 11.7096 19.42 11.4196 19.58L6.53957 22.29C5.99957 22.59 5.44957 22.75 4.92957 22.75ZM7.17957 2.75C5.46957 2.75 4.06957 4.15 4.06957 5.86V19.95C4.06957 20.54 4.23957 20.98 4.53957 21.15C4.83957 21.33 5.30957 21.27 5.81957 20.98L10.6996 18.27C11.4396 17.86 12.5596 17.86 13.2996 18.27L18.1796 20.98C18.6896 21.27 19.1596 21.33 19.4596 21.15C19.7596 20.97 19.9296 20.53 19.9296 19.95V5.86C19.9296 4.15 18.5296 2.75 16.8196 2.75H7.17957Z" fill="var(--color-icon-primary)"/>\n</svg>',
9
+ '<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M12 22.75C6.07 22.75 1.25 17.93 1.25 12C1.25 6.07 6.07 1.25 12 1.25C17.93 1.25 22.75 6.07 22.75 12C22.75 17.93 17.93 22.75 12 22.75ZM12 2.75C6.9 2.75 2.75 6.9 2.75 12C2.75 17.1 6.9 21.25 12 21.25C17.1 21.25 21.25 17.1 21.25 12C21.25 6.9 17.1 2.75 12 2.75Z" fill="var(--color-icon-primary)"/>\n<path d="M15.7096 15.93C15.5796 15.93 15.4496 15.9 15.3296 15.82L12.2296 13.97C11.4596 13.51 10.8896 12.5 10.8896 11.61V7.51001C10.8896 7.10001 11.2296 6.76001 11.6396 6.76001C12.0496 6.76001 12.3896 7.10001 12.3896 7.51001V11.61C12.3896 11.97 12.6896 12.5 12.9996 12.68L16.0996 14.53C16.4596 14.74 16.5696 15.2 16.3596 15.56C16.2096 15.8 15.9596 15.93 15.7096 15.93Z" fill="var(--color-icon-primary)"/>\n</svg>',
11
10
  },
12
11
  };
13
12
 
13
+ const ICON_LOCATION = {
14
+ kind: "icon",
15
+ data: {
16
+ id: "location",
17
+ label: "Location",
18
+ svgCode:
19
+ '<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M11.9999 14.17C9.86988 14.17 8.12988 12.44 8.12988 10.3C8.12988 8.16 9.86988 6.44 11.9999 6.44C14.1299 6.44 15.8699 8.17 15.8699 10.31C15.8699 12.45 14.1299 14.17 11.9999 14.17ZM11.9999 7.94C10.6999 7.94 9.62988 9 9.62988 10.31C9.62988 11.62 10.6899 12.68 11.9999 12.68C13.3099 12.68 14.3699 11.62 14.3699 10.31C14.3699 9 13.2999 7.94 11.9999 7.94Z" fill="var(--color-icon-primary)"/>\n<path d="M11.9997 22.76C10.5197 22.76 9.02969 22.2 7.86969 21.09C4.91969 18.25 1.65969 13.72 2.88969 8.33C3.99969 3.44 8.26969 1.25 11.9997 1.25C11.9997 1.25 11.9997 1.25 12.0097 1.25C15.7397 1.25 20.0097 3.44 21.1197 8.34C22.3397 13.73 19.0797 18.25 16.1297 21.09C14.9697 22.2 13.4797 22.76 11.9997 22.76ZM11.9997 2.75C9.08969 2.75 5.34969 4.3 4.35969 8.66C3.27969 13.37 6.23969 17.43 8.91969 20C10.6497 21.67 13.3597 21.67 15.0897 20C17.7597 17.43 20.7197 13.37 19.6597 8.66C18.6597 4.3 14.9097 2.75 11.9997 2.75Z" fill="var(--color-icon-primary)"/>\n</svg>',
20
+ },
21
+ };
22
+
23
+ const ICON_CALENDAR = {
24
+ kind: "icon",
25
+ data: {
26
+ id: "calendar",
27
+ label: "Calendar",
28
+ svgCode:
29
+ '<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M8 5.75C7.59 5.75 7.25 5.41 7.25 5V2C7.25 1.59 7.59 1.25 8 1.25C8.41 1.25 8.75 1.59 8.75 2V5C8.75 5.41 8.41 5.75 8 5.75Z" fill="var(--color-icon-primary)"/>\n<path d="M16 5.75C15.59 5.75 15.25 5.41 15.25 5V2C15.25 1.59 15.59 1.25 16 1.25C16.41 1.25 16.75 1.59 16.75 2V5C16.75 5.41 16.41 5.75 16 5.75Z" fill="var(--color-icon-primary)"/>\n<path d="M15 22.75H9C3.38 22.75 2.25 20.1 2.25 15.82V9.65C2.25 4.91 3.85 2.98 7.96 2.75H16C16.01 2.75 16.03 2.75 16.04 2.75C20.15 2.98 21.75 4.91 21.75 9.65V15.82C21.75 20.1 20.62 22.75 15 22.75ZM8 4.25C5.2 4.41 3.75 5.29 3.75 9.65V15.82C3.75 19.65 4.48 21.25 9 21.25H15C19.52 21.25 20.25 19.65 20.25 15.82V9.65C20.25 5.3 18.81 4.41 15.98 4.25H8Z" fill="var(--color-icon-primary)"/>\n<path d="M20.75 18.35H3.25C2.84 18.35 2.5 18.01 2.5 17.6C2.5 17.19 2.84 16.85 3.25 16.85H20.75C21.16 16.85 21.5 17.19 21.5 17.6C21.5 18.01 21.16 18.35 20.75 18.35Z" fill="var(--color-icon-primary)"/>\n<path d="M12 8.25C10.77 8.25 9.73 8.92 9.73 10.22C9.73 10.84 10.02 11.31 10.46 11.61C9.85 11.97 9.5 12.55 9.5 13.23C9.5 14.47 10.45 15.24 12 15.24C13.54 15.24 14.5 14.47 14.5 13.23C14.5 12.55 14.15 11.96 13.53 11.61C13.98 11.3 14.26 10.84 14.26 10.22C14.26 8.92 13.23 8.25 12 8.25ZM12 11.09C11.48 11.09 11.1 10.78 11.1 10.29C11.1 9.79 11.48 9.5 12 9.5C12.52 9.5 12.9 9.79 12.9 10.29C12.9 10.78 12.52 11.09 12 11.09ZM12 14C11.34 14 10.86 13.67 10.86 13.07C10.86 12.47 11.34 12.15 12 12.15C12.66 12.15 13.14 12.48 13.14 13.07C13.14 13.67 12.66 14 12 14Z" fill="var(--color-icon-primary)"/>\n</svg>',
30
+ },
31
+ };
32
+
33
+ const IMG_EVENT_1 = {
34
+ id: "7453000263313419417",
35
+ kind: "image",
36
+ location: "https://images.pexels.com/photos/5257005/pexels-photo-5257005.jpeg",
37
+ mimetype: "image/jpeg",
38
+ srcset: {
39
+ "320w":
40
+ "https://images.pexels.com/photos/5257005/pexels-photo-5257005.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=320",
41
+ "640w":
42
+ "https://images.pexels.com/photos/5257005/pexels-photo-5257005.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=640",
43
+ "750w":
44
+ "https://images.pexels.com/photos/5257005/pexels-photo-5257005.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=750",
45
+ "828w":
46
+ "https://images.pexels.com/photos/5257005/pexels-photo-5257005.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=828",
47
+ "1080w":
48
+ "https://images.pexels.com/photos/5257005/pexels-photo-5257005.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1080",
49
+ "1200w":
50
+ "https://images.pexels.com/photos/5257005/pexels-photo-5257005.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1200",
51
+ "1920w":
52
+ "https://images.pexels.com/photos/5257005/pexels-photo-5257005.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1920",
53
+ path: "https://images.pexels.com/photos/5257005/pexels-photo-5257005.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=320 320w, https://images.pexels.com/photos/5257005/pexels-photo-5257005.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=640 640w, https://images.pexels.com/photos/5257005/pexels-photo-5257005.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=750 750w, https://images.pexels.com/photos/5257005/pexels-photo-5257005.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=828 828w, https://images.pexels.com/photos/5257005/pexels-photo-5257005.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1080 1080w, https://images.pexels.com/photos/5257005/pexels-photo-5257005.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1200 1200w, https://images.pexels.com/photos/5257005/pexels-photo-5257005.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1920 1920w",
54
+ },
55
+ };
56
+
57
+ const IMG_EVENT_2 = {
58
+ id: "7453000266648764976",
59
+ kind: "image",
60
+ location: "https://images.pexels.com/photos/7709206/pexels-photo-7709206.jpeg",
61
+ mimetype: "image/jpeg",
62
+ srcset: {
63
+ "320w":
64
+ "https://images.pexels.com/photos/7709206/pexels-photo-7709206.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=320",
65
+ "640w":
66
+ "https://images.pexels.com/photos/7709206/pexels-photo-7709206.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=640",
67
+ "750w":
68
+ "https://images.pexels.com/photos/7709206/pexels-photo-7709206.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=750",
69
+ "828w":
70
+ "https://images.pexels.com/photos/7709206/pexels-photo-7709206.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=828",
71
+ "1080w":
72
+ "https://images.pexels.com/photos/7709206/pexels-photo-7709206.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1080",
73
+ "1200w":
74
+ "https://images.pexels.com/photos/7709206/pexels-photo-7709206.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1200",
75
+ "1920w":
76
+ "https://images.pexels.com/photos/7709206/pexels-photo-7709206.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1920",
77
+ path: "https://images.pexels.com/photos/7709206/pexels-photo-7709206.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=320 320w, https://images.pexels.com/photos/7709206/pexels-photo-7709206.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=640 640w, https://images.pexels.com/photos/7709206/pexels-photo-7709206.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=750 750w, https://images.pexels.com/photos/7709206/pexels-photo-7709206.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=828 828w, https://images.pexels.com/photos/7709206/pexels-photo-7709206.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1080 1080w, https://images.pexels.com/photos/7709206/pexels-photo-7709206.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1200 1200w, https://images.pexels.com/photos/7709206/pexels-photo-7709206.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1920 1920w",
78
+ },
79
+ };
80
+
81
+ const IMG_EVENT_3 = {
82
+ id: "7453000261430596207",
83
+ kind: "image",
84
+ location: "https://images.pexels.com/photos/7654055/pexels-photo-7654055.jpeg",
85
+ mimetype: "image/jpeg",
86
+ srcset: {
87
+ "320w":
88
+ "https://images.pexels.com/photos/7654055/pexels-photo-7654055.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=320",
89
+ "640w":
90
+ "https://images.pexels.com/photos/7654055/pexels-photo-7654055.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=640",
91
+ "750w":
92
+ "https://images.pexels.com/photos/7654055/pexels-photo-7654055.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=750",
93
+ "828w":
94
+ "https://images.pexels.com/photos/7654055/pexels-photo-7654055.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=828",
95
+ "1080w":
96
+ "https://images.pexels.com/photos/7654055/pexels-photo-7654055.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1080",
97
+ "1200w":
98
+ "https://images.pexels.com/photos/7654055/pexels-photo-7654055.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1200",
99
+ "1920w":
100
+ "https://images.pexels.com/photos/7654055/pexels-photo-7654055.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1920",
101
+ path: "https://images.pexels.com/photos/7654055/pexels-photo-7654055.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=320 320w, https://images.pexels.com/photos/7654055/pexels-photo-7654055.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=640 640w, https://images.pexels.com/photos/7654055/pexels-photo-7654055.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=750 750w, https://images.pexels.com/photos/7654055/pexels-photo-7654055.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=828 828w, https://images.pexels.com/photos/7654055/pexels-photo-7654055.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1080 1080w, https://images.pexels.com/photos/7654055/pexels-photo-7654055.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1200 1200w, https://images.pexels.com/photos/7654055/pexels-photo-7654055.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1920 1920w",
102
+ },
103
+ };
104
+
105
+ const IMG_EVENT_4 = {
106
+ id: "7453000276610803074",
107
+ kind: "image",
108
+ location: "https://images.pexels.com/photos/7688336/pexels-photo-7688336.jpeg",
109
+ mimetype: "image/jpeg",
110
+ srcset: {
111
+ "320w":
112
+ "https://images.pexels.com/photos/7688336/pexels-photo-7688336.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=320",
113
+ "640w":
114
+ "https://images.pexels.com/photos/7688336/pexels-photo-7688336.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=640",
115
+ "750w":
116
+ "https://images.pexels.com/photos/7688336/pexels-photo-7688336.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=750",
117
+ "828w":
118
+ "https://images.pexels.com/photos/7688336/pexels-photo-7688336.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=828",
119
+ "1080w":
120
+ "https://images.pexels.com/photos/7688336/pexels-photo-7688336.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1080",
121
+ "1200w":
122
+ "https://images.pexels.com/photos/7688336/pexels-photo-7688336.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1200",
123
+ "1920w":
124
+ "https://images.pexels.com/photos/7688336/pexels-photo-7688336.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1920",
125
+ path: "https://images.pexels.com/photos/7688336/pexels-photo-7688336.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=320 320w, https://images.pexels.com/photos/7688336/pexels-photo-7688336.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=640 640w, https://images.pexels.com/photos/7688336/pexels-photo-7688336.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=750 750w, https://images.pexels.com/photos/7688336/pexels-photo-7688336.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=828 828w, https://images.pexels.com/photos/7688336/pexels-photo-7688336.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1080 1080w, https://images.pexels.com/photos/7688336/pexels-photo-7688336.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1200 1200w, https://images.pexels.com/photos/7688336/pexels-photo-7688336.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1920 1920w",
126
+ },
127
+ };
128
+
129
+ const EVENTS_CONTENT = [
130
+ {
131
+ eventWrapper: null,
132
+ image: IMG_EVENT_1,
133
+ "content-wrapper": null,
134
+ title: "Automations Summit 2026",
135
+ description:
136
+ "A half-day deep dive on building workflows that actually stick, with case studies from Linear, Ramp, and Levo's own ops team.",
137
+ details: [
138
+ {
139
+ detailWrapper: null,
140
+ icon: ICON_CLOCK,
141
+ text: "9:00 AM - 1:00 PM PST",
142
+ },
143
+ {
144
+ detailWrapper: null,
145
+ icon: ICON_LOCATION,
146
+ text: "SoMa Studios, San Francisco",
147
+ },
148
+ {
149
+ detailWrapper: null,
150
+ icon: ICON_CALENDAR,
151
+ text: "12 May",
152
+ },
153
+ ],
154
+ },
155
+ {
156
+ eventWrapper: null,
157
+ image: IMG_EVENT_2,
158
+ "content-wrapper": null,
159
+ title: "Ops Leaders Roundtable",
160
+ description:
161
+ "An off-the-record dinner for 20 Heads of Ops: how top teams hit 99% SLA on cross-functional handoffs without adding headcount.",
162
+ details: [
163
+ {
164
+ detailWrapper: null,
165
+ icon: ICON_CLOCK,
166
+ text: "6:30 PM - 9:30 PM ET",
167
+ },
168
+ {
169
+ detailWrapper: null,
170
+ icon: ICON_LOCATION,
171
+ text: "The Beatrice Inn, New York",
172
+ },
173
+ {
174
+ detailWrapper: null,
175
+ icon: ICON_CALENDAR,
176
+ text: "03 Jun",
177
+ },
178
+ ],
179
+ },
180
+ {
181
+ eventWrapper: null,
182
+ image: IMG_EVENT_3,
183
+ "content-wrapper": null,
184
+ title: "Analytics That Ship Workshop",
185
+ description:
186
+ "A hands-on clinic for PMs on turning product analytics into shipping decisions. Leave with a dashboard your team will actually open.",
187
+ details: [
188
+ {
189
+ detailWrapper: null,
190
+ icon: ICON_CLOCK,
191
+ text: "10:00 AM - 3:00 PM GMT",
192
+ },
193
+ {
194
+ detailWrapper: null,
195
+ icon: ICON_LOCATION,
196
+ text: "Levo HQ, London",
197
+ },
198
+ {
199
+ detailWrapper: null,
200
+ icon: ICON_CALENDAR,
201
+ text: "18 Jun",
202
+ },
203
+ ],
204
+ },
205
+ {
206
+ eventWrapper: null,
207
+ image: IMG_EVENT_4,
208
+ "content-wrapper": null,
209
+ title: "Builders Night: Integrations",
210
+ description:
211
+ "Informal drinks and demos for engineers building on Levo's integrations API. Swap patterns with the team shipping webhooks v2.",
212
+ details: [
213
+ {
214
+ detailWrapper: null,
215
+ icon: ICON_CLOCK,
216
+ text: "7:00 PM - 10:00 PM CET",
217
+ },
218
+ {
219
+ detailWrapper: null,
220
+ icon: ICON_LOCATION,
221
+ text: "Spaces Herengracht, Amsterdam",
222
+ },
223
+ {
224
+ detailWrapper: null,
225
+ icon: ICON_CALENDAR,
226
+ text: "09 Jul",
227
+ },
228
+ ],
229
+ },
230
+ ];
231
+
14
232
  const DEFAULT_CONTENT = {
15
233
  layout: null,
16
234
  container: null,
17
235
  "header-section": null,
18
- title: "Events",
236
+ title: "Upcoming events",
19
237
  description:
20
- "Stay updated on our upcoming community gatherings, workshops, and networking events!",
238
+ "Workshops, roundtables, and demos for operations, product, and engineering teams running on Levo.",
21
239
  "cta-button": "View all",
22
- events: [
23
- {
24
- eventWrapper: null,
25
- image: {
26
- id: "w9fEtJuVtBFgU",
27
- filename: "image.png",
28
- kind: "image",
29
- location: "https://static.levostg.online/W6OEVMW8/image-6HgF6xxhyiHBm.png",
30
- srcset: {
31
- "1080w": "https://static.levostg.online/W6OEVMW8/image-6HgF6xxhyiHBm-1080w.webp",
32
- "1200w": "https://static.levostg.online/W6OEVMW8/image-6HgF6xxhyiHBm-1200w.webp",
33
- "1920w": "https://static.levostg.online/W6OEVMW8/image-6HgF6xxhyiHBm-1920w.webp",
34
- "320w": "https://static.levostg.online/W6OEVMW8/image-6HgF6xxhyiHBm-320w.webp",
35
- "640w": "https://static.levostg.online/W6OEVMW8/image-6HgF6xxhyiHBm-640w.webp",
36
- "750w": "https://static.levostg.online/W6OEVMW8/image-6HgF6xxhyiHBm-750w.webp",
37
- "828w": "https://static.levostg.online/W6OEVMW8/image-6HgF6xxhyiHBm-828w.webp",
38
- path: "https://static.levostg.online/W6OEVMW8/image-6HgF6xxhyiHBm-750w.webp 750w, https://static.levostg.online/W6OEVMW8/image-6HgF6xxhyiHBm-828w.webp 828w, https://static.levostg.online/W6OEVMW8/image-6HgF6xxhyiHBm-1080w.webp 1080w, https://static.levostg.online/W6OEVMW8/image-6HgF6xxhyiHBm-1200w.webp 1200w, https://static.levostg.online/W6OEVMW8/image-6HgF6xxhyiHBm-1920w.webp 1920w, https://static.levostg.online/W6OEVMW8/image-6HgF6xxhyiHBm-320w.webp 320w, https://static.levostg.online/W6OEVMW8/image-6HgF6xxhyiHBm-640w.webp 640w",
39
- },
40
- mimetype: "image/png",
41
- },
42
- "content-wrapper": null,
43
- title: "Afghan American Inauguration",
44
- description:
45
- "Join us for this historic celebration of community leadership and cultural pride.",
46
- details: [
47
- {
48
- detailWrapper: null,
49
- icon: DUMMY_ICON,
50
- text: "3:00 PM - 6:00 PM",
240
+ events: EVENTS_CONTENT,
241
+ paginationWrapper: null,
242
+ paginationLeftButton: "Previous",
243
+ paginationText: "",
244
+ paginationRightButton: "Next",
245
+ };
246
+
247
+ export type ICards20Content = typeof DEFAULT_CONTENT;
248
+
249
+ const eventItemStyles = (opts: {
250
+ imageMinHeight?: string;
251
+ imageMaxHeight?: string;
252
+ titleSize?: string;
253
+ descriptionSize?: string;
254
+ detailSize?: string;
255
+ iconSize?: string;
256
+ rowGap?: string;
257
+ padding?: string;
258
+ centered?: boolean;
259
+ list?: boolean;
260
+ }) => {
261
+ const padding = opts.padding ?? "xl";
262
+ const detailSize = opts.detailSize ?? "sm";
263
+ const iconSize = opts.iconSize ?? "20px";
264
+ const titleSize = opts.titleSize ?? "xl";
265
+ const descriptionSize = opts.descriptionSize ?? "base";
266
+ const rowGap = opts.rowGap ?? "base";
267
+
268
+ const base: Record<string, unknown> = {
269
+ eventWrapper: {
270
+ "background-color": "background-1",
271
+ "border-radius": "xl",
272
+ overflow: "hidden",
273
+ "box-shadow":
274
+ "0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06)",
275
+ display: "flex",
276
+ "flex-direction": opts.list ? "row" : "column",
277
+ filter: "none",
278
+ height: "100%",
279
+ ...(opts.list
280
+ ? {
281
+ mobile: { "flex-direction": "column" },
282
+ }
283
+ : {}),
284
+ },
285
+ image: {
286
+ width: opts.list ? "280px" : "100%",
287
+ height: opts.list ? "auto" : "auto",
288
+ "object-fit": "cover",
289
+ "aspect-ratio": opts.list ? "4 / 3" : "16 / 9",
290
+ filter: "none",
291
+ "flex-shrink": "0",
292
+ ...(opts.imageMinHeight ? { "min-height": opts.imageMinHeight } : {}),
293
+ ...(opts.imageMaxHeight ? { "max-height": opts.imageMaxHeight } : {}),
294
+ ...(opts.list
295
+ ? {
296
+ mobile: { width: "100%", "aspect-ratio": "16 / 9" },
297
+ }
298
+ : {}),
299
+ },
300
+ "content-wrapper": {
301
+ "padding-left": padding,
302
+ "padding-right": padding,
303
+ "padding-top": padding,
304
+ "padding-bottom": padding,
305
+ display: "flex",
306
+ "flex-direction": "column",
307
+ "row-gap": rowGap,
308
+ filter: "none",
309
+ ...(opts.centered ? { "align-items": "center", "text-align": "center" } : {}),
310
+ ...(opts.list ? { "justify-content": "center" } : {}),
311
+ },
312
+ title: {
313
+ "font-size": titleSize,
314
+ "font-weight": "600",
315
+ color: "text-1",
316
+ "line-height": "1.3",
317
+ filter: "none",
318
+ ...(opts.centered ? { "text-align": "center" } : {}),
319
+ },
320
+ description: {
321
+ "font-size": descriptionSize,
322
+ color: "text-2",
323
+ "line-height": "1.5",
324
+ filter: "none",
325
+ ...(opts.centered ? { "text-align": "center" } : {}),
326
+ },
327
+ details_levoGroup: {
328
+ display: opts.list ? "flex" : "flex",
329
+ "flex-direction": opts.list ? "row" : "column",
330
+ "column-gap": opts.list ? "xl" : "sm",
331
+ "row-gap": "xs",
332
+ "flex-wrap": opts.list ? "wrap" : "nowrap",
333
+ "margin-top": "auto",
334
+ ...(opts.centered ? { "align-items": "center" } : {}),
335
+ filter: "none",
336
+ },
337
+ details: [
338
+ {
339
+ detailWrapper: {
340
+ display: "flex",
341
+ "align-items": "center",
342
+ "column-gap": "sm",
343
+ filter: "none",
51
344
  },
52
- {
53
- detailWrapper: null,
54
- icon: DUMMY_ICON,
55
- text: "2200 Harvard St, Sacramento, CA 95815",
345
+ icon: {
346
+ width: iconSize,
347
+ height: iconSize,
348
+ "font-size": iconSize,
349
+ "flex-shrink": "0",
350
+ filter: "none",
56
351
  },
57
- {
58
- detailWrapper: null,
59
- icon: DUMMY_ICON,
60
- text: "11 Apr",
352
+ text: {
353
+ "font-size": detailSize,
354
+ color: "text-2",
355
+ "line-height": "1.4",
61
356
  },
62
- ],
63
- },
64
- {
65
- eventWrapper: null,
66
- image: {
67
- id: "7141014160938075687",
68
- location: "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH.png",
69
- kind: "image",
70
- mimetype: "image/png",
71
- srcset: {
72
- "1080w": "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp",
73
- "1200w": "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp",
74
- "1920w": "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp",
75
- "320w": "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp",
76
- "640w": "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp",
77
- "750w": "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp",
78
- "828w": "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp",
79
- 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",
80
- },
81
- },
82
- "content-wrapper": null,
83
- title: "Community Health Workshop",
84
- description: "Learn about wellness resources and health services available in our community.",
85
- details: [
86
- {
87
- detailWrapper: null,
88
- icon: DUMMY_ICON,
89
- text: "10:00 AM - 2:00 PM",
357
+ },
358
+ {
359
+ detailWrapper: {
360
+ display: "flex",
361
+ "align-items": "center",
362
+ "column-gap": "sm",
363
+ filter: "none",
90
364
  },
91
- {
92
- detailWrapper: null,
93
- icon: DUMMY_ICON,
94
- text: "1500 Main St, Sacramento, CA 95814",
365
+ icon: {
366
+ width: iconSize,
367
+ height: iconSize,
368
+ "font-size": iconSize,
369
+ "flex-shrink": "0",
370
+ filter: "none",
95
371
  },
96
- {
97
- detailWrapper: null,
98
- icon: DUMMY_ICON,
99
- text: "25 Apr",
372
+ text: {
373
+ "font-size": detailSize,
374
+ color: "text-2",
375
+ "line-height": "1.4",
100
376
  },
101
- ],
102
- },
103
- ],
104
- paginationWrapper: null,
105
- paginationLeftButton: "Previous",
106
- paginationText: "",
107
- paginationRightButton: "Next",
377
+ },
378
+ {
379
+ detailWrapper: {
380
+ display: "flex",
381
+ "align-items": "center",
382
+ "column-gap": "sm",
383
+ filter: "none",
384
+ },
385
+ icon: {
386
+ width: iconSize,
387
+ height: iconSize,
388
+ "font-size": iconSize,
389
+ "flex-shrink": "0",
390
+ filter: "none",
391
+ },
392
+ text: {
393
+ "font-size": detailSize,
394
+ color: "text-2",
395
+ "line-height": "1.4",
396
+ },
397
+ },
398
+ ],
399
+ };
400
+
401
+ return base;
108
402
  };
109
403
 
110
- export type ICards20Content = typeof DEFAULT_CONTENT;
404
+ const EVENT_COUNT = EVENTS_CONTENT.length;
111
405
 
112
406
  export const Cards20: IBlock = {
113
407
  category_id: "cards",
@@ -161,7 +455,7 @@ export const Cards20: IBlock = {
161
455
  prompt_description:
162
456
  "Main heading for the events section. Should be clear and engaging, indicating the purpose of the section.",
163
457
  min_characters: 5,
164
- max_characters: 20,
458
+ max_characters: 30,
165
459
  },
166
460
  },
167
461
  {
@@ -232,7 +526,7 @@ export const Cards20: IBlock = {
232
526
  prompt_description:
233
527
  "Brief description of the event, highlighting key benefits or features that would interest attendees.",
234
528
  min_characters: 40,
235
- max_characters: 120,
529
+ max_characters: 160,
236
530
  },
237
531
  },
238
532
  {
@@ -249,7 +543,7 @@ export const Cards20: IBlock = {
249
543
  {
250
544
  key: "icon",
251
545
  label: "Detail Icon",
252
- field_interface: "ImageWidget",
546
+ field_interface: "IconWidget",
253
547
  hint: {
254
548
  prompt_description:
255
549
  "Icon representing the type of detail (time, location, date). Should be simple and recognizable.",
@@ -305,17 +599,6 @@ export const Cards20: IBlock = {
305
599
  max_characters: 12,
306
600
  },
307
601
  },
308
- {
309
- key: "paginationInfo",
310
- label: "Pagination Info",
311
- field_interface: "TypographyWidget",
312
- hint: {
313
- prompt_description:
314
- "Displays the current events page and total pages, e.g., '1/10'. Keep format concise and clear.",
315
- min_characters: 3,
316
- max_characters: 8,
317
- },
318
- },
319
602
  {
320
603
  key: "paginationText",
321
604
  label: "Pagination Text",
@@ -364,37 +647,135 @@ export const Cards20: IBlock = {
364
647
  display: "flex",
365
648
  "flex-direction": "row",
366
649
  "align-items": "center",
367
- "text-align": "center",
650
+ "column-gap": "2xl",
368
651
  "row-gap": "lg",
369
- "margin-bottom": "xl",
652
+ "margin-bottom": "sm",
370
653
  filter: "none",
371
654
  "justify-content": "space-between",
372
655
  tablet: {
373
656
  "flex-direction": "column",
657
+ "align-items": "flex-start",
374
658
  },
375
659
  mobile: {
376
660
  "flex-direction": "column",
661
+ "align-items": "flex-start",
377
662
  },
378
663
  },
379
664
  "header-content": {
380
665
  display: "flex",
381
666
  "flex-direction": "column",
382
- "row-gap": "base",
667
+ "row-gap": "sm",
383
668
  "text-align": "left",
669
+ flex: "1",
670
+ },
671
+ title: {
672
+ color: "text-1",
673
+ },
674
+ description: {
675
+ "font-size": "lg",
676
+ color: "text-2",
677
+ "max-width": "640px",
678
+ "line-height": "1.6",
679
+ },
680
+ events_levoGroup: {
681
+ display: "grid",
682
+ "grid-template-columns": "repeat(2, minmax(0, 1fr))",
683
+ "column-gap": "2xl",
684
+ "row-gap": "2xl",
685
+ tablet: {
686
+ "grid-template-columns": "repeat(2, minmax(0, 1fr))",
687
+ },
688
+ mobile: {
689
+ "grid-template-columns": "repeat(1, minmax(0, 1fr))",
690
+ },
691
+ filter: "none",
692
+ },
693
+ paginationWrapper: {
694
+ width: "100%",
695
+ display: "flex",
696
+ "justify-content": "center",
697
+ "column-gap": "lg",
698
+ "align-items": "center",
699
+ },
700
+ events: Array(EVENT_COUNT)
701
+ .fill(0)
702
+ .map(() =>
703
+ eventItemStyles({
704
+ titleSize: "xl",
705
+ descriptionSize: "base",
706
+ detailSize: "sm",
707
+ iconSize: "20px",
708
+ rowGap: "base",
709
+ padding: "xl",
710
+ }),
711
+ ),
712
+ },
713
+ content: DEFAULT_CONTENT,
714
+ config: {
715
+ title: {
716
+ selectedVariants: {
717
+ Heading_Level: "H2",
718
+ },
719
+ heading: {
720
+ level: 2,
721
+ },
722
+ },
723
+ },
724
+ },
725
+ {
726
+ key: "grid",
727
+ title: "Grid",
728
+ styles: {
729
+ layout: {
730
+ "padding-top": "4xl",
731
+ "padding-bottom": "4xl",
732
+ "padding-left": "xl",
733
+ "padding-right": "xl",
734
+ filter: "none",
735
+ },
736
+ container: {
737
+ "max-width": "1280px",
738
+ "margin-left": "auto",
739
+ "margin-right": "auto",
740
+ display: "flex",
741
+ "flex-direction": "column",
742
+ "row-gap": "3xl",
743
+ filter: "none",
744
+ },
745
+ "header-section": {
746
+ display: "flex",
747
+ "flex-direction": "row",
748
+ "align-items": "center",
749
+ "column-gap": "2xl",
750
+ "row-gap": "lg",
751
+ "margin-bottom": "sm",
752
+ filter: "none",
753
+ "justify-content": "space-between",
754
+ tablet: {
755
+ "flex-direction": "column",
756
+ "align-items": "flex-start",
757
+ },
384
758
  mobile: {
385
- "text-align": "center",
759
+ "flex-direction": "column",
760
+ "align-items": "flex-start",
386
761
  },
387
762
  },
763
+ "header-content": {
764
+ display: "flex",
765
+ "flex-direction": "column",
766
+ "row-gap": "sm",
767
+ "text-align": "left",
768
+ flex: "1",
769
+ },
388
770
  title: {
389
771
  color: "text-1",
390
772
  },
391
773
  description: {
392
774
  "font-size": "lg",
393
775
  color: "text-2",
394
- "max-width": "600px",
776
+ "max-width": "640px",
395
777
  "line-height": "1.6",
396
778
  },
397
-
398
779
  events_levoGroup: {
399
780
  display: "grid",
400
781
  "grid-template-columns": "repeat(2, minmax(0, 1fr))",
@@ -415,110 +796,307 @@ export const Cards20: IBlock = {
415
796
  "column-gap": "lg",
416
797
  "align-items": "center",
417
798
  },
418
- events: Array(2)
419
- ?.fill(0)
420
- .map((v) => {
421
- return {
422
- eventWrapper: {
423
- "background-color": "white",
424
- "border-radius": "xl",
425
- overflow: "hidden",
426
- "box-shadow": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
427
- display: "flex",
428
- "flex-direction": "column",
429
- filter: "none",
430
- "padding-bottom": "none",
431
- height: "min-content",
432
- },
433
- image: {
434
- width: "100%",
435
- height: "auto",
436
- "object-fit": "cover",
437
- filter: "none",
438
- "min-height": "260px",
439
- },
440
- "content-wrapper": {
441
- "padding-left": "xl",
442
- "padding-right": "xl",
443
- "padding-top": "lg",
444
- "padding-bottom": "xl",
445
- display: "flex",
446
- "flex-direction": "column",
447
- "row-gap": "base",
448
- filter: "none",
449
- "background-color": "white",
450
- },
451
- title: {
452
- "font-size": "xl",
453
- "font-weight": "600",
454
- color: "text-1",
455
- "line-height": "1.3",
456
- filter: "none",
457
- },
458
- description: {
459
- "font-size": "base",
460
- color: "text-2",
461
- "line-height": "1.5",
462
- "margin-bottom": "sm",
463
- filter: "none",
464
- display: "none",
465
- },
466
- details_levoGroup: {
467
- display: "flex",
468
- "flex-direction": "column",
469
- "row-gap": "xs",
470
- filter: "none",
471
- },
472
- details: [
473
- {
474
- detailWrapper: {
475
- display: "flex",
476
- "align-items": "center",
477
- "column-gap": "sm",
478
- filter: "none",
479
- },
480
- icon: {
481
- width: "22px",
482
- height: "22px",
483
- "flex-shrink": "0",
484
- filter: "none",
485
- },
486
- text: {
487
- "font-size": "sm",
488
- color: "text-2",
489
- "line-height": "1.4",
490
- },
491
- },
492
- {
493
- icon: {
494
- filter: "none",
495
- width: "22px",
496
- height: "22px",
497
- },
498
- detailWrapper: {
499
- filter: "none",
500
- display: "flex",
501
- "column-gap": "sm",
502
- },
503
- text: {
504
- filter: "none",
505
- },
506
- },
507
- {
508
- icon: {
509
- filter: "none",
510
- height: "22px",
511
- width: "22px",
512
- },
513
- detailWrapper: {
514
- filter: "none",
515
- display: "flex",
516
- "column-gap": "sm",
517
- },
518
- },
519
- ],
520
- };
521
- }),
799
+ events: Array(EVENT_COUNT)
800
+ .fill(0)
801
+ .map(() =>
802
+ eventItemStyles({
803
+ titleSize: "lg",
804
+ descriptionSize: "sm",
805
+ detailSize: "sm",
806
+ iconSize: "18px",
807
+ rowGap: "sm",
808
+ padding: "lg",
809
+ }),
810
+ ),
811
+ },
812
+ content: DEFAULT_CONTENT,
813
+ config: {
814
+ title: {
815
+ selectedVariants: {
816
+ Heading_Level: "H2",
817
+ },
818
+ heading: {
819
+ level: 2,
820
+ },
821
+ },
822
+ },
823
+ },
824
+ {
825
+ key: "list",
826
+ title: "List",
827
+ styles: {
828
+ layout: {
829
+ "padding-top": "4xl",
830
+ "padding-bottom": "4xl",
831
+ "padding-left": "xl",
832
+ "padding-right": "xl",
833
+ filter: "none",
834
+ },
835
+ container: {
836
+ "max-width": "1280px",
837
+ "margin-left": "auto",
838
+ "margin-right": "auto",
839
+ display: "flex",
840
+ "flex-direction": "column",
841
+ "row-gap": "2xl",
842
+ filter: "none",
843
+ },
844
+ "header-section": {
845
+ display: "flex",
846
+ "flex-direction": "row",
847
+ "align-items": "center",
848
+ "column-gap": "2xl",
849
+ "row-gap": "lg",
850
+ "margin-bottom": "sm",
851
+ filter: "none",
852
+ "justify-content": "space-between",
853
+ tablet: {
854
+ "flex-direction": "column",
855
+ "align-items": "flex-start",
856
+ },
857
+ mobile: {
858
+ "flex-direction": "column",
859
+ "align-items": "flex-start",
860
+ },
861
+ },
862
+ "header-content": {
863
+ display: "flex",
864
+ "flex-direction": "column",
865
+ "row-gap": "sm",
866
+ "text-align": "left",
867
+ flex: "1",
868
+ },
869
+ title: {
870
+ color: "text-1",
871
+ },
872
+ description: {
873
+ "font-size": "lg",
874
+ color: "text-2",
875
+ "max-width": "640px",
876
+ "line-height": "1.6",
877
+ },
878
+ events_levoGroup: {
879
+ display: "flex",
880
+ "flex-direction": "column",
881
+ "row-gap": "xl",
882
+ filter: "none",
883
+ },
884
+ paginationWrapper: {
885
+ width: "100%",
886
+ display: "flex",
887
+ "justify-content": "center",
888
+ "column-gap": "lg",
889
+ "align-items": "center",
890
+ },
891
+ events: Array(EVENT_COUNT)
892
+ .fill(0)
893
+ .map(() =>
894
+ eventItemStyles({
895
+ titleSize: "xl",
896
+ descriptionSize: "base",
897
+ detailSize: "sm",
898
+ iconSize: "18px",
899
+ rowGap: "base",
900
+ padding: "xl",
901
+ list: true,
902
+ }),
903
+ ),
904
+ },
905
+ content: DEFAULT_CONTENT,
906
+ config: {
907
+ title: {
908
+ selectedVariants: {
909
+ Heading_Level: "H2",
910
+ },
911
+ heading: {
912
+ level: 2,
913
+ },
914
+ },
915
+ },
916
+ },
917
+ {
918
+ key: "centered",
919
+ title: "Centered",
920
+ styles: {
921
+ layout: {
922
+ "padding-top": "4xl",
923
+ "padding-bottom": "4xl",
924
+ "padding-left": "xl",
925
+ "padding-right": "xl",
926
+ filter: "none",
927
+ },
928
+ container: {
929
+ "max-width": "1280px",
930
+ "margin-left": "auto",
931
+ "margin-right": "auto",
932
+ display: "flex",
933
+ "flex-direction": "column",
934
+ "row-gap": "3xl",
935
+ "align-items": "center",
936
+ filter: "none",
937
+ },
938
+ "header-section": {
939
+ display: "flex",
940
+ "flex-direction": "column",
941
+ "align-items": "center",
942
+ "text-align": "center",
943
+ "row-gap": "base",
944
+ "margin-bottom": "sm",
945
+ "max-width": "720px",
946
+ filter: "none",
947
+ },
948
+ "header-content": {
949
+ display: "flex",
950
+ "flex-direction": "column",
951
+ "row-gap": "sm",
952
+ "text-align": "center",
953
+ "align-items": "center",
954
+ },
955
+ title: {
956
+ color: "text-1",
957
+ "text-align": "center",
958
+ },
959
+ description: {
960
+ "font-size": "lg",
961
+ color: "text-2",
962
+ "max-width": "640px",
963
+ "line-height": "1.6",
964
+ "text-align": "center",
965
+ },
966
+ events_levoGroup: {
967
+ display: "grid",
968
+ "grid-template-columns": "repeat(3, minmax(0, 1fr))",
969
+ "column-gap": "xl",
970
+ "row-gap": "xl",
971
+ width: "100%",
972
+ tablet: {
973
+ "grid-template-columns": "repeat(2, minmax(0, 1fr))",
974
+ },
975
+ mobile: {
976
+ "grid-template-columns": "repeat(1, minmax(0, 1fr))",
977
+ },
978
+ filter: "none",
979
+ },
980
+ paginationWrapper: {
981
+ width: "100%",
982
+ display: "flex",
983
+ "justify-content": "center",
984
+ "column-gap": "lg",
985
+ "align-items": "center",
986
+ },
987
+ events: Array(EVENT_COUNT)
988
+ .fill(0)
989
+ .map(() =>
990
+ eventItemStyles({
991
+ titleSize: "lg",
992
+ descriptionSize: "sm",
993
+ detailSize: "sm",
994
+ iconSize: "18px",
995
+ rowGap: "sm",
996
+ padding: "lg",
997
+ centered: true,
998
+ }),
999
+ ),
1000
+ },
1001
+ content: DEFAULT_CONTENT,
1002
+ config: {
1003
+ title: {
1004
+ selectedVariants: {
1005
+ Heading_Level: "H2",
1006
+ },
1007
+ heading: {
1008
+ level: 2,
1009
+ },
1010
+ },
1011
+ },
1012
+ },
1013
+ {
1014
+ key: "compact",
1015
+ title: "Compact",
1016
+ styles: {
1017
+ layout: {
1018
+ "padding-top": "3xl",
1019
+ "padding-bottom": "3xl",
1020
+ "padding-left": "xl",
1021
+ "padding-right": "xl",
1022
+ filter: "none",
1023
+ },
1024
+ container: {
1025
+ "max-width": "1280px",
1026
+ "margin-left": "auto",
1027
+ "margin-right": "auto",
1028
+ display: "flex",
1029
+ "flex-direction": "column",
1030
+ "row-gap": "xl",
1031
+ filter: "none",
1032
+ },
1033
+ "header-section": {
1034
+ display: "flex",
1035
+ "flex-direction": "row",
1036
+ "align-items": "center",
1037
+ "column-gap": "2xl",
1038
+ "row-gap": "sm",
1039
+ "margin-bottom": "sm",
1040
+ filter: "none",
1041
+ "justify-content": "space-between",
1042
+ tablet: {
1043
+ "flex-direction": "column",
1044
+ "align-items": "flex-start",
1045
+ },
1046
+ mobile: {
1047
+ "flex-direction": "column",
1048
+ "align-items": "flex-start",
1049
+ },
1050
+ },
1051
+ "header-content": {
1052
+ display: "flex",
1053
+ "flex-direction": "column",
1054
+ "row-gap": "xs",
1055
+ "text-align": "left",
1056
+ flex: "1",
1057
+ },
1058
+ title: {
1059
+ color: "text-1",
1060
+ "font-size": "2xl",
1061
+ },
1062
+ description: {
1063
+ "font-size": "base",
1064
+ color: "text-2",
1065
+ "max-width": "560px",
1066
+ "line-height": "1.5",
1067
+ },
1068
+ events_levoGroup: {
1069
+ display: "grid",
1070
+ "grid-template-columns": "repeat(2, minmax(0, 1fr))",
1071
+ "column-gap": "lg",
1072
+ "row-gap": "lg",
1073
+ tablet: {
1074
+ "grid-template-columns": "repeat(2, minmax(0, 1fr))",
1075
+ },
1076
+ mobile: {
1077
+ "grid-template-columns": "repeat(1, minmax(0, 1fr))",
1078
+ },
1079
+ filter: "none",
1080
+ },
1081
+ paginationWrapper: {
1082
+ width: "100%",
1083
+ display: "flex",
1084
+ "justify-content": "center",
1085
+ "column-gap": "lg",
1086
+ "align-items": "center",
1087
+ },
1088
+ events: Array(EVENT_COUNT)
1089
+ .fill(0)
1090
+ .map(() =>
1091
+ eventItemStyles({
1092
+ titleSize: "base",
1093
+ descriptionSize: "sm",
1094
+ detailSize: "xs",
1095
+ iconSize: "16px",
1096
+ rowGap: "xs",
1097
+ padding: "base",
1098
+ }),
1099
+ ),
522
1100
  },
523
1101
  content: DEFAULT_CONTENT,
524
1102
  config: {