@levo-so/blocks 0.1.58 → 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
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
import type { IBlock } from "@levo-so/studio";
|
|
2
2
|
|
|
3
|
+
const MEDIA = {
|
|
4
|
+
id: "xloeGCSMg2rlJ",
|
|
5
|
+
filename: "faq-3-1.png",
|
|
6
|
+
kind: "image",
|
|
7
|
+
location: "https://static.levocdn.com/WLZ1TXTD/faq-3-1-VbXF9m7BPiX48.png",
|
|
8
|
+
srcset: {
|
|
9
|
+
"1080w":
|
|
10
|
+
"https://static.levocdn.com/WLZ1TXTD/faq-3-1-VbXF9m7BPiX48-1080w.webp",
|
|
11
|
+
"1200w":
|
|
12
|
+
"https://static.levocdn.com/WLZ1TXTD/faq-3-1-VbXF9m7BPiX48-1200w.webp",
|
|
13
|
+
"1920w":
|
|
14
|
+
"https://static.levocdn.com/WLZ1TXTD/faq-3-1-VbXF9m7BPiX48-1920w.webp",
|
|
15
|
+
"320w":
|
|
16
|
+
"https://static.levocdn.com/WLZ1TXTD/faq-3-1-VbXF9m7BPiX48-320w.webp",
|
|
17
|
+
"640w":
|
|
18
|
+
"https://static.levocdn.com/WLZ1TXTD/faq-3-1-VbXF9m7BPiX48-640w.webp",
|
|
19
|
+
"750w":
|
|
20
|
+
"https://static.levocdn.com/WLZ1TXTD/faq-3-1-VbXF9m7BPiX48-750w.webp",
|
|
21
|
+
"828w":
|
|
22
|
+
"https://static.levocdn.com/WLZ1TXTD/faq-3-1-VbXF9m7BPiX48-828w.webp",
|
|
23
|
+
path: "https://static.levocdn.com/WLZ1TXTD/faq-3-1-VbXF9m7BPiX48-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/faq-3-1-VbXF9m7BPiX48-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/faq-3-1-VbXF9m7BPiX48-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/faq-3-1-VbXF9m7BPiX48-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/faq-3-1-VbXF9m7BPiX48-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/faq-3-1-VbXF9m7BPiX48-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/faq-3-1-VbXF9m7BPiX48-1920w.webp 1920w",
|
|
24
|
+
},
|
|
25
|
+
mimetype: "image/png",
|
|
26
|
+
};
|
|
27
|
+
|
|
3
28
|
const DEFAULT_CONTENT = {
|
|
4
29
|
layout: null,
|
|
5
30
|
container: null,
|
|
@@ -12,7 +37,8 @@ const DEFAULT_CONTENT = {
|
|
|
12
37
|
|
|
13
38
|
// main content wrapper with accordion and image in row
|
|
14
39
|
main_content_container: null,
|
|
15
|
-
|
|
40
|
+
header_ctas_levoGroup: null,
|
|
41
|
+
header_ctas: [{ header_cta: "Contact Us" }, { header_cta: "Schedule Call" }],
|
|
16
42
|
// accordions wrapper
|
|
17
43
|
accordions_container: null,
|
|
18
44
|
|
|
@@ -59,31 +85,10 @@ const DEFAULT_CONTENT = {
|
|
|
59
85
|
},
|
|
60
86
|
],
|
|
61
87
|
|
|
62
|
-
|
|
88
|
+
ctas_levoGroup: null,
|
|
89
|
+
ctas: [{ cta: "Learn more" }, { cta: "Get Started" }],
|
|
63
90
|
|
|
64
|
-
faq_image:
|
|
65
|
-
id: "7141014160938075687",
|
|
66
|
-
location: "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH.png",
|
|
67
|
-
kind: "image",
|
|
68
|
-
mimetype: "image/png",
|
|
69
|
-
srcset: {
|
|
70
|
-
"1080w":
|
|
71
|
-
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp",
|
|
72
|
-
"1200w":
|
|
73
|
-
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp",
|
|
74
|
-
"1920w":
|
|
75
|
-
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp",
|
|
76
|
-
"320w":
|
|
77
|
-
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp",
|
|
78
|
-
"640w":
|
|
79
|
-
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp",
|
|
80
|
-
"750w":
|
|
81
|
-
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp",
|
|
82
|
-
"828w":
|
|
83
|
-
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp",
|
|
84
|
-
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",
|
|
85
|
-
},
|
|
86
|
-
},
|
|
91
|
+
faq_image: MEDIA,
|
|
87
92
|
};
|
|
88
93
|
|
|
89
94
|
export type IFaq3Content = typeof DEFAULT_CONTENT;
|
|
@@ -138,9 +143,23 @@ export const Faq3: IBlock = {
|
|
|
138
143
|
},
|
|
139
144
|
},
|
|
140
145
|
{
|
|
141
|
-
key: "
|
|
142
|
-
label: "Header CTA",
|
|
143
|
-
field_interface: "
|
|
146
|
+
key: "header_ctas",
|
|
147
|
+
label: "Header CTA Group",
|
|
148
|
+
field_interface: "BoxWidget",
|
|
149
|
+
kind: "group",
|
|
150
|
+
fields: [
|
|
151
|
+
{
|
|
152
|
+
key: "header_cta",
|
|
153
|
+
label: "Header CTA",
|
|
154
|
+
field_interface: "ButtonWidget",
|
|
155
|
+
},
|
|
156
|
+
],
|
|
157
|
+
hint: {
|
|
158
|
+
prompt_description:
|
|
159
|
+
"Group of header call-to-action buttons for contact and related actions",
|
|
160
|
+
min_items: 1,
|
|
161
|
+
max_items: 3,
|
|
162
|
+
},
|
|
144
163
|
},
|
|
145
164
|
{
|
|
146
165
|
key: "main_content_container",
|
|
@@ -181,7 +200,7 @@ export const Faq3: IBlock = {
|
|
|
181
200
|
{
|
|
182
201
|
key: "question",
|
|
183
202
|
label: "Question",
|
|
184
|
-
field_interface: "
|
|
203
|
+
field_interface: "HeadingWidget",
|
|
185
204
|
hint: {
|
|
186
205
|
prompt_description:
|
|
187
206
|
"A frequently asked question. Should be direct, clear, and phrased from the user's perspective. Professional, sincere tone.",
|
|
@@ -214,9 +233,23 @@ export const Faq3: IBlock = {
|
|
|
214
233
|
},
|
|
215
234
|
},
|
|
216
235
|
{
|
|
217
|
-
key: "
|
|
218
|
-
label: "CTA",
|
|
219
|
-
field_interface: "
|
|
236
|
+
key: "ctas",
|
|
237
|
+
label: "CTA Group",
|
|
238
|
+
field_interface: "BoxWidget",
|
|
239
|
+
kind: "group",
|
|
240
|
+
fields: [
|
|
241
|
+
{
|
|
242
|
+
key: "cta",
|
|
243
|
+
label: "CTA",
|
|
244
|
+
field_interface: "ButtonWidget",
|
|
245
|
+
},
|
|
246
|
+
],
|
|
247
|
+
hint: {
|
|
248
|
+
prompt_description:
|
|
249
|
+
"Group of call-to-action buttons for main conversion actions",
|
|
250
|
+
min_items: 1,
|
|
251
|
+
max_items: 3,
|
|
252
|
+
},
|
|
220
253
|
},
|
|
221
254
|
{
|
|
222
255
|
key: "faq_image",
|
|
@@ -236,29 +269,8 @@ export const Faq3: IBlock = {
|
|
|
236
269
|
key: "default",
|
|
237
270
|
title: "Default",
|
|
238
271
|
styles: {
|
|
239
|
-
layout: {
|
|
240
|
-
"padding-top": "5xl",
|
|
241
|
-
"padding-bottom": "5xl",
|
|
242
|
-
"padding-left": "3xl",
|
|
243
|
-
"padding-right": "3xl",
|
|
244
|
-
width: "100%",
|
|
245
|
-
tablet: {
|
|
246
|
-
"padding-top": "4xl",
|
|
247
|
-
"padding-bottom": "4xl",
|
|
248
|
-
"padding-left": "2xl",
|
|
249
|
-
"padding-right": "2xl",
|
|
250
|
-
},
|
|
251
|
-
mobile: {
|
|
252
|
-
"padding-top": "3xl",
|
|
253
|
-
"padding-bottom": "3xl",
|
|
254
|
-
"padding-left": "base",
|
|
255
|
-
"padding-right": "base",
|
|
256
|
-
},
|
|
257
|
-
},
|
|
272
|
+
layout: {},
|
|
258
273
|
container: {
|
|
259
|
-
"max-width": "1280px",
|
|
260
|
-
"margin-left": "auto",
|
|
261
|
-
"margin-right": "auto",
|
|
262
274
|
display: "flex",
|
|
263
275
|
"flex-direction": "column",
|
|
264
276
|
"row-gap": "4xl",
|
|
@@ -274,22 +286,22 @@ export const Faq3: IBlock = {
|
|
|
274
286
|
"row-gap": "lg",
|
|
275
287
|
},
|
|
276
288
|
},
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
"
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
},
|
|
289
|
+
header_ctas_levoGroup: {
|
|
290
|
+
display: "flex",
|
|
291
|
+
"flex-direction": "row",
|
|
292
|
+
"column-gap": "xs",
|
|
293
|
+
"row-gap": "xs",
|
|
294
|
+
"flex-wrap": "wrap",
|
|
295
|
+
"align-items": "center",
|
|
285
296
|
},
|
|
297
|
+
header_ctas: Array(2)
|
|
298
|
+
.fill(0)
|
|
299
|
+
.map(() => ({
|
|
300
|
+
header_cta: {},
|
|
301
|
+
})),
|
|
302
|
+
title: {},
|
|
286
303
|
description: {
|
|
287
|
-
"font-size": "lg",
|
|
288
|
-
color: "text-2",
|
|
289
|
-
"font-weight": 400,
|
|
290
|
-
"line-height": "1.6",
|
|
291
304
|
mobile: {
|
|
292
|
-
"font-size": "base",
|
|
293
305
|
"margin-top": "sm",
|
|
294
306
|
},
|
|
295
307
|
},
|
|
@@ -326,10 +338,22 @@ export const Faq3: IBlock = {
|
|
|
326
338
|
"object-fit": "cover",
|
|
327
339
|
},
|
|
328
340
|
},
|
|
329
|
-
|
|
330
|
-
|
|
341
|
+
ctas_levoGroup: {
|
|
342
|
+
display: "flex",
|
|
343
|
+
"flex-direction": "row",
|
|
344
|
+
"column-gap": "xs",
|
|
345
|
+
"row-gap": "xs",
|
|
346
|
+
"flex-wrap": "wrap",
|
|
347
|
+
"align-items": "center",
|
|
331
348
|
"margin-top": "xl",
|
|
332
349
|
},
|
|
350
|
+
ctas: Array(2)
|
|
351
|
+
.fill(0)
|
|
352
|
+
.map(() => ({
|
|
353
|
+
cta: {
|
|
354
|
+
width: "fit-content",
|
|
355
|
+
},
|
|
356
|
+
})),
|
|
333
357
|
faqs: [
|
|
334
358
|
{
|
|
335
359
|
wrapper: {
|
|
@@ -340,12 +364,7 @@ export const Faq3: IBlock = {
|
|
|
340
364
|
"border-style": "solid",
|
|
341
365
|
},
|
|
342
366
|
question: {
|
|
343
|
-
"font-size": "xl",
|
|
344
367
|
"font-weight": 600,
|
|
345
|
-
color: "text-1",
|
|
346
|
-
tablet: {
|
|
347
|
-
"font-size": "lg",
|
|
348
|
-
},
|
|
349
368
|
},
|
|
350
369
|
content: {
|
|
351
370
|
"padding-top": "none",
|
|
@@ -361,10 +380,7 @@ export const Faq3: IBlock = {
|
|
|
361
380
|
"align-items": "center",
|
|
362
381
|
"column-gap": "base",
|
|
363
382
|
},
|
|
364
|
-
answer: {
|
|
365
|
-
color: "text-2",
|
|
366
|
-
"line-height": "1.6",
|
|
367
|
-
},
|
|
383
|
+
answer: {},
|
|
368
384
|
},
|
|
369
385
|
{
|
|
370
386
|
wrapper: {
|
|
@@ -375,12 +391,7 @@ export const Faq3: IBlock = {
|
|
|
375
391
|
"border-style": "solid",
|
|
376
392
|
},
|
|
377
393
|
question: {
|
|
378
|
-
"font-size": "xl",
|
|
379
394
|
"font-weight": 600,
|
|
380
|
-
color: "text-1",
|
|
381
|
-
tablet: {
|
|
382
|
-
"font-size": "lg",
|
|
383
|
-
},
|
|
384
395
|
},
|
|
385
396
|
content: {
|
|
386
397
|
"padding-top": "none",
|
|
@@ -396,10 +407,7 @@ export const Faq3: IBlock = {
|
|
|
396
407
|
"align-items": "center",
|
|
397
408
|
"column-gap": "base",
|
|
398
409
|
},
|
|
399
|
-
answer: {
|
|
400
|
-
color: "text-2",
|
|
401
|
-
"line-height": "1.6",
|
|
402
|
-
},
|
|
410
|
+
answer: {},
|
|
403
411
|
},
|
|
404
412
|
{
|
|
405
413
|
wrapper: {
|
|
@@ -410,12 +418,7 @@ export const Faq3: IBlock = {
|
|
|
410
418
|
"border-style": "solid",
|
|
411
419
|
},
|
|
412
420
|
question: {
|
|
413
|
-
"font-size": "xl",
|
|
414
421
|
"font-weight": 600,
|
|
415
|
-
color: "text-1",
|
|
416
|
-
tablet: {
|
|
417
|
-
"font-size": "lg",
|
|
418
|
-
},
|
|
419
422
|
},
|
|
420
423
|
content: {
|
|
421
424
|
"padding-top": "none",
|
|
@@ -431,10 +434,7 @@ export const Faq3: IBlock = {
|
|
|
431
434
|
"align-items": "center",
|
|
432
435
|
"column-gap": "base",
|
|
433
436
|
},
|
|
434
|
-
answer: {
|
|
435
|
-
color: "text-2",
|
|
436
|
-
"line-height": "1.6",
|
|
437
|
-
},
|
|
437
|
+
answer: {},
|
|
438
438
|
},
|
|
439
439
|
{
|
|
440
440
|
wrapper: {
|
|
@@ -445,12 +445,7 @@ export const Faq3: IBlock = {
|
|
|
445
445
|
"border-style": "solid",
|
|
446
446
|
},
|
|
447
447
|
question: {
|
|
448
|
-
"font-size": "xl",
|
|
449
448
|
"font-weight": 600,
|
|
450
|
-
color: "text-1",
|
|
451
|
-
tablet: {
|
|
452
|
-
"font-size": "lg",
|
|
453
|
-
},
|
|
454
449
|
},
|
|
455
450
|
content: {
|
|
456
451
|
"padding-top": "none",
|
|
@@ -466,15 +461,100 @@ export const Faq3: IBlock = {
|
|
|
466
461
|
"align-items": "center",
|
|
467
462
|
"column-gap": "base",
|
|
468
463
|
},
|
|
464
|
+
answer: {},
|
|
465
|
+
},
|
|
466
|
+
],
|
|
467
|
+
},
|
|
468
|
+
content: DEFAULT_CONTENT,
|
|
469
|
+
config: {
|
|
470
|
+
title: {
|
|
471
|
+
selectedVariants: {
|
|
472
|
+
Heading_Level: "H2",
|
|
473
|
+
},
|
|
474
|
+
},
|
|
475
|
+
description: {
|
|
476
|
+
selectedVariants: {
|
|
477
|
+
Typography_Variants: "Large",
|
|
478
|
+
},
|
|
479
|
+
},
|
|
480
|
+
faqs: [
|
|
481
|
+
{
|
|
482
|
+
question: {
|
|
483
|
+
heading: {
|
|
484
|
+
level: "4",
|
|
485
|
+
},
|
|
486
|
+
selectedVariants: {
|
|
487
|
+
Heading_Level: "H5",
|
|
488
|
+
},
|
|
489
|
+
},
|
|
490
|
+
answer: {
|
|
491
|
+
selectedVariants: {},
|
|
492
|
+
},
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
question: {
|
|
496
|
+
selectedVariants: {
|
|
497
|
+
Heading_Level: "H5",
|
|
498
|
+
},
|
|
499
|
+
},
|
|
500
|
+
answer: {
|
|
501
|
+
selectedVariants: {},
|
|
502
|
+
},
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
question: {
|
|
506
|
+
selectedVariants: {
|
|
507
|
+
Heading_Level: "H5",
|
|
508
|
+
},
|
|
509
|
+
},
|
|
469
510
|
answer: {
|
|
470
|
-
|
|
471
|
-
|
|
511
|
+
selectedVariants: {},
|
|
512
|
+
},
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
question: {
|
|
516
|
+
selectedVariants: {
|
|
517
|
+
Heading_Level: "H5",
|
|
518
|
+
},
|
|
519
|
+
},
|
|
520
|
+
answer: {
|
|
521
|
+
selectedVariants: {},
|
|
522
|
+
},
|
|
523
|
+
},
|
|
524
|
+
],
|
|
525
|
+
header_ctas: [
|
|
526
|
+
{
|
|
527
|
+
header_cta: {
|
|
528
|
+
selectedVariants: {
|
|
529
|
+
Button_Variants: "Primary",
|
|
530
|
+
},
|
|
531
|
+
},
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
header_cta: {
|
|
535
|
+
selectedVariants: {
|
|
536
|
+
Button_Variants: "Secondary",
|
|
537
|
+
},
|
|
538
|
+
},
|
|
539
|
+
},
|
|
540
|
+
],
|
|
541
|
+
ctas: [
|
|
542
|
+
{
|
|
543
|
+
cta: {
|
|
544
|
+
selectedVariants: {
|
|
545
|
+
Button_Variants: "Primary",
|
|
546
|
+
},
|
|
547
|
+
},
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
cta: {
|
|
551
|
+
selectedVariants: {
|
|
552
|
+
Button_Variants: "Secondary",
|
|
553
|
+
},
|
|
472
554
|
},
|
|
473
555
|
},
|
|
474
556
|
],
|
|
475
557
|
},
|
|
476
|
-
content: DEFAULT_CONTENT,
|
|
477
|
-
config: {},
|
|
478
558
|
},
|
|
479
559
|
],
|
|
480
560
|
};
|
package/src/blocks/faq/faq-3.tsx
CHANGED
|
@@ -21,7 +21,15 @@ const Faq3: React.FC<ILevoBlockBaseProps<IFaq3Content>> = ({ content }) => (
|
|
|
21
21
|
<Box elementKey="header_container">
|
|
22
22
|
<Heading elementKey="title" />
|
|
23
23
|
<Typography elementKey="description" />
|
|
24
|
-
<
|
|
24
|
+
<Box elementKey="header_ctas_levoGroup" data-levo_group>
|
|
25
|
+
{(content?.header_ctas ?? []).map((_: any, index: number) => (
|
|
26
|
+
<Button
|
|
27
|
+
key={`header_ctas.${index}.header_cta`}
|
|
28
|
+
elementKey={`header_ctas.${index}.header_cta`}
|
|
29
|
+
data-levo_group_item
|
|
30
|
+
/>
|
|
31
|
+
))}
|
|
32
|
+
</Box>
|
|
25
33
|
</Box>
|
|
26
34
|
|
|
27
35
|
<Box elementKey="main_content_container">
|
|
@@ -45,7 +53,7 @@ const Faq3: React.FC<ILevoBlockBaseProps<IFaq3Content>> = ({ content }) => (
|
|
|
45
53
|
alt="icon"
|
|
46
54
|
elementKey={`faqs.${index}.triggerIcon`}
|
|
47
55
|
/>
|
|
48
|
-
<
|
|
56
|
+
<Heading elementKey={`faqs.${index}.question`} />
|
|
49
57
|
</Box>
|
|
50
58
|
</AccordionTrigger>
|
|
51
59
|
<AccordionContent elementKey={`faqs.${index}.content`}>
|
|
@@ -54,7 +62,15 @@ const Faq3: React.FC<ILevoBlockBaseProps<IFaq3Content>> = ({ content }) => (
|
|
|
54
62
|
</AccordionItem>
|
|
55
63
|
))}
|
|
56
64
|
</AccordionRoot>
|
|
57
|
-
<
|
|
65
|
+
<Box elementKey="ctas_levoGroup" data-levo_group>
|
|
66
|
+
{(content?.ctas ?? []).map((_: any, index: number) => (
|
|
67
|
+
<Button
|
|
68
|
+
key={`ctas.${index}.cta`}
|
|
69
|
+
elementKey={`ctas.${index}.cta`}
|
|
70
|
+
data-levo_group_item
|
|
71
|
+
/>
|
|
72
|
+
))}
|
|
73
|
+
</Box>
|
|
58
74
|
</Box>
|
|
59
75
|
|
|
60
76
|
<Image
|
|
@@ -120,7 +120,7 @@ export const Features1: IBlock = {
|
|
|
120
120
|
{
|
|
121
121
|
key: "title",
|
|
122
122
|
label: "Title",
|
|
123
|
-
field_interface: "
|
|
123
|
+
field_interface: "HeadingWidget",
|
|
124
124
|
hint: {
|
|
125
125
|
prompt_description:
|
|
126
126
|
"Specialty name featured as a bold card heading. Use succinct and clear phrasing (2–4 words), all significant words capitalized. Professional and direct style.",
|
|
@@ -145,9 +145,17 @@ export const Features1: IBlock = {
|
|
|
145
145
|
field_interface: "TypographyWidget",
|
|
146
146
|
},
|
|
147
147
|
{
|
|
148
|
-
key: "
|
|
149
|
-
label: "
|
|
148
|
+
key: "ctas",
|
|
149
|
+
label: "CTA Group",
|
|
150
150
|
field_interface: "ButtonWidget",
|
|
151
|
+
kind: "group",
|
|
152
|
+
fields: [
|
|
153
|
+
{
|
|
154
|
+
key: "cta",
|
|
155
|
+
label: "Cta",
|
|
156
|
+
field_interface: "ButtonWidget",
|
|
157
|
+
},
|
|
158
|
+
],
|
|
151
159
|
},
|
|
152
160
|
],
|
|
153
161
|
hint: {
|
|
@@ -36,7 +36,16 @@ const Features1: React.FC<ILevoBlockBaseProps<IFeatures1Content>> = ({
|
|
|
36
36
|
<Heading elementKey={`specialties.${index}.title`} />
|
|
37
37
|
<Typography elementKey={`specialties.${index}.description`} />
|
|
38
38
|
<Typography elementKey={`specialties.${index}.caption`} />
|
|
39
|
-
<
|
|
39
|
+
<Box elementKey={`specialties.${index}.ctas_levoGroup`}>
|
|
40
|
+
{content?.specialties?.[index]?.ctas?.map((v, idx) => {
|
|
41
|
+
return (
|
|
42
|
+
<Button
|
|
43
|
+
key={`specialties.${index}.ctas.${idx}.cta`}
|
|
44
|
+
elementKey={`specialties.${index}.ctas.${idx}.cta`}
|
|
45
|
+
/>
|
|
46
|
+
);
|
|
47
|
+
})}
|
|
48
|
+
</Box>
|
|
40
49
|
</Box>
|
|
41
50
|
</Box>
|
|
42
51
|
))}
|