@levo-so/blocks 0.1.2 → 0.1.52
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 +2 -2
- package/src/blocks/about-us/about-us-1.schema.ts +26 -12
- package/src/blocks/about-us/about-us-2.schema.ts +269 -0
- package/src/blocks/about-us/about-us-2.tsx +47 -0
- package/src/blocks/blogs/blog-listing-1.schema.ts +64 -10
- package/src/blocks/blogs/blog-listing-1.tsx +79 -56
- package/src/blocks/blogs/blog-listing-2.schema.ts +3141 -31
- package/src/blocks/blogs/blog-listing-2.tsx +16 -11
- package/src/blocks/blogs/blog-listing-3.schema.ts +2476 -0
- package/src/blocks/blogs/blog-listing-3.tsx +84 -0
- package/src/blocks/blogs/blog-post-1.schema.ts +17 -9
- package/src/blocks/blogs/blog-post-2.schema.ts +13 -56
- package/src/blocks/blogs/blog-post-3.schema.ts +284 -0
- package/src/blocks/blogs/blog-post-3.tsx +58 -0
- package/src/blocks/cards/cards-10.schema.ts +579 -0
- package/src/blocks/cards/cards-10.tsx +2 -0
- package/src/blocks/cards/cards-11.schema.ts +514 -36
- package/src/blocks/cards/cards-13.schema.ts +615 -0
- package/src/blocks/cards/cards-13.tsx +67 -0
- package/src/blocks/cards/cards-2.schema.ts +14 -17
- package/src/blocks/cards/cards-3.schema.ts +15 -25
- package/src/blocks/cards/cards-4.schema.ts +22 -44
- package/src/blocks/cards/cards-4.tsx +39 -39
- package/src/blocks/cards/cards-5.schema.ts +15 -34
- package/src/blocks/cards/cards-6.schema.ts +1500 -0
- package/src/blocks/cards/cards-6.tsx +11 -7
- package/src/blocks/cards/cards-7.schema.ts +1772 -27
- package/src/blocks/cards/cards-7.tsx +32 -0
- package/src/blocks/cards/cards-8.schema.ts +9 -9
- package/src/blocks/contact-us/contact-us-1.schema.ts +13 -6
- package/src/blocks/contact-us/contact-us-2.schema.ts +43 -43
- package/src/blocks/content/content-1.schema.ts +45 -67
- package/src/blocks/content/content-2.schema.ts +14 -11
- package/src/blocks/content/content-3.schema.ts +17 -115
- package/src/blocks/content/content-3.tsx +1 -0
- package/src/blocks/content/content-5.tsx +1 -0
- package/src/blocks/content/content-6.tsx +1 -0
- package/src/blocks/content/content-7.schema.ts +723 -0
- package/src/blocks/content/content-7.tsx +53 -0
- package/src/blocks/cta/cta-1.schema.ts +18 -26
- package/src/blocks/cta/cta-3.schema.ts +60 -0
- package/src/blocks/event/event-details.schema.ts +30 -35
- package/src/blocks/event/event-details.tsx +74 -79
- package/src/blocks/event/event-listing-2.schema.ts +85 -26
- package/src/blocks/event/event-listing-2.tsx +76 -52
- package/src/blocks/event/event-listing-3.schema.ts +58 -42
- package/src/blocks/event/event-listing-3.tsx +4 -9
- package/src/blocks/event/event-listing-4.schema.ts +3528 -0
- package/src/blocks/event/event-listing-4.tsx +97 -0
- package/src/blocks/event/event-listing.schema.ts +81 -86
- package/src/blocks/event/event-listing.tsx +1 -3
- package/src/blocks/faq/faq-1.schema.ts +13 -10
- package/src/blocks/faq/faq-2.schema.ts +12 -10
- package/src/blocks/features/features-1/variants/default.ts +12 -3
- package/src/blocks/features/features-2.schema.ts +192 -59
- package/src/blocks/features/features-3.schema.ts +11 -25
- package/src/blocks/features/features-4.schema.ts +20 -35
- package/src/blocks/features/features-5.schema.ts +18 -37
- package/src/blocks/footer/footer-1.schema.ts +28 -5
- package/src/blocks/footer/footer-2.schema.ts +18 -3
- package/src/blocks/footer/footer-3.schema.ts +85 -160
- package/src/blocks/footer/footer-3.tsx +1 -2
- package/src/blocks/footer/footer-4.schema.ts +10 -5
- package/src/blocks/footer/footer-4.tsx +1 -1
- package/src/blocks/footer/footer-5.schema.ts +10 -0
- package/src/blocks/footer/footer-5.tsx +11 -3
- package/src/blocks/footer/footer-6.schema.ts +730 -0
- package/src/blocks/footer/footer-6.tsx +100 -0
- package/src/blocks/hero/hero-1.schema.ts +165 -185
- package/src/blocks/hero/hero-10.schema.ts +175 -0
- package/src/blocks/hero/hero-10.tsx +35 -0
- package/src/blocks/hero/hero-2.schema.ts +60 -104
- package/src/blocks/hero/hero-2.tsx +11 -3
- package/src/blocks/hero/hero-3.schema.ts +68 -64
- package/src/blocks/hero/hero-4.schema.ts +148 -48
- package/src/blocks/hero/hero-5.schema.ts +29 -23
- package/src/blocks/hero/hero-6.schema.ts +28 -66
- package/src/blocks/hero/hero-7.schema.ts +34 -37
- package/src/blocks/hero/hero-8.schema.ts +5 -1
- package/src/blocks/index.ts +11 -0
- package/src/blocks/logos/logos-1.schema.ts +10 -4
- package/src/blocks/navbar/navbar-1.schema.ts +3 -5
- package/src/blocks/navbar/navbar-1.tsx +5 -19
- package/src/blocks/navbar/navbar-2.schema.ts +2 -4
- package/src/blocks/navbar/navbar-2.tsx +4 -18
- package/src/blocks/navbar/navbar-3.schema.ts +6834 -0
- package/src/blocks/navbar/navbar-3.tsx +551 -0
- package/src/blocks/pricing/pricing-1.schema.ts +23 -37
- package/src/blocks/products/products-listing-1.schema.ts +73 -76
- package/src/blocks/profile/profile-1.schema.ts +399 -0
- package/src/blocks/profile/profile-1.tsx +64 -0
- package/src/blocks/stats/stats-1.schema.ts +34 -3
- package/src/blocks/stats/variants/default.ts +0 -1
- package/src/blocks/stats/variants/hero.ts +2 -13
- package/src/blocks/team/team-1.schema.ts +50 -22
- package/src/blocks/team/team-1.tsx +9 -3
- package/src/blocks/team/team-2.schema.ts +96 -167
- package/src/blocks/team/team-3.schema.ts +32 -49
- package/src/blocks/team/team-4.schema.ts +551 -0
- package/src/blocks/team/team-4.tsx +59 -0
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +10 -20
- package/src/blocks/testimonial/testimonial-1.schema.ts +14 -8
- package/src/blocks/testimonial/testimonial-2.schema.ts +2 -2
- package/src/blocks/testimonial/testimonial-3.schema.ts +12 -18
- package/src/blocks/testimonial/testimonial-4.schema.ts +131 -126
- package/src/blocks/testimonial/testimonial-5/variants/default.ts +510 -0
- package/src/blocks/testimonial/testimonial-5/variants/index.ts +4 -0
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +887 -0
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +923 -0
- package/src/blocks/testimonial/testimonial-5.schema.ts +62 -246
- package/src/blocks/testimonial/testimonial-5.tsx +32 -8
- package/src/blocks/testimonial/testimonial-6.schema.ts +986 -23
- package/src/blocks/testimonial/testimonial-6.tsx +107 -57
- package/src/schemas/blocks.ts +22 -0
- package/src/schemas/categories.ts +6 -0
|
@@ -21,7 +21,7 @@ const PERSON_INFO = {
|
|
|
21
21
|
kind: "image",
|
|
22
22
|
path: "WLZ1TXTD/pexels-2147499152-29632553-lDiQGcTGVuXg.jpg",
|
|
23
23
|
location:
|
|
24
|
-
"https://
|
|
24
|
+
"https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-lDiQGcTGVuXg.jpg",
|
|
25
25
|
metadata: {
|
|
26
26
|
etag: '"d2ab426d617eec426c1e6ba5605ab5d6"',
|
|
27
27
|
mimetype: "image/jpeg",
|
|
@@ -29,20 +29,20 @@ const PERSON_INFO = {
|
|
|
29
29
|
},
|
|
30
30
|
srcset: {
|
|
31
31
|
"1080w":
|
|
32
|
-
"https://
|
|
32
|
+
"https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-lDiQGcTGVuXg-1080w.webp",
|
|
33
33
|
"1200w":
|
|
34
|
-
"https://
|
|
34
|
+
"https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-lDiQGcTGVuXg-1200w.webp",
|
|
35
35
|
"1920w":
|
|
36
|
-
"https://
|
|
36
|
+
"https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-lDiQGcTGVuXg-1920w.webp",
|
|
37
37
|
"320w":
|
|
38
|
-
"https://
|
|
38
|
+
"https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-lDiQGcTGVuXg-320w.webp",
|
|
39
39
|
"640w":
|
|
40
|
-
"https://
|
|
40
|
+
"https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-lDiQGcTGVuXg-640w.webp",
|
|
41
41
|
"750w":
|
|
42
|
-
"https://
|
|
42
|
+
"https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-lDiQGcTGVuXg-750w.webp",
|
|
43
43
|
"828w":
|
|
44
|
-
"https://
|
|
45
|
-
path: "https://
|
|
44
|
+
"https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-lDiQGcTGVuXg-828w.webp",
|
|
45
|
+
path: "https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-lDiQGcTGVuXg-1920w.webp 1920w, https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-lDiQGcTGVuXg-320w.webp 320w, https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-lDiQGcTGVuXg-640w.webp 640w, https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-lDiQGcTGVuXg-750w.webp 750w, https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-lDiQGcTGVuXg-828w.webp 828w, https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-lDiQGcTGVuXg-1080w.webp 1080w, https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-lDiQGcTGVuXg-1200w.webp 1200w",
|
|
46
46
|
},
|
|
47
47
|
created_at: "2025-04-22T07:05:43.912Z",
|
|
48
48
|
updated_at: "2025-04-22T07:05:43.912Z",
|
|
@@ -104,6 +104,7 @@ const PERSON_STYLE = {
|
|
|
104
104
|
height: "100%",
|
|
105
105
|
width: "100%",
|
|
106
106
|
"object-fit": "cover",
|
|
107
|
+
"border-radius": "base",
|
|
107
108
|
},
|
|
108
109
|
"info-wrapper": {
|
|
109
110
|
position: "absolute",
|
|
@@ -127,8 +128,6 @@ const PERSON_STYLE = {
|
|
|
127
128
|
"padding-right": "2xl",
|
|
128
129
|
},
|
|
129
130
|
name: {
|
|
130
|
-
"font-size": "xl",
|
|
131
|
-
"font-weight": 600,
|
|
132
131
|
color: "var(--color-brand-foreground)",
|
|
133
132
|
},
|
|
134
133
|
description: {
|
|
@@ -345,6 +344,11 @@ export const Team1: IBlock = {
|
|
|
345
344
|
max_characters: 26,
|
|
346
345
|
},
|
|
347
346
|
},
|
|
347
|
+
{
|
|
348
|
+
key: "description-wrapper",
|
|
349
|
+
label: " Description Wrapper",
|
|
350
|
+
field_interface: "BoxWidget",
|
|
351
|
+
},
|
|
348
352
|
{
|
|
349
353
|
key: "description",
|
|
350
354
|
label: "Person Description",
|
|
@@ -356,6 +360,17 @@ export const Team1: IBlock = {
|
|
|
356
360
|
max_characters: 32,
|
|
357
361
|
},
|
|
358
362
|
},
|
|
363
|
+
{
|
|
364
|
+
key: "company",
|
|
365
|
+
label: "Person Company",
|
|
366
|
+
field_interface: "TypographyWidget",
|
|
367
|
+
hint: {
|
|
368
|
+
prompt_description:
|
|
369
|
+
"Short job title or area of expertise for the team member (e.g., 'Criminal Law Expert'). 1 line only. Tone: specific, authoritative.",
|
|
370
|
+
min_characters: 12,
|
|
371
|
+
max_characters: 32,
|
|
372
|
+
},
|
|
373
|
+
},
|
|
359
374
|
{
|
|
360
375
|
key: "links",
|
|
361
376
|
label: "Links",
|
|
@@ -455,12 +470,7 @@ export const Team1: IBlock = {
|
|
|
455
470
|
},
|
|
456
471
|
},
|
|
457
472
|
"accent-title": {
|
|
458
|
-
"font-size": "base",
|
|
459
|
-
"font-weight": "bold",
|
|
460
473
|
color: "var(--color-brand-foreground)",
|
|
461
|
-
"media:max:768px": {
|
|
462
|
-
"font-size": "base",
|
|
463
|
-
},
|
|
464
474
|
},
|
|
465
475
|
"title-wrapper": {
|
|
466
476
|
display: "flex",
|
|
@@ -480,12 +490,7 @@ export const Team1: IBlock = {
|
|
|
480
490
|
"max-width": "fit-content",
|
|
481
491
|
flex: "1",
|
|
482
492
|
"white-space": "nowrap",
|
|
483
|
-
"font-size": "5xl",
|
|
484
|
-
"font-weight": "bold",
|
|
485
493
|
color: "var(--color-brand-foreground)",
|
|
486
|
-
"media:max:768px": {
|
|
487
|
-
"font-size": "4xl",
|
|
488
|
-
},
|
|
489
494
|
},
|
|
490
495
|
description: {
|
|
491
496
|
"font-size": "base",
|
|
@@ -510,7 +515,30 @@ export const Team1: IBlock = {
|
|
|
510
515
|
team: TEAM_STYLES,
|
|
511
516
|
},
|
|
512
517
|
content: DEFAULT_CONTENT,
|
|
513
|
-
config: {
|
|
518
|
+
config: {
|
|
519
|
+
title: {
|
|
520
|
+
selectedVariants: {
|
|
521
|
+
Heading_Level: "H2",
|
|
522
|
+
},
|
|
523
|
+
heading: {
|
|
524
|
+
level: 2,
|
|
525
|
+
},
|
|
526
|
+
},
|
|
527
|
+
|
|
528
|
+
"accent-title": {
|
|
529
|
+
selectedVariants: {
|
|
530
|
+
Heading_Level: "H5",
|
|
531
|
+
},
|
|
532
|
+
heading: {
|
|
533
|
+
level: 4,
|
|
534
|
+
},
|
|
535
|
+
},
|
|
536
|
+
"header-cta": {
|
|
537
|
+
selectedVariants: {
|
|
538
|
+
Button_Variants: "Default",
|
|
539
|
+
},
|
|
540
|
+
},
|
|
541
|
+
},
|
|
514
542
|
},
|
|
515
543
|
],
|
|
516
544
|
};
|
|
@@ -16,6 +16,7 @@ import type { ITeam1Content } from "./team-1.schema";
|
|
|
16
16
|
interface IPersonInfo {
|
|
17
17
|
name?: string;
|
|
18
18
|
description?: string;
|
|
19
|
+
company?: string;
|
|
19
20
|
links?: Array<{
|
|
20
21
|
icon?: unknown;
|
|
21
22
|
link?: string;
|
|
@@ -51,9 +52,14 @@ const Team1: React.FC<ILevoBlockBaseProps<ITeam1Content>> = ({ content }) => {
|
|
|
51
52
|
<Heading elementKey={`team.${index}.name`}>
|
|
52
53
|
{person?.name}
|
|
53
54
|
</Heading>
|
|
54
|
-
<
|
|
55
|
-
{
|
|
56
|
-
|
|
55
|
+
<Box elementKey={`team.${index}.description-wrapper`}>
|
|
56
|
+
<Typography elementKey={`team.${index}.description`}>
|
|
57
|
+
{person?.description}
|
|
58
|
+
</Typography>
|
|
59
|
+
<Typography elementKey={`team.${index}.company`}>
|
|
60
|
+
{person?.company}
|
|
61
|
+
</Typography>
|
|
62
|
+
</Box>
|
|
57
63
|
<Box
|
|
58
64
|
elementKey={`team.${index}.links_levoGroup`}
|
|
59
65
|
data-levo_group
|