@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.
- package/package.json +16 -15
- package/src/blocks/about-us/about-us-1.schema.ts +75 -58
- package/src/blocks/about-us/about-us-2.schema.ts +186 -39
- package/src/blocks/blogs/blog-listing-1.tsx +17 -15
- package/src/blocks/blogs/blog-listing-2.tsx +17 -15
- package/src/blocks/blogs/blog-listing-3.tsx +17 -15
- package/src/blocks/calendar/calendar-1.schema.ts +263 -181
- package/src/blocks/calendar/calendar-1.tsx +42 -11
- package/src/blocks/cards/cards-10.schema.ts +322 -313
- package/src/blocks/cards/cards-10.tsx +9 -1
- package/src/blocks/cards/cards-11.schema.ts +139 -248
- package/src/blocks/cards/cards-12.schema.ts +117 -196
- package/src/blocks/cards/cards-13.schema.ts +107 -56
- package/src/blocks/cards/cards-14.schema.ts +58 -154
- package/src/blocks/cards/cards-15.schema.ts +54 -31
- package/src/blocks/cards/cards-15.tsx +13 -2
- package/src/blocks/cards/cards-2.schema.ts +83 -88
- package/src/blocks/cards/cards-2.tsx +10 -2
- package/src/blocks/cards/cards-3.schema.ts +75 -70
- package/src/blocks/cards/cards-4.schema.ts +149 -91
- package/src/blocks/cards/cards-4.tsx +13 -2
- package/src/blocks/cards/cards-5.schema.ts +91 -68
- package/src/blocks/cards/cards-5.tsx +9 -1
- package/src/blocks/cards/cards-6.schema.ts +794 -972
- package/src/blocks/cards/cards-6.tsx +18 -2
- package/src/blocks/cards/cards-7.schema.ts +802 -2250
- package/src/blocks/cards/cards-7.tsx +14 -1
- package/src/blocks/cards/cards-8.schema.ts +166 -347
- package/src/blocks/cards/cards-8.tsx +14 -1
- package/src/blocks/cards/cards-9.schema.ts +300 -305
- package/src/blocks/cards/cards-9.tsx +27 -3
- package/src/blocks/carousel/carousel-1.schema.ts +479 -46
- package/src/blocks/carousel/carousel-1.tsx +2 -0
- package/src/blocks/carousel/carousel-2.schema.ts +170 -118
- package/src/blocks/carousel/carousel-2.tsx +10 -2
- package/src/blocks/community/community-1.schema.ts +566 -0
- package/src/blocks/community/community-1.tsx +690 -0
- package/src/blocks/community/community-post-1.schema.ts +417 -0
- package/src/blocks/community/community-post-1.tsx +155 -0
- package/src/blocks/contact-us/contact-us-1.schema.ts +33 -43
- package/src/blocks/contact-us/contact-us-2.schema.ts +39 -17
- package/src/blocks/contact-us/contact-us-2.tsx +1 -1
- package/src/blocks/content/content-1.schema.ts +184 -234
- package/src/blocks/content/content-1.tsx +48 -38
- package/src/blocks/content/content-2.schema.ts +143 -32
- package/src/blocks/content/content-2.tsx +15 -3
- package/src/blocks/content/content-3.schema.ts +215 -205
- package/src/blocks/content/content-3.tsx +13 -1
- package/src/blocks/content/content-4.schema.ts +124 -85
- package/src/blocks/content/content-4.tsx +2 -1
- package/src/blocks/content/content-5.schema.ts +296 -278
- package/src/blocks/content/content-5.tsx +23 -2
- package/src/blocks/content/content-6.schema.ts +474 -244
- package/src/blocks/content/content-6.tsx +23 -1
- package/src/blocks/content/content-7.schema.ts +173 -133
- package/src/blocks/content/content-7.tsx +27 -3
- package/src/blocks/content/content-8.schema.ts +27 -17
- package/src/blocks/content/content-9.schema.ts +64 -2208
- package/src/blocks/content/content-9.tsx +6 -3
- package/src/blocks/cta/cta-1.schema.ts +13 -108
- package/src/blocks/cta/cta-2.schema.ts +60 -69
- package/src/blocks/cta/cta-3.schema.ts +97 -66
- package/src/blocks/embed/embed-1.schema.ts +30 -52
- package/src/blocks/event/event-details.schema.ts +7 -0
- package/src/blocks/event/event-details.tsx +1 -0
- package/src/blocks/event/event-listing-2.tsx +17 -15
- package/src/blocks/event/event-listing-3.tsx +17 -15
- package/src/blocks/event/event-listing-4.tsx +17 -15
- package/src/blocks/event/event-listing.tsx +17 -15
- package/src/blocks/faq/faq-1.schema.ts +158 -112
- package/src/blocks/faq/faq-1.tsx +12 -3
- package/src/blocks/faq/faq-2.schema.ts +137 -74
- package/src/blocks/faq/faq-2.tsx +10 -1
- package/src/blocks/faq/faq-3.schema.ts +185 -105
- package/src/blocks/faq/faq-3.tsx +19 -3
- package/src/blocks/features/features-1/features-1.schema.ts +11 -3
- package/src/blocks/features/features-1/features-1.tsx +10 -1
- package/src/blocks/features/features-1/variants/default.ts +172 -54
- package/src/blocks/features/features-1/variants/stylized-cards-v1.ts +392 -54
- package/src/blocks/features/features-1/variants/stylized-cards-v2.ts +119 -103
- package/src/blocks/features/features-1/variants/stylized-cards-v3.ts +16 -199
- package/src/blocks/features/features-2.schema.ts +178 -45
- package/src/blocks/features/features-2.tsx +10 -2
- package/src/blocks/features/features-3.schema.ts +284 -65
- package/src/blocks/features/features-3.tsx +22 -3
- package/src/blocks/features/features-4.schema.ts +380 -185
- package/src/blocks/features/features-4.tsx +9 -1
- package/src/blocks/features/features-5.schema.ts +194 -198
- package/src/blocks/features/features-5.tsx +12 -1
- package/src/blocks/features/features-6.schema.ts +240 -193
- package/src/blocks/features/features-6.tsx +16 -2
- package/src/blocks/floating-buttons/floating-button-1.schema.ts +105 -0
- package/src/blocks/floating-buttons/floating-button-1.tsx +20 -0
- package/src/blocks/footer/footer-1.schema.ts +118 -48
- package/src/blocks/footer/footer-1.tsx +2 -1
- package/src/blocks/footer/footer-2.schema.ts +235 -31
- package/src/blocks/footer/footer-2.tsx +2 -1
- package/src/blocks/footer/footer-3.schema.ts +334 -57
- package/src/blocks/footer/footer-3.tsx +2 -1
- package/src/blocks/footer/footer-4.schema.ts +147 -76
- package/src/blocks/footer/footer-4.tsx +2 -1
- package/src/blocks/footer/footer-5.schema.ts +144 -52
- package/src/blocks/footer/footer-5.tsx +2 -1
- package/src/blocks/footer/footer-6.schema.ts +68 -140
- package/src/blocks/footer/footer-6.tsx +2 -1
- package/src/blocks/hero/hero-1.schema.ts +184 -87
- package/src/blocks/hero/hero-10.schema.ts +8 -29
- package/src/blocks/hero/hero-11.schema.ts +192 -89
- package/src/blocks/hero/hero-11.tsx +1 -1
- package/src/blocks/hero/hero-12.schema.ts +107 -170
- package/src/blocks/hero/hero-12.tsx +1 -1
- package/src/blocks/hero/hero-13.schema.ts +42 -28
- package/src/blocks/hero/hero-2.schema.ts +33 -58
- package/src/blocks/hero/hero-3.schema.ts +42 -34
- package/src/blocks/hero/hero-4.schema.ts +265 -70
- package/src/blocks/hero/hero-4.tsx +19 -2
- package/src/blocks/hero/hero-5.schema.ts +122 -44
- package/src/blocks/hero/hero-5.tsx +14 -2
- package/src/blocks/hero/hero-6.schema.ts +159 -255
- package/src/blocks/hero/hero-7.schema.ts +105 -34
- package/src/blocks/hero/hero-7.tsx +4 -1
- package/src/blocks/hero/hero-8.schema.ts +363 -133
- package/src/blocks/hero/hero-8.tsx +27 -3
- package/src/blocks/hero/hero-9.schema.ts +116 -83
- package/src/blocks/hero/hero-9.tsx +9 -1
- package/src/blocks/index.ts +7 -0
- package/src/blocks/logos/logos-1.schema.ts +424 -30
- package/src/blocks/polling/polling-1.schema.ts +1 -19
- package/src/blocks/pricing/pricing-1.schema.ts +296 -266
- package/src/blocks/pricing/pricing-1.tsx +16 -2
- package/src/blocks/products/products-listing-1.schema.ts +144 -33
- package/src/blocks/products/products-listing-1.tsx +9 -1
- package/src/blocks/products/products-listing-2.schema.ts +199 -213
- package/src/blocks/products/products-listing-2.tsx +25 -3
- package/src/blocks/products/products-listing-3.schema.ts +439 -154
- package/src/blocks/products/products-listing-3.tsx +43 -8
- package/src/blocks/profile/profile-1.schema.ts +67 -49
- package/src/blocks/profile/profile-1.tsx +3 -2
- package/src/blocks/profile/profile-2.schema.ts +73 -85
- package/src/blocks/profile/profile-2.tsx +2 -1
- package/src/blocks/profile/profile-3.schema.ts +162 -529
- package/src/blocks/profile/profile-3.tsx +2 -2
- package/src/blocks/services/service-1.schema.ts +204 -804
- package/src/blocks/services/service-1.tsx +15 -2
- package/src/blocks/services/service-2.schema.ts +95 -75
- package/src/blocks/services/service-2.tsx +9 -1
- package/src/blocks/services/service-3.schema.ts +73 -73
- package/src/blocks/services/service-3.tsx +40 -39
- package/src/blocks/stats/stats-1.schema.ts +225 -21
- package/src/blocks/stats/stats-1.tsx +4 -0
- package/src/blocks/stats/stats-2.schema.ts +13 -5
- package/src/blocks/stats/stats-2.tsx +9 -1
- package/src/blocks/stats/variants/default.ts +59 -41
- package/src/blocks/stats/variants/hero.ts +64 -31
- package/src/blocks/tabs/tab-1.schema.ts +105 -407
- package/src/blocks/tabs/tab-1.tsx +15 -4
- package/src/blocks/tabs/tab-2.schema.ts +208 -278
- package/src/blocks/tabs/tab-2.tsx +14 -2
- package/src/blocks/team/team-1.schema.ts +621 -76
- package/src/blocks/team/team-1.tsx +9 -1
- package/src/blocks/team/team-2.schema.ts +693 -1421
- package/src/blocks/team/team-2.tsx +4 -1
- package/src/blocks/team/team-3.schema.ts +147 -74
- package/src/blocks/team/team-3.tsx +1 -0
- package/src/blocks/team/team-4.schema.ts +216 -57
- package/src/blocks/team/team-4.tsx +10 -2
- package/src/blocks/team/team-5.schema.ts +67 -42
- package/src/blocks/team/team-5.tsx +12 -3
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +9 -26
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.tsx +1 -1
- package/src/blocks/testimonial/testimonial-1.schema.ts +712 -63
- package/src/blocks/testimonial/testimonial-1.tsx +2 -4
- package/src/blocks/testimonial/testimonial-2.schema.ts +1332 -354
- package/src/blocks/testimonial/testimonial-2.tsx +4 -1
- package/src/blocks/testimonial/testimonial-3.schema.ts +215 -71
- package/src/blocks/testimonial/testimonial-3.tsx +5 -2
- package/src/blocks/testimonial/testimonial-4.schema.ts +331 -933
- package/src/blocks/testimonial/testimonial-4.tsx +4 -1
- package/src/blocks/testimonial/testimonial-5/variants/default.ts +179 -171
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +205 -501
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +190 -316
- package/src/blocks/testimonial/testimonial-6.schema.ts +204 -267
- package/src/blocks/testimonial/testimonial-7.schema.ts +74 -45
- package/src/blocks/testimonial/testimonial-7.tsx +2 -2
- package/src/blocks/timeline/timeline-1.schema.ts +196 -149
- package/src/blocks/timeline/timeline-1.tsx +4 -1
- package/src/blocks/users/edit-profile.schema.ts +56 -44
- package/src/blocks/users/edit-profile.tsx +13 -6
- package/src/constants/index.ts +19 -0
- package/src/schemas/blocks.ts +6 -0
- package/src/schemas/categories.ts +12 -0
|
@@ -15,6 +15,9 @@ const DEFAULT_CONTENT = {
|
|
|
15
15
|
layout: null,
|
|
16
16
|
container: null,
|
|
17
17
|
stats_levoGroup: null,
|
|
18
|
+
title: "Title",
|
|
19
|
+
description:
|
|
20
|
+
"Description Description Description Description Description Description Description Description ",
|
|
18
21
|
stats: [
|
|
19
22
|
{
|
|
20
23
|
stat: null,
|
|
@@ -112,6 +115,21 @@ export const Stats1: IBlock = {
|
|
|
112
115
|
"Acts as the main content container for the statistics block, ensuring visual consistency, providing padding, and maintaining readability on a colored background.",
|
|
113
116
|
},
|
|
114
117
|
},
|
|
118
|
+
{
|
|
119
|
+
key: "header",
|
|
120
|
+
label: "Header",
|
|
121
|
+
field_interface: "BoxWidget",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
key: "title",
|
|
125
|
+
label: "Title",
|
|
126
|
+
field_interface: "HeadingWidget",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
key: "description",
|
|
130
|
+
label: "Description",
|
|
131
|
+
field_interface: "TypographyWidget",
|
|
132
|
+
},
|
|
115
133
|
{
|
|
116
134
|
key: "stats",
|
|
117
135
|
label: "Stats",
|
|
@@ -185,28 +203,12 @@ export const Stats1: IBlock = {
|
|
|
185
203
|
title: "Default",
|
|
186
204
|
styles: {
|
|
187
205
|
layout: {
|
|
188
|
-
|
|
189
|
-
"background-color": "var(--color-brand)",
|
|
190
|
-
"padding-top": "9xl",
|
|
191
|
-
"padding-bottom": "9xl",
|
|
192
|
-
"padding-right": "12xl",
|
|
193
|
-
"padding-left": "12xl",
|
|
194
|
-
tablet: {
|
|
195
|
-
"padding-top": "9xl",
|
|
196
|
-
"padding-bottom": "9xl",
|
|
197
|
-
"padding-right": "9xl",
|
|
198
|
-
"padding-left": "9xl",
|
|
199
|
-
},
|
|
200
|
-
mobile: {
|
|
201
|
-
"padding-top": "6xl",
|
|
202
|
-
"padding-bottom": "6xl",
|
|
203
|
-
"padding-right": "6xl",
|
|
204
|
-
"padding-left": "6xl",
|
|
205
|
-
},
|
|
206
|
+
"background-color": "brand",
|
|
206
207
|
},
|
|
207
208
|
container: {
|
|
208
|
-
|
|
209
|
-
"
|
|
209
|
+
display: "flex",
|
|
210
|
+
"flex-direction": "column",
|
|
211
|
+
"row-gap": "2xl",
|
|
210
212
|
},
|
|
211
213
|
stats_levoGroup: {
|
|
212
214
|
display: "grid",
|
|
@@ -220,7 +222,141 @@ export const Stats1: IBlock = {
|
|
|
220
222
|
"grid-template-columns": "repeat(1, minmax(0, 1fr))",
|
|
221
223
|
},
|
|
222
224
|
},
|
|
223
|
-
stats:
|
|
225
|
+
stats: [
|
|
226
|
+
{
|
|
227
|
+
stat: {
|
|
228
|
+
border: "none",
|
|
229
|
+
"background-color": "transparent",
|
|
230
|
+
"box-shadow": "none",
|
|
231
|
+
display: "flex",
|
|
232
|
+
width: "100%",
|
|
233
|
+
"flex-direction": "column",
|
|
234
|
+
"row-gap": "xl",
|
|
235
|
+
},
|
|
236
|
+
icon: {
|
|
237
|
+
width: "48px",
|
|
238
|
+
height: "48px",
|
|
239
|
+
"object-fit": "contain",
|
|
240
|
+
"margin-left": "auto",
|
|
241
|
+
"margin-right": "auto",
|
|
242
|
+
},
|
|
243
|
+
"content-wrapper": {
|
|
244
|
+
display: "flex",
|
|
245
|
+
"flex-direction": "column",
|
|
246
|
+
"align-items": "center",
|
|
247
|
+
"row-gap": "4xs",
|
|
248
|
+
},
|
|
249
|
+
header: {
|
|
250
|
+
color: "brandForeground",
|
|
251
|
+
},
|
|
252
|
+
description: {
|
|
253
|
+
"font-weight": 600,
|
|
254
|
+
color: "brandForeground",
|
|
255
|
+
},
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
stat: {
|
|
259
|
+
border: "none",
|
|
260
|
+
"background-color": "transparent",
|
|
261
|
+
"box-shadow": "none",
|
|
262
|
+
display: "flex",
|
|
263
|
+
width: "100%",
|
|
264
|
+
"flex-direction": "column",
|
|
265
|
+
"row-gap": "xl",
|
|
266
|
+
},
|
|
267
|
+
icon: {
|
|
268
|
+
width: "48px",
|
|
269
|
+
height: "48px",
|
|
270
|
+
"object-fit": "contain",
|
|
271
|
+
"margin-left": "auto",
|
|
272
|
+
"margin-right": "auto",
|
|
273
|
+
},
|
|
274
|
+
"content-wrapper": {
|
|
275
|
+
display: "flex",
|
|
276
|
+
"flex-direction": "column",
|
|
277
|
+
"align-items": "center",
|
|
278
|
+
"row-gap": "4xs",
|
|
279
|
+
},
|
|
280
|
+
header: {
|
|
281
|
+
color: "brandForeground",
|
|
282
|
+
},
|
|
283
|
+
description: {
|
|
284
|
+
"font-weight": 600,
|
|
285
|
+
color: "brandForeground",
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
stat: {
|
|
290
|
+
border: "none",
|
|
291
|
+
"background-color": "transparent",
|
|
292
|
+
"box-shadow": "none",
|
|
293
|
+
display: "flex",
|
|
294
|
+
width: "100%",
|
|
295
|
+
"flex-direction": "column",
|
|
296
|
+
"row-gap": "xl",
|
|
297
|
+
},
|
|
298
|
+
icon: {
|
|
299
|
+
width: "48px",
|
|
300
|
+
height: "48px",
|
|
301
|
+
"object-fit": "contain",
|
|
302
|
+
"margin-left": "auto",
|
|
303
|
+
"margin-right": "auto",
|
|
304
|
+
},
|
|
305
|
+
"content-wrapper": {
|
|
306
|
+
display: "flex",
|
|
307
|
+
"flex-direction": "column",
|
|
308
|
+
"align-items": "center",
|
|
309
|
+
"row-gap": "4xs",
|
|
310
|
+
},
|
|
311
|
+
header: {
|
|
312
|
+
color: "brandForeground",
|
|
313
|
+
},
|
|
314
|
+
description: {
|
|
315
|
+
"font-weight": 600,
|
|
316
|
+
color: "brandForeground",
|
|
317
|
+
},
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
stat: {
|
|
321
|
+
border: "none",
|
|
322
|
+
"background-color": "transparent",
|
|
323
|
+
"box-shadow": "none",
|
|
324
|
+
display: "flex",
|
|
325
|
+
width: "100%",
|
|
326
|
+
"flex-direction": "column",
|
|
327
|
+
"row-gap": "xl",
|
|
328
|
+
},
|
|
329
|
+
icon: {
|
|
330
|
+
width: "48px",
|
|
331
|
+
height: "48px",
|
|
332
|
+
"object-fit": "contain",
|
|
333
|
+
"margin-left": "auto",
|
|
334
|
+
"margin-right": "auto",
|
|
335
|
+
},
|
|
336
|
+
"content-wrapper": {
|
|
337
|
+
display: "flex",
|
|
338
|
+
"flex-direction": "column",
|
|
339
|
+
"align-items": "center",
|
|
340
|
+
"row-gap": "4xs",
|
|
341
|
+
},
|
|
342
|
+
header: {
|
|
343
|
+
color: "brandForeground",
|
|
344
|
+
},
|
|
345
|
+
description: {
|
|
346
|
+
"font-weight": 600,
|
|
347
|
+
color: "brandForeground",
|
|
348
|
+
},
|
|
349
|
+
},
|
|
350
|
+
],
|
|
351
|
+
title: {
|
|
352
|
+
color: "brandForeground",
|
|
353
|
+
"text-align": "center",
|
|
354
|
+
"margin-bottom": "4xs",
|
|
355
|
+
},
|
|
356
|
+
description: {
|
|
357
|
+
"text-align": "center",
|
|
358
|
+
color: "brandForeground",
|
|
359
|
+
},
|
|
224
360
|
},
|
|
225
361
|
content: DEFAULT_CONTENT,
|
|
226
362
|
config: {
|
|
@@ -256,6 +392,74 @@ export const Stats1: IBlock = {
|
|
|
256
392
|
Heading_Level: "H2",
|
|
257
393
|
},
|
|
258
394
|
},
|
|
395
|
+
stats: [
|
|
396
|
+
{
|
|
397
|
+
header: {
|
|
398
|
+
heading: {
|
|
399
|
+
level: "3",
|
|
400
|
+
},
|
|
401
|
+
selectedVariants: {
|
|
402
|
+
Heading_Level: "H2",
|
|
403
|
+
},
|
|
404
|
+
},
|
|
405
|
+
"content-wrapper": {
|
|
406
|
+
selectedVariants: {},
|
|
407
|
+
},
|
|
408
|
+
description: {
|
|
409
|
+
selectedVariants: {},
|
|
410
|
+
},
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
header: {
|
|
414
|
+
selectedVariants: {
|
|
415
|
+
Heading_Level: "H2",
|
|
416
|
+
},
|
|
417
|
+
},
|
|
418
|
+
"content-wrapper": {
|
|
419
|
+
selectedVariants: {},
|
|
420
|
+
},
|
|
421
|
+
description: {
|
|
422
|
+
selectedVariants: {},
|
|
423
|
+
},
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
header: {
|
|
427
|
+
selectedVariants: {
|
|
428
|
+
Heading_Level: "H2",
|
|
429
|
+
},
|
|
430
|
+
heading: {
|
|
431
|
+
level: "3",
|
|
432
|
+
},
|
|
433
|
+
},
|
|
434
|
+
"content-wrapper": {
|
|
435
|
+
selectedVariants: {},
|
|
436
|
+
},
|
|
437
|
+
description: {
|
|
438
|
+
selectedVariants: {},
|
|
439
|
+
},
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
header: {
|
|
443
|
+
selectedVariants: {
|
|
444
|
+
Heading_Level: "H2",
|
|
445
|
+
},
|
|
446
|
+
heading: {
|
|
447
|
+
level: "3",
|
|
448
|
+
},
|
|
449
|
+
},
|
|
450
|
+
"content-wrapper": {
|
|
451
|
+
selectedVariants: {},
|
|
452
|
+
},
|
|
453
|
+
description: {
|
|
454
|
+
selectedVariants: {},
|
|
455
|
+
},
|
|
456
|
+
},
|
|
457
|
+
],
|
|
458
|
+
title: {
|
|
459
|
+
selectedVariants: {
|
|
460
|
+
Heading_Level: "H2",
|
|
461
|
+
},
|
|
462
|
+
},
|
|
259
463
|
},
|
|
260
464
|
},
|
|
261
465
|
],
|
|
@@ -15,6 +15,10 @@ const Stats1: React.FC<ILevoBlockBaseProps<IStats1Content>> = ({ content }) => {
|
|
|
15
15
|
return (
|
|
16
16
|
<Section elementKey="layout">
|
|
17
17
|
<Container elementKey="container">
|
|
18
|
+
<Box elementKey="header">
|
|
19
|
+
<Heading elementKey="title" />
|
|
20
|
+
<Typography elementKey="description" />
|
|
21
|
+
</Box>
|
|
18
22
|
<Box elementKey="stats_levoGroup">
|
|
19
23
|
{(content?.stats ?? []).map((_: any, index: number) => (
|
|
20
24
|
<Box
|
|
@@ -51,7 +51,7 @@ export const Stats2: IBlock = {
|
|
|
51
51
|
{
|
|
52
52
|
key: "main_title",
|
|
53
53
|
label: "Main Title",
|
|
54
|
-
field_interface: "
|
|
54
|
+
field_interface: "HeadingWidget",
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
key: "description",
|
|
@@ -59,9 +59,17 @@ export const Stats2: IBlock = {
|
|
|
59
59
|
field_interface: "TypographyWidget",
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
|
-
key: "
|
|
63
|
-
label: "CTA
|
|
64
|
-
field_interface: "
|
|
62
|
+
key: "ctas",
|
|
63
|
+
label: "CTA Buttons Group",
|
|
64
|
+
field_interface: "BoxWidget",
|
|
65
|
+
kind: "group",
|
|
66
|
+
fields: [
|
|
67
|
+
{
|
|
68
|
+
key: "cta",
|
|
69
|
+
label: "CTA Button",
|
|
70
|
+
field_interface: "ButtonWidget",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
65
73
|
},
|
|
66
74
|
{
|
|
67
75
|
key: "stats_section",
|
|
@@ -97,7 +105,7 @@ export const Stats2: IBlock = {
|
|
|
97
105
|
{
|
|
98
106
|
key: "number",
|
|
99
107
|
label: "Number",
|
|
100
|
-
field_interface: "
|
|
108
|
+
field_interface: "HeadingWidget",
|
|
101
109
|
},
|
|
102
110
|
{
|
|
103
111
|
key: "label",
|
|
@@ -23,7 +23,15 @@ const Stats2: React.FC<ILevoBlockBaseProps<IStats2Content>> = ({ content }) => {
|
|
|
23
23
|
</Box>
|
|
24
24
|
<Heading elementKey="main_title" />
|
|
25
25
|
<Typography elementKey="description" />
|
|
26
|
-
<
|
|
26
|
+
<Box elementKey="ctas_levoGroup" data-levo_group>
|
|
27
|
+
{(content?.ctas ?? []).map((_: any, index: number) => (
|
|
28
|
+
<Button
|
|
29
|
+
key={`ctas.${index}.cta`}
|
|
30
|
+
elementKey={`ctas.${index}.cta`}
|
|
31
|
+
data-levo_group_item
|
|
32
|
+
/>
|
|
33
|
+
))}
|
|
34
|
+
</Box>
|
|
27
35
|
</Box>
|
|
28
36
|
<Box elementKey="stats_section">
|
|
29
37
|
<Box elementKey="header_section">
|
|
@@ -9,7 +9,8 @@ export const DEFAULT_CONTENT = {
|
|
|
9
9
|
main_title: "Where bold ideas meet flawless execution",
|
|
10
10
|
description:
|
|
11
11
|
"We are a modern venture studio dedicated to building world-class products and companies from the ground up.",
|
|
12
|
-
|
|
12
|
+
ctas_levoGroup: null,
|
|
13
|
+
ctas: [{ cta: "Built With Us" }, { cta: "Learn More" }],
|
|
13
14
|
stats_section: null,
|
|
14
15
|
header_section: null,
|
|
15
16
|
section_title: "Who we are",
|
|
@@ -43,26 +44,51 @@ export const defaultStats2Variant: IBlockLayouts = {
|
|
|
43
44
|
title: "Default",
|
|
44
45
|
key: "default",
|
|
45
46
|
content: DEFAULT_CONTENT,
|
|
46
|
-
config: {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"padding-bottom": "3xl",
|
|
51
|
-
"padding-left": "base",
|
|
52
|
-
"padding-right": "base",
|
|
53
|
-
},
|
|
54
|
-
container: {
|
|
55
|
-
"max-width": "1280px",
|
|
56
|
-
"margin-left": "auto",
|
|
57
|
-
"margin-right": "auto",
|
|
58
|
-
filter: "none",
|
|
59
|
-
mobile: {
|
|
60
|
-
filter: "none",
|
|
47
|
+
config: {
|
|
48
|
+
section_title: {
|
|
49
|
+
selectedVariants: {
|
|
50
|
+
Typography_Variants: "Small",
|
|
61
51
|
},
|
|
62
|
-
|
|
63
|
-
|
|
52
|
+
},
|
|
53
|
+
section_description: {
|
|
54
|
+
selectedVariants: {
|
|
55
|
+
Typography_Variants: "Large",
|
|
64
56
|
},
|
|
65
57
|
},
|
|
58
|
+
stats: [
|
|
59
|
+
{
|
|
60
|
+
number: {
|
|
61
|
+
selectedVariants: {
|
|
62
|
+
Heading_Level: "H2",
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
number: {
|
|
68
|
+
selectedVariants: {
|
|
69
|
+
Heading_Level: "H2",
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
number: {
|
|
75
|
+
selectedVariants: {
|
|
76
|
+
Heading_Level: "H2",
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
number: {
|
|
82
|
+
selectedVariants: {
|
|
83
|
+
Heading_Level: "H2",
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
},
|
|
89
|
+
styles: {
|
|
90
|
+
layout: {},
|
|
91
|
+
container: {},
|
|
66
92
|
content_wrapper: {
|
|
67
93
|
display: "block",
|
|
68
94
|
},
|
|
@@ -90,42 +116,25 @@ export const defaultStats2Variant: IBlockLayouts = {
|
|
|
90
116
|
},
|
|
91
117
|
},
|
|
92
118
|
section_title: {
|
|
93
|
-
|
|
94
|
-
"font-weight": "600",
|
|
95
|
-
color: "text-1",
|
|
119
|
+
color: "brandSecondaryForeground",
|
|
96
120
|
"margin-bottom": "lg",
|
|
97
|
-
"background-color": "
|
|
121
|
+
"background-color": "brandSecondary",
|
|
98
122
|
"padding-top": "xs",
|
|
99
123
|
"padding-bottom": "xs",
|
|
100
124
|
"padding-left": "base",
|
|
101
125
|
"padding-right": "base",
|
|
102
126
|
"border-radius": "100px",
|
|
103
127
|
display: "inline-block",
|
|
104
|
-
|
|
105
|
-
"font-size": "xs",
|
|
106
|
-
},
|
|
107
|
-
filter: "none",
|
|
128
|
+
"font-weight": 600,
|
|
108
129
|
},
|
|
109
130
|
section_description: {
|
|
110
131
|
"font-size": "2xl",
|
|
111
|
-
"font-weight": "400",
|
|
112
132
|
color: "text-1",
|
|
113
|
-
"line-height": "1.6",
|
|
114
133
|
mobile: {
|
|
115
134
|
"font-size": "lg",
|
|
116
|
-
filter: "none",
|
|
117
135
|
"text-align": "center",
|
|
118
136
|
},
|
|
119
|
-
filter: "none",
|
|
120
|
-
display: "block",
|
|
121
|
-
width: "auto",
|
|
122
|
-
"object-fit": "none",
|
|
123
|
-
"justify-content": "start",
|
|
124
|
-
"align-items": "start",
|
|
125
137
|
"text-align": "left",
|
|
126
|
-
tablet: {
|
|
127
|
-
filter: "none",
|
|
128
|
-
},
|
|
129
138
|
},
|
|
130
139
|
stats_levoGroup: {
|
|
131
140
|
display: "grid",
|
|
@@ -182,8 +191,17 @@ export const defaultStats2Variant: IBlockLayouts = {
|
|
|
182
191
|
description: {
|
|
183
192
|
display: "none",
|
|
184
193
|
},
|
|
185
|
-
|
|
186
|
-
display: "
|
|
187
|
-
|
|
194
|
+
ctas_levoGroup: {
|
|
195
|
+
display: "flex",
|
|
196
|
+
"flex-direction": "row",
|
|
197
|
+
"column-gap": "md",
|
|
198
|
+
"row-gap": "md",
|
|
199
|
+
"flex-wrap": "wrap",
|
|
200
|
+
"align-items": "center",
|
|
201
|
+
},
|
|
202
|
+
ctas: Array(2)
|
|
203
|
+
.fill(0)
|
|
204
|
+
.map(() => ({})),
|
|
205
|
+
stats: [{}, {}, {}, {}],
|
|
188
206
|
},
|
|
189
207
|
};
|
|
@@ -6,19 +6,56 @@ export const heroStats2Variant: IBlockLayouts = {
|
|
|
6
6
|
title: "Hero",
|
|
7
7
|
key: "hero",
|
|
8
8
|
content: DEFAULT_CONTENT,
|
|
9
|
-
config: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
config: {
|
|
10
|
+
small_title: {
|
|
11
|
+
selectedVariants: {
|
|
12
|
+
Typography_Variants: "Lead",
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
description: {
|
|
16
|
+
selectedVariants: {
|
|
17
|
+
Typography_Variants: "Large",
|
|
18
|
+
},
|
|
16
19
|
},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
stats: [
|
|
21
|
+
{
|
|
22
|
+
number: {
|
|
23
|
+
selectedVariants: {
|
|
24
|
+
Heading_Level: "H2",
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
number: {
|
|
30
|
+
selectedVariants: {
|
|
31
|
+
Heading_Level: "H2",
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
number: {
|
|
37
|
+
selectedVariants: {
|
|
38
|
+
Heading_Level: "H2",
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
number: {
|
|
44
|
+
selectedVariants: {
|
|
45
|
+
Heading_Level: "H2",
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
main_title: {
|
|
51
|
+
selectedVariants: {
|
|
52
|
+
Heading_Level: "H4",
|
|
53
|
+
},
|
|
21
54
|
},
|
|
55
|
+
},
|
|
56
|
+
styles: {
|
|
57
|
+
layout: {},
|
|
58
|
+
container: {},
|
|
22
59
|
content_wrapper: {
|
|
23
60
|
display: "grid",
|
|
24
61
|
"grid-template-columns": "repeat(2, minmax(0, 1fr))",
|
|
@@ -39,12 +76,9 @@ export const heroStats2Variant: IBlockLayouts = {
|
|
|
39
76
|
"align-items": "flex-start",
|
|
40
77
|
},
|
|
41
78
|
small_title: {
|
|
42
|
-
"font-
|
|
43
|
-
"font-weight": "600",
|
|
79
|
+
"font-weight": 600,
|
|
44
80
|
color: "text-1",
|
|
45
81
|
"margin-bottom": "base",
|
|
46
|
-
"padding-top": "none",
|
|
47
|
-
"padding-bottom": "none",
|
|
48
82
|
"padding-left": "base",
|
|
49
83
|
"padding-right": "base",
|
|
50
84
|
"border-radius": "100px",
|
|
@@ -52,26 +86,13 @@ export const heroStats2Variant: IBlockLayouts = {
|
|
|
52
86
|
"margin-top": "xs",
|
|
53
87
|
},
|
|
54
88
|
main_title: {
|
|
55
|
-
"font-
|
|
56
|
-
"font-weight": "700",
|
|
57
|
-
color: "text-1",
|
|
89
|
+
"font-weight": 700,
|
|
58
90
|
"margin-bottom": "base",
|
|
59
|
-
"line-height": "1.2",
|
|
60
|
-
mobile: {
|
|
61
|
-
"font-size": "2xl",
|
|
62
|
-
},
|
|
63
91
|
},
|
|
64
92
|
description: {
|
|
65
|
-
"font-size": "lg",
|
|
66
|
-
"font-weight": "400",
|
|
67
|
-
color: "text-2",
|
|
68
|
-
"line-height": "1.6",
|
|
69
93
|
"margin-bottom": "xl",
|
|
70
|
-
|
|
71
|
-
"font-size": "base",
|
|
72
|
-
},
|
|
94
|
+
"font-weight": 400,
|
|
73
95
|
},
|
|
74
|
-
|
|
75
96
|
stats_section: {
|
|
76
97
|
display: "block",
|
|
77
98
|
},
|
|
@@ -126,7 +147,7 @@ export const heroStats2Variant: IBlockLayouts = {
|
|
|
126
147
|
horizontal_divider: {
|
|
127
148
|
width: "60px",
|
|
128
149
|
height: "2px",
|
|
129
|
-
"background-color": "
|
|
150
|
+
"background-color": " brand",
|
|
130
151
|
"padding-top": "none",
|
|
131
152
|
"padding-bottom": "none",
|
|
132
153
|
"margin-top": "none",
|
|
@@ -138,5 +159,17 @@ export const heroStats2Variant: IBlockLayouts = {
|
|
|
138
159
|
"align-items": "center",
|
|
139
160
|
"flex-direction": "row",
|
|
140
161
|
},
|
|
162
|
+
stats: [{}, {}, {}, {}],
|
|
163
|
+
ctas_levoGroup: {
|
|
164
|
+
display: "flex",
|
|
165
|
+
"flex-direction": "row",
|
|
166
|
+
"column-gap": "md",
|
|
167
|
+
"row-gap": "md",
|
|
168
|
+
"flex-wrap": "wrap",
|
|
169
|
+
"align-items": "center",
|
|
170
|
+
},
|
|
171
|
+
ctas: Array(2)
|
|
172
|
+
.fill(0)
|
|
173
|
+
.map(() => ({})),
|
|
141
174
|
},
|
|
142
175
|
};
|