@levo-so/blocks 0.1.59 → 0.1.61
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 +6 -6
- package/src/blocks/about-us/about-us-1.schema.ts +60 -58
- package/src/blocks/about-us/about-us-1.tsx +2 -4
- package/src/blocks/about-us/about-us-2.schema.ts +165 -42
- package/src/blocks/about-us/about-us-2.tsx +7 -13
- package/src/blocks/blogs/blog-listing-1.schema.ts +7 -14
- package/src/blocks/blogs/blog-listing-1.tsx +27 -36
- package/src/blocks/blogs/blog-listing-2.schema.ts +17 -34
- package/src/blocks/blogs/blog-listing-2.tsx +21 -27
- package/src/blocks/blogs/blog-listing-3.schema.ts +32 -64
- package/src/blocks/blogs/blog-listing-3.tsx +21 -27
- package/src/blocks/blogs/blog-post-1.schema.ts +9 -18
- package/src/blocks/blogs/blog-post-1.tsx +3 -14
- package/src/blocks/calendar/calendar-1.schema.ts +351 -180
- package/src/blocks/calendar/calendar-1.tsx +60 -25
- package/src/blocks/cards/cards-10.schema.ts +278 -331
- package/src/blocks/cards/cards-10.tsx +18 -15
- package/src/blocks/cards/cards-11.schema.ts +178 -356
- package/src/blocks/cards/cards-11.tsx +5 -11
- package/src/blocks/cards/cards-12.schema.ts +110 -196
- package/src/blocks/cards/cards-12.tsx +4 -10
- package/src/blocks/cards/cards-13.schema.ts +131 -120
- package/src/blocks/cards/cards-13.tsx +4 -6
- package/src/blocks/cards/cards-14.schema.ts +51 -154
- package/src/blocks/cards/cards-14.tsx +5 -11
- package/src/blocks/cards/cards-15.schema.ts +48 -32
- package/src/blocks/cards/cards-15.tsx +15 -6
- package/src/blocks/cards/cards-2.schema.ts +76 -88
- package/src/blocks/cards/cards-2.tsx +12 -17
- package/src/blocks/cards/cards-3.schema.ts +68 -70
- package/src/blocks/cards/cards-3.tsx +7 -13
- package/src/blocks/cards/cards-4.schema.ts +160 -115
- package/src/blocks/cards/cards-4.tsx +22 -17
- package/src/blocks/cards/cards-5.schema.ts +76 -70
- package/src/blocks/cards/cards-5.tsx +10 -10
- package/src/blocks/cards/cards-6.schema.ts +755 -985
- package/src/blocks/cards/cards-6.tsx +17 -9
- package/src/blocks/cards/cards-7.schema.ts +754 -2250
- package/src/blocks/cards/cards-7.tsx +18 -24
- package/src/blocks/cards/cards-8.schema.ts +171 -363
- package/src/blocks/cards/cards-8.tsx +15 -8
- package/src/blocks/cards/cards-9.schema.ts +283 -329
- package/src/blocks/cards/cards-9.tsx +28 -12
- package/src/blocks/carousel/carousel-1.schema.ts +418 -49
- package/src/blocks/carousel/carousel-1.tsx +8 -8
- package/src/blocks/carousel/carousel-2.schema.ts +153 -127
- package/src/blocks/carousel/carousel-2.tsx +16 -20
- package/src/blocks/community/community-1.schema.ts +612 -0
- package/src/blocks/community/community-1.tsx +557 -0
- package/src/blocks/community/community-post-1.schema.ts +408 -0
- package/src/blocks/community/community-post-1.tsx +405 -0
- package/src/blocks/contact-us/contact-us-1.schema.ts +25 -43
- package/src/blocks/contact-us/contact-us-1.tsx +2 -12
- package/src/blocks/contact-us/contact-us-2.schema.ts +39 -17
- package/src/blocks/contact-us/contact-us-2.tsx +21 -32
- package/src/blocks/content/content-1.schema.ts +163 -234
- package/src/blocks/content/content-1.tsx +46 -43
- package/src/blocks/content/content-2.schema.ts +117 -35
- package/src/blocks/content/content-2.tsx +19 -7
- package/src/blocks/content/content-3.schema.ts +215 -205
- package/src/blocks/content/content-3.tsx +14 -18
- package/src/blocks/content/content-4.schema.ts +105 -89
- package/src/blocks/content/content-4.tsx +10 -18
- package/src/blocks/content/content-5.schema.ts +301 -278
- package/src/blocks/content/content-5.tsx +23 -16
- package/src/blocks/content/content-6.schema.ts +432 -250
- package/src/blocks/content/content-6.tsx +24 -19
- package/src/blocks/content/content-7.schema.ts +200 -197
- package/src/blocks/content/content-7.tsx +29 -21
- package/src/blocks/content/content-8.schema.ts +28 -23
- package/src/blocks/content/content-8.tsx +3 -3
- package/src/blocks/content/content-9.schema.ts +64 -2208
- package/src/blocks/content/content-9.tsx +31 -43
- package/src/blocks/cta/cta-1.schema.ts +23 -128
- package/src/blocks/cta/cta-2.schema.ts +46 -69
- package/src/blocks/cta/cta-2.tsx +2 -6
- package/src/blocks/cta/cta-3.schema.ts +77 -72
- package/src/blocks/cta/cta-3.tsx +2 -6
- package/src/blocks/embed/embed-1.schema.ts +30 -52
- package/src/blocks/embed/embed-1.tsx +1 -9
- package/src/blocks/event/ClientOnly.tsx +1 -4
- package/src/blocks/event/event-details.schema.ts +23 -32
- package/src/blocks/event/event-details.tsx +9 -23
- package/src/blocks/event/event-listing-2.schema.ts +19 -38
- package/src/blocks/event/event-listing-2.tsx +29 -38
- package/src/blocks/event/event-listing-3.schema.ts +10 -20
- package/src/blocks/event/event-listing-3.tsx +26 -30
- package/src/blocks/event/event-listing-4.schema.ts +40 -80
- package/src/blocks/event/event-listing-4.tsx +22 -28
- package/src/blocks/event/event-listing.schema.ts +12 -24
- package/src/blocks/event/event-listing.tsx +26 -30
- package/src/blocks/faq/faq-1.schema.ts +150 -112
- package/src/blocks/faq/faq-1.tsx +31 -33
- package/src/blocks/faq/faq-2.schema.ts +132 -77
- package/src/blocks/faq/faq-2.tsx +21 -11
- package/src/blocks/faq/faq-3.schema.ts +178 -107
- package/src/blocks/faq/faq-3.tsx +30 -22
- package/src/blocks/features/features-1/features-1.schema.ts +11 -3
- package/src/blocks/features/features-1/features-1.tsx +12 -5
- package/src/blocks/features/features-1/variants/default.ts +176 -62
- package/src/blocks/features/features-1/variants/index.ts +1 -1
- 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 +149 -48
- package/src/blocks/features/features-2.tsx +18 -12
- package/src/blocks/features/features-3.schema.ts +255 -68
- package/src/blocks/features/features-3.tsx +25 -15
- package/src/blocks/features/features-4.schema.ts +367 -188
- package/src/blocks/features/features-4.tsx +12 -8
- package/src/blocks/features/features-5.schema.ts +195 -200
- package/src/blocks/features/features-5.tsx +14 -14
- package/src/blocks/features/features-6.schema.ts +230 -215
- package/src/blocks/features/features-6.tsx +28 -34
- package/src/blocks/filter-listing/filter-listing-1.tsx +12 -36
- package/src/blocks/floating-buttons/floating-button-1.schema.ts +100 -0
- package/src/blocks/floating-buttons/floating-button-1.tsx +14 -0
- package/src/blocks/footer/footer-1.schema.ts +110 -48
- package/src/blocks/footer/footer-1.tsx +17 -31
- package/src/blocks/footer/footer-2.schema.ts +230 -34
- package/src/blocks/footer/footer-2.tsx +19 -29
- package/src/blocks/footer/footer-3.schema.ts +335 -59
- package/src/blocks/footer/footer-3.tsx +11 -26
- package/src/blocks/footer/footer-4.schema.ts +139 -76
- package/src/blocks/footer/footer-4.tsx +37 -55
- package/src/blocks/footer/footer-5.schema.ts +138 -60
- package/src/blocks/footer/footer-5.tsx +16 -30
- package/src/blocks/footer/footer-6.schema.ts +62 -149
- package/src/blocks/footer/footer-6.tsx +30 -44
- package/src/blocks/form/form-1.schema.ts +144 -0
- package/src/blocks/form/form-1.tsx +33 -0
- package/src/blocks/hero/hero-1.schema.ts +153 -101
- package/src/blocks/hero/hero-1.tsx +4 -4
- package/src/blocks/hero/hero-10.schema.ts +9 -31
- package/src/blocks/hero/hero-10.tsx +4 -4
- package/src/blocks/hero/hero-11.schema.ts +196 -89
- package/src/blocks/hero/hero-11.tsx +5 -10
- package/src/blocks/hero/hero-12.schema.ts +111 -192
- package/src/blocks/hero/hero-12.tsx +4 -7
- package/src/blocks/hero/hero-13.schema.ts +36 -30
- package/src/blocks/hero/hero-13.tsx +1 -1
- package/src/blocks/hero/hero-2.schema.ts +30 -58
- package/src/blocks/hero/hero-2.tsx +3 -21
- package/src/blocks/hero/hero-3.schema.ts +70 -90
- package/src/blocks/hero/hero-3.tsx +6 -15
- package/src/blocks/hero/hero-4.schema.ts +246 -73
- package/src/blocks/hero/hero-4.tsx +22 -16
- package/src/blocks/hero/hero-5.schema.ts +104 -47
- package/src/blocks/hero/hero-5.tsx +21 -12
- package/src/blocks/hero/hero-6.schema.ts +127 -258
- package/src/blocks/hero/hero-6.tsx +6 -6
- package/src/blocks/hero/hero-7.schema.ts +90 -43
- package/src/blocks/hero/hero-7.tsx +6 -4
- package/src/blocks/hero/hero-8.schema.ts +342 -138
- package/src/blocks/hero/hero-8.tsx +23 -13
- package/src/blocks/hero/hero-9.schema.ts +111 -86
- package/src/blocks/hero/hero-9.tsx +12 -4
- package/src/blocks/index.ts +12 -8
- package/src/blocks/jobs/jobs-1.schema.ts +990 -0
- package/src/blocks/jobs/jobs-1.tsx +145 -0
- package/src/blocks/logos/logos-1.schema.ts +370 -36
- package/src/blocks/logos/logos-1.tsx +7 -7
- package/src/blocks/navbar/navbar-1.schema.ts +15 -28
- package/src/blocks/navbar/navbar-1.tsx +24 -60
- package/src/blocks/navbar/navbar-2.schema.ts +14 -28
- package/src/blocks/navbar/navbar-2.tsx +26 -56
- package/src/blocks/navbar/navbar-3.schema.ts +11 -22
- package/src/blocks/navbar/navbar-3.tsx +33 -82
- package/src/blocks/navbar/navbar-4.schema.ts +14343 -0
- package/src/blocks/navbar/navbar-4.tsx +546 -0
- package/src/blocks/polling/polling-1.schema.ts +2 -21
- package/src/blocks/polling/polling-1.tsx +24 -39
- package/src/blocks/pricing/pricing-1.schema.ts +307 -290
- package/src/blocks/pricing/pricing-1.tsx +32 -42
- package/src/blocks/products/products-listing-1.schema.ts +115 -36
- package/src/blocks/products/products-listing-1.tsx +15 -13
- package/src/blocks/products/products-listing-2.schema.ts +178 -220
- package/src/blocks/products/products-listing-2.tsx +29 -16
- package/src/blocks/products/products-listing-3.schema.ts +412 -154
- package/src/blocks/products/products-listing-3.tsx +102 -73
- package/src/blocks/profile/profile-1.schema.ts +60 -49
- package/src/blocks/profile/profile-1.tsx +5 -10
- package/src/blocks/profile/profile-2.schema.ts +71 -92
- package/src/blocks/profile/profile-2.tsx +6 -7
- package/src/blocks/profile/profile-3.schema.ts +141 -529
- package/src/blocks/profile/profile-3.tsx +19 -41
- package/src/blocks/{blogs/blog-post-2.schema.ts → profile/profile-4.schema.ts} +75 -97
- package/src/blocks/{blogs/blog-post-2.tsx → profile/profile-4.tsx} +32 -61
- package/src/blocks/{blogs/blog-post-3.schema.ts → profile/profile-5.schema.ts} +6 -6
- package/src/blocks/{blogs/blog-post-3.tsx → profile/profile-5.tsx} +6 -11
- package/src/blocks/services/service-1.schema.ts +210 -830
- package/src/blocks/services/service-1.tsx +46 -59
- package/src/blocks/services/service-2.schema.ts +92 -80
- package/src/blocks/services/service-2.tsx +13 -7
- package/src/blocks/services/service-3.schema.ts +74 -86
- package/src/blocks/services/service-3.tsx +44 -45
- package/src/blocks/stats/stats-1.schema.ts +225 -21
- package/src/blocks/stats/stats-1.tsx +7 -14
- package/src/blocks/stats/stats-2.schema.ts +13 -5
- package/src/blocks/stats/stats-2.tsx +12 -15
- package/src/blocks/stats/variants/default.ts +59 -41
- package/src/blocks/stats/variants/hero.ts +64 -31
- package/src/blocks/stats/variants/index.ts +1 -1
- package/src/blocks/tabs/tab-1.schema.ts +103 -409
- package/src/blocks/tabs/tab-1.tsx +47 -53
- package/src/blocks/tabs/tab-2.schema.ts +207 -290
- package/src/blocks/tabs/tab-2.tsx +20 -9
- package/src/blocks/team/team-1.schema.ts +593 -76
- package/src/blocks/team/team-1.tsx +16 -22
- package/src/blocks/team/team-2.schema.ts +621 -1453
- package/src/blocks/team/team-2.tsx +19 -34
- package/src/blocks/team/team-3.schema.ts +127 -78
- package/src/blocks/team/team-3.tsx +9 -14
- package/src/blocks/team/team-4.schema.ts +197 -63
- package/src/blocks/team/team-4.tsx +25 -26
- package/src/blocks/team/team-5.schema.ts +65 -54
- package/src/blocks/team/team-5.tsx +13 -4
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +9 -26
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.tsx +4 -6
- package/src/blocks/testimonial/testimonial-1.schema.ts +713 -65
- package/src/blocks/testimonial/testimonial-1.tsx +12 -23
- package/src/blocks/testimonial/testimonial-2.schema.ts +1316 -354
- package/src/blocks/testimonial/testimonial-2.tsx +21 -37
- package/src/blocks/testimonial/testimonial-3.schema.ts +210 -74
- package/src/blocks/testimonial/testimonial-3.tsx +17 -27
- package/src/blocks/testimonial/testimonial-4.schema.ts +353 -1049
- package/src/blocks/testimonial/testimonial-4.tsx +16 -34
- package/src/blocks/testimonial/testimonial-5/variants/default.ts +155 -171
- package/src/blocks/testimonial/testimonial-5/variants/index.ts +1 -1
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +201 -501
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +166 -316
- package/src/blocks/testimonial/testimonial-5.schema.ts +2 -6
- package/src/blocks/testimonial/testimonial-5.tsx +15 -25
- package/src/blocks/testimonial/testimonial-6.schema.ts +226 -315
- package/src/blocks/testimonial/testimonial-6.tsx +9 -25
- package/src/blocks/testimonial/testimonial-7.schema.ts +74 -45
- package/src/blocks/testimonial/testimonial-7.tsx +16 -27
- package/src/blocks/timeline/timeline-1.schema.ts +166 -153
- package/src/blocks/timeline/timeline-1.tsx +6 -7
- package/src/blocks/users/edit-profile.schema.ts +56 -44
- package/src/blocks/users/edit-profile.tsx +23 -28
- package/src/constants/index.ts +16 -0
- package/src/index.ts +1 -1
- package/src/schemas/blocks.ts +17 -5
- package/src/schemas/categories.ts +26 -2
|
@@ -11,24 +11,22 @@ 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
|
-
"1080w":
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
"750w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp",
|
|
29
|
-
"828w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp",
|
|
30
|
-
path: "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp 640w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp 1080w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp 1200w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp 1920w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp 320w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp 750w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp 828w",
|
|
20
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-1080w.webp",
|
|
21
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-1200w.webp",
|
|
22
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-1920w.webp",
|
|
23
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-320w.webp",
|
|
24
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-640w.webp",
|
|
25
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-750w.webp",
|
|
26
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/faq-2-1-dO4QMwFgYhADD-828w.webp",
|
|
27
|
+
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
28
|
},
|
|
29
|
+
mimetype: "image/png",
|
|
32
30
|
};
|
|
33
31
|
|
|
34
32
|
const DEFAULT_CONTENT = {
|
|
@@ -42,6 +40,7 @@ const DEFAULT_CONTENT = {
|
|
|
42
40
|
text_container: null,
|
|
43
41
|
faq_label: "FAQ's",
|
|
44
42
|
title: "Legal Queries Solved",
|
|
43
|
+
description: "We're here to help you navigate the complexities of the legal system.",
|
|
45
44
|
|
|
46
45
|
faqs: [
|
|
47
46
|
{
|
|
@@ -53,7 +52,7 @@ const DEFAULT_CONTENT = {
|
|
|
53
52
|
question: "How do I initiate a legal consultation with your team?",
|
|
54
53
|
answer:
|
|
55
54
|
"Simply reach out through our contact page, and our team will promptly schedule a confidential consultation to address your legal concerns",
|
|
56
|
-
media:
|
|
55
|
+
media: MEDIA,
|
|
57
56
|
},
|
|
58
57
|
{
|
|
59
58
|
wrapper: null,
|
|
@@ -64,7 +63,7 @@ const DEFAULT_CONTENT = {
|
|
|
64
63
|
question: "What areas of law does your firm specialize in?",
|
|
65
64
|
answer:
|
|
66
65
|
"Simply reach out through our contact page, and our team will promptly schedule a confidential consultation to address your legal concerns",
|
|
67
|
-
media:
|
|
66
|
+
media: MEDIA,
|
|
68
67
|
},
|
|
69
68
|
{
|
|
70
69
|
wrapper: null,
|
|
@@ -75,7 +74,7 @@ const DEFAULT_CONTENT = {
|
|
|
75
74
|
question: "How does your fee structure work?",
|
|
76
75
|
answer:
|
|
77
76
|
"Simply reach out through our contact page, and our team will promptly schedule a confidential consultation to address your legal concerns",
|
|
78
|
-
media:
|
|
77
|
+
media: MEDIA,
|
|
79
78
|
},
|
|
80
79
|
{
|
|
81
80
|
wrapper: null,
|
|
@@ -86,11 +85,12 @@ const DEFAULT_CONTENT = {
|
|
|
86
85
|
question: "What sets your legal team apart from others?",
|
|
87
86
|
answer:
|
|
88
87
|
"Simply reach out through our contact page, and our team will promptly schedule a confidential consultation to address your legal concerns",
|
|
89
|
-
media:
|
|
88
|
+
media: MEDIA,
|
|
90
89
|
},
|
|
91
90
|
],
|
|
92
91
|
|
|
93
|
-
|
|
92
|
+
ctas_levoGroup: null,
|
|
93
|
+
ctas: [{ cta: "More about us" }, { cta: "Get Started" }],
|
|
94
94
|
};
|
|
95
95
|
|
|
96
96
|
export type IFaq2Content = typeof DEFAULT_CONTENT;
|
|
@@ -149,6 +149,11 @@ export const Faq2: IBlock = {
|
|
|
149
149
|
max_characters: 40,
|
|
150
150
|
},
|
|
151
151
|
},
|
|
152
|
+
{
|
|
153
|
+
key: "description",
|
|
154
|
+
label: "Description",
|
|
155
|
+
field_interface: "TypographyWidget",
|
|
156
|
+
},
|
|
152
157
|
{
|
|
153
158
|
key: "faqs",
|
|
154
159
|
label: "FAQs",
|
|
@@ -233,9 +238,17 @@ export const Faq2: IBlock = {
|
|
|
233
238
|
},
|
|
234
239
|
},
|
|
235
240
|
{
|
|
236
|
-
key: "
|
|
237
|
-
label: "CTA",
|
|
238
|
-
field_interface: "
|
|
241
|
+
key: "ctas",
|
|
242
|
+
label: "CTA Buttons Group",
|
|
243
|
+
field_interface: "BoxWidget",
|
|
244
|
+
kind: "group",
|
|
245
|
+
fields: [
|
|
246
|
+
{
|
|
247
|
+
key: "cta",
|
|
248
|
+
label: "CTA Button",
|
|
249
|
+
field_interface: "ButtonWidget",
|
|
250
|
+
},
|
|
251
|
+
],
|
|
239
252
|
},
|
|
240
253
|
],
|
|
241
254
|
layouts: [
|
|
@@ -243,19 +256,9 @@ export const Faq2: IBlock = {
|
|
|
243
256
|
key: "default",
|
|
244
257
|
title: "Default",
|
|
245
258
|
styles: {
|
|
246
|
-
layout: {
|
|
247
|
-
padding: "112px",
|
|
248
|
-
width: "100%",
|
|
249
|
-
tablet: {
|
|
250
|
-
padding: "50px",
|
|
251
|
-
},
|
|
252
|
-
mobile: {
|
|
253
|
-
padding: "40px",
|
|
254
|
-
},
|
|
255
|
-
},
|
|
259
|
+
layout: {},
|
|
256
260
|
container: {
|
|
257
261
|
display: "flex",
|
|
258
|
-
width: "100%",
|
|
259
262
|
"align-items": "center",
|
|
260
263
|
"justify-content": "between",
|
|
261
264
|
"column-gap": "12xl",
|
|
@@ -286,6 +289,7 @@ export const Faq2: IBlock = {
|
|
|
286
289
|
faq_image: {
|
|
287
290
|
height: "479px",
|
|
288
291
|
width: "356px",
|
|
292
|
+
"border-radius": "base",
|
|
289
293
|
tablet: {
|
|
290
294
|
width: "300px",
|
|
291
295
|
height: "403px",
|
|
@@ -294,53 +298,90 @@ export const Faq2: IBlock = {
|
|
|
294
298
|
display: "none",
|
|
295
299
|
},
|
|
296
300
|
},
|
|
297
|
-
faq_label: {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
301
|
+
faq_label: {},
|
|
302
|
+
title: {},
|
|
303
|
+
ctas_levoGroup: {
|
|
304
|
+
display: "flex",
|
|
305
|
+
"flex-direction": "row",
|
|
306
|
+
"column-gap": "md",
|
|
307
|
+
"row-gap": "md",
|
|
308
|
+
"flex-wrap": "wrap",
|
|
309
|
+
"align-items": "center",
|
|
305
310
|
},
|
|
311
|
+
ctas: Array(2)
|
|
312
|
+
.fill(0)
|
|
313
|
+
.map(() => ({
|
|
314
|
+
width: "fit-content",
|
|
315
|
+
})),
|
|
306
316
|
faqs: Array(4)
|
|
307
|
-
.fill(
|
|
308
|
-
.map((v) => {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
317
|
+
.fill(0)
|
|
318
|
+
.map((v) => ({
|
|
319
|
+
wrapper: {
|
|
320
|
+
"padding-top": "none",
|
|
321
|
+
"padding-bottom": "none",
|
|
322
|
+
"border-color": "var(--color-border)",
|
|
323
|
+
"border-bottom-width": "1px",
|
|
324
|
+
"border-style": "solid",
|
|
325
|
+
},
|
|
326
|
+
question: {
|
|
327
|
+
"font-weight": 600,
|
|
328
|
+
tablet: {
|
|
329
|
+
"text-align": "left",
|
|
316
330
|
},
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
331
|
+
},
|
|
332
|
+
content: {
|
|
333
|
+
"padding-top": "none",
|
|
334
|
+
"padding-bottom": "lg",
|
|
335
|
+
},
|
|
336
|
+
trigger: {
|
|
337
|
+
width: "100%",
|
|
338
|
+
display: "flex",
|
|
339
|
+
"align-items": "center",
|
|
340
|
+
"justify-content": "space-between",
|
|
341
|
+
"padding-top": "base",
|
|
342
|
+
"padding-bottom": "base",
|
|
343
|
+
},
|
|
344
|
+
iconQuestionWrapper: {
|
|
345
|
+
display: "flex",
|
|
346
|
+
"align-items": "center",
|
|
347
|
+
"column-gap": "base",
|
|
348
|
+
},
|
|
349
|
+
features_list: {
|
|
350
|
+
display: "flex",
|
|
351
|
+
"flex-direction": "row",
|
|
352
|
+
"column-gap": "lg",
|
|
353
|
+
"margin-top": "base",
|
|
354
|
+
"flex-wrap": "wrap",
|
|
355
|
+
},
|
|
356
|
+
features: Array(4)
|
|
357
|
+
.fill(0)
|
|
358
|
+
.map((v) => ({
|
|
359
|
+
wrapper: {
|
|
360
|
+
display: "flex",
|
|
361
|
+
"align-items": "center",
|
|
362
|
+
"column-gap": "xs",
|
|
363
|
+
"background-color": "brand",
|
|
364
|
+
"padding-left": "sm",
|
|
365
|
+
"padding-right": "sm",
|
|
366
|
+
"padding-top": "2xs",
|
|
367
|
+
"padding-bottom": "2xs",
|
|
368
|
+
"border-radius": "md",
|
|
323
369
|
},
|
|
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
|
-
}),
|
|
370
|
+
icon: {
|
|
371
|
+
width: "16px",
|
|
372
|
+
height: "16px",
|
|
373
|
+
},
|
|
374
|
+
label: {
|
|
375
|
+
color: "brandForeground",
|
|
376
|
+
},
|
|
377
|
+
})),
|
|
378
|
+
features_levoGroup: {
|
|
379
|
+
display: "flex",
|
|
380
|
+
"flex-direction": "column",
|
|
381
|
+
"row-gap": "base",
|
|
382
|
+
"margin-top": "base",
|
|
383
|
+
},
|
|
384
|
+
})),
|
|
344
385
|
},
|
|
345
386
|
content: DEFAULT_CONTENT,
|
|
346
387
|
config: {
|
|
@@ -352,6 +393,20 @@ export const Faq2: IBlock = {
|
|
|
352
393
|
Heading_Level: "H2",
|
|
353
394
|
},
|
|
354
395
|
},
|
|
396
|
+
faqs: Array(4)
|
|
397
|
+
.fill(0)
|
|
398
|
+
.map((v) => {
|
|
399
|
+
return {
|
|
400
|
+
question: {
|
|
401
|
+
heading: {
|
|
402
|
+
level: "4",
|
|
403
|
+
},
|
|
404
|
+
selectedVariants: {
|
|
405
|
+
Heading_Level: "H5",
|
|
406
|
+
},
|
|
407
|
+
},
|
|
408
|
+
};
|
|
409
|
+
}),
|
|
355
410
|
},
|
|
356
411
|
},
|
|
357
412
|
],
|
package/src/blocks/faq/faq-2.tsx
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import React, { useState } from "react";
|
|
4
3
|
import {
|
|
5
|
-
|
|
6
|
-
Heading,
|
|
7
|
-
Icon,
|
|
8
|
-
Typography,
|
|
9
|
-
Container,
|
|
10
|
-
Section,
|
|
11
|
-
Box,
|
|
12
|
-
AccordionRoot,
|
|
4
|
+
AccordionContent,
|
|
13
5
|
AccordionItem,
|
|
6
|
+
AccordionRoot,
|
|
14
7
|
AccordionTrigger,
|
|
15
|
-
|
|
8
|
+
Box,
|
|
16
9
|
Button,
|
|
10
|
+
Container,
|
|
11
|
+
Heading,
|
|
12
|
+
Icon,
|
|
13
|
+
type ILevoBlockBaseProps,
|
|
17
14
|
Media,
|
|
15
|
+
Section,
|
|
16
|
+
Typography,
|
|
18
17
|
} from "@levo-so/studio";
|
|
18
|
+
import type React from "react";
|
|
19
|
+
import { useState } from "react";
|
|
19
20
|
|
|
20
21
|
import type { IFaq2Content } from "./faq-2.schema";
|
|
21
22
|
|
|
@@ -41,6 +42,7 @@ const Faq2: React.FC<ILevoBlockBaseProps<IFaq2Content>> = ({ content }) => {
|
|
|
41
42
|
<Box elementKey="text_container">
|
|
42
43
|
<Typography elementKey="faq_label" />
|
|
43
44
|
<Heading elementKey="title" />
|
|
45
|
+
<Typography elementKey="description" />
|
|
44
46
|
</Box>
|
|
45
47
|
|
|
46
48
|
<AccordionRoot
|
|
@@ -69,7 +71,15 @@ const Faq2: React.FC<ILevoBlockBaseProps<IFaq2Content>> = ({ content }) => {
|
|
|
69
71
|
</AccordionItem>
|
|
70
72
|
))}
|
|
71
73
|
</AccordionRoot>
|
|
72
|
-
<
|
|
74
|
+
<Box elementKey="ctas_levoGroup" data-levo_group>
|
|
75
|
+
{(content?.ctas ?? []).map((_: any, index: number) => (
|
|
76
|
+
<Button
|
|
77
|
+
key={`ctas.${index}.cta`}
|
|
78
|
+
elementKey={`ctas.${index}.cta`}
|
|
79
|
+
data-levo_group_item
|
|
80
|
+
/>
|
|
81
|
+
))}
|
|
82
|
+
</Box>
|
|
73
83
|
</Box>
|
|
74
84
|
<Media
|
|
75
85
|
elementKey={`faqs.${activeIndex}.media`}
|