@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
|
@@ -45,7 +45,20 @@ const Content6: React.FC<ILevoBlockBaseProps<IContent6Content>> = ({
|
|
|
45
45
|
<Typography elementKey={`companies.${index}.location_header`} />
|
|
46
46
|
<Typography elementKey={`companies.${index}.location_value`} />
|
|
47
47
|
</Box>
|
|
48
|
-
<
|
|
48
|
+
<Box
|
|
49
|
+
elementKey={`companies.${index}.ctas_levoGroup`}
|
|
50
|
+
data-levo_group
|
|
51
|
+
>
|
|
52
|
+
{(content?.companies?.[index]?.ctas ?? []).map(
|
|
53
|
+
(_: any, ctaIndex: number) => (
|
|
54
|
+
<Button
|
|
55
|
+
key={`companies.${index}.ctas.${ctaIndex}.cta`}
|
|
56
|
+
elementKey={`companies.${index}.ctas.${ctaIndex}.cta`}
|
|
57
|
+
data-levo_group_item
|
|
58
|
+
/>
|
|
59
|
+
)
|
|
60
|
+
)}
|
|
61
|
+
</Box>
|
|
49
62
|
</Box>
|
|
50
63
|
{index < (content.companies?.length ?? 0) - 1 && (
|
|
51
64
|
<Box
|
|
@@ -56,6 +69,15 @@ const Content6: React.FC<ILevoBlockBaseProps<IContent6Content>> = ({
|
|
|
56
69
|
</React.Fragment>
|
|
57
70
|
))}
|
|
58
71
|
</Box>
|
|
72
|
+
<Box elementKey={`bottom_ctas_levoGroup`} data-levo_group>
|
|
73
|
+
{(content?.bottom_ctas ?? []).map((_: any, index: number) => (
|
|
74
|
+
<Button
|
|
75
|
+
key={`bottom_ctas.${index}.bottom_cta`}
|
|
76
|
+
elementKey={`bottom_ctas.${index}.bottom_cta`}
|
|
77
|
+
data-levo_group_item
|
|
78
|
+
/>
|
|
79
|
+
))}
|
|
80
|
+
</Box>
|
|
59
81
|
</Container>
|
|
60
82
|
</Section>
|
|
61
83
|
);
|
|
@@ -5,7 +5,13 @@ const DEFAULT_CONTENT = {
|
|
|
5
5
|
container: null,
|
|
6
6
|
header_wrapper: null,
|
|
7
7
|
title: "Our Service",
|
|
8
|
-
|
|
8
|
+
description:
|
|
9
|
+
"Our Service Our Service Our Service Our Service Our Service Our Service",
|
|
10
|
+
view_all_ctas_levoGroup: null,
|
|
11
|
+
view_all_ctas: [
|
|
12
|
+
{ view_all_cta: "View All Service" },
|
|
13
|
+
{ view_all_cta: "Learn More" },
|
|
14
|
+
],
|
|
9
15
|
services_levoGroup: null,
|
|
10
16
|
services: [
|
|
11
17
|
{
|
|
@@ -41,7 +47,8 @@ const DEFAULT_CONTENT = {
|
|
|
41
47
|
content_wrapper: null,
|
|
42
48
|
service_description:
|
|
43
49
|
"We specialize in building fully customized homes designed around your vision. we ensure every detail—from foundation to finishing—matches your expectations.",
|
|
44
|
-
|
|
50
|
+
ctas_levoGroup: null,
|
|
51
|
+
ctas: [{ cta: "Know More" }, { cta: "Get Quote" }],
|
|
45
52
|
},
|
|
46
53
|
{
|
|
47
54
|
service_item: null,
|
|
@@ -76,7 +83,8 @@ const DEFAULT_CONTENT = {
|
|
|
76
83
|
content_wrapper: null,
|
|
77
84
|
service_description:
|
|
78
85
|
"Beautiful, functional, and personalized designs that bring style and comfort.",
|
|
79
|
-
|
|
86
|
+
ctas_levoGroup: null,
|
|
87
|
+
ctas: [{ cta: "Know More" }, { cta: "Get Quote" }],
|
|
80
88
|
},
|
|
81
89
|
{
|
|
82
90
|
service_item: null,
|
|
@@ -111,7 +119,8 @@ const DEFAULT_CONTENT = {
|
|
|
111
119
|
content_wrapper: null,
|
|
112
120
|
service_description:
|
|
113
121
|
"Upgrade, expand, or redesign your existing space with smart solutions that blend durability.",
|
|
114
|
-
|
|
122
|
+
ctas_levoGroup: null,
|
|
123
|
+
ctas: [{ cta: "Know More" }, { cta: "Get Quote" }],
|
|
115
124
|
},
|
|
116
125
|
{
|
|
117
126
|
service_item: null,
|
|
@@ -146,7 +155,8 @@ const DEFAULT_CONTENT = {
|
|
|
146
155
|
content_wrapper: null,
|
|
147
156
|
service_description:
|
|
148
157
|
"Seamless execution with clear timelines, cost transparency, and expert supervision.",
|
|
149
|
-
|
|
158
|
+
ctas_levoGroup: null,
|
|
159
|
+
ctas: [{ cta: "Know More" }, { cta: "Get Quote" }],
|
|
150
160
|
},
|
|
151
161
|
],
|
|
152
162
|
view_all_cta_rightIcon: {
|
|
@@ -187,15 +197,33 @@ export const Content7: IBlock = {
|
|
|
187
197
|
label: "Header Wrapper",
|
|
188
198
|
field_interface: "BoxWidget",
|
|
189
199
|
},
|
|
200
|
+
{
|
|
201
|
+
key: "header_content",
|
|
202
|
+
label: "Header Content",
|
|
203
|
+
field_interface: "BoxWidget",
|
|
204
|
+
},
|
|
190
205
|
{
|
|
191
206
|
key: "title",
|
|
192
207
|
label: "Title",
|
|
193
208
|
field_interface: "HeadingWidget",
|
|
194
209
|
},
|
|
195
210
|
{
|
|
196
|
-
key: "
|
|
197
|
-
label: "
|
|
198
|
-
field_interface: "
|
|
211
|
+
key: "description",
|
|
212
|
+
label: "Description",
|
|
213
|
+
field_interface: "TypographyWidget",
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
key: "view_all_ctas",
|
|
217
|
+
label: "View All CTAs",
|
|
218
|
+
field_interface: "BoxWidget",
|
|
219
|
+
kind: "group",
|
|
220
|
+
fields: [
|
|
221
|
+
{
|
|
222
|
+
key: "view_all_cta",
|
|
223
|
+
label: "View All CTA",
|
|
224
|
+
field_interface: "ButtonWidget",
|
|
225
|
+
},
|
|
226
|
+
],
|
|
199
227
|
},
|
|
200
228
|
{
|
|
201
229
|
key: "services_levoGroup",
|
|
@@ -244,9 +272,23 @@ export const Content7: IBlock = {
|
|
|
244
272
|
field_interface: "TypographyWidget",
|
|
245
273
|
},
|
|
246
274
|
{
|
|
247
|
-
key: "
|
|
248
|
-
label: "CTA
|
|
249
|
-
field_interface: "
|
|
275
|
+
key: "ctas",
|
|
276
|
+
label: "CTA Buttons",
|
|
277
|
+
field_interface: "BoxWidget",
|
|
278
|
+
kind: "group",
|
|
279
|
+
fields: [
|
|
280
|
+
{
|
|
281
|
+
key: "cta",
|
|
282
|
+
label: "CTA Button",
|
|
283
|
+
field_interface: "ButtonWidget",
|
|
284
|
+
},
|
|
285
|
+
],
|
|
286
|
+
hint: {
|
|
287
|
+
prompt_description:
|
|
288
|
+
"Group of call-to-action buttons for service details and quotes",
|
|
289
|
+
min_items: 1,
|
|
290
|
+
max_items: 3,
|
|
291
|
+
},
|
|
250
292
|
},
|
|
251
293
|
],
|
|
252
294
|
},
|
|
@@ -256,30 +298,8 @@ export const Content7: IBlock = {
|
|
|
256
298
|
key: "default",
|
|
257
299
|
title: "Default",
|
|
258
300
|
styles: {
|
|
259
|
-
layout: {
|
|
260
|
-
|
|
261
|
-
"padding-top": "48px",
|
|
262
|
-
"padding-bottom": "48px",
|
|
263
|
-
"padding-left": "48px",
|
|
264
|
-
"padding-right": "48px",
|
|
265
|
-
tablet: {
|
|
266
|
-
"padding-top": "32px",
|
|
267
|
-
"padding-bottom": "32px",
|
|
268
|
-
"padding-left": "24px",
|
|
269
|
-
"padding-right": "24px",
|
|
270
|
-
},
|
|
271
|
-
mobile: {
|
|
272
|
-
"padding-top": "24px",
|
|
273
|
-
"padding-bottom": "24px",
|
|
274
|
-
"padding-left": "16px",
|
|
275
|
-
"padding-right": "16px",
|
|
276
|
-
},
|
|
277
|
-
},
|
|
278
|
-
container: {
|
|
279
|
-
"max-width": "1280px",
|
|
280
|
-
"margin-left": "auto",
|
|
281
|
-
"margin-right": "auto",
|
|
282
|
-
},
|
|
301
|
+
layout: {},
|
|
302
|
+
container: {},
|
|
283
303
|
header_wrapper: {
|
|
284
304
|
display: "flex",
|
|
285
305
|
"justify-content": "space-between",
|
|
@@ -296,10 +316,11 @@ export const Content7: IBlock = {
|
|
|
296
316
|
},
|
|
297
317
|
},
|
|
298
318
|
title: {},
|
|
299
|
-
|
|
319
|
+
view_all_ctas_levoGroup: {
|
|
300
320
|
display: "flex",
|
|
301
321
|
"column-gap": "xs",
|
|
302
322
|
},
|
|
323
|
+
view_all_ctas: Array(2).map(() => ({})),
|
|
303
324
|
services_levoGroup: {
|
|
304
325
|
display: "flex",
|
|
305
326
|
"flex-direction": "column",
|
|
@@ -339,16 +360,7 @@ export const Content7: IBlock = {
|
|
|
339
360
|
},
|
|
340
361
|
},
|
|
341
362
|
service_title: {
|
|
342
|
-
"font-
|
|
343
|
-
"font-weight": "600",
|
|
344
|
-
color: "text-1",
|
|
345
|
-
"line-height": "1.3",
|
|
346
|
-
tablet: {
|
|
347
|
-
"font-size": "20px",
|
|
348
|
-
},
|
|
349
|
-
mobile: {
|
|
350
|
-
"font-size": "18px",
|
|
351
|
-
},
|
|
363
|
+
"font-weight": 600,
|
|
352
364
|
},
|
|
353
365
|
right_container: {
|
|
354
366
|
"flex-grow": "1",
|
|
@@ -388,20 +400,22 @@ export const Content7: IBlock = {
|
|
|
388
400
|
"flex-direction": "column",
|
|
389
401
|
"row-gap": "16px",
|
|
390
402
|
},
|
|
391
|
-
service_description: {
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
"
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
"font-size": "14px",
|
|
400
|
-
},
|
|
401
|
-
},
|
|
402
|
-
cta: {
|
|
403
|
-
width: "fit-content",
|
|
403
|
+
service_description: {},
|
|
404
|
+
ctas_levoGroup: {
|
|
405
|
+
display: "flex",
|
|
406
|
+
"flex-direction": "row",
|
|
407
|
+
"column-gap": "xs",
|
|
408
|
+
"row-gap": "xs",
|
|
409
|
+
"flex-wrap": "wrap",
|
|
410
|
+
"align-items": "center",
|
|
404
411
|
},
|
|
412
|
+
ctas: Array(2)
|
|
413
|
+
.fill(0)
|
|
414
|
+
.map(() => ({
|
|
415
|
+
cta: {
|
|
416
|
+
width: "fit-content",
|
|
417
|
+
},
|
|
418
|
+
})),
|
|
405
419
|
},
|
|
406
420
|
{
|
|
407
421
|
service_item: {
|
|
@@ -436,16 +450,7 @@ export const Content7: IBlock = {
|
|
|
436
450
|
},
|
|
437
451
|
},
|
|
438
452
|
service_title: {
|
|
439
|
-
"font-
|
|
440
|
-
"font-weight": "600",
|
|
441
|
-
color: "text-1",
|
|
442
|
-
"line-height": "1.3",
|
|
443
|
-
tablet: {
|
|
444
|
-
"font-size": "20px",
|
|
445
|
-
},
|
|
446
|
-
mobile: {
|
|
447
|
-
"font-size": "18px",
|
|
448
|
-
},
|
|
453
|
+
"font-weight": 600,
|
|
449
454
|
},
|
|
450
455
|
right_container: {
|
|
451
456
|
"flex-grow": "1",
|
|
@@ -485,20 +490,22 @@ export const Content7: IBlock = {
|
|
|
485
490
|
"flex-direction": "column",
|
|
486
491
|
"row-gap": "16px",
|
|
487
492
|
},
|
|
488
|
-
service_description: {
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
"
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
"font-size": "14px",
|
|
497
|
-
},
|
|
498
|
-
},
|
|
499
|
-
cta: {
|
|
500
|
-
width: "fit-content",
|
|
493
|
+
service_description: {},
|
|
494
|
+
ctas_levoGroup: {
|
|
495
|
+
display: "flex",
|
|
496
|
+
"flex-direction": "row",
|
|
497
|
+
"column-gap": "xs",
|
|
498
|
+
"row-gap": "xs",
|
|
499
|
+
"flex-wrap": "wrap",
|
|
500
|
+
"align-items": "center",
|
|
501
501
|
},
|
|
502
|
+
ctas: Array(2)
|
|
503
|
+
.fill(0)
|
|
504
|
+
.map(() => ({
|
|
505
|
+
cta: {
|
|
506
|
+
width: "fit-content",
|
|
507
|
+
},
|
|
508
|
+
})),
|
|
502
509
|
},
|
|
503
510
|
{
|
|
504
511
|
service_item: {
|
|
@@ -533,16 +540,7 @@ export const Content7: IBlock = {
|
|
|
533
540
|
},
|
|
534
541
|
},
|
|
535
542
|
service_title: {
|
|
536
|
-
"font-
|
|
537
|
-
"font-weight": "600",
|
|
538
|
-
color: "text-1",
|
|
539
|
-
"line-height": "1.3",
|
|
540
|
-
tablet: {
|
|
541
|
-
"font-size": "20px",
|
|
542
|
-
},
|
|
543
|
-
mobile: {
|
|
544
|
-
"font-size": "18px",
|
|
545
|
-
},
|
|
543
|
+
"font-weight": 600,
|
|
546
544
|
},
|
|
547
545
|
right_container: {
|
|
548
546
|
"flex-grow": "1",
|
|
@@ -582,20 +580,22 @@ export const Content7: IBlock = {
|
|
|
582
580
|
"flex-direction": "column",
|
|
583
581
|
"row-gap": "16px",
|
|
584
582
|
},
|
|
585
|
-
service_description: {
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
"
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
"font-size": "14px",
|
|
594
|
-
},
|
|
595
|
-
},
|
|
596
|
-
cta: {
|
|
597
|
-
width: "fit-content",
|
|
583
|
+
service_description: {},
|
|
584
|
+
ctas_levoGroup: {
|
|
585
|
+
display: "flex",
|
|
586
|
+
"flex-direction": "row",
|
|
587
|
+
"column-gap": "xs",
|
|
588
|
+
"row-gap": "xs",
|
|
589
|
+
"flex-wrap": "wrap",
|
|
590
|
+
"align-items": "center",
|
|
598
591
|
},
|
|
592
|
+
ctas: Array(2)
|
|
593
|
+
.fill(0)
|
|
594
|
+
.map(() => ({
|
|
595
|
+
cta: {
|
|
596
|
+
width: "fit-content",
|
|
597
|
+
},
|
|
598
|
+
})),
|
|
599
599
|
},
|
|
600
600
|
{
|
|
601
601
|
service_item: {
|
|
@@ -604,6 +604,7 @@ export const Content7: IBlock = {
|
|
|
604
604
|
"column-gap": "48px",
|
|
605
605
|
"padding-top": "32px",
|
|
606
606
|
"padding-bottom": "32px",
|
|
607
|
+
"border-bottom": "1px solid var(--color-border)",
|
|
607
608
|
tablet: {
|
|
608
609
|
"column-gap": "24px",
|
|
609
610
|
"padding-top": "24px",
|
|
@@ -629,16 +630,7 @@ export const Content7: IBlock = {
|
|
|
629
630
|
},
|
|
630
631
|
},
|
|
631
632
|
service_title: {
|
|
632
|
-
"font-
|
|
633
|
-
"font-weight": "600",
|
|
634
|
-
color: "text-1",
|
|
635
|
-
"line-height": "1.3",
|
|
636
|
-
tablet: {
|
|
637
|
-
"font-size": "20px",
|
|
638
|
-
},
|
|
639
|
-
mobile: {
|
|
640
|
-
"font-size": "18px",
|
|
641
|
-
},
|
|
633
|
+
"font-weight": 600,
|
|
642
634
|
},
|
|
643
635
|
right_container: {
|
|
644
636
|
"flex-grow": "1",
|
|
@@ -678,20 +670,22 @@ export const Content7: IBlock = {
|
|
|
678
670
|
"flex-direction": "column",
|
|
679
671
|
"row-gap": "16px",
|
|
680
672
|
},
|
|
681
|
-
service_description: {
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
"
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
"font-size": "14px",
|
|
690
|
-
},
|
|
691
|
-
},
|
|
692
|
-
cta: {
|
|
693
|
-
width: "fit-content",
|
|
673
|
+
service_description: {},
|
|
674
|
+
ctas_levoGroup: {
|
|
675
|
+
display: "flex",
|
|
676
|
+
"flex-direction": "row",
|
|
677
|
+
"column-gap": "xs",
|
|
678
|
+
"row-gap": "xs",
|
|
679
|
+
"flex-wrap": "wrap",
|
|
680
|
+
"align-items": "center",
|
|
694
681
|
},
|
|
682
|
+
ctas: Array(2)
|
|
683
|
+
.fill(0)
|
|
684
|
+
.map(() => ({
|
|
685
|
+
cta: {
|
|
686
|
+
width: "fit-content",
|
|
687
|
+
},
|
|
688
|
+
})),
|
|
695
689
|
},
|
|
696
690
|
],
|
|
697
691
|
view_all_cta_rightIcon: {
|
|
@@ -707,16 +701,62 @@ export const Content7: IBlock = {
|
|
|
707
701
|
Heading_Level: "H2",
|
|
708
702
|
},
|
|
709
703
|
},
|
|
710
|
-
|
|
711
|
-
selectedVariants: {
|
|
712
|
-
Button_Variants: "Ghost",
|
|
713
|
-
},
|
|
704
|
+
view_all_ctas: Array(2).map(() => ({
|
|
705
|
+
selectedVariants: {},
|
|
714
706
|
button_icons: {
|
|
715
707
|
right: {
|
|
716
708
|
enabled: true,
|
|
717
709
|
},
|
|
710
|
+
left: {
|
|
711
|
+
enabled: true,
|
|
712
|
+
},
|
|
718
713
|
},
|
|
719
|
-
},
|
|
714
|
+
})),
|
|
715
|
+
services: [
|
|
716
|
+
{
|
|
717
|
+
service_title: {
|
|
718
|
+
heading: {
|
|
719
|
+
level: "4",
|
|
720
|
+
},
|
|
721
|
+
selectedVariants: {
|
|
722
|
+
Heading_Level: "H5",
|
|
723
|
+
},
|
|
724
|
+
},
|
|
725
|
+
service_description: {
|
|
726
|
+
selectedVariants: {},
|
|
727
|
+
},
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
service_title: {
|
|
731
|
+
selectedVariants: {
|
|
732
|
+
Heading_Level: "H5",
|
|
733
|
+
},
|
|
734
|
+
},
|
|
735
|
+
service_description: {
|
|
736
|
+
selectedVariants: {},
|
|
737
|
+
},
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
service_title: {
|
|
741
|
+
selectedVariants: {
|
|
742
|
+
Heading_Level: "H5",
|
|
743
|
+
},
|
|
744
|
+
},
|
|
745
|
+
service_description: {
|
|
746
|
+
selectedVariants: {},
|
|
747
|
+
},
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
service_title: {
|
|
751
|
+
selectedVariants: {
|
|
752
|
+
Heading_Level: "H5",
|
|
753
|
+
},
|
|
754
|
+
},
|
|
755
|
+
service_description: {
|
|
756
|
+
selectedVariants: {},
|
|
757
|
+
},
|
|
758
|
+
},
|
|
759
|
+
],
|
|
720
760
|
},
|
|
721
761
|
},
|
|
722
762
|
],
|
|
@@ -18,8 +18,19 @@ const Content7: React.FC<ILevoBlockBaseProps<IContent7Content>> = ({
|
|
|
18
18
|
<Section elementKey="layout">
|
|
19
19
|
<Container elementKey="container">
|
|
20
20
|
<Box elementKey="header_wrapper">
|
|
21
|
-
<
|
|
22
|
-
|
|
21
|
+
<Box elementKey="header_content">
|
|
22
|
+
<Heading elementKey="title" />
|
|
23
|
+
<Typography elementKey="description" />
|
|
24
|
+
</Box>
|
|
25
|
+
<Box elementKey="view_all_ctas_levoGroup" data-levo_group>
|
|
26
|
+
{(content?.view_all_ctas ?? []).map((_: any, index: number) => (
|
|
27
|
+
<Button
|
|
28
|
+
key={`view_all_ctas.${index}.view_all_cta`}
|
|
29
|
+
elementKey={`view_all_ctas.${index}.view_all_cta`}
|
|
30
|
+
data-levo_group_item
|
|
31
|
+
/>
|
|
32
|
+
))}
|
|
33
|
+
</Box>
|
|
23
34
|
</Box>
|
|
24
35
|
<Box elementKey="services_levoGroup" data-levo_group>
|
|
25
36
|
{(content.services ?? []).map((_: any, index: number) => (
|
|
@@ -40,7 +51,20 @@ const Content7: React.FC<ILevoBlockBaseProps<IContent7Content>> = ({
|
|
|
40
51
|
<Typography
|
|
41
52
|
elementKey={`services.${index}.service_description`}
|
|
42
53
|
/>
|
|
43
|
-
<
|
|
54
|
+
<Box
|
|
55
|
+
elementKey={`services.${index}.ctas_levoGroup`}
|
|
56
|
+
data-levo_group
|
|
57
|
+
>
|
|
58
|
+
{(content?.services?.[index]?.ctas ?? []).map(
|
|
59
|
+
(_: any, ctaIndex: number) => (
|
|
60
|
+
<Button
|
|
61
|
+
key={`services.${index}.ctas.${ctaIndex}.cta`}
|
|
62
|
+
elementKey={`services.${index}.ctas.${ctaIndex}.cta`}
|
|
63
|
+
data-levo_group_item
|
|
64
|
+
/>
|
|
65
|
+
),
|
|
66
|
+
)}
|
|
67
|
+
</Box>
|
|
44
68
|
</Box>
|
|
45
69
|
</Box>
|
|
46
70
|
</Box>
|
|
@@ -7,7 +7,15 @@ const DEFAULT_CONTENT = {
|
|
|
7
7
|
icon_wrapper: null,
|
|
8
8
|
description:
|
|
9
9
|
"Transform your business with our comprehensive platform designed for modern enterprises seeking growth and efficiency.",
|
|
10
|
-
|
|
10
|
+
content_ctas_levoGroup: null,
|
|
11
|
+
content_ctas: [
|
|
12
|
+
{
|
|
13
|
+
cta: "Get Started",
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
cta: "Learn More",
|
|
17
|
+
},
|
|
18
|
+
],
|
|
11
19
|
icon: {
|
|
12
20
|
kind: "icon",
|
|
13
21
|
data: {
|
|
@@ -62,9 +70,17 @@ export const Content8: IBlock = {
|
|
|
62
70
|
field_interface: "TypographyWidget",
|
|
63
71
|
},
|
|
64
72
|
{
|
|
65
|
-
key: "
|
|
66
|
-
label: "CTA
|
|
67
|
-
field_interface: "
|
|
73
|
+
key: "content_ctas",
|
|
74
|
+
label: "Content CTA Group",
|
|
75
|
+
field_interface: "BoxWidget",
|
|
76
|
+
kind: "group",
|
|
77
|
+
fields: [
|
|
78
|
+
{
|
|
79
|
+
key: "cta",
|
|
80
|
+
label: "CTA Button",
|
|
81
|
+
field_interface: "ButtonWidget",
|
|
82
|
+
},
|
|
83
|
+
],
|
|
68
84
|
},
|
|
69
85
|
],
|
|
70
86
|
layouts: [
|
|
@@ -73,20 +89,12 @@ export const Content8: IBlock = {
|
|
|
73
89
|
title: "Default",
|
|
74
90
|
styles: {
|
|
75
91
|
layout: {
|
|
76
|
-
"padding-top": "base",
|
|
77
|
-
"padding-bottom": "base",
|
|
78
|
-
"padding-left": "none",
|
|
79
|
-
"padding-right": "none",
|
|
80
92
|
"background-color": "background-2",
|
|
81
93
|
},
|
|
82
94
|
container: {
|
|
83
|
-
"margin-left": "auto",
|
|
84
|
-
"margin-right": "auto",
|
|
85
95
|
display: "flex",
|
|
86
96
|
"justify-content": "space-between",
|
|
87
97
|
"align-items": "center",
|
|
88
|
-
"padding-left": "none",
|
|
89
|
-
"padding-right": "none",
|
|
90
98
|
},
|
|
91
99
|
inner_container: {
|
|
92
100
|
display: "flex",
|
|
@@ -110,16 +118,18 @@ export const Content8: IBlock = {
|
|
|
110
118
|
},
|
|
111
119
|
description: {
|
|
112
120
|
color: "text-1",
|
|
113
|
-
"font-size": "lg",
|
|
114
|
-
"line-height": "1.6",
|
|
115
121
|
"max-width": "600px",
|
|
116
|
-
"margin-left": "auto",
|
|
117
|
-
"margin-right": "auto",
|
|
118
122
|
},
|
|
119
123
|
cta: {},
|
|
120
124
|
},
|
|
121
125
|
content: DEFAULT_CONTENT,
|
|
122
|
-
config: {
|
|
126
|
+
config: {
|
|
127
|
+
description: {
|
|
128
|
+
selectedVariants: {
|
|
129
|
+
Typography_Variants: "Large",
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
},
|
|
123
133
|
},
|
|
124
134
|
],
|
|
125
135
|
};
|