@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
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { ILevoBlockBaseProps } from "@levo-so/studio";
|
|
2
|
+
import {
|
|
3
|
+
Box,
|
|
4
|
+
Button,
|
|
5
|
+
Container,
|
|
6
|
+
Heading,
|
|
7
|
+
Icon,
|
|
8
|
+
Image,
|
|
9
|
+
Section,
|
|
10
|
+
Typography,
|
|
11
|
+
useContentEngine,
|
|
12
|
+
} from "@levo-so/studio";
|
|
13
|
+
import dayjs from "dayjs";
|
|
14
|
+
|
|
15
|
+
import type { IEventListing4 } from "./event-listing-4.schema";
|
|
16
|
+
|
|
17
|
+
const EventListing4: React.FC<ILevoBlockBaseProps<IEventListing4>> = () => {
|
|
18
|
+
const { data, query, setQuery, meta } = useContentEngine("events");
|
|
19
|
+
|
|
20
|
+
const handleNext = () => setQuery({ page: (query?.page || 0) + 1 });
|
|
21
|
+
const handlePrevious = () => setQuery({ page: (query?.page || 0) - 1 });
|
|
22
|
+
return (
|
|
23
|
+
<Section elementKey="layout">
|
|
24
|
+
<Container elementKey="container">
|
|
25
|
+
<Box elementKey="header-container">
|
|
26
|
+
<Heading elementKey="title" />
|
|
27
|
+
<Button elementKey="cta-button" />
|
|
28
|
+
</Box>
|
|
29
|
+
|
|
30
|
+
<Box elementKey="events_levoGroup" data-levo_group>
|
|
31
|
+
{(data || [])?.map((item: any, index: number) => (
|
|
32
|
+
<Box
|
|
33
|
+
key={`events-listing-element-${index}`}
|
|
34
|
+
data-levo_group_item
|
|
35
|
+
elementKey={`events.${index}.eventWrapper`}
|
|
36
|
+
>
|
|
37
|
+
<Image elementKey={`events.${index}.image`} alt="event poster" />
|
|
38
|
+
<Box elementKey={`events.${index}.text-wrapper`}>
|
|
39
|
+
<Box elementKey={`events.${index}.content-container`}>
|
|
40
|
+
<Typography elementKey={`events.${index}.caption-text`} />
|
|
41
|
+
<Typography elementKey={`events.${index}.title`} />
|
|
42
|
+
|
|
43
|
+
<Box elementKey={`events.${index}.text-container`}>
|
|
44
|
+
<Box elementKey={`events.${index}.date-wrapper`}>
|
|
45
|
+
<Icon elementKey={`events.${index}.date-icon`} />
|
|
46
|
+
<Typography
|
|
47
|
+
elementKey={`events.${index}.publishedAt-header`}
|
|
48
|
+
>
|
|
49
|
+
{dayjs(item?.starts_at).format("MMM D, YYYY")}
|
|
50
|
+
</Typography>
|
|
51
|
+
<Typography elementKey={`events.${index}.role-text`} />
|
|
52
|
+
</Box>
|
|
53
|
+
|
|
54
|
+
<Box elementKey={`events.${index}.event-end-date-wrapper`}>
|
|
55
|
+
<Icon
|
|
56
|
+
elementKey={`events.${index}.event-end-date-icon`}
|
|
57
|
+
/>
|
|
58
|
+
<Typography elementKey={`events.${index}.event-end-date`}>
|
|
59
|
+
{dayjs(item?.ends_at).format("MMM D, YYYY")}
|
|
60
|
+
</Typography>
|
|
61
|
+
<Typography elementKey={`events.${index}.company-text`} />
|
|
62
|
+
</Box>
|
|
63
|
+
</Box>
|
|
64
|
+
<Typography elementKey={`events.${index}.description`} />
|
|
65
|
+
<Box elementKey={`events.${index}.social_media_icon_wrapper`}>
|
|
66
|
+
<Icon elementKey={`events.${index}.social_media_icon_1`} />
|
|
67
|
+
<Icon elementKey={`events.${index}.social_media_icon_2`} />
|
|
68
|
+
<Icon elementKey={`events.${index}.social_media_icon_3`} />
|
|
69
|
+
</Box>
|
|
70
|
+
<Button elementKey={`events.${index}.cta`} />
|
|
71
|
+
</Box>
|
|
72
|
+
</Box>
|
|
73
|
+
</Box>
|
|
74
|
+
))}
|
|
75
|
+
</Box>
|
|
76
|
+
<Box elementKey="paginationWrapper">
|
|
77
|
+
<Button
|
|
78
|
+
elementKey="paginationLeftButton"
|
|
79
|
+
disabled={query?.page === 1}
|
|
80
|
+
onClick={handlePrevious}
|
|
81
|
+
/>
|
|
82
|
+
|
|
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>
|
|
92
|
+
</Container>
|
|
93
|
+
</Section>
|
|
94
|
+
);
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
export default EventListing4;
|
|
@@ -466,8 +466,7 @@ export const EventListing: IBlock = {
|
|
|
466
466
|
},
|
|
467
467
|
title: {
|
|
468
468
|
"padding-left": "none",
|
|
469
|
-
|
|
470
|
-
"font-weight": 600,
|
|
469
|
+
color: "text-1",
|
|
471
470
|
},
|
|
472
471
|
container: {
|
|
473
472
|
display: "flex",
|
|
@@ -492,10 +491,9 @@ export const EventListing: IBlock = {
|
|
|
492
491
|
events: [
|
|
493
492
|
{
|
|
494
493
|
eventWrapper: {
|
|
495
|
-
"border-radius": "
|
|
494
|
+
"border-radius": "base",
|
|
496
495
|
overflow: "hidden",
|
|
497
|
-
"box-shadow":
|
|
498
|
-
"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
|
|
496
|
+
"box-shadow": "default",
|
|
499
497
|
},
|
|
500
498
|
image: {
|
|
501
499
|
width: "100%",
|
|
@@ -513,12 +511,14 @@ export const EventListing: IBlock = {
|
|
|
513
511
|
"font-weight": 400,
|
|
514
512
|
"font-size": "xl",
|
|
515
513
|
filter: "none",
|
|
514
|
+
color: "text-1",
|
|
516
515
|
},
|
|
517
516
|
description: {
|
|
518
517
|
overflow: "hidden",
|
|
519
518
|
display: "-webkit-box",
|
|
520
519
|
"-webkit-box-orient": "vertical",
|
|
521
520
|
"-webkit-line-clamp": 3,
|
|
521
|
+
color: "text-2",
|
|
522
522
|
},
|
|
523
523
|
publishedAt: {
|
|
524
524
|
"font-size": "sm",
|
|
@@ -562,12 +562,14 @@ export const EventListing: IBlock = {
|
|
|
562
562
|
"font-weight": 400,
|
|
563
563
|
"font-size": "xl",
|
|
564
564
|
filter: "none",
|
|
565
|
+
color: "text-1",
|
|
565
566
|
},
|
|
566
567
|
description: {
|
|
567
568
|
overflow: "hidden",
|
|
568
569
|
display: "-webkit-box",
|
|
569
570
|
"-webkit-box-orient": "vertical",
|
|
570
571
|
"-webkit-line-clamp": 3,
|
|
572
|
+
color: "text-2",
|
|
571
573
|
},
|
|
572
574
|
publishedAt: {
|
|
573
575
|
"font-size": "sm",
|
|
@@ -589,10 +591,9 @@ export const EventListing: IBlock = {
|
|
|
589
591
|
},
|
|
590
592
|
{
|
|
591
593
|
eventWrapper: {
|
|
592
|
-
"border-radius": "
|
|
594
|
+
"border-radius": "base",
|
|
593
595
|
overflow: "hidden",
|
|
594
|
-
"box-shadow":
|
|
595
|
-
"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
|
|
596
|
+
"box-shadow": "default",
|
|
596
597
|
filter: "none",
|
|
597
598
|
},
|
|
598
599
|
image: {
|
|
@@ -616,9 +617,10 @@ export const EventListing: IBlock = {
|
|
|
616
617
|
display: "-webkit-box",
|
|
617
618
|
"-webkit-box-orient": "vertical",
|
|
618
619
|
"-webkit-line-clamp": 3,
|
|
620
|
+
color: "text-2",
|
|
619
621
|
},
|
|
620
622
|
publishedAt: {
|
|
621
|
-
|
|
623
|
+
color: "text-2",
|
|
622
624
|
},
|
|
623
625
|
"text-container": {
|
|
624
626
|
filter: "none",
|
|
@@ -637,10 +639,9 @@ export const EventListing: IBlock = {
|
|
|
637
639
|
},
|
|
638
640
|
{
|
|
639
641
|
eventWrapper: {
|
|
640
|
-
"border-radius": "
|
|
642
|
+
"border-radius": "base",
|
|
641
643
|
overflow: "hidden",
|
|
642
|
-
"box-shadow":
|
|
643
|
-
"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
|
|
644
|
+
"box-shadow": "default",
|
|
644
645
|
},
|
|
645
646
|
image: {
|
|
646
647
|
width: "100%",
|
|
@@ -663,6 +664,7 @@ export const EventListing: IBlock = {
|
|
|
663
664
|
display: "-webkit-box",
|
|
664
665
|
"-webkit-box-orient": "vertical",
|
|
665
666
|
"-webkit-line-clamp": 3,
|
|
667
|
+
color: "text-2",
|
|
666
668
|
},
|
|
667
669
|
publishedAt: {
|
|
668
670
|
"font-size": "sm",
|
|
@@ -684,10 +686,9 @@ export const EventListing: IBlock = {
|
|
|
684
686
|
},
|
|
685
687
|
{
|
|
686
688
|
eventWrapper: {
|
|
687
|
-
"border-radius": "
|
|
689
|
+
"border-radius": "base",
|
|
688
690
|
overflow: "hidden",
|
|
689
|
-
"box-shadow":
|
|
690
|
-
"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
|
|
691
|
+
"box-shadow": "default",
|
|
691
692
|
},
|
|
692
693
|
image: {
|
|
693
694
|
width: "100%",
|
|
@@ -710,6 +711,7 @@ export const EventListing: IBlock = {
|
|
|
710
711
|
display: "-webkit-box",
|
|
711
712
|
"-webkit-box-orient": "vertical",
|
|
712
713
|
"-webkit-line-clamp": 3,
|
|
714
|
+
color: "text-2",
|
|
713
715
|
},
|
|
714
716
|
publishedAt: {
|
|
715
717
|
"font-size": "sm",
|
|
@@ -731,10 +733,9 @@ export const EventListing: IBlock = {
|
|
|
731
733
|
},
|
|
732
734
|
{
|
|
733
735
|
eventWrapper: {
|
|
734
|
-
"border-radius": "
|
|
736
|
+
"border-radius": "base",
|
|
735
737
|
overflow: "hidden",
|
|
736
|
-
"box-shadow":
|
|
737
|
-
"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
|
|
738
|
+
"box-shadow": "default",
|
|
738
739
|
},
|
|
739
740
|
image: {
|
|
740
741
|
width: "100%",
|
|
@@ -757,6 +758,7 @@ export const EventListing: IBlock = {
|
|
|
757
758
|
display: "-webkit-box",
|
|
758
759
|
"-webkit-box-orient": "vertical",
|
|
759
760
|
"-webkit-line-clamp": 3,
|
|
761
|
+
color: "text-2",
|
|
760
762
|
},
|
|
761
763
|
publishedAt: {
|
|
762
764
|
"font-size": "sm",
|
|
@@ -789,7 +791,16 @@ export const EventListing: IBlock = {
|
|
|
789
791
|
},
|
|
790
792
|
},
|
|
791
793
|
content: DEFAULT_CONTENT,
|
|
792
|
-
config: {
|
|
794
|
+
config: {
|
|
795
|
+
title: {
|
|
796
|
+
selectedVariants: {
|
|
797
|
+
Heading_Level: "H2",
|
|
798
|
+
},
|
|
799
|
+
heading: {
|
|
800
|
+
level: 2,
|
|
801
|
+
},
|
|
802
|
+
},
|
|
803
|
+
},
|
|
793
804
|
},
|
|
794
805
|
{
|
|
795
806
|
key: "cta-variant",
|
|
@@ -827,30 +838,10 @@ export const EventListing: IBlock = {
|
|
|
827
838
|
},
|
|
828
839
|
},
|
|
829
840
|
title: {
|
|
830
|
-
|
|
831
|
-
"font-weight": 700,
|
|
832
|
-
color: "var(--color-text-1)",
|
|
841
|
+
color: "text-1",
|
|
833
842
|
margin: "0",
|
|
834
|
-
mobile: {
|
|
835
|
-
"font-size": "3xl",
|
|
836
|
-
},
|
|
837
|
-
},
|
|
838
|
-
"cta-button": {
|
|
839
|
-
"background-color": "transparent",
|
|
840
|
-
color: "var(--color-brand)",
|
|
841
|
-
"font-size": "lg",
|
|
842
|
-
"font-weight": 500,
|
|
843
|
-
"text-decoration": "none",
|
|
844
|
-
border: "none",
|
|
845
|
-
cursor: "pointer",
|
|
846
|
-
display: "flex",
|
|
847
|
-
"align-items": "center",
|
|
848
|
-
"column-gap": "xs",
|
|
849
|
-
"&:hover": {
|
|
850
|
-
"text-decoration": "underline",
|
|
851
|
-
},
|
|
852
|
-
filter: "none",
|
|
853
843
|
},
|
|
844
|
+
|
|
854
845
|
container: {
|
|
855
846
|
display: "flex",
|
|
856
847
|
"flex-direction": "column",
|
|
@@ -875,10 +866,9 @@ export const EventListing: IBlock = {
|
|
|
875
866
|
events: [
|
|
876
867
|
{
|
|
877
868
|
eventWrapper: {
|
|
878
|
-
"border-radius": "
|
|
869
|
+
"border-radius": "base",
|
|
879
870
|
overflow: "hidden",
|
|
880
|
-
"box-shadow":
|
|
881
|
-
"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
|
|
871
|
+
"box-shadow": "default",
|
|
882
872
|
position: "relative",
|
|
883
873
|
filter: "none",
|
|
884
874
|
"padding-bottom": "base",
|
|
@@ -888,6 +878,7 @@ export const EventListing: IBlock = {
|
|
|
888
878
|
height: "200px",
|
|
889
879
|
"object-fit": "cover",
|
|
890
880
|
filter: "none",
|
|
881
|
+
"border-radius": "base",
|
|
891
882
|
},
|
|
892
883
|
"text-wrapper": {
|
|
893
884
|
"padding-left": "xl",
|
|
@@ -911,7 +902,7 @@ export const EventListing: IBlock = {
|
|
|
911
902
|
color: "white",
|
|
912
903
|
"font-size": "xs",
|
|
913
904
|
"line-height": "normal",
|
|
914
|
-
"background-color": "
|
|
905
|
+
"background-color": "brand",
|
|
915
906
|
"font-weight": 500,
|
|
916
907
|
"padding-left": "sm",
|
|
917
908
|
"padding-right": "sm",
|
|
@@ -935,7 +926,7 @@ export const EventListing: IBlock = {
|
|
|
935
926
|
},
|
|
936
927
|
"publishedAt-header": {
|
|
937
928
|
"font-size": "sm",
|
|
938
|
-
color: "
|
|
929
|
+
color: "text-2",
|
|
939
930
|
"font-weight": 500,
|
|
940
931
|
filter: "none",
|
|
941
932
|
},
|
|
@@ -943,7 +934,7 @@ export const EventListing: IBlock = {
|
|
|
943
934
|
"font-weight": 600,
|
|
944
935
|
"font-size": "xl",
|
|
945
936
|
"margin-bottom": "xs",
|
|
946
|
-
color: "
|
|
937
|
+
color: "text-1",
|
|
947
938
|
filter: "none",
|
|
948
939
|
},
|
|
949
940
|
description: {
|
|
@@ -951,7 +942,7 @@ export const EventListing: IBlock = {
|
|
|
951
942
|
display: "-webkit-box",
|
|
952
943
|
"-webkit-box-orient": "vertical",
|
|
953
944
|
"-webkit-line-clamp": 3,
|
|
954
|
-
color: "
|
|
945
|
+
color: "text-2",
|
|
955
946
|
"line-height": 1.5,
|
|
956
947
|
},
|
|
957
948
|
publishedAt: {
|
|
@@ -961,10 +952,9 @@ export const EventListing: IBlock = {
|
|
|
961
952
|
},
|
|
962
953
|
{
|
|
963
954
|
eventWrapper: {
|
|
964
|
-
"border-radius": "
|
|
955
|
+
"border-radius": "base",
|
|
965
956
|
overflow: "hidden",
|
|
966
|
-
"box-shadow":
|
|
967
|
-
"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
|
|
957
|
+
"box-shadow": "default",
|
|
968
958
|
position: "relative",
|
|
969
959
|
filter: "none",
|
|
970
960
|
},
|
|
@@ -996,7 +986,7 @@ export const EventListing: IBlock = {
|
|
|
996
986
|
color: "white",
|
|
997
987
|
"font-size": "xs",
|
|
998
988
|
"line-height": "normal",
|
|
999
|
-
"background-color": "
|
|
989
|
+
"background-color": "brand",
|
|
1000
990
|
"font-weight": 500,
|
|
1001
991
|
"padding-left": "sm",
|
|
1002
992
|
"padding-right": "sm",
|
|
@@ -1016,21 +1006,21 @@ export const EventListing: IBlock = {
|
|
|
1016
1006
|
},
|
|
1017
1007
|
"publishedAt-header": {
|
|
1018
1008
|
"font-size": "sm",
|
|
1019
|
-
color: "
|
|
1009
|
+
color: "text-2",
|
|
1020
1010
|
"font-weight": 500,
|
|
1021
1011
|
},
|
|
1022
1012
|
title: {
|
|
1023
1013
|
"font-weight": 600,
|
|
1024
1014
|
"font-size": "xl",
|
|
1025
1015
|
"margin-bottom": "xs",
|
|
1026
|
-
color: "
|
|
1016
|
+
color: "text-1",
|
|
1027
1017
|
},
|
|
1028
1018
|
description: {
|
|
1029
1019
|
overflow: "hidden",
|
|
1030
1020
|
display: "-webkit-box",
|
|
1031
1021
|
"-webkit-box-orient": "vertical",
|
|
1032
1022
|
"-webkit-line-clamp": 3,
|
|
1033
|
-
color: "
|
|
1023
|
+
color: "text-2",
|
|
1034
1024
|
"line-height": 1.5,
|
|
1035
1025
|
},
|
|
1036
1026
|
publishedAt: {
|
|
@@ -1039,10 +1029,9 @@ export const EventListing: IBlock = {
|
|
|
1039
1029
|
},
|
|
1040
1030
|
{
|
|
1041
1031
|
eventWrapper: {
|
|
1042
|
-
"border-radius": "
|
|
1032
|
+
"border-radius": "base",
|
|
1043
1033
|
overflow: "hidden",
|
|
1044
|
-
"box-shadow":
|
|
1045
|
-
"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
|
|
1034
|
+
"box-shadow": "default",
|
|
1046
1035
|
position: "relative",
|
|
1047
1036
|
filter: "none",
|
|
1048
1037
|
},
|
|
@@ -1073,7 +1062,7 @@ export const EventListing: IBlock = {
|
|
|
1073
1062
|
color: "white",
|
|
1074
1063
|
"font-size": "xs",
|
|
1075
1064
|
"line-height": "normal",
|
|
1076
|
-
"background-color": "
|
|
1065
|
+
"background-color": "brand",
|
|
1077
1066
|
"font-weight": 500,
|
|
1078
1067
|
"padding-left": "sm",
|
|
1079
1068
|
"padding-right": "sm",
|
|
@@ -1093,21 +1082,21 @@ export const EventListing: IBlock = {
|
|
|
1093
1082
|
},
|
|
1094
1083
|
"publishedAt-header": {
|
|
1095
1084
|
"font-size": "sm",
|
|
1096
|
-
color: "
|
|
1085
|
+
color: "text-2",
|
|
1097
1086
|
"font-weight": 500,
|
|
1098
1087
|
},
|
|
1099
1088
|
title: {
|
|
1100
1089
|
"font-weight": 600,
|
|
1101
1090
|
"font-size": "xl",
|
|
1102
1091
|
"margin-bottom": "xs",
|
|
1103
|
-
color: "
|
|
1092
|
+
color: "text-1",
|
|
1104
1093
|
},
|
|
1105
1094
|
description: {
|
|
1106
1095
|
overflow: "hidden",
|
|
1107
1096
|
display: "-webkit-box",
|
|
1108
1097
|
"-webkit-box-orient": "vertical",
|
|
1109
1098
|
"-webkit-line-clamp": 3,
|
|
1110
|
-
color: "
|
|
1099
|
+
color: "text-2",
|
|
1111
1100
|
"line-height": 1.5,
|
|
1112
1101
|
},
|
|
1113
1102
|
publishedAt: {
|
|
@@ -1116,10 +1105,9 @@ export const EventListing: IBlock = {
|
|
|
1116
1105
|
},
|
|
1117
1106
|
{
|
|
1118
1107
|
eventWrapper: {
|
|
1119
|
-
"border-radius": "
|
|
1108
|
+
"border-radius": "base",
|
|
1120
1109
|
overflow: "hidden",
|
|
1121
|
-
"box-shadow":
|
|
1122
|
-
"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
|
|
1110
|
+
"box-shadow": "default",
|
|
1123
1111
|
position: "relative",
|
|
1124
1112
|
},
|
|
1125
1113
|
image: {
|
|
@@ -1128,9 +1116,9 @@ export const EventListing: IBlock = {
|
|
|
1128
1116
|
"object-fit": "cover",
|
|
1129
1117
|
},
|
|
1130
1118
|
"text-wrapper": {
|
|
1131
|
-
"padding-left": "
|
|
1119
|
+
"padding-left": "base",
|
|
1132
1120
|
"padding-top": "2xl",
|
|
1133
|
-
"padding-right": "
|
|
1121
|
+
"padding-right": "base",
|
|
1134
1122
|
"padding-bottom": "base",
|
|
1135
1123
|
display: "flex",
|
|
1136
1124
|
"flex-direction": "column",
|
|
@@ -1149,7 +1137,7 @@ export const EventListing: IBlock = {
|
|
|
1149
1137
|
color: "white",
|
|
1150
1138
|
"font-size": "xs",
|
|
1151
1139
|
"line-height": "normal",
|
|
1152
|
-
"background-color": "
|
|
1140
|
+
"background-color": "brand",
|
|
1153
1141
|
"font-weight": 500,
|
|
1154
1142
|
"padding-left": "sm",
|
|
1155
1143
|
"padding-right": "sm",
|
|
@@ -1169,21 +1157,21 @@ export const EventListing: IBlock = {
|
|
|
1169
1157
|
},
|
|
1170
1158
|
"publishedAt-header": {
|
|
1171
1159
|
"font-size": "sm",
|
|
1172
|
-
color: "
|
|
1160
|
+
color: "text-2",
|
|
1173
1161
|
"font-weight": 500,
|
|
1174
1162
|
},
|
|
1175
1163
|
title: {
|
|
1176
1164
|
"font-weight": 600,
|
|
1177
1165
|
"font-size": "xl",
|
|
1178
1166
|
"margin-bottom": "xs",
|
|
1179
|
-
color: "
|
|
1167
|
+
color: "text-1",
|
|
1180
1168
|
},
|
|
1181
1169
|
description: {
|
|
1182
1170
|
overflow: "hidden",
|
|
1183
1171
|
display: "-webkit-box",
|
|
1184
1172
|
"-webkit-box-orient": "vertical",
|
|
1185
1173
|
"-webkit-line-clamp": 3,
|
|
1186
|
-
color: "
|
|
1174
|
+
color: "text-2",
|
|
1187
1175
|
"line-height": 1.5,
|
|
1188
1176
|
},
|
|
1189
1177
|
publishedAt: {
|
|
@@ -1192,10 +1180,9 @@ export const EventListing: IBlock = {
|
|
|
1192
1180
|
},
|
|
1193
1181
|
{
|
|
1194
1182
|
eventWrapper: {
|
|
1195
|
-
"border-radius": "
|
|
1183
|
+
"border-radius": "base",
|
|
1196
1184
|
overflow: "hidden",
|
|
1197
|
-
"box-shadow":
|
|
1198
|
-
"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
|
|
1185
|
+
"box-shadow": "default",
|
|
1199
1186
|
position: "relative",
|
|
1200
1187
|
},
|
|
1201
1188
|
image: {
|
|
@@ -1225,7 +1212,7 @@ export const EventListing: IBlock = {
|
|
|
1225
1212
|
color: "white",
|
|
1226
1213
|
"font-size": "xs",
|
|
1227
1214
|
"line-height": "normal",
|
|
1228
|
-
"background-color": "
|
|
1215
|
+
"background-color": "brand",
|
|
1229
1216
|
"font-weight": 500,
|
|
1230
1217
|
"padding-left": "sm",
|
|
1231
1218
|
"padding-right": "sm",
|
|
@@ -1245,21 +1232,21 @@ export const EventListing: IBlock = {
|
|
|
1245
1232
|
},
|
|
1246
1233
|
"publishedAt-header": {
|
|
1247
1234
|
"font-size": "sm",
|
|
1248
|
-
color: "
|
|
1235
|
+
color: "text-2",
|
|
1249
1236
|
"font-weight": 500,
|
|
1250
1237
|
},
|
|
1251
1238
|
title: {
|
|
1252
1239
|
"font-weight": 600,
|
|
1253
1240
|
"font-size": "xl",
|
|
1254
1241
|
"margin-bottom": "xs",
|
|
1255
|
-
color: "
|
|
1242
|
+
color: "text-1",
|
|
1256
1243
|
},
|
|
1257
1244
|
description: {
|
|
1258
1245
|
overflow: "hidden",
|
|
1259
1246
|
display: "-webkit-box",
|
|
1260
1247
|
"-webkit-box-orient": "vertical",
|
|
1261
1248
|
"-webkit-line-clamp": 3,
|
|
1262
|
-
color: "
|
|
1249
|
+
color: "text-2",
|
|
1263
1250
|
"line-height": 1.5,
|
|
1264
1251
|
},
|
|
1265
1252
|
publishedAt: {
|
|
@@ -1268,10 +1255,9 @@ export const EventListing: IBlock = {
|
|
|
1268
1255
|
},
|
|
1269
1256
|
{
|
|
1270
1257
|
eventWrapper: {
|
|
1271
|
-
"border-radius": "
|
|
1258
|
+
"border-radius": "base",
|
|
1272
1259
|
overflow: "hidden",
|
|
1273
|
-
"box-shadow":
|
|
1274
|
-
"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
|
|
1260
|
+
"box-shadow": "default",
|
|
1275
1261
|
position: "relative",
|
|
1276
1262
|
},
|
|
1277
1263
|
image: {
|
|
@@ -1301,7 +1287,7 @@ export const EventListing: IBlock = {
|
|
|
1301
1287
|
color: "white",
|
|
1302
1288
|
"font-size": "xs",
|
|
1303
1289
|
"line-height": "normal",
|
|
1304
|
-
"background-color": "
|
|
1290
|
+
"background-color": "brand",
|
|
1305
1291
|
"font-weight": 500,
|
|
1306
1292
|
"padding-left": "sm",
|
|
1307
1293
|
"padding-right": "sm",
|
|
@@ -1321,21 +1307,21 @@ export const EventListing: IBlock = {
|
|
|
1321
1307
|
},
|
|
1322
1308
|
"publishedAt-header": {
|
|
1323
1309
|
"font-size": "sm",
|
|
1324
|
-
color: "
|
|
1310
|
+
color: "text-2",
|
|
1325
1311
|
"font-weight": 500,
|
|
1326
1312
|
},
|
|
1327
1313
|
title: {
|
|
1328
1314
|
"font-weight": 600,
|
|
1329
1315
|
"font-size": "xl",
|
|
1330
1316
|
"margin-bottom": "xs",
|
|
1331
|
-
color: "
|
|
1317
|
+
color: "text-1",
|
|
1332
1318
|
},
|
|
1333
1319
|
description: {
|
|
1334
1320
|
overflow: "hidden",
|
|
1335
1321
|
display: "-webkit-box",
|
|
1336
1322
|
"-webkit-box-orient": "vertical",
|
|
1337
1323
|
"-webkit-line-clamp": 3,
|
|
1338
|
-
color: "
|
|
1324
|
+
color: "text-2",
|
|
1339
1325
|
"line-height": 1.5,
|
|
1340
1326
|
},
|
|
1341
1327
|
publishedAt: {
|
|
@@ -1352,7 +1338,16 @@ export const EventListing: IBlock = {
|
|
|
1352
1338
|
},
|
|
1353
1339
|
},
|
|
1354
1340
|
content: DEFAULT_CONTENT_CTA,
|
|
1355
|
-
config: {
|
|
1341
|
+
config: {
|
|
1342
|
+
title: {
|
|
1343
|
+
selectedVariants: {
|
|
1344
|
+
Heading_Level: "H2",
|
|
1345
|
+
},
|
|
1346
|
+
heading: {
|
|
1347
|
+
level: 2,
|
|
1348
|
+
},
|
|
1349
|
+
},
|
|
1350
|
+
},
|
|
1356
1351
|
},
|
|
1357
1352
|
],
|
|
1358
1353
|
};
|
|
@@ -72,9 +72,7 @@ const EventListing: React.FC<ILevoBlockBaseProps<IEventListing>> = () => {
|
|
|
72
72
|
/>
|
|
73
73
|
|
|
74
74
|
<Typography elementKey="paginationText">
|
|
75
|
-
{query?.page}
|
|
76
|
-
{"/"}
|
|
77
|
-
{meta?.pages}
|
|
75
|
+
{`${query?.page || 0}/${meta?.pages || 0}`}
|
|
78
76
|
</Typography>
|
|
79
77
|
<Button
|
|
80
78
|
elementKey="paginationRightButton"
|
|
@@ -287,6 +287,7 @@ export const Faq1: IBlock = {
|
|
|
287
287
|
faq_image: {
|
|
288
288
|
height: "479px",
|
|
289
289
|
width: "356px",
|
|
290
|
+
"border-radius": "base",
|
|
290
291
|
tablet: {
|
|
291
292
|
width: "300px",
|
|
292
293
|
height: "403px",
|
|
@@ -296,17 +297,10 @@ export const Faq1: IBlock = {
|
|
|
296
297
|
},
|
|
297
298
|
},
|
|
298
299
|
faq_label: {
|
|
299
|
-
|
|
300
|
-
"font-weight": 600,
|
|
301
|
-
tablet: {
|
|
302
|
-
"font-size": "base",
|
|
303
|
-
},
|
|
300
|
+
color: "text-2",
|
|
304
301
|
},
|
|
305
302
|
title: {
|
|
306
|
-
|
|
307
|
-
tablet: {
|
|
308
|
-
"font-size": "2xl",
|
|
309
|
-
},
|
|
303
|
+
color: "text-1",
|
|
310
304
|
},
|
|
311
305
|
cta: {
|
|
312
306
|
width: "fit-content",
|
|
@@ -351,7 +345,16 @@ export const Faq1: IBlock = {
|
|
|
351
345
|
}),
|
|
352
346
|
},
|
|
353
347
|
content: DEFAULT_CONTENT,
|
|
354
|
-
config: {
|
|
348
|
+
config: {
|
|
349
|
+
title: {
|
|
350
|
+
heading: {
|
|
351
|
+
level: 2,
|
|
352
|
+
},
|
|
353
|
+
selectedVariants: {
|
|
354
|
+
Heading_Level: "H2",
|
|
355
|
+
},
|
|
356
|
+
},
|
|
357
|
+
},
|
|
355
358
|
},
|
|
356
359
|
],
|
|
357
360
|
};
|