@levo-so/blocks 0.1.58 → 0.1.60

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 (191) hide show
  1. package/package.json +16 -15
  2. package/src/blocks/about-us/about-us-1.schema.ts +75 -58
  3. package/src/blocks/about-us/about-us-2.schema.ts +186 -39
  4. package/src/blocks/blogs/blog-listing-1.tsx +17 -15
  5. package/src/blocks/blogs/blog-listing-2.tsx +17 -15
  6. package/src/blocks/blogs/blog-listing-3.tsx +17 -15
  7. package/src/blocks/calendar/calendar-1.schema.ts +263 -181
  8. package/src/blocks/calendar/calendar-1.tsx +42 -11
  9. package/src/blocks/cards/cards-10.schema.ts +322 -313
  10. package/src/blocks/cards/cards-10.tsx +9 -1
  11. package/src/blocks/cards/cards-11.schema.ts +139 -248
  12. package/src/blocks/cards/cards-12.schema.ts +117 -196
  13. package/src/blocks/cards/cards-13.schema.ts +107 -56
  14. package/src/blocks/cards/cards-14.schema.ts +58 -154
  15. package/src/blocks/cards/cards-15.schema.ts +54 -31
  16. package/src/blocks/cards/cards-15.tsx +13 -2
  17. package/src/blocks/cards/cards-2.schema.ts +83 -88
  18. package/src/blocks/cards/cards-2.tsx +10 -2
  19. package/src/blocks/cards/cards-3.schema.ts +75 -70
  20. package/src/blocks/cards/cards-4.schema.ts +149 -91
  21. package/src/blocks/cards/cards-4.tsx +13 -2
  22. package/src/blocks/cards/cards-5.schema.ts +91 -68
  23. package/src/blocks/cards/cards-5.tsx +9 -1
  24. package/src/blocks/cards/cards-6.schema.ts +794 -972
  25. package/src/blocks/cards/cards-6.tsx +18 -2
  26. package/src/blocks/cards/cards-7.schema.ts +802 -2250
  27. package/src/blocks/cards/cards-7.tsx +14 -1
  28. package/src/blocks/cards/cards-8.schema.ts +166 -347
  29. package/src/blocks/cards/cards-8.tsx +14 -1
  30. package/src/blocks/cards/cards-9.schema.ts +300 -305
  31. package/src/blocks/cards/cards-9.tsx +27 -3
  32. package/src/blocks/carousel/carousel-1.schema.ts +479 -46
  33. package/src/blocks/carousel/carousel-1.tsx +2 -0
  34. package/src/blocks/carousel/carousel-2.schema.ts +170 -118
  35. package/src/blocks/carousel/carousel-2.tsx +10 -2
  36. package/src/blocks/community/community-1.schema.ts +566 -0
  37. package/src/blocks/community/community-1.tsx +690 -0
  38. package/src/blocks/community/community-post-1.schema.ts +417 -0
  39. package/src/blocks/community/community-post-1.tsx +155 -0
  40. package/src/blocks/contact-us/contact-us-1.schema.ts +33 -43
  41. package/src/blocks/contact-us/contact-us-2.schema.ts +39 -17
  42. package/src/blocks/contact-us/contact-us-2.tsx +1 -1
  43. package/src/blocks/content/content-1.schema.ts +184 -234
  44. package/src/blocks/content/content-1.tsx +48 -38
  45. package/src/blocks/content/content-2.schema.ts +143 -32
  46. package/src/blocks/content/content-2.tsx +15 -3
  47. package/src/blocks/content/content-3.schema.ts +215 -205
  48. package/src/blocks/content/content-3.tsx +13 -1
  49. package/src/blocks/content/content-4.schema.ts +124 -85
  50. package/src/blocks/content/content-4.tsx +2 -1
  51. package/src/blocks/content/content-5.schema.ts +296 -278
  52. package/src/blocks/content/content-5.tsx +23 -2
  53. package/src/blocks/content/content-6.schema.ts +474 -244
  54. package/src/blocks/content/content-6.tsx +23 -1
  55. package/src/blocks/content/content-7.schema.ts +173 -133
  56. package/src/blocks/content/content-7.tsx +27 -3
  57. package/src/blocks/content/content-8.schema.ts +27 -17
  58. package/src/blocks/content/content-9.schema.ts +64 -2208
  59. package/src/blocks/content/content-9.tsx +6 -3
  60. package/src/blocks/cta/cta-1.schema.ts +13 -108
  61. package/src/blocks/cta/cta-2.schema.ts +60 -69
  62. package/src/blocks/cta/cta-3.schema.ts +97 -66
  63. package/src/blocks/embed/embed-1.schema.ts +30 -52
  64. package/src/blocks/event/event-details.schema.ts +7 -0
  65. package/src/blocks/event/event-details.tsx +1 -0
  66. package/src/blocks/event/event-listing-2.tsx +17 -15
  67. package/src/blocks/event/event-listing-3.tsx +17 -15
  68. package/src/blocks/event/event-listing-4.tsx +17 -15
  69. package/src/blocks/event/event-listing.tsx +17 -15
  70. package/src/blocks/faq/faq-1.schema.ts +158 -112
  71. package/src/blocks/faq/faq-1.tsx +12 -3
  72. package/src/blocks/faq/faq-2.schema.ts +137 -74
  73. package/src/blocks/faq/faq-2.tsx +10 -1
  74. package/src/blocks/faq/faq-3.schema.ts +185 -105
  75. package/src/blocks/faq/faq-3.tsx +19 -3
  76. package/src/blocks/features/features-1/features-1.schema.ts +11 -3
  77. package/src/blocks/features/features-1/features-1.tsx +10 -1
  78. package/src/blocks/features/features-1/variants/default.ts +172 -54
  79. package/src/blocks/features/features-1/variants/stylized-cards-v1.ts +392 -54
  80. package/src/blocks/features/features-1/variants/stylized-cards-v2.ts +119 -103
  81. package/src/blocks/features/features-1/variants/stylized-cards-v3.ts +16 -199
  82. package/src/blocks/features/features-2.schema.ts +178 -45
  83. package/src/blocks/features/features-2.tsx +10 -2
  84. package/src/blocks/features/features-3.schema.ts +284 -65
  85. package/src/blocks/features/features-3.tsx +22 -3
  86. package/src/blocks/features/features-4.schema.ts +380 -185
  87. package/src/blocks/features/features-4.tsx +9 -1
  88. package/src/blocks/features/features-5.schema.ts +194 -198
  89. package/src/blocks/features/features-5.tsx +12 -1
  90. package/src/blocks/features/features-6.schema.ts +240 -193
  91. package/src/blocks/features/features-6.tsx +16 -2
  92. package/src/blocks/floating-buttons/floating-button-1.schema.ts +105 -0
  93. package/src/blocks/floating-buttons/floating-button-1.tsx +20 -0
  94. package/src/blocks/footer/footer-1.schema.ts +118 -48
  95. package/src/blocks/footer/footer-1.tsx +2 -1
  96. package/src/blocks/footer/footer-2.schema.ts +235 -31
  97. package/src/blocks/footer/footer-2.tsx +2 -1
  98. package/src/blocks/footer/footer-3.schema.ts +334 -57
  99. package/src/blocks/footer/footer-3.tsx +2 -1
  100. package/src/blocks/footer/footer-4.schema.ts +147 -76
  101. package/src/blocks/footer/footer-4.tsx +2 -1
  102. package/src/blocks/footer/footer-5.schema.ts +144 -52
  103. package/src/blocks/footer/footer-5.tsx +2 -1
  104. package/src/blocks/footer/footer-6.schema.ts +68 -140
  105. package/src/blocks/footer/footer-6.tsx +2 -1
  106. package/src/blocks/hero/hero-1.schema.ts +184 -87
  107. package/src/blocks/hero/hero-10.schema.ts +8 -29
  108. package/src/blocks/hero/hero-11.schema.ts +192 -89
  109. package/src/blocks/hero/hero-11.tsx +1 -1
  110. package/src/blocks/hero/hero-12.schema.ts +107 -170
  111. package/src/blocks/hero/hero-12.tsx +1 -1
  112. package/src/blocks/hero/hero-13.schema.ts +42 -28
  113. package/src/blocks/hero/hero-2.schema.ts +33 -58
  114. package/src/blocks/hero/hero-3.schema.ts +42 -34
  115. package/src/blocks/hero/hero-4.schema.ts +265 -70
  116. package/src/blocks/hero/hero-4.tsx +19 -2
  117. package/src/blocks/hero/hero-5.schema.ts +122 -44
  118. package/src/blocks/hero/hero-5.tsx +14 -2
  119. package/src/blocks/hero/hero-6.schema.ts +159 -255
  120. package/src/blocks/hero/hero-7.schema.ts +105 -34
  121. package/src/blocks/hero/hero-7.tsx +4 -1
  122. package/src/blocks/hero/hero-8.schema.ts +363 -133
  123. package/src/blocks/hero/hero-8.tsx +27 -3
  124. package/src/blocks/hero/hero-9.schema.ts +116 -83
  125. package/src/blocks/hero/hero-9.tsx +9 -1
  126. package/src/blocks/index.ts +7 -0
  127. package/src/blocks/logos/logos-1.schema.ts +424 -30
  128. package/src/blocks/polling/polling-1.schema.ts +1 -19
  129. package/src/blocks/pricing/pricing-1.schema.ts +296 -266
  130. package/src/blocks/pricing/pricing-1.tsx +16 -2
  131. package/src/blocks/products/products-listing-1.schema.ts +144 -33
  132. package/src/blocks/products/products-listing-1.tsx +9 -1
  133. package/src/blocks/products/products-listing-2.schema.ts +199 -213
  134. package/src/blocks/products/products-listing-2.tsx +25 -3
  135. package/src/blocks/products/products-listing-3.schema.ts +439 -154
  136. package/src/blocks/products/products-listing-3.tsx +43 -8
  137. package/src/blocks/profile/profile-1.schema.ts +67 -49
  138. package/src/blocks/profile/profile-1.tsx +3 -2
  139. package/src/blocks/profile/profile-2.schema.ts +73 -85
  140. package/src/blocks/profile/profile-2.tsx +2 -1
  141. package/src/blocks/profile/profile-3.schema.ts +162 -529
  142. package/src/blocks/profile/profile-3.tsx +2 -2
  143. package/src/blocks/services/service-1.schema.ts +204 -804
  144. package/src/blocks/services/service-1.tsx +15 -2
  145. package/src/blocks/services/service-2.schema.ts +95 -75
  146. package/src/blocks/services/service-2.tsx +9 -1
  147. package/src/blocks/services/service-3.schema.ts +73 -73
  148. package/src/blocks/services/service-3.tsx +40 -39
  149. package/src/blocks/stats/stats-1.schema.ts +225 -21
  150. package/src/blocks/stats/stats-1.tsx +4 -0
  151. package/src/blocks/stats/stats-2.schema.ts +13 -5
  152. package/src/blocks/stats/stats-2.tsx +9 -1
  153. package/src/blocks/stats/variants/default.ts +59 -41
  154. package/src/blocks/stats/variants/hero.ts +64 -31
  155. package/src/blocks/tabs/tab-1.schema.ts +105 -407
  156. package/src/blocks/tabs/tab-1.tsx +15 -4
  157. package/src/blocks/tabs/tab-2.schema.ts +208 -278
  158. package/src/blocks/tabs/tab-2.tsx +14 -2
  159. package/src/blocks/team/team-1.schema.ts +621 -76
  160. package/src/blocks/team/team-1.tsx +9 -1
  161. package/src/blocks/team/team-2.schema.ts +693 -1421
  162. package/src/blocks/team/team-2.tsx +4 -1
  163. package/src/blocks/team/team-3.schema.ts +147 -74
  164. package/src/blocks/team/team-3.tsx +1 -0
  165. package/src/blocks/team/team-4.schema.ts +216 -57
  166. package/src/blocks/team/team-4.tsx +10 -2
  167. package/src/blocks/team/team-5.schema.ts +67 -42
  168. package/src/blocks/team/team-5.tsx +12 -3
  169. package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +9 -26
  170. package/src/blocks/termsAndPrivacy/terms-and-conditions-1.tsx +1 -1
  171. package/src/blocks/testimonial/testimonial-1.schema.ts +712 -63
  172. package/src/blocks/testimonial/testimonial-1.tsx +2 -4
  173. package/src/blocks/testimonial/testimonial-2.schema.ts +1332 -354
  174. package/src/blocks/testimonial/testimonial-2.tsx +4 -1
  175. package/src/blocks/testimonial/testimonial-3.schema.ts +215 -71
  176. package/src/blocks/testimonial/testimonial-3.tsx +5 -2
  177. package/src/blocks/testimonial/testimonial-4.schema.ts +331 -933
  178. package/src/blocks/testimonial/testimonial-4.tsx +4 -1
  179. package/src/blocks/testimonial/testimonial-5/variants/default.ts +179 -171
  180. package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +205 -501
  181. package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +190 -316
  182. package/src/blocks/testimonial/testimonial-6.schema.ts +204 -267
  183. package/src/blocks/testimonial/testimonial-7.schema.ts +74 -45
  184. package/src/blocks/testimonial/testimonial-7.tsx +2 -2
  185. package/src/blocks/timeline/timeline-1.schema.ts +196 -149
  186. package/src/blocks/timeline/timeline-1.tsx +4 -1
  187. package/src/blocks/users/edit-profile.schema.ts +56 -44
  188. package/src/blocks/users/edit-profile.tsx +13 -6
  189. package/src/constants/index.ts +19 -0
  190. package/src/schemas/blocks.ts +6 -0
  191. package/src/schemas/categories.ts +12 -0
@@ -3,11 +3,18 @@ import type { IBlock } from "@levo-so/studio";
3
3
  const DEFAULT_CONTENT = {
4
4
  layout: null,
5
5
  container: null,
6
-
7
6
  contentWrapper: null,
8
7
  title: "Check out this amazing content",
9
8
  description: "We've got something special to share with you. Take a look!",
10
9
  embed: "",
10
+ ctas: [
11
+ {
12
+ cta: "Learn More",
13
+ },
14
+ {
15
+ cta: "Explore",
16
+ },
17
+ ],
11
18
  };
12
19
  const DEFAULT_CONTENT_2 = {
13
20
  layout: null,
@@ -89,24 +96,7 @@ export const Embed1: IBlock = {
89
96
  key: "default",
90
97
  title: "Default",
91
98
  styles: {
92
- layout: {
93
- "padding-left": "8xl",
94
- "padding-right": "8xl",
95
- "padding-top": "8xl",
96
- "padding-bottom": "8xl",
97
- tablet: {
98
- "padding-left": "4xl",
99
- "padding-right": "4xl",
100
- "padding-top": "4xl",
101
- "padding-bottom": "4xl",
102
- },
103
- mobile: {
104
- "padding-left": "lg",
105
- "padding-right": "lg",
106
- "padding-top": "lg",
107
- "padding-bottom": "lg",
108
- },
109
- },
99
+ layout: {},
110
100
  container: {
111
101
  display: "flex",
112
102
  "align-items": "center",
@@ -154,38 +144,28 @@ export const Embed1: IBlock = {
154
144
  "row-gap": "4xs",
155
145
  "align-items": "center",
156
146
  },
147
+ title: {},
148
+ ctas_levoGroup: {
149
+ display: "flex",
150
+ "column-gap": "xl",
151
+ "flex-direction": "row",
152
+ "justify-content": "center",
153
+ },
154
+ },
155
+ content: DEFAULT_CONTENT,
156
+ config: {
157
157
  title: {
158
- "font-size": "4xl",
159
- mobile: {
160
- "font-size": "2xl",
158
+ selectedVariants: {
159
+ Heading_Level: "H2",
161
160
  },
162
161
  },
163
162
  },
164
- content: DEFAULT_CONTENT,
165
- config: {},
166
163
  },
167
164
  {
168
165
  key: "variant-1",
169
166
  title: "Variant 1",
170
167
  styles: {
171
- layout: {
172
- "padding-left": "8xl",
173
- "padding-right": "8xl",
174
- "padding-top": "8xl",
175
- "padding-bottom": "8xl",
176
- tablet: {
177
- "padding-left": "4xl",
178
- "padding-right": "4xl",
179
- "padding-top": "4xl",
180
- "padding-bottom": "4xl",
181
- },
182
- mobile: {
183
- "padding-left": "lg",
184
- "padding-right": "lg",
185
- "padding-top": "lg",
186
- "padding-bottom": "lg",
187
- },
188
- },
168
+ layout: {},
189
169
  container: {
190
170
  display: "flex",
191
171
  "justify-content": "space-between",
@@ -199,7 +179,6 @@ export const Embed1: IBlock = {
199
179
  "row-gap": "base",
200
180
  "padding-top": "base",
201
181
  },
202
- "max-width": "auto",
203
182
  "background-color": "background-3",
204
183
  },
205
184
  embed: {
@@ -235,19 +214,18 @@ export const Embed1: IBlock = {
235
214
  "flex-direction": "column",
236
215
  "row-gap": "4xs",
237
216
  },
217
+ title: {},
218
+ description: {},
219
+ },
220
+
221
+ content: DEFAULT_CONTENT_2,
222
+ config: {
238
223
  title: {
239
- "font-size": "4xl",
240
- mobile: {
241
- "font-size": "2xl",
224
+ selectedVariants: {
225
+ Heading_Level: "H2",
242
226
  },
243
227
  },
244
- description: {
245
- "line-height": 1.625,
246
- },
247
228
  },
248
-
249
- content: DEFAULT_CONTENT_2,
250
- config: {},
251
229
  },
252
230
  ],
253
231
  };
@@ -85,6 +85,8 @@ export type IEventDetailsContent = typeof DEFAULT_CONTENT & {
85
85
  ends_at?: string;
86
86
  kind?: string;
87
87
  timing?: string;
88
+ id?: string;
89
+ external_ticketing?: string;
88
90
  };
89
91
 
90
92
  export const EventDetails: IBlock = {
@@ -199,6 +201,11 @@ export const EventDetails: IBlock = {
199
201
  label: "Event ID",
200
202
  field_interface: "TypographyWidget",
201
203
  },
204
+ {
205
+ key: "external_ticketing",
206
+ label: "External Ticketing URL",
207
+ field_interface: "TypographyWidget",
208
+ },
202
209
  {
203
210
  key: "end-date-wrapper",
204
211
  label: "End Date Wrapper",
@@ -76,6 +76,7 @@ const EventDetails: React.FC<ILevoBlockBaseProps<IEventDetailsContent>> = ({
76
76
  <RegisterModal
77
77
  eventID={content?.id as string}
78
78
  title={content?.title}
79
+ external={content?.external_ticketing}
79
80
  />
80
81
  ) : null}
81
82
  <Typography elementKey="description" />
@@ -70,22 +70,24 @@ const EventListing2: React.FC<
70
70
  </Box>
71
71
  ))}
72
72
  </Box>
73
- <Box elementKey="paginationWrapper">
74
- <Button
75
- elementKey="paginationLeftButton"
76
- disabled={query?.page === 1}
77
- onClick={handlePrevious}
78
- />
73
+ {(meta?.pages || 0) > 1 && (
74
+ <Box elementKey="paginationWrapper">
75
+ <Button
76
+ elementKey="paginationLeftButton"
77
+ disabled={query?.page === 1}
78
+ onClick={handlePrevious}
79
+ />
79
80
 
80
- <Typography elementKey="paginationText">
81
- {`${query?.page || 0}/${meta?.pages || 0}`}
82
- </Typography>
83
- <Button
84
- elementKey="paginationRightButton"
85
- onClick={handleNext}
86
- disabled={query?.page === meta?.pages}
87
- />
88
- </Box>
81
+ <Typography elementKey="paginationText">
82
+ {`${query?.page || 0}/${meta?.pages || 0}`}
83
+ </Typography>
84
+ <Button
85
+ elementKey="paginationRightButton"
86
+ onClick={handleNext}
87
+ disabled={query?.page === meta?.pages}
88
+ />
89
+ </Box>
90
+ )}
89
91
  </Container>
90
92
  </Section>
91
93
  );
@@ -73,22 +73,24 @@ const EventListing3: React.FC<ILevoBlockBaseProps<IEventListing3>> = () => {
73
73
  </Box>
74
74
  ))}
75
75
  </Box>
76
- <Box elementKey="paginationWrapper">
77
- <Button
78
- elementKey="paginationLeftButton"
79
- disabled={query?.page === 1}
80
- onClick={handlePrevious}
81
- />
76
+ {(meta?.pages || 0) > 1 && (
77
+ <Box elementKey="paginationWrapper">
78
+ <Button
79
+ elementKey="paginationLeftButton"
80
+ disabled={query?.page === 1}
81
+ onClick={handlePrevious}
82
+ />
82
83
 
83
- <Typography elementKey="paginationText">
84
- {`${query?.page || 0}/${meta?.pages || 0}`}
85
- </Typography>
86
- <Button
87
- elementKey="paginationRightButton"
88
- onClick={handleNext}
89
- disabled={query?.page === meta?.pages}
90
- />
91
- </Box>
84
+ <Typography elementKey="paginationText">
85
+ {`${query?.page || 0}/${meta?.pages || 0}`}
86
+ </Typography>
87
+ <Button
88
+ elementKey="paginationRightButton"
89
+ onClick={handleNext}
90
+ disabled={query?.page === meta?.pages}
91
+ />
92
+ </Box>
93
+ )}
92
94
  </Container>
93
95
  </Section>
94
96
  );
@@ -82,22 +82,24 @@ const EventListing4: React.FC<ILevoBlockBaseProps<IEventListing4>> = () => {
82
82
  </Box>
83
83
  ))}
84
84
  </Box>
85
- <Box elementKey="paginationWrapper">
86
- <Button
87
- elementKey="paginationLeftButton"
88
- disabled={query?.page === 1}
89
- onClick={handlePrevious}
90
- />
85
+ {(meta?.pages || 0) > 1 && (
86
+ <Box elementKey="paginationWrapper">
87
+ <Button
88
+ elementKey="paginationLeftButton"
89
+ disabled={query?.page === 1}
90
+ onClick={handlePrevious}
91
+ />
91
92
 
92
- <Typography elementKey="paginationText">
93
- {`${query?.page || 0}/${meta?.pages || 0}`}
94
- </Typography>
95
- <Button
96
- elementKey="paginationRightButton"
97
- onClick={handleNext}
98
- disabled={query?.page === meta?.pages}
99
- />
100
- </Box>
93
+ <Typography elementKey="paginationText">
94
+ {`${query?.page || 0}/${meta?.pages || 0}`}
95
+ </Typography>
96
+ <Button
97
+ elementKey="paginationRightButton"
98
+ onClick={handleNext}
99
+ disabled={query?.page === meta?.pages}
100
+ />
101
+ </Box>
102
+ )}
101
103
  </Container>
102
104
  </Section>
103
105
  );
@@ -71,22 +71,24 @@ const EventListing: React.FC<ILevoBlockBaseProps<IEventListing>> = () => {
71
71
  </Box>
72
72
  ))}
73
73
  </Box>
74
- <Box elementKey="paginationWrapper">
75
- <Button
76
- elementKey="paginationLeftButton"
77
- disabled={query?.page === 1}
78
- onClick={handlePrevious}
79
- />
74
+ {(meta?.pages || 0) > 1 && (
75
+ <Box elementKey="paginationWrapper">
76
+ <Button
77
+ elementKey="paginationLeftButton"
78
+ disabled={query?.page === 1}
79
+ onClick={handlePrevious}
80
+ />
80
81
 
81
- <Typography elementKey="paginationText">
82
- {`${query?.page || 0}/${meta?.pages || 0}`}
83
- </Typography>
84
- <Button
85
- elementKey="paginationRightButton"
86
- onClick={handleNext}
87
- disabled={query?.page === meta?.pages}
88
- />
89
- </Box>
82
+ <Typography elementKey="paginationText">
83
+ {`${query?.page || 0}/${meta?.pages || 0}`}
84
+ </Typography>
85
+ <Button
86
+ elementKey="paginationRightButton"
87
+ onClick={handleNext}
88
+ disabled={query?.page === meta?.pages}
89
+ />
90
+ </Box>
91
+ )}
90
92
  </Container>
91
93
  </Section>
92
94
  );
@@ -11,6 +11,31 @@ const DUMMY_IMAGE = {
11
11
  },
12
12
  };
13
13
 
14
+ const MEDIA = {
15
+ id: "XZbHDbcwEfNIW",
16
+ filename: "faq-1-1.png",
17
+ kind: "image",
18
+ location: "https://static.levocdn.com/WLZ1TXTD/faq-1-1-QsAcZ4gZy8hjO.png",
19
+ srcset: {
20
+ "1080w":
21
+ "https://static.levocdn.com/WLZ1TXTD/faq-1-1-QsAcZ4gZy8hjO-1080w.webp",
22
+ "1200w":
23
+ "https://static.levocdn.com/WLZ1TXTD/faq-1-1-QsAcZ4gZy8hjO-1200w.webp",
24
+ "1920w":
25
+ "https://static.levocdn.com/WLZ1TXTD/faq-1-1-QsAcZ4gZy8hjO-1920w.webp",
26
+ "320w":
27
+ "https://static.levocdn.com/WLZ1TXTD/faq-1-1-QsAcZ4gZy8hjO-320w.webp",
28
+ "640w":
29
+ "https://static.levocdn.com/WLZ1TXTD/faq-1-1-QsAcZ4gZy8hjO-640w.webp",
30
+ "750w":
31
+ "https://static.levocdn.com/WLZ1TXTD/faq-1-1-QsAcZ4gZy8hjO-750w.webp",
32
+ "828w":
33
+ "https://static.levocdn.com/WLZ1TXTD/faq-1-1-QsAcZ4gZy8hjO-828w.webp",
34
+ path: "https://static.levocdn.com/WLZ1TXTD/faq-1-1-QsAcZ4gZy8hjO-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/faq-1-1-QsAcZ4gZy8hjO-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/faq-1-1-QsAcZ4gZy8hjO-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/faq-1-1-QsAcZ4gZy8hjO-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/faq-1-1-QsAcZ4gZy8hjO-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/faq-1-1-QsAcZ4gZy8hjO-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/faq-1-1-QsAcZ4gZy8hjO-750w.webp 750w",
35
+ },
36
+ mimetype: "image/png",
37
+ };
38
+
14
39
  const DEFAULT_CONTENT = {
15
40
  layout: null,
16
41
  container: null,
@@ -22,7 +47,8 @@ const DEFAULT_CONTENT = {
22
47
  text_container: null,
23
48
  faq_label: "FAQ's",
24
49
  title: "Legal Queries Solved",
25
-
50
+ description:
51
+ "We're here to help you navigate the complexities of the legal system.",
26
52
  faqs: [
27
53
  {
28
54
  wrapper: null,
@@ -70,31 +96,10 @@ const DEFAULT_CONTENT = {
70
96
  },
71
97
  ],
72
98
 
73
- cta: "More about us",
99
+ ctas_levoGroup: null,
100
+ ctas: [{ cta: "More about us" }, { cta: "Contact Support" }],
74
101
 
75
- faq_image: {
76
- id: "7141014160938075687",
77
- location: "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH.png",
78
- kind: "image",
79
- mimetype: "image/png",
80
- srcset: {
81
- "1080w":
82
- "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp",
83
- "1200w":
84
- "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp",
85
- "1920w":
86
- "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp",
87
- "320w":
88
- "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp",
89
- "640w":
90
- "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp",
91
- "750w":
92
- "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp",
93
- "828w":
94
- "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp",
95
- path: "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp 640w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp 1080w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp 1200w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp 1920w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp 320w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp 750w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp 828w",
96
- },
97
- },
102
+ faq_image: MEDIA,
98
103
  };
99
104
 
100
105
  export type IFaq1Content = typeof DEFAULT_CONTENT;
@@ -153,6 +158,11 @@ export const Faq1: IBlock = {
153
158
  max_characters: 40,
154
159
  },
155
160
  },
161
+ {
162
+ key: "description",
163
+ label: "Description",
164
+ field_interface: "TypographyWidget",
165
+ },
156
166
  {
157
167
  key: "faqs",
158
168
  label: "FAQs",
@@ -191,7 +201,7 @@ export const Faq1: IBlock = {
191
201
  {
192
202
  key: "question",
193
203
  label: "Question",
194
- field_interface: "TypographyWidget",
204
+ field_interface: "HeadingWidget",
195
205
  hint: {
196
206
  prompt_description:
197
207
  "A frequently asked legal question. Should be direct, clear, and phrased from the client's perspective. Professional, sincere tone.",
@@ -249,9 +259,17 @@ export const Faq1: IBlock = {
249
259
  },
250
260
  },
251
261
  {
252
- key: "cta",
253
- label: "CTA",
254
- field_interface: "ButtonWidget",
262
+ key: "ctas",
263
+ label: "CTA Buttons Group",
264
+ field_interface: "BoxWidget",
265
+ kind: "group",
266
+ fields: [
267
+ {
268
+ key: "cta",
269
+ label: "CTA Button",
270
+ field_interface: "ButtonWidget",
271
+ },
272
+ ],
255
273
  },
256
274
  {
257
275
  key: "faq_image",
@@ -271,19 +289,9 @@ export const Faq1: IBlock = {
271
289
  key: "default",
272
290
  title: "Default",
273
291
  styles: {
274
- layout: {
275
- padding: "112px",
276
- width: "100%",
277
- tablet: {
278
- padding: "50px",
279
- },
280
- mobile: {
281
- padding: "40px",
282
- },
283
- },
292
+ layout: {},
284
293
  container: {
285
294
  display: "flex",
286
- width: "100%",
287
295
  "align-items": "center",
288
296
  "justify-content": "between",
289
297
  "column-gap": "12xl",
@@ -323,95 +331,133 @@ export const Faq1: IBlock = {
323
331
  display: "none",
324
332
  },
325
333
  },
326
- faq_label: {
327
- color: "text-2",
334
+ faq_label: {},
335
+ title: {},
336
+ ctas_levoGroup: {
337
+ display: "flex",
338
+ "flex-direction": "row",
339
+ "column-gap": "md",
340
+ "row-gap": "md",
341
+ "flex-wrap": "wrap",
342
+ "align-items": "center",
328
343
  },
344
+ ctas: Array(2)
345
+ .fill(0)
346
+ .map(() => ({
347
+ width: "fit-content",
348
+ })),
349
+ faqs: Array(4)
350
+ .fill(0)
351
+ .map((v) => ({
352
+ wrapper: {
353
+ "padding-top": "none",
354
+ "padding-bottom": "none",
355
+ "border-color": "var(--color-border)",
356
+ "border-bottom-width": "1px",
357
+ "border-style": "solid",
358
+ },
359
+ question: {
360
+ "font-weight": 600,
361
+ tablet: {
362
+ "text-align": "left",
363
+ },
364
+ },
365
+ content: {
366
+ "padding-top": "none",
367
+ "padding-bottom": "lg",
368
+ },
369
+ trigger: {
370
+ width: "100%",
371
+ display: "flex",
372
+ "align-items": "center",
373
+ "justify-content": "space-between",
374
+ "padding-top": "base",
375
+ "padding-bottom": "base",
376
+ },
377
+ iconQuestionWrapper: {
378
+ display: "flex",
379
+ "align-items": "center",
380
+ "column-gap": "base",
381
+ },
382
+ features_list: {
383
+ display: "flex",
384
+ "flex-direction": "row",
385
+ "column-gap": "lg",
386
+ "margin-top": "base",
387
+ "flex-wrap": "wrap",
388
+ },
389
+ features: Array(4)
390
+ .fill(0)
391
+ .map((v) => ({
392
+ wrapper: {
393
+ display: "flex",
394
+ "align-items": "center",
395
+ "column-gap": "xs",
396
+ "background-color": "brand",
397
+ "padding-left": "sm",
398
+ "padding-right": "sm",
399
+ "padding-top": "2xs",
400
+ "padding-bottom": "2xs",
401
+ "border-radius": "md",
402
+ },
403
+ icon: {
404
+ width: "16px",
405
+ height: "16px",
406
+ },
407
+ label: {
408
+ color: "brandForeground",
409
+ },
410
+ })),
411
+ features_levoGroup: {
412
+ display: "flex",
413
+ "flex-direction": "column",
414
+ "row-gap": "base",
415
+ "margin-top": "base",
416
+ },
417
+ })),
418
+ },
419
+ content: DEFAULT_CONTENT,
420
+ config: {
329
421
  title: {
330
- color: "text-1",
331
- },
332
- cta: {
333
- width: "fit-content",
422
+ title: {
423
+ heading: {
424
+ level: 2,
425
+ },
426
+ selectedVariants: {
427
+ Heading_Level: "H2",
428
+ },
429
+ },
334
430
  },
335
431
  faqs: Array(4)
336
432
  .fill(0)
337
433
  .map((v) => {
338
434
  return {
339
- wrapper: {
340
- "padding-top": "none",
341
- "padding-bottom": "none",
342
- "border-color": "var(--color-border)",
343
- "border-bottom-width": "1px",
344
- "border-style": "solid",
345
- },
346
435
  question: {
347
- "font-size": "xl",
348
- "font-weight": 600,
349
- color: "black",
350
- tablet: {
351
- "text-align": "left",
436
+ heading: {
437
+ level: "4",
438
+ },
439
+ selectedVariants: {
440
+ Heading_Level: "H5",
352
441
  },
353
442
  },
354
- content: {
355
- "padding-top": "none",
356
- "padding-bottom": "lg",
357
- },
358
- trigger: {
359
- width: "100%",
360
- display: "flex",
361
- "align-items": "center",
362
- "justify-content": "space-between",
363
- "padding-top": "base",
364
- "padding-bottom": "base",
365
- },
366
- iconQuestionWrapper: {
367
- display: "flex",
368
- "align-items": "center",
369
- "column-gap": "base",
370
- },
371
- features_list: {
372
- display: "flex",
373
- "flex-direction": "row",
374
- "column-gap": "lg",
375
- "margin-top": "base",
376
- "flex-wrap": "wrap",
377
- },
378
- features: [
379
- {
380
- wrapper: {
381
- display: "flex",
382
- "align-items": "center",
383
- "column-gap": "xs",
384
- "background-color": "background-2",
385
- "padding-left": "sm",
386
- "padding-right": "sm",
387
- "padding-top": "2xs",
388
- "padding-bottom": "2xs",
389
- "border-radius": "md",
390
- },
443
+ features: Array(4)
444
+ .fill(0)
445
+ .map((v) => ({
391
446
  icon: {
392
- width: "16px",
393
- height: "16px",
447
+ selectedVariants: {},
394
448
  },
395
449
  label: {
396
- "font-size": "sm",
397
- color: "text-2",
450
+ selectedVariants: {
451
+ Typography_Variants: "Small",
452
+ },
398
453
  },
399
- },
400
- ],
454
+ })),
455
+ answer: {
456
+ selectedVariants: {},
457
+ },
401
458
  };
402
459
  }),
403
460
  },
404
- content: DEFAULT_CONTENT,
405
- config: {
406
- title: {
407
- heading: {
408
- level: 2,
409
- },
410
- selectedVariants: {
411
- Heading_Level: "H2",
412
- },
413
- },
414
- },
415
461
  },
416
462
  ],
417
463
  };