@levo-so/blocks 0.1.59 → 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
|
@@ -5,7 +5,17 @@ const DEFAULT_CONTENT = {
|
|
|
5
5
|
container: null,
|
|
6
6
|
header_section: null,
|
|
7
7
|
main_title: "Career Opportunity",
|
|
8
|
-
|
|
8
|
+
description:
|
|
9
|
+
"Career Opportunity Career Opportunity Career Opportunity Career Opportunity ",
|
|
10
|
+
header_buttons_levoGroup: null,
|
|
11
|
+
header_buttons: [
|
|
12
|
+
{
|
|
13
|
+
header_button: "View All",
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
header_button: "Apply Now",
|
|
17
|
+
},
|
|
18
|
+
],
|
|
9
19
|
grid: [
|
|
10
20
|
{
|
|
11
21
|
card: null,
|
|
@@ -133,6 +143,11 @@ export const Cards4: IBlock = {
|
|
|
133
143
|
"Header area containing the main title and view all button, positioned horizontally.",
|
|
134
144
|
},
|
|
135
145
|
},
|
|
146
|
+
{
|
|
147
|
+
key: "title_container",
|
|
148
|
+
label: "Title Container",
|
|
149
|
+
field_interface: "BoxWidget",
|
|
150
|
+
},
|
|
136
151
|
{
|
|
137
152
|
key: "main_title",
|
|
138
153
|
label: "Main Title",
|
|
@@ -145,15 +160,28 @@ export const Cards4: IBlock = {
|
|
|
145
160
|
},
|
|
146
161
|
},
|
|
147
162
|
{
|
|
148
|
-
key: "
|
|
149
|
-
label: "
|
|
150
|
-
field_interface: "
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
163
|
+
key: "description",
|
|
164
|
+
label: "Descripton",
|
|
165
|
+
field_interface: "TypographyWidget",
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
key: "header_buttons",
|
|
169
|
+
label: "Header Buttons Group",
|
|
170
|
+
field_interface: "BoxWidget",
|
|
171
|
+
kind: "group",
|
|
172
|
+
fields: [
|
|
173
|
+
{
|
|
174
|
+
key: "header_button",
|
|
175
|
+
label: "Header Button",
|
|
176
|
+
field_interface: "ButtonWidget",
|
|
177
|
+
hint: {
|
|
178
|
+
prompt_description:
|
|
179
|
+
"Secondary action button for viewing all career opportunities. Should encourage exploration.",
|
|
180
|
+
min_characters: 6,
|
|
181
|
+
max_characters: 20,
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
],
|
|
157
185
|
},
|
|
158
186
|
{
|
|
159
187
|
key: "grid",
|
|
@@ -240,31 +268,8 @@ export const Cards4: IBlock = {
|
|
|
240
268
|
title: "Default",
|
|
241
269
|
key: "default",
|
|
242
270
|
styles: {
|
|
243
|
-
layout: {
|
|
244
|
-
|
|
245
|
-
"padding-bottom": "6xl",
|
|
246
|
-
"padding-left": "xl",
|
|
247
|
-
"padding-right": "xl",
|
|
248
|
-
"background-color": "oklch(0.9643 0.0169 61.9599)",
|
|
249
|
-
tablet: {
|
|
250
|
-
"padding-top": "4xl",
|
|
251
|
-
"padding-bottom": "4xl",
|
|
252
|
-
"padding-left": "lg",
|
|
253
|
-
"padding-right": "lg",
|
|
254
|
-
},
|
|
255
|
-
mobile: {
|
|
256
|
-
"padding-top": "3xl",
|
|
257
|
-
"padding-bottom": "3xl",
|
|
258
|
-
"padding-left": "base",
|
|
259
|
-
"padding-right": "base",
|
|
260
|
-
},
|
|
261
|
-
},
|
|
262
|
-
container: {
|
|
263
|
-
"max-width": "1280px",
|
|
264
|
-
"margin-left": "auto",
|
|
265
|
-
"margin-right": "auto",
|
|
266
|
-
filter: "none",
|
|
267
|
-
},
|
|
271
|
+
layout: {},
|
|
272
|
+
container: {},
|
|
268
273
|
header_section: {
|
|
269
274
|
display: "flex",
|
|
270
275
|
"justify-content": "space-between",
|
|
@@ -279,18 +284,23 @@ export const Cards4: IBlock = {
|
|
|
279
284
|
},
|
|
280
285
|
filter: "drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2))",
|
|
281
286
|
},
|
|
282
|
-
main_title: {
|
|
283
|
-
|
|
284
|
-
filter: "none",
|
|
285
|
-
},
|
|
286
|
-
header_button: {
|
|
287
|
-
color: "text-3",
|
|
287
|
+
main_title: {},
|
|
288
|
+
header_buttons_levoGroup: {
|
|
288
289
|
display: "flex",
|
|
290
|
+
"flex-direction": "row",
|
|
291
|
+
"column-gap": "sm",
|
|
292
|
+
"row-gap": "sm",
|
|
293
|
+
"flex-wrap": "wrap",
|
|
289
294
|
"align-items": "center",
|
|
290
|
-
"column-gap": "xs",
|
|
291
|
-
filter: "none",
|
|
292
|
-
"text-decoration": "none",
|
|
293
295
|
},
|
|
296
|
+
header_buttons: [
|
|
297
|
+
{
|
|
298
|
+
header_button: {},
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
header_button: {},
|
|
302
|
+
},
|
|
303
|
+
],
|
|
294
304
|
cards_levoGroup: {
|
|
295
305
|
display: "grid",
|
|
296
306
|
"grid-template-columns": "repeat(2, minmax(0, 1fr))",
|
|
@@ -308,9 +318,7 @@ export const Cards4: IBlock = {
|
|
|
308
318
|
},
|
|
309
319
|
grid: [
|
|
310
320
|
{
|
|
311
|
-
title: {
|
|
312
|
-
filter: "none",
|
|
313
|
-
},
|
|
321
|
+
title: {},
|
|
314
322
|
card: {
|
|
315
323
|
filter: "drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2))",
|
|
316
324
|
display: "block",
|
|
@@ -335,9 +343,7 @@ export const Cards4: IBlock = {
|
|
|
335
343
|
"padding-bottom": "xl",
|
|
336
344
|
},
|
|
337
345
|
},
|
|
338
|
-
details: {
|
|
339
|
-
filter: "none",
|
|
340
|
-
},
|
|
346
|
+
details: {},
|
|
341
347
|
ctas_levoGroup: {
|
|
342
348
|
filter: "none",
|
|
343
349
|
display: "flex",
|
|
@@ -362,21 +368,15 @@ export const Cards4: IBlock = {
|
|
|
362
368
|
},
|
|
363
369
|
ctas: [
|
|
364
370
|
{
|
|
365
|
-
button: {
|
|
366
|
-
filter: "none",
|
|
367
|
-
},
|
|
371
|
+
button: {},
|
|
368
372
|
},
|
|
369
373
|
{
|
|
370
|
-
button: {
|
|
371
|
-
filter: "none",
|
|
372
|
-
},
|
|
374
|
+
button: {},
|
|
373
375
|
},
|
|
374
376
|
],
|
|
375
377
|
},
|
|
376
378
|
{
|
|
377
|
-
title: {
|
|
378
|
-
filter: "none",
|
|
379
|
-
},
|
|
379
|
+
title: {},
|
|
380
380
|
card: {
|
|
381
381
|
filter: "drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2))",
|
|
382
382
|
display: "block",
|
|
@@ -401,9 +401,7 @@ export const Cards4: IBlock = {
|
|
|
401
401
|
"padding-bottom": "xl",
|
|
402
402
|
},
|
|
403
403
|
},
|
|
404
|
-
details: {
|
|
405
|
-
filter: "none",
|
|
406
|
-
},
|
|
404
|
+
details: {},
|
|
407
405
|
ctas_levoGroup: {
|
|
408
406
|
filter: "none",
|
|
409
407
|
display: "flex",
|
|
@@ -428,9 +426,7 @@ export const Cards4: IBlock = {
|
|
|
428
426
|
},
|
|
429
427
|
ctas: [
|
|
430
428
|
{
|
|
431
|
-
button: {
|
|
432
|
-
filter: "none",
|
|
433
|
-
},
|
|
429
|
+
button: {},
|
|
434
430
|
},
|
|
435
431
|
{
|
|
436
432
|
button: {
|
|
@@ -440,9 +436,7 @@ export const Cards4: IBlock = {
|
|
|
440
436
|
],
|
|
441
437
|
},
|
|
442
438
|
{
|
|
443
|
-
title: {
|
|
444
|
-
filter: "none",
|
|
445
|
-
},
|
|
439
|
+
title: {},
|
|
446
440
|
card: {
|
|
447
441
|
filter: "drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2))",
|
|
448
442
|
display: "block",
|
|
@@ -467,9 +461,7 @@ export const Cards4: IBlock = {
|
|
|
467
461
|
"padding-bottom": "xl",
|
|
468
462
|
},
|
|
469
463
|
},
|
|
470
|
-
details: {
|
|
471
|
-
filter: "none",
|
|
472
|
-
},
|
|
464
|
+
details: {},
|
|
473
465
|
ctas_levoGroup: {
|
|
474
466
|
filter: "none",
|
|
475
467
|
display: "flex",
|
|
@@ -494,9 +486,7 @@ export const Cards4: IBlock = {
|
|
|
494
486
|
},
|
|
495
487
|
ctas: [
|
|
496
488
|
{
|
|
497
|
-
button: {
|
|
498
|
-
filter: "none",
|
|
499
|
-
},
|
|
489
|
+
button: {},
|
|
500
490
|
},
|
|
501
491
|
{
|
|
502
492
|
button: {
|
|
@@ -506,9 +496,7 @@ export const Cards4: IBlock = {
|
|
|
506
496
|
],
|
|
507
497
|
},
|
|
508
498
|
{
|
|
509
|
-
title: {
|
|
510
|
-
filter: "none",
|
|
511
|
-
},
|
|
499
|
+
title: {},
|
|
512
500
|
card: {
|
|
513
501
|
filter: "drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2))",
|
|
514
502
|
display: "block",
|
|
@@ -533,9 +521,7 @@ export const Cards4: IBlock = {
|
|
|
533
521
|
"padding-bottom": "xl",
|
|
534
522
|
},
|
|
535
523
|
},
|
|
536
|
-
details: {
|
|
537
|
-
filter: "none",
|
|
538
|
-
},
|
|
524
|
+
details: {},
|
|
539
525
|
ctas_levoGroup: {
|
|
540
526
|
filter: "none",
|
|
541
527
|
display: "flex",
|
|
@@ -560,9 +546,7 @@ export const Cards4: IBlock = {
|
|
|
560
546
|
},
|
|
561
547
|
ctas: [
|
|
562
548
|
{
|
|
563
|
-
button: {
|
|
564
|
-
filter: "none",
|
|
565
|
-
},
|
|
549
|
+
button: {},
|
|
566
550
|
},
|
|
567
551
|
{
|
|
568
552
|
button: {
|
|
@@ -598,7 +582,6 @@ export const Cards4: IBlock = {
|
|
|
598
582
|
Heading_Level: "H2",
|
|
599
583
|
},
|
|
600
584
|
},
|
|
601
|
-
|
|
602
585
|
"cards.0.ctas.0.button": {
|
|
603
586
|
selectedVariants: {
|
|
604
587
|
Button_Variants: "Primary",
|
|
@@ -639,16 +622,91 @@ export const Cards4: IBlock = {
|
|
|
639
622
|
Button_Variants: "Secondary",
|
|
640
623
|
},
|
|
641
624
|
},
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
625
|
+
header_buttons: [
|
|
626
|
+
{
|
|
627
|
+
header_button: {
|
|
628
|
+
selectedVariants: {
|
|
629
|
+
Button_Variants: "Link",
|
|
630
|
+
},
|
|
631
|
+
button_icons: {
|
|
632
|
+
right: {
|
|
633
|
+
enabled: true,
|
|
634
|
+
},
|
|
635
|
+
},
|
|
636
|
+
},
|
|
645
637
|
},
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
638
|
+
{
|
|
639
|
+
header_button: {
|
|
640
|
+
selectedVariants: {},
|
|
649
641
|
},
|
|
650
642
|
},
|
|
651
|
-
|
|
643
|
+
],
|
|
644
|
+
grid: [
|
|
645
|
+
{
|
|
646
|
+
title: {
|
|
647
|
+
selectedVariants: {
|
|
648
|
+
Heading_Level: "H4",
|
|
649
|
+
},
|
|
650
|
+
},
|
|
651
|
+
card: {
|
|
652
|
+
selectedVariants: {},
|
|
653
|
+
},
|
|
654
|
+
details: {
|
|
655
|
+
selectedVariants: {},
|
|
656
|
+
},
|
|
657
|
+
ctas: [
|
|
658
|
+
{
|
|
659
|
+
button: {
|
|
660
|
+
selectedVariants: {},
|
|
661
|
+
},
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
button: {
|
|
665
|
+
selectedVariants: {},
|
|
666
|
+
},
|
|
667
|
+
},
|
|
668
|
+
],
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
card: {
|
|
672
|
+
selectedVariants: {},
|
|
673
|
+
},
|
|
674
|
+
title: {
|
|
675
|
+
selectedVariants: {
|
|
676
|
+
Heading_Level: "H4",
|
|
677
|
+
},
|
|
678
|
+
},
|
|
679
|
+
details: {
|
|
680
|
+
selectedVariants: {},
|
|
681
|
+
},
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
card: {
|
|
685
|
+
selectedVariants: {},
|
|
686
|
+
},
|
|
687
|
+
title: {
|
|
688
|
+
selectedVariants: {
|
|
689
|
+
Heading_Level: "H4",
|
|
690
|
+
},
|
|
691
|
+
},
|
|
692
|
+
details: {
|
|
693
|
+
selectedVariants: {},
|
|
694
|
+
},
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
card: {
|
|
698
|
+
selectedVariants: {},
|
|
699
|
+
},
|
|
700
|
+
title: {
|
|
701
|
+
selectedVariants: {
|
|
702
|
+
Heading_Level: "H4",
|
|
703
|
+
},
|
|
704
|
+
},
|
|
705
|
+
details: {
|
|
706
|
+
selectedVariants: {},
|
|
707
|
+
},
|
|
708
|
+
},
|
|
709
|
+
],
|
|
652
710
|
},
|
|
653
711
|
},
|
|
654
712
|
],
|
|
@@ -15,8 +15,19 @@ const Cards4: React.FC<ILevoBlockBaseProps<ICards4Content>> = ({ content }) => (
|
|
|
15
15
|
<Section elementKey="layout">
|
|
16
16
|
<Container elementKey="container">
|
|
17
17
|
<Box elementKey="header_section">
|
|
18
|
-
<
|
|
19
|
-
|
|
18
|
+
<Box elementKey="title_container">
|
|
19
|
+
<Heading elementKey="main_title" />
|
|
20
|
+
<Typography elementKey="description" />
|
|
21
|
+
</Box>
|
|
22
|
+
<Box elementKey="header_buttons_levoGroup" data-levo_group>
|
|
23
|
+
{(content.header_buttons ?? []).map((_: any, index: number) => (
|
|
24
|
+
<Button
|
|
25
|
+
key={`header_buttons.${index}.header_button`}
|
|
26
|
+
elementKey={`header_buttons.${index}.header_button`}
|
|
27
|
+
data-levo_group_item
|
|
28
|
+
/>
|
|
29
|
+
))}
|
|
30
|
+
</Box>
|
|
20
31
|
</Box>
|
|
21
32
|
<Box elementKey="grid_levoGroup" data-levo_group>
|
|
22
33
|
{(content?.grid ?? []).map((_: any, index: number) => (
|
|
@@ -1,64 +1,77 @@
|
|
|
1
1
|
import type { IBlock } from "@levo-so/studio";
|
|
2
2
|
|
|
3
|
+
const MEDIA_1 = {
|
|
4
|
+
id: "OaJXLqfuFTMZ",
|
|
5
|
+
filename: "cards-with-bg-1.png",
|
|
6
|
+
kind: "image",
|
|
7
|
+
location:
|
|
8
|
+
"https://static.levocdn.com/WLZ1TXTD/cards-with-bg-1-ZnMQUkWEUR4Y.png",
|
|
9
|
+
srcset: {
|
|
10
|
+
"1080w":
|
|
11
|
+
"https://static.levocdn.com/WLZ1TXTD/cards-with-bg-1-ZnMQUkWEUR4Y-1080w.webp",
|
|
12
|
+
"1200w":
|
|
13
|
+
"https://static.levocdn.com/WLZ1TXTD/cards-with-bg-1-ZnMQUkWEUR4Y-1200w.webp",
|
|
14
|
+
"1920w":
|
|
15
|
+
"https://static.levocdn.com/WLZ1TXTD/cards-with-bg-1-ZnMQUkWEUR4Y-1920w.webp",
|
|
16
|
+
"320w":
|
|
17
|
+
"https://static.levocdn.com/WLZ1TXTD/cards-with-bg-1-ZnMQUkWEUR4Y-320w.webp",
|
|
18
|
+
"640w":
|
|
19
|
+
"https://static.levocdn.com/WLZ1TXTD/cards-with-bg-1-ZnMQUkWEUR4Y-640w.webp",
|
|
20
|
+
"750w":
|
|
21
|
+
"https://static.levocdn.com/WLZ1TXTD/cards-with-bg-1-ZnMQUkWEUR4Y-750w.webp",
|
|
22
|
+
"828w":
|
|
23
|
+
"https://static.levocdn.com/WLZ1TXTD/cards-with-bg-1-ZnMQUkWEUR4Y-828w.webp",
|
|
24
|
+
path: "https://static.levocdn.com/WLZ1TXTD/cards-with-bg-1-ZnMQUkWEUR4Y-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/cards-with-bg-1-ZnMQUkWEUR4Y-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/cards-with-bg-1-ZnMQUkWEUR4Y-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/cards-with-bg-1-ZnMQUkWEUR4Y-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/cards-with-bg-1-ZnMQUkWEUR4Y-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/cards-with-bg-1-ZnMQUkWEUR4Y-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/cards-with-bg-1-ZnMQUkWEUR4Y-1080w.webp 1080w",
|
|
25
|
+
},
|
|
26
|
+
mimetype: "image/png",
|
|
27
|
+
};
|
|
28
|
+
const MEDIA_2 = {
|
|
29
|
+
id: "oilFrpqcKnhb",
|
|
30
|
+
filename: "cards-with-bg-2.png",
|
|
31
|
+
kind: "image",
|
|
32
|
+
location:
|
|
33
|
+
"https://static.levocdn.com/WLZ1TXTD/cards-with-bg-2-tryzJ6VoupGw.png",
|
|
34
|
+
srcset: {
|
|
35
|
+
"1080w":
|
|
36
|
+
"https://static.levocdn.com/WLZ1TXTD/cards-with-bg-2-tryzJ6VoupGw-1080w.webp",
|
|
37
|
+
"1200w":
|
|
38
|
+
"https://static.levocdn.com/WLZ1TXTD/cards-with-bg-2-tryzJ6VoupGw-1200w.webp",
|
|
39
|
+
"1920w":
|
|
40
|
+
"https://static.levocdn.com/WLZ1TXTD/cards-with-bg-2-tryzJ6VoupGw-1920w.webp",
|
|
41
|
+
"320w":
|
|
42
|
+
"https://static.levocdn.com/WLZ1TXTD/cards-with-bg-2-tryzJ6VoupGw-320w.webp",
|
|
43
|
+
"640w":
|
|
44
|
+
"https://static.levocdn.com/WLZ1TXTD/cards-with-bg-2-tryzJ6VoupGw-640w.webp",
|
|
45
|
+
"750w":
|
|
46
|
+
"https://static.levocdn.com/WLZ1TXTD/cards-with-bg-2-tryzJ6VoupGw-750w.webp",
|
|
47
|
+
"828w":
|
|
48
|
+
"https://static.levocdn.com/WLZ1TXTD/cards-with-bg-2-tryzJ6VoupGw-828w.webp",
|
|
49
|
+
path: "https://static.levocdn.com/WLZ1TXTD/cards-with-bg-2-tryzJ6VoupGw-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/cards-with-bg-2-tryzJ6VoupGw-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/cards-with-bg-2-tryzJ6VoupGw-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/cards-with-bg-2-tryzJ6VoupGw-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/cards-with-bg-2-tryzJ6VoupGw-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/cards-with-bg-2-tryzJ6VoupGw-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/cards-with-bg-2-tryzJ6VoupGw-750w.webp 750w",
|
|
50
|
+
},
|
|
51
|
+
mimetype: "image/png",
|
|
52
|
+
};
|
|
53
|
+
|
|
3
54
|
const DEFAULT_CONTENT = {
|
|
4
55
|
layout: null,
|
|
5
56
|
container: null,
|
|
6
57
|
main_wrapper: null,
|
|
7
58
|
left_section: null,
|
|
8
|
-
left_image:
|
|
9
|
-
id: "7141014160938075687",
|
|
10
|
-
location:
|
|
11
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH.png",
|
|
12
|
-
kind: "image",
|
|
13
|
-
mimetype: "image/png",
|
|
14
|
-
srcset: {
|
|
15
|
-
"1080w":
|
|
16
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp",
|
|
17
|
-
"1200w":
|
|
18
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp",
|
|
19
|
-
"1920w":
|
|
20
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp",
|
|
21
|
-
"320w":
|
|
22
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp",
|
|
23
|
-
"640w":
|
|
24
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp",
|
|
25
|
-
"750w":
|
|
26
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp",
|
|
27
|
-
"828w":
|
|
28
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp",
|
|
29
|
-
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",
|
|
30
|
-
},
|
|
31
|
-
},
|
|
59
|
+
left_image: MEDIA_1,
|
|
32
60
|
right_section: null,
|
|
33
|
-
background_image:
|
|
34
|
-
id: "7141014160938075688",
|
|
35
|
-
location:
|
|
36
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH.png",
|
|
37
|
-
kind: "image",
|
|
38
|
-
mimetype: "image/png",
|
|
39
|
-
srcset: {
|
|
40
|
-
"1080w":
|
|
41
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp",
|
|
42
|
-
"1200w":
|
|
43
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp",
|
|
44
|
-
"1920w":
|
|
45
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp",
|
|
46
|
-
"320w":
|
|
47
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp",
|
|
48
|
-
"640w":
|
|
49
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp",
|
|
50
|
-
"750w":
|
|
51
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp",
|
|
52
|
-
"828w":
|
|
53
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp",
|
|
54
|
-
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",
|
|
55
|
-
},
|
|
56
|
-
},
|
|
61
|
+
background_image: MEDIA_2,
|
|
57
62
|
card_container: null,
|
|
58
63
|
title: "Transform Your Business",
|
|
59
64
|
description:
|
|
60
65
|
"Discover innovative solutions that drive growth and efficiency for your enterprise",
|
|
61
|
-
|
|
66
|
+
cards_ctas_levoGroup: null,
|
|
67
|
+
cards_ctas: [
|
|
68
|
+
{
|
|
69
|
+
cards_cta: "Get Started Today",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
cards_cta: "Learn More",
|
|
73
|
+
},
|
|
74
|
+
],
|
|
62
75
|
};
|
|
63
76
|
|
|
64
77
|
export type ICards5Content = typeof DEFAULT_CONTENT;
|
|
@@ -128,7 +141,7 @@ export const Cards5: IBlock = {
|
|
|
128
141
|
{
|
|
129
142
|
key: "title",
|
|
130
143
|
label: "Title",
|
|
131
|
-
field_interface: "
|
|
144
|
+
field_interface: "HeadingWidget",
|
|
132
145
|
},
|
|
133
146
|
{
|
|
134
147
|
key: "description",
|
|
@@ -136,9 +149,17 @@ export const Cards5: IBlock = {
|
|
|
136
149
|
field_interface: "TypographyWidget",
|
|
137
150
|
},
|
|
138
151
|
{
|
|
139
|
-
key: "
|
|
140
|
-
label: "CTA
|
|
141
|
-
field_interface: "
|
|
152
|
+
key: "cards_ctas",
|
|
153
|
+
label: "Cards CTA Group",
|
|
154
|
+
field_interface: "BoxWidget",
|
|
155
|
+
kind: "group",
|
|
156
|
+
fields: [
|
|
157
|
+
{
|
|
158
|
+
key: "cards_cta",
|
|
159
|
+
label: "Cards Cta",
|
|
160
|
+
field_interface: "ButtonWidget",
|
|
161
|
+
},
|
|
162
|
+
],
|
|
142
163
|
},
|
|
143
164
|
],
|
|
144
165
|
layouts: [
|
|
@@ -146,17 +167,8 @@ export const Cards5: IBlock = {
|
|
|
146
167
|
key: "default",
|
|
147
168
|
title: "Default",
|
|
148
169
|
styles: {
|
|
149
|
-
layout: {
|
|
150
|
-
|
|
151
|
-
"padding-bottom": "3xl",
|
|
152
|
-
},
|
|
153
|
-
container: {
|
|
154
|
-
"max-width": "1280px",
|
|
155
|
-
"margin-left": "auto",
|
|
156
|
-
"margin-right": "auto",
|
|
157
|
-
"padding-left": "base",
|
|
158
|
-
"padding-right": "base",
|
|
159
|
-
},
|
|
170
|
+
layout: {},
|
|
171
|
+
container: {},
|
|
160
172
|
main_wrapper: {
|
|
161
173
|
display: "flex",
|
|
162
174
|
"align-items": "stretch",
|
|
@@ -217,17 +229,28 @@ export const Cards5: IBlock = {
|
|
|
217
229
|
},
|
|
218
230
|
},
|
|
219
231
|
title: {
|
|
220
|
-
color: "text-1",
|
|
221
|
-
"font-size": "base",
|
|
222
232
|
"margin-bottom": "base",
|
|
223
233
|
},
|
|
224
234
|
description: {
|
|
225
|
-
color: "text-2",
|
|
226
235
|
"margin-bottom": "lg",
|
|
227
236
|
mobile: {
|
|
228
237
|
"margin-bottom": "base",
|
|
229
238
|
},
|
|
230
239
|
},
|
|
240
|
+
cards_ctas_levoGroup: {
|
|
241
|
+
display: "flex",
|
|
242
|
+
"flex-direction": "column",
|
|
243
|
+
gap: "base",
|
|
244
|
+
"align-items": "center",
|
|
245
|
+
},
|
|
246
|
+
cards_ctas: [
|
|
247
|
+
{
|
|
248
|
+
cards_cta: {},
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
cards_cta: {},
|
|
252
|
+
},
|
|
253
|
+
],
|
|
231
254
|
},
|
|
232
255
|
content: DEFAULT_CONTENT,
|
|
233
256
|
config: {
|
|
@@ -236,7 +259,7 @@ export const Cards5: IBlock = {
|
|
|
236
259
|
level: 2,
|
|
237
260
|
},
|
|
238
261
|
selectedVariants: {
|
|
239
|
-
Heading_Level: "
|
|
262
|
+
Heading_Level: "H4",
|
|
240
263
|
},
|
|
241
264
|
},
|
|
242
265
|
},
|
|
@@ -23,7 +23,15 @@ const Cards5: React.FC<ILevoBlockBaseProps<ICards5Content>> = ({ content }) => (
|
|
|
23
23
|
<Box elementKey="card_container">
|
|
24
24
|
<Heading elementKey="title" />
|
|
25
25
|
<Typography elementKey="description" />
|
|
26
|
-
<
|
|
26
|
+
<Box elementKey="cards_ctas_levoGroup" data-levo_group>
|
|
27
|
+
{(content.cards_ctas ?? []).map((_: unknown, index: number) => (
|
|
28
|
+
<Button
|
|
29
|
+
key={`cards_ctas.${index}.cards_cta`}
|
|
30
|
+
elementKey={`cards_ctas.${index}.cards_cta`}
|
|
31
|
+
data-levo_group_item
|
|
32
|
+
/>
|
|
33
|
+
))}
|
|
34
|
+
</Box>
|
|
27
35
|
</Box>
|
|
28
36
|
</Box>
|
|
29
37
|
</Box>
|