@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
package/src/blocks/faq/faq-1.tsx
CHANGED
|
@@ -23,6 +23,7 @@ const Faq1: React.FC<ILevoBlockBaseProps<IFaq1Content>> = ({ content }) => (
|
|
|
23
23
|
<Box elementKey="text_container">
|
|
24
24
|
<Typography elementKey="faq_label" />
|
|
25
25
|
<Heading elementKey="title" />
|
|
26
|
+
<Typography elementKey="description" />
|
|
26
27
|
</Box>
|
|
27
28
|
|
|
28
29
|
<AccordionRoot
|
|
@@ -41,12 +42,12 @@ const Faq1: React.FC<ILevoBlockBaseProps<IFaq1Content>> = ({ content }) => (
|
|
|
41
42
|
<AccordionTrigger elementKey={`faqs.${index}.trigger`}>
|
|
42
43
|
<Box elementKey={`faqs.${index}.iconQuestionWrapper`}>
|
|
43
44
|
<Icon elementKey={`faqs.${index}.triggerIcon`} />
|
|
44
|
-
<
|
|
45
|
+
<Heading elementKey={`faqs.${index}.question`} />
|
|
45
46
|
</Box>
|
|
46
47
|
</AccordionTrigger>
|
|
47
48
|
<AccordionContent elementKey={`faqs.${index}.content`}>
|
|
48
49
|
<Typography elementKey={`faqs.${index}.answer`} />
|
|
49
|
-
<Box elementKey={`faqs.${index}.
|
|
50
|
+
<Box elementKey={`faqs.${index}.features_levoGroup`}>
|
|
50
51
|
{(item.features ?? []).map(
|
|
51
52
|
(feature: any, featureIndex: number) => (
|
|
52
53
|
<Box
|
|
@@ -67,7 +68,15 @@ const Faq1: React.FC<ILevoBlockBaseProps<IFaq1Content>> = ({ content }) => (
|
|
|
67
68
|
</AccordionItem>
|
|
68
69
|
))}
|
|
69
70
|
</AccordionRoot>
|
|
70
|
-
<
|
|
71
|
+
<Box elementKey="ctas_levoGroup" data-levo_group>
|
|
72
|
+
{(content?.ctas ?? []).map((_: any, index: number) => (
|
|
73
|
+
<Button
|
|
74
|
+
key={`ctas.${index}.cta`}
|
|
75
|
+
elementKey={`ctas.${index}.cta`}
|
|
76
|
+
data-levo_group_item
|
|
77
|
+
/>
|
|
78
|
+
))}
|
|
79
|
+
</Box>
|
|
71
80
|
</Box>
|
|
72
81
|
<Image
|
|
73
82
|
elementKey="faq_image"
|
|
@@ -11,24 +11,29 @@ const DUMMY_IMAGE = {
|
|
|
11
11
|
},
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
-
const
|
|
15
|
-
id: "
|
|
16
|
-
|
|
14
|
+
const MEDIA = {
|
|
15
|
+
id: "zuc3twW4Y6dAK",
|
|
16
|
+
filename: "faq-2-1.png",
|
|
17
17
|
kind: "image",
|
|
18
|
-
|
|
18
|
+
location: "https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD.png",
|
|
19
19
|
srcset: {
|
|
20
20
|
"1080w":
|
|
21
|
-
"https://
|
|
21
|
+
"https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-1080w.webp",
|
|
22
22
|
"1200w":
|
|
23
|
-
"https://
|
|
23
|
+
"https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-1200w.webp",
|
|
24
24
|
"1920w":
|
|
25
|
-
"https://
|
|
26
|
-
"320w":
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
"https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-1920w.webp",
|
|
26
|
+
"320w":
|
|
27
|
+
"https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-320w.webp",
|
|
28
|
+
"640w":
|
|
29
|
+
"https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-640w.webp",
|
|
30
|
+
"750w":
|
|
31
|
+
"https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-750w.webp",
|
|
32
|
+
"828w":
|
|
33
|
+
"https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-828w.webp",
|
|
34
|
+
path: "https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-1920w.webp 1920w",
|
|
31
35
|
},
|
|
36
|
+
mimetype: "image/png",
|
|
32
37
|
};
|
|
33
38
|
|
|
34
39
|
const DEFAULT_CONTENT = {
|
|
@@ -42,6 +47,8 @@ const DEFAULT_CONTENT = {
|
|
|
42
47
|
text_container: null,
|
|
43
48
|
faq_label: "FAQ's",
|
|
44
49
|
title: "Legal Queries Solved",
|
|
50
|
+
description:
|
|
51
|
+
"We're here to help you navigate the complexities of the legal system.",
|
|
45
52
|
|
|
46
53
|
faqs: [
|
|
47
54
|
{
|
|
@@ -53,7 +60,7 @@ const DEFAULT_CONTENT = {
|
|
|
53
60
|
question: "How do I initiate a legal consultation with your team?",
|
|
54
61
|
answer:
|
|
55
62
|
"Simply reach out through our contact page, and our team will promptly schedule a confidential consultation to address your legal concerns",
|
|
56
|
-
media:
|
|
63
|
+
media: MEDIA,
|
|
57
64
|
},
|
|
58
65
|
{
|
|
59
66
|
wrapper: null,
|
|
@@ -64,7 +71,7 @@ const DEFAULT_CONTENT = {
|
|
|
64
71
|
question: "What areas of law does your firm specialize in?",
|
|
65
72
|
answer:
|
|
66
73
|
"Simply reach out through our contact page, and our team will promptly schedule a confidential consultation to address your legal concerns",
|
|
67
|
-
media:
|
|
74
|
+
media: MEDIA,
|
|
68
75
|
},
|
|
69
76
|
{
|
|
70
77
|
wrapper: null,
|
|
@@ -75,7 +82,7 @@ const DEFAULT_CONTENT = {
|
|
|
75
82
|
question: "How does your fee structure work?",
|
|
76
83
|
answer:
|
|
77
84
|
"Simply reach out through our contact page, and our team will promptly schedule a confidential consultation to address your legal concerns",
|
|
78
|
-
media:
|
|
85
|
+
media: MEDIA,
|
|
79
86
|
},
|
|
80
87
|
{
|
|
81
88
|
wrapper: null,
|
|
@@ -86,11 +93,12 @@ const DEFAULT_CONTENT = {
|
|
|
86
93
|
question: "What sets your legal team apart from others?",
|
|
87
94
|
answer:
|
|
88
95
|
"Simply reach out through our contact page, and our team will promptly schedule a confidential consultation to address your legal concerns",
|
|
89
|
-
media:
|
|
96
|
+
media: MEDIA,
|
|
90
97
|
},
|
|
91
98
|
],
|
|
92
99
|
|
|
93
|
-
|
|
100
|
+
ctas_levoGroup: null,
|
|
101
|
+
ctas: [{ cta: "More about us" }, { cta: "Get Started" }],
|
|
94
102
|
};
|
|
95
103
|
|
|
96
104
|
export type IFaq2Content = typeof DEFAULT_CONTENT;
|
|
@@ -149,6 +157,11 @@ export const Faq2: IBlock = {
|
|
|
149
157
|
max_characters: 40,
|
|
150
158
|
},
|
|
151
159
|
},
|
|
160
|
+
{
|
|
161
|
+
key: "description",
|
|
162
|
+
label: "Description",
|
|
163
|
+
field_interface: "TypographyWidget",
|
|
164
|
+
},
|
|
152
165
|
{
|
|
153
166
|
key: "faqs",
|
|
154
167
|
label: "FAQs",
|
|
@@ -233,9 +246,17 @@ export const Faq2: IBlock = {
|
|
|
233
246
|
},
|
|
234
247
|
},
|
|
235
248
|
{
|
|
236
|
-
key: "
|
|
237
|
-
label: "CTA",
|
|
238
|
-
field_interface: "
|
|
249
|
+
key: "ctas",
|
|
250
|
+
label: "CTA Buttons Group",
|
|
251
|
+
field_interface: "BoxWidget",
|
|
252
|
+
kind: "group",
|
|
253
|
+
fields: [
|
|
254
|
+
{
|
|
255
|
+
key: "cta",
|
|
256
|
+
label: "CTA Button",
|
|
257
|
+
field_interface: "ButtonWidget",
|
|
258
|
+
},
|
|
259
|
+
],
|
|
239
260
|
},
|
|
240
261
|
],
|
|
241
262
|
layouts: [
|
|
@@ -243,19 +264,9 @@ export const Faq2: IBlock = {
|
|
|
243
264
|
key: "default",
|
|
244
265
|
title: "Default",
|
|
245
266
|
styles: {
|
|
246
|
-
layout: {
|
|
247
|
-
padding: "112px",
|
|
248
|
-
width: "100%",
|
|
249
|
-
tablet: {
|
|
250
|
-
padding: "50px",
|
|
251
|
-
},
|
|
252
|
-
mobile: {
|
|
253
|
-
padding: "40px",
|
|
254
|
-
},
|
|
255
|
-
},
|
|
267
|
+
layout: {},
|
|
256
268
|
container: {
|
|
257
269
|
display: "flex",
|
|
258
|
-
width: "100%",
|
|
259
270
|
"align-items": "center",
|
|
260
271
|
"justify-content": "between",
|
|
261
272
|
"column-gap": "12xl",
|
|
@@ -286,6 +297,7 @@ export const Faq2: IBlock = {
|
|
|
286
297
|
faq_image: {
|
|
287
298
|
height: "479px",
|
|
288
299
|
width: "356px",
|
|
300
|
+
"border-radius": "base",
|
|
289
301
|
tablet: {
|
|
290
302
|
width: "300px",
|
|
291
303
|
height: "403px",
|
|
@@ -294,53 +306,90 @@ export const Faq2: IBlock = {
|
|
|
294
306
|
display: "none",
|
|
295
307
|
},
|
|
296
308
|
},
|
|
297
|
-
faq_label: {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
309
|
+
faq_label: {},
|
|
310
|
+
title: {},
|
|
311
|
+
ctas_levoGroup: {
|
|
312
|
+
display: "flex",
|
|
313
|
+
"flex-direction": "row",
|
|
314
|
+
"column-gap": "md",
|
|
315
|
+
"row-gap": "md",
|
|
316
|
+
"flex-wrap": "wrap",
|
|
317
|
+
"align-items": "center",
|
|
305
318
|
},
|
|
319
|
+
ctas: Array(2)
|
|
320
|
+
.fill(0)
|
|
321
|
+
.map(() => ({
|
|
322
|
+
width: "fit-content",
|
|
323
|
+
})),
|
|
306
324
|
faqs: Array(4)
|
|
307
|
-
.fill(
|
|
308
|
-
.map((v) => {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
325
|
+
.fill(0)
|
|
326
|
+
.map((v) => ({
|
|
327
|
+
wrapper: {
|
|
328
|
+
"padding-top": "none",
|
|
329
|
+
"padding-bottom": "none",
|
|
330
|
+
"border-color": "var(--color-border)",
|
|
331
|
+
"border-bottom-width": "1px",
|
|
332
|
+
"border-style": "solid",
|
|
333
|
+
},
|
|
334
|
+
question: {
|
|
335
|
+
"font-weight": 600,
|
|
336
|
+
tablet: {
|
|
337
|
+
"text-align": "left",
|
|
316
338
|
},
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
339
|
+
},
|
|
340
|
+
content: {
|
|
341
|
+
"padding-top": "none",
|
|
342
|
+
"padding-bottom": "lg",
|
|
343
|
+
},
|
|
344
|
+
trigger: {
|
|
345
|
+
width: "100%",
|
|
346
|
+
display: "flex",
|
|
347
|
+
"align-items": "center",
|
|
348
|
+
"justify-content": "space-between",
|
|
349
|
+
"padding-top": "base",
|
|
350
|
+
"padding-bottom": "base",
|
|
351
|
+
},
|
|
352
|
+
iconQuestionWrapper: {
|
|
353
|
+
display: "flex",
|
|
354
|
+
"align-items": "center",
|
|
355
|
+
"column-gap": "base",
|
|
356
|
+
},
|
|
357
|
+
features_list: {
|
|
358
|
+
display: "flex",
|
|
359
|
+
"flex-direction": "row",
|
|
360
|
+
"column-gap": "lg",
|
|
361
|
+
"margin-top": "base",
|
|
362
|
+
"flex-wrap": "wrap",
|
|
363
|
+
},
|
|
364
|
+
features: Array(4)
|
|
365
|
+
.fill(0)
|
|
366
|
+
.map((v) => ({
|
|
367
|
+
wrapper: {
|
|
368
|
+
display: "flex",
|
|
369
|
+
"align-items": "center",
|
|
370
|
+
"column-gap": "xs",
|
|
371
|
+
"background-color": "brand",
|
|
372
|
+
"padding-left": "sm",
|
|
373
|
+
"padding-right": "sm",
|
|
374
|
+
"padding-top": "2xs",
|
|
375
|
+
"padding-bottom": "2xs",
|
|
376
|
+
"border-radius": "md",
|
|
323
377
|
},
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
"align-items": "center",
|
|
340
|
-
"column-gap": "base",
|
|
341
|
-
},
|
|
342
|
-
};
|
|
343
|
-
}),
|
|
378
|
+
icon: {
|
|
379
|
+
width: "16px",
|
|
380
|
+
height: "16px",
|
|
381
|
+
},
|
|
382
|
+
label: {
|
|
383
|
+
color: "brandForeground",
|
|
384
|
+
},
|
|
385
|
+
})),
|
|
386
|
+
features_levoGroup: {
|
|
387
|
+
display: "flex",
|
|
388
|
+
"flex-direction": "column",
|
|
389
|
+
"row-gap": "base",
|
|
390
|
+
"margin-top": "base",
|
|
391
|
+
},
|
|
392
|
+
})),
|
|
344
393
|
},
|
|
345
394
|
content: DEFAULT_CONTENT,
|
|
346
395
|
config: {
|
|
@@ -352,6 +401,20 @@ export const Faq2: IBlock = {
|
|
|
352
401
|
Heading_Level: "H2",
|
|
353
402
|
},
|
|
354
403
|
},
|
|
404
|
+
faqs: Array(4)
|
|
405
|
+
.fill(0)
|
|
406
|
+
.map((v) => {
|
|
407
|
+
return {
|
|
408
|
+
question: {
|
|
409
|
+
heading: {
|
|
410
|
+
level: "4",
|
|
411
|
+
},
|
|
412
|
+
selectedVariants: {
|
|
413
|
+
Heading_Level: "H5",
|
|
414
|
+
},
|
|
415
|
+
},
|
|
416
|
+
};
|
|
417
|
+
}),
|
|
355
418
|
},
|
|
356
419
|
},
|
|
357
420
|
],
|
package/src/blocks/faq/faq-2.tsx
CHANGED
|
@@ -41,6 +41,7 @@ const Faq2: React.FC<ILevoBlockBaseProps<IFaq2Content>> = ({ content }) => {
|
|
|
41
41
|
<Box elementKey="text_container">
|
|
42
42
|
<Typography elementKey="faq_label" />
|
|
43
43
|
<Heading elementKey="title" />
|
|
44
|
+
<Typography elementKey="description" />
|
|
44
45
|
</Box>
|
|
45
46
|
|
|
46
47
|
<AccordionRoot
|
|
@@ -69,7 +70,15 @@ const Faq2: React.FC<ILevoBlockBaseProps<IFaq2Content>> = ({ content }) => {
|
|
|
69
70
|
</AccordionItem>
|
|
70
71
|
))}
|
|
71
72
|
</AccordionRoot>
|
|
72
|
-
<
|
|
73
|
+
<Box elementKey="ctas_levoGroup" data-levo_group>
|
|
74
|
+
{(content?.ctas ?? []).map((_: any, index: number) => (
|
|
75
|
+
<Button
|
|
76
|
+
key={`ctas.${index}.cta`}
|
|
77
|
+
elementKey={`ctas.${index}.cta`}
|
|
78
|
+
data-levo_group_item
|
|
79
|
+
/>
|
|
80
|
+
))}
|
|
81
|
+
</Box>
|
|
73
82
|
</Box>
|
|
74
83
|
<Media
|
|
75
84
|
elementKey={`faqs.${activeIndex}.media`}
|