@levo-so/blocks 0.1.101 → 0.1.102
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 -5
- package/src/blocks/about-us/about-us-1.schema.ts +302 -295
- package/src/blocks/about-us/about-us-2.schema.ts +225 -220
- package/src/blocks/blogs/blog-author-1.schema.ts +719 -0
- package/src/blocks/blogs/blog-author-1.tsx +121 -0
- package/src/blocks/blogs/blog-listing-1.tsx +111 -33
- package/src/blocks/blogs/blog-listing-2.schema.ts +15 -33
- package/src/blocks/blogs/blog-listing-2.tsx +118 -33
- package/src/blocks/blogs/blog-listing-3.schema.ts +10 -22
- package/src/blocks/blogs/blog-listing-3.tsx +118 -33
- package/src/blocks/blogs/blog-post-1.schema.ts +766 -16
- package/src/blocks/blogs/blog-post-1.tsx +256 -32
- package/src/blocks/calendar/calendar-1.schema.ts +641 -192
- package/src/blocks/calendar/calendar-1.tsx +1 -0
- package/src/blocks/cards/cards-10.schema.ts +557 -544
- package/src/blocks/cards/cards-11.schema.ts +525 -419
- package/src/blocks/cards/cards-12.schema.ts +538 -147
- package/src/blocks/cards/cards-13.schema.ts +482 -312
- package/src/blocks/cards/cards-14.schema.ts +423 -196
- package/src/blocks/cards/cards-15.schema.ts +309 -143
- package/src/blocks/cards/cards-16.schema.ts +1277 -175
- package/src/blocks/cards/cards-17.schema.ts +2908 -1303
- package/src/blocks/cards/cards-18.schema.ts +1404 -217
- package/src/blocks/cards/cards-19.schema.ts +1105 -1084
- package/src/blocks/cards/cards-19.tsx +4 -5
- package/src/blocks/cards/cards-2.schema.ts +513 -42
- package/src/blocks/cards/cards-20.schema.ts +790 -212
- package/src/blocks/cards/cards-21.schema.ts +1215 -229
- package/src/blocks/cards/cards-21.tsx +51 -6
- package/src/blocks/cards/cards-22.schema.ts +1252 -2809
- package/src/blocks/cards/cards-22.tsx +6 -7
- package/src/blocks/cards/cards-23.schema.ts +571 -109
- package/src/blocks/cards/cards-3.schema.ts +355 -116
- package/src/blocks/cards/cards-4.schema.ts +805 -321
- package/src/blocks/cards/cards-5.schema.ts +216 -64
- package/src/blocks/cards/cards-6.schema.ts +568 -1330
- package/src/blocks/cards/cards-7.schema.ts +1181 -1378
- package/src/blocks/cards/cards-8.schema.ts +585 -221
- package/src/blocks/cards/cards-9.schema.ts +763 -382
- package/src/blocks/carousel/carousel-1.schema.ts +257 -502
- package/src/blocks/carousel/carousel-2.schema.ts +771 -761
- package/src/blocks/community/community-1.schema.ts +8 -23
- package/src/blocks/community/community-1.tsx +3 -3
- package/src/blocks/community/community-post-1.tsx +4 -4
- package/src/blocks/contact-us/contact-us-1.schema.ts +360 -14
- package/src/blocks/contact-us/contact-us-2.schema.ts +441 -325
- package/src/blocks/content/content-1.schema.ts +800 -381
- package/src/blocks/content/content-10.schema.ts +763 -20
- package/src/blocks/content/content-2.schema.ts +426 -52
- package/src/blocks/content/content-3.schema.ts +631 -432
- package/src/blocks/content/content-4.schema.ts +378 -123
- package/src/blocks/content/content-5.schema.ts +1152 -682
- package/src/blocks/content/content-6.schema.ts +679 -707
- package/src/blocks/content/content-7.schema.ts +694 -291
- package/src/blocks/content/content-8.schema.ts +247 -7
- package/src/blocks/content/content-9.schema.ts +855 -116
- package/src/blocks/cta/cta-1.schema.ts +294 -62
- package/src/blocks/cta/cta-2.schema.ts +302 -66
- package/src/blocks/cta/cta-2.tsx +1 -2
- package/src/blocks/cta/cta-3.schema.ts +312 -62
- package/src/blocks/embed/embed-1.schema.ts +181 -0
- package/src/blocks/event/event-listing-2.schema.ts +5 -11
- package/src/blocks/event/event-listing-3.schema.ts +5 -11
- package/src/blocks/event/event-listing-4.schema.ts +5 -11
- package/src/blocks/event/event-listing.schema.ts +5 -11
- package/src/blocks/faq/faq-1.schema.ts +439 -260
- package/src/blocks/faq/faq-2.schema.ts +444 -266
- package/src/blocks/faq/faq-3.schema.ts +1420 -224
- package/src/blocks/features/features-1/features-1.schema.ts +21 -21
- package/src/blocks/features/features-1/variants/default.ts +120 -138
- package/src/blocks/features/features-1/variants/index.ts +2 -2
- package/src/blocks/features/features-1/variants/minimal-list.ts +139 -0
- package/src/blocks/features/features-1/variants/stylized-cards-v1.ts +69 -385
- package/src/blocks/features/features-1/variants/stylized-cards-v2.ts +74 -408
- package/src/blocks/features/features-2.schema.ts +368 -286
- package/src/blocks/features/features-3.schema.ts +557 -280
- package/src/blocks/features/features-4.schema.ts +940 -432
- package/src/blocks/features/features-5.schema.ts +566 -407
- package/src/blocks/features/features-6.schema.ts +557 -523
- package/src/blocks/filter-listing/filter-listing-1.schema.ts +922 -270
- package/src/blocks/floating-buttons/floating-button-1.schema.ts +123 -0
- package/src/blocks/footer/footer-1.schema.ts +383 -401
- package/src/blocks/footer/footer-2.schema.ts +337 -878
- package/src/blocks/footer/footer-3.schema.ts +445 -381
- package/src/blocks/footer/footer-4.schema.ts +610 -439
- package/src/blocks/footer/footer-5.schema.ts +367 -321
- package/src/blocks/footer/footer-6.schema.ts +610 -357
- package/src/blocks/form/form-1.schema.ts +237 -0
- package/src/blocks/hero/hero-1.schema.ts +251 -221
- package/src/blocks/hero/hero-10.schema.ts +23 -14
- package/src/blocks/hero/hero-11.schema.ts +728 -601
- package/src/blocks/hero/hero-12.schema.ts +524 -334
- package/src/blocks/hero/hero-13.schema.ts +83 -95
- package/src/blocks/hero/hero-2.schema.ts +277 -68
- package/src/blocks/hero/hero-3.schema.ts +371 -235
- package/src/blocks/hero/hero-3.tsx +1 -1
- package/src/blocks/hero/hero-4.schema.ts +605 -338
- package/src/blocks/hero/hero-5.schema.ts +545 -61
- package/src/blocks/hero/hero-6.schema.ts +446 -257
- package/src/blocks/hero/hero-6.tsx +1 -1
- package/src/blocks/hero/hero-7.schema.ts +1299 -131
- package/src/blocks/hero/hero-7.tsx +43 -23
- package/src/blocks/hero/hero-8.schema.ts +736 -236
- package/src/blocks/hero/hero-9.schema.ts +908 -58
- package/src/blocks/index.ts +2 -0
- package/src/blocks/jobs/jobs-1.schema.ts +741 -219
- package/src/blocks/logos/logos-1.schema.ts +317 -321
- package/src/blocks/logos/logos-1.tsx +32 -19
- package/src/blocks/navbar/navbar-1.schema.ts +319 -186
- package/src/blocks/navbar/navbar-2.schema.ts +311 -190
- package/src/blocks/navbar/navbar-3.schema.ts +612 -570
- package/src/blocks/navbar/navbar-4.schema.ts +741 -1250
- package/src/blocks/polling/polling-1.schema.ts +161 -0
- package/src/blocks/pricing/pricing-1.schema.ts +549 -626
- package/src/blocks/products/products-listing-1.schema.ts +363 -249
- package/src/blocks/products/products-listing-2.schema.ts +515 -257
- package/src/blocks/products/products-listing-3.schema.ts +789 -836
- package/src/blocks/profile/profile-1.schema.ts +168 -187
- package/src/blocks/profile/profile-2.schema.ts +150 -122
- package/src/blocks/profile/profile-3.schema.ts +307 -256
- package/src/blocks/profile/profile-4.schema.ts +372 -504
- package/src/blocks/profile/profile-5.schema.ts +186 -79
- package/src/blocks/services/service-1.schema.ts +700 -631
- package/src/blocks/services/service-2.schema.ts +559 -82
- package/src/blocks/services/service-2.tsx +5 -3
- package/src/blocks/services/service-3.schema.ts +587 -215
- package/src/blocks/services/service-3.tsx +4 -2
- package/src/blocks/stats/stats-1.schema.ts +347 -257
- package/src/blocks/stats/stats-2.schema.ts +14 -2
- package/src/blocks/stats/variants/default.ts +14 -37
- package/src/blocks/stats/variants/extra.ts +232 -0
- package/src/blocks/stats/variants/hero.ts +1 -30
- package/src/blocks/stats/variants/index.ts +13 -1
- package/src/blocks/tabs/tab-1.schema.ts +1361 -214
- package/src/blocks/tabs/tab-2.schema.ts +984 -390
- package/src/blocks/tabs/tab-3.schema.ts +961 -95
- package/src/blocks/team/team-1.schema.ts +681 -564
- package/src/blocks/team/team-2.schema.ts +589 -935
- package/src/blocks/team/team-3.schema.ts +375 -284
- package/src/blocks/team/team-4.schema.ts +569 -355
- package/src/blocks/team/team-5.schema.ts +307 -111
- package/src/blocks/testimonial/testimonial-1.schema.ts +605 -706
- package/src/blocks/testimonial/testimonial-2.schema.ts +825 -1099
- package/src/blocks/testimonial/testimonial-3.schema.ts +580 -235
- package/src/blocks/testimonial/testimonial-4.schema.ts +1326 -1779
- package/src/blocks/testimonial/testimonial-5/variants/default.ts +179 -328
- package/src/blocks/testimonial/testimonial-5/variants/index.ts +9 -1
- package/src/blocks/testimonial/testimonial-5/variants/testimonialCentered.ts +194 -0
- package/src/blocks/testimonial/testimonial-5/variants/testimonialCompact.ts +188 -0
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +275 -396
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +254 -602
- package/src/blocks/testimonial/testimonial-5.schema.ts +6 -2
- package/src/blocks/testimonial/testimonial-6.schema.ts +962 -1234
- package/src/blocks/testimonial/testimonial-7.schema.ts +515 -233
- package/src/blocks/timeline/timeline-1.schema.ts +382 -140
- package/src/blocks/users/edit-profile.schema.ts +2 -8
- package/src/blocks/users/edit-profile.tsx +2 -3
- package/src/schemas/blocks.ts +2 -0
- package/src/blocks/features/features-1/variants/stylized-cards-v3.ts +0 -268
|
@@ -1,39 +1,27 @@
|
|
|
1
1
|
import type { IBlock } from "@levo-so/studio";
|
|
2
2
|
|
|
3
3
|
const MEDIA_1 = {
|
|
4
|
-
id: "
|
|
5
|
-
filename: "cta-2-1.png",
|
|
4
|
+
id: "7452758419847870025",
|
|
6
5
|
kind: "image",
|
|
7
|
-
location: "https://
|
|
8
|
-
|
|
9
|
-
"1080w": "https://static.levocdn.com/WLZ1TXTD/cta-2-1-XZbHqbcweGmtm-1080w.webp",
|
|
10
|
-
"1200w": "https://static.levocdn.com/WLZ1TXTD/cta-2-1-XZbHqbcweGmtm-1200w.webp",
|
|
11
|
-
"1920w": "https://static.levocdn.com/WLZ1TXTD/cta-2-1-XZbHqbcweGmtm-1920w.webp",
|
|
12
|
-
"320w": "https://static.levocdn.com/WLZ1TXTD/cta-2-1-XZbHqbcweGmtm-320w.webp",
|
|
13
|
-
"640w": "https://static.levocdn.com/WLZ1TXTD/cta-2-1-XZbHqbcweGmtm-640w.webp",
|
|
14
|
-
"750w": "https://static.levocdn.com/WLZ1TXTD/cta-2-1-XZbHqbcweGmtm-750w.webp",
|
|
15
|
-
"828w": "https://static.levocdn.com/WLZ1TXTD/cta-2-1-XZbHqbcweGmtm-828w.webp",
|
|
16
|
-
path: "https://static.levocdn.com/WLZ1TXTD/cta-2-1-XZbHqbcweGmtm-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/cta-2-1-XZbHqbcweGmtm-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/cta-2-1-XZbHqbcweGmtm-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/cta-2-1-XZbHqbcweGmtm-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/cta-2-1-XZbHqbcweGmtm-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/cta-2-1-XZbHqbcweGmtm-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/cta-2-1-XZbHqbcweGmtm-750w.webp 750w",
|
|
17
|
-
},
|
|
18
|
-
mimetype: "image/png",
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
const MEDIA_2 = {
|
|
22
|
-
id: "4JO6jlk23HzSb",
|
|
23
|
-
filename: "cta-2-2.jpg",
|
|
24
|
-
kind: "image",
|
|
25
|
-
location: "https://static.levocdn.com/WLZ1TXTD/cta-2-2-sR8GfjjdTwkQF.jpg",
|
|
6
|
+
location: "https://images.pexels.com/photos/33689718/pexels-photo-33689718.jpeg",
|
|
7
|
+
mimetype: "image/jpeg",
|
|
26
8
|
srcset: {
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
"828w":
|
|
34
|
-
|
|
9
|
+
"320w":
|
|
10
|
+
"https://images.pexels.com/photos/33689718/pexels-photo-33689718.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=320",
|
|
11
|
+
"640w":
|
|
12
|
+
"https://images.pexels.com/photos/33689718/pexels-photo-33689718.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=640",
|
|
13
|
+
"750w":
|
|
14
|
+
"https://images.pexels.com/photos/33689718/pexels-photo-33689718.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=750",
|
|
15
|
+
"828w":
|
|
16
|
+
"https://images.pexels.com/photos/33689718/pexels-photo-33689718.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=828",
|
|
17
|
+
"1080w":
|
|
18
|
+
"https://images.pexels.com/photos/33689718/pexels-photo-33689718.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1080",
|
|
19
|
+
"1200w":
|
|
20
|
+
"https://images.pexels.com/photos/33689718/pexels-photo-33689718.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1200",
|
|
21
|
+
"1920w":
|
|
22
|
+
"https://images.pexels.com/photos/33689718/pexels-photo-33689718.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1920",
|
|
23
|
+
path: "https://images.pexels.com/photos/33689718/pexels-photo-33689718.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=320 320w, https://images.pexels.com/photos/33689718/pexels-photo-33689718.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=640 640w, https://images.pexels.com/photos/33689718/pexels-photo-33689718.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=750 750w, https://images.pexels.com/photos/33689718/pexels-photo-33689718.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=828 828w, https://images.pexels.com/photos/33689718/pexels-photo-33689718.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1080 1080w, https://images.pexels.com/photos/33689718/pexels-photo-33689718.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1200 1200w, https://images.pexels.com/photos/33689718/pexels-photo-33689718.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&w=1920 1920w",
|
|
35
24
|
},
|
|
36
|
-
mimetype: "image/jpeg",
|
|
37
25
|
};
|
|
38
26
|
|
|
39
27
|
const DEFAULT_CONTENT = {
|
|
@@ -41,22 +29,17 @@ const DEFAULT_CONTENT = {
|
|
|
41
29
|
container: null,
|
|
42
30
|
contentContainer: null,
|
|
43
31
|
|
|
44
|
-
// Left image
|
|
45
32
|
leftImage: MEDIA_1,
|
|
46
33
|
|
|
47
|
-
|
|
48
|
-
rightImage: MEDIA_2,
|
|
49
|
-
|
|
50
|
-
// Center content
|
|
51
|
-
title: "Your Transformation Starts Today",
|
|
34
|
+
title: "Your next build, engineered to schedule",
|
|
52
35
|
description:
|
|
53
|
-
"
|
|
36
|
+
"We run the full lifecycle — feasibility, design, procurement, and site — under one accountable team. On budget, on program, every pour.",
|
|
54
37
|
buttons: [
|
|
55
38
|
{
|
|
56
|
-
text: "Book
|
|
39
|
+
text: "Book a site visit",
|
|
57
40
|
},
|
|
58
41
|
{
|
|
59
|
-
text: "
|
|
42
|
+
text: "Download capabilities",
|
|
60
43
|
},
|
|
61
44
|
],
|
|
62
45
|
};
|
|
@@ -69,7 +52,7 @@ export const Cta2: IBlock = {
|
|
|
69
52
|
key: "cta-2",
|
|
70
53
|
version: "v1",
|
|
71
54
|
prompt_description:
|
|
72
|
-
"
|
|
55
|
+
"Construction-themed call-to-action with a site photo on the left and content on the right, built for engineering and construction firms",
|
|
73
56
|
|
|
74
57
|
content_schema: [
|
|
75
58
|
{
|
|
@@ -116,11 +99,6 @@ export const Cta2: IBlock = {
|
|
|
116
99
|
},
|
|
117
100
|
],
|
|
118
101
|
},
|
|
119
|
-
{
|
|
120
|
-
key: "rightImage",
|
|
121
|
-
label: "Right Image",
|
|
122
|
-
field_interface: "ImageWidget",
|
|
123
|
-
},
|
|
124
102
|
],
|
|
125
103
|
|
|
126
104
|
layouts: [
|
|
@@ -141,7 +119,7 @@ export const Cta2: IBlock = {
|
|
|
141
119
|
display: "flex",
|
|
142
120
|
"align-items": "center",
|
|
143
121
|
"justify-content": "space-between",
|
|
144
|
-
"column-gap": "
|
|
122
|
+
"column-gap": "3xl",
|
|
145
123
|
tablet: {
|
|
146
124
|
"flex-direction": "column",
|
|
147
125
|
"row-gap": "xl",
|
|
@@ -154,56 +132,314 @@ export const Cta2: IBlock = {
|
|
|
154
132
|
},
|
|
155
133
|
},
|
|
156
134
|
leftImage: {
|
|
157
|
-
width: "
|
|
158
|
-
height: "
|
|
135
|
+
width: "440px",
|
|
136
|
+
height: "300px",
|
|
137
|
+
"aspect-ratio": "3 / 2",
|
|
159
138
|
"object-fit": "cover",
|
|
160
|
-
"border-radius": "
|
|
139
|
+
"border-radius": "lg",
|
|
140
|
+
"flex-shrink": "0",
|
|
161
141
|
tablet: {
|
|
162
|
-
width: "
|
|
163
|
-
height: "
|
|
142
|
+
width: "360px",
|
|
143
|
+
height: "240px",
|
|
164
144
|
},
|
|
165
145
|
mobile: {
|
|
166
|
-
width: "
|
|
167
|
-
height: "
|
|
146
|
+
width: "100%",
|
|
147
|
+
height: "220px",
|
|
168
148
|
},
|
|
169
149
|
},
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
"
|
|
174
|
-
"
|
|
150
|
+
contentContainer: {
|
|
151
|
+
display: "flex",
|
|
152
|
+
"flex-direction": "column",
|
|
153
|
+
"align-items": "flex-start",
|
|
154
|
+
"row-gap": "sm",
|
|
155
|
+
"flex-grow": "1",
|
|
175
156
|
tablet: {
|
|
176
|
-
|
|
177
|
-
height: "160px",
|
|
157
|
+
"align-items": "center",
|
|
178
158
|
},
|
|
179
159
|
mobile: {
|
|
180
|
-
|
|
181
|
-
|
|
160
|
+
"align-items": "center",
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
title: {
|
|
164
|
+
"margin-bottom": "0",
|
|
165
|
+
},
|
|
166
|
+
description: {
|
|
167
|
+
"margin-bottom": "base",
|
|
168
|
+
},
|
|
169
|
+
buttons_levoGroup: {
|
|
170
|
+
display: "flex",
|
|
171
|
+
"flex-direction": "row",
|
|
172
|
+
"column-gap": "base",
|
|
173
|
+
"align-items": "center",
|
|
174
|
+
mobile: {
|
|
175
|
+
"flex-direction": "column",
|
|
176
|
+
"row-gap": "sm",
|
|
177
|
+
width: "100%",
|
|
178
|
+
},
|
|
179
|
+
},
|
|
180
|
+
buttons: [
|
|
181
|
+
{
|
|
182
|
+
text: {
|
|
183
|
+
selectedVariants: {
|
|
184
|
+
Button_Variants: "Primary",
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
text: {
|
|
190
|
+
selectedVariants: {
|
|
191
|
+
Button_Variants: "Secondary",
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
title: "No Images",
|
|
200
|
+
key: "no_images",
|
|
201
|
+
content: DEFAULT_CONTENT,
|
|
202
|
+
config: {
|
|
203
|
+
title: {
|
|
204
|
+
selectedVariants: {
|
|
205
|
+
Heading_Level: "H2",
|
|
182
206
|
},
|
|
183
207
|
},
|
|
208
|
+
},
|
|
209
|
+
styles: {
|
|
210
|
+
layout: {},
|
|
211
|
+
container: {
|
|
212
|
+
display: "flex",
|
|
213
|
+
"flex-direction": "column",
|
|
214
|
+
"align-items": "center",
|
|
215
|
+
"text-align": "center",
|
|
216
|
+
},
|
|
217
|
+
leftImage: {
|
|
218
|
+
display: "none",
|
|
219
|
+
},
|
|
184
220
|
contentContainer: {
|
|
185
221
|
display: "flex",
|
|
186
222
|
"flex-direction": "column",
|
|
187
223
|
"align-items": "center",
|
|
188
224
|
"text-align": "center",
|
|
189
|
-
"row-gap": "
|
|
190
|
-
"
|
|
191
|
-
"max-width": "600px",
|
|
225
|
+
"row-gap": "sm",
|
|
226
|
+
"max-width": "700px",
|
|
192
227
|
},
|
|
193
228
|
title: {
|
|
229
|
+
"margin-bottom": "0",
|
|
230
|
+
},
|
|
231
|
+
description: {
|
|
194
232
|
"margin-bottom": "base",
|
|
195
233
|
},
|
|
234
|
+
buttons_levoGroup: {
|
|
235
|
+
display: "flex",
|
|
236
|
+
"flex-direction": "row",
|
|
237
|
+
"column-gap": "base",
|
|
238
|
+
"align-items": "center",
|
|
239
|
+
"justify-content": "center",
|
|
240
|
+
mobile: {
|
|
241
|
+
"flex-direction": "column",
|
|
242
|
+
"row-gap": "sm",
|
|
243
|
+
width: "100%",
|
|
244
|
+
},
|
|
245
|
+
},
|
|
246
|
+
buttons: [
|
|
247
|
+
{
|
|
248
|
+
text: {
|
|
249
|
+
selectedVariants: {
|
|
250
|
+
Button_Variants: "Primary",
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
text: {
|
|
256
|
+
selectedVariants: {
|
|
257
|
+
Button_Variants: "Secondary",
|
|
258
|
+
},
|
|
259
|
+
},
|
|
260
|
+
},
|
|
261
|
+
],
|
|
262
|
+
},
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
title: "Card",
|
|
266
|
+
key: "card",
|
|
267
|
+
content: DEFAULT_CONTENT,
|
|
268
|
+
config: {
|
|
269
|
+
title: {
|
|
270
|
+
selectedVariants: {
|
|
271
|
+
Heading_Level: "H2",
|
|
272
|
+
},
|
|
273
|
+
},
|
|
274
|
+
},
|
|
275
|
+
styles: {
|
|
276
|
+
layout: {
|
|
277
|
+
"background-color": "background-1",
|
|
278
|
+
},
|
|
279
|
+
container: {
|
|
280
|
+
display: "flex",
|
|
281
|
+
"flex-direction": "column",
|
|
282
|
+
"align-items": "center",
|
|
283
|
+
"text-align": "center",
|
|
284
|
+
"background-color": "white",
|
|
285
|
+
"border-radius": "lg",
|
|
286
|
+
"border-width": "1px",
|
|
287
|
+
"border-style": "solid",
|
|
288
|
+
"border-color": "border",
|
|
289
|
+
"padding-top": "4xl",
|
|
290
|
+
"padding-bottom": "4xl",
|
|
291
|
+
"padding-left": "3xl",
|
|
292
|
+
"padding-right": "3xl",
|
|
293
|
+
"box-shadow": "lg",
|
|
294
|
+
mobile: {
|
|
295
|
+
"padding-top": "2xl",
|
|
296
|
+
"padding-bottom": "2xl",
|
|
297
|
+
"padding-left": "lg",
|
|
298
|
+
"padding-right": "lg",
|
|
299
|
+
},
|
|
300
|
+
},
|
|
301
|
+
leftImage: {
|
|
302
|
+
display: "none",
|
|
303
|
+
},
|
|
304
|
+
contentContainer: {
|
|
305
|
+
display: "flex",
|
|
306
|
+
"flex-direction": "column",
|
|
307
|
+
"align-items": "center",
|
|
308
|
+
"text-align": "center",
|
|
309
|
+
"row-gap": "sm",
|
|
310
|
+
"max-width": "600px",
|
|
311
|
+
},
|
|
312
|
+
title: {
|
|
313
|
+
"margin-bottom": "0",
|
|
314
|
+
},
|
|
196
315
|
description: {
|
|
197
|
-
"margin-bottom": "
|
|
316
|
+
"margin-bottom": "base",
|
|
198
317
|
},
|
|
199
318
|
buttons_levoGroup: {
|
|
200
319
|
display: "flex",
|
|
201
320
|
"flex-direction": "row",
|
|
202
321
|
"column-gap": "base",
|
|
203
322
|
"align-items": "center",
|
|
323
|
+
"justify-content": "center",
|
|
204
324
|
mobile: {
|
|
205
325
|
"flex-direction": "column",
|
|
206
326
|
"row-gap": "sm",
|
|
327
|
+
width: "100%",
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
buttons: [
|
|
331
|
+
{
|
|
332
|
+
text: {
|
|
333
|
+
selectedVariants: {
|
|
334
|
+
Button_Variants: "Primary",
|
|
335
|
+
},
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
text: {
|
|
340
|
+
selectedVariants: {
|
|
341
|
+
Button_Variants: "Secondary",
|
|
342
|
+
},
|
|
343
|
+
},
|
|
344
|
+
},
|
|
345
|
+
],
|
|
346
|
+
},
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
title: "Compact",
|
|
350
|
+
key: "compact",
|
|
351
|
+
content: DEFAULT_CONTENT,
|
|
352
|
+
config: {
|
|
353
|
+
title: {
|
|
354
|
+
selectedVariants: {
|
|
355
|
+
Heading_Level: "H3",
|
|
356
|
+
},
|
|
357
|
+
heading: {
|
|
358
|
+
level: 3,
|
|
359
|
+
},
|
|
360
|
+
},
|
|
361
|
+
},
|
|
362
|
+
styles: {
|
|
363
|
+
layout: {
|
|
364
|
+
"padding-top": "lg",
|
|
365
|
+
"padding-bottom": "lg",
|
|
366
|
+
},
|
|
367
|
+
container: {
|
|
368
|
+
display: "flex",
|
|
369
|
+
"flex-direction": "row",
|
|
370
|
+
"align-items": "center",
|
|
371
|
+
"column-gap": "xl",
|
|
372
|
+
tablet: {
|
|
373
|
+
"flex-direction": "column",
|
|
374
|
+
"row-gap": "base",
|
|
375
|
+
"text-align": "center",
|
|
376
|
+
"align-items": "center",
|
|
377
|
+
},
|
|
378
|
+
mobile: {
|
|
379
|
+
"flex-direction": "column",
|
|
380
|
+
"row-gap": "base",
|
|
381
|
+
"text-align": "center",
|
|
382
|
+
"align-items": "center",
|
|
383
|
+
},
|
|
384
|
+
},
|
|
385
|
+
leftImage: {
|
|
386
|
+
width: "280px",
|
|
387
|
+
height: "160px",
|
|
388
|
+
"aspect-ratio": "7 / 4",
|
|
389
|
+
"object-fit": "cover",
|
|
390
|
+
"border-radius": "base",
|
|
391
|
+
"flex-shrink": "0",
|
|
392
|
+
tablet: {
|
|
393
|
+
width: "360px",
|
|
394
|
+
height: "200px",
|
|
395
|
+
},
|
|
396
|
+
mobile: {
|
|
397
|
+
width: "100%",
|
|
398
|
+
height: "180px",
|
|
399
|
+
},
|
|
400
|
+
},
|
|
401
|
+
contentContainer: {
|
|
402
|
+
display: "flex",
|
|
403
|
+
"flex-direction": "row",
|
|
404
|
+
"align-items": "center",
|
|
405
|
+
"column-gap": "lg",
|
|
406
|
+
"row-gap": "xs",
|
|
407
|
+
"flex-grow": "1",
|
|
408
|
+
"flex-wrap": "wrap",
|
|
409
|
+
tablet: {
|
|
410
|
+
"flex-direction": "column",
|
|
411
|
+
"text-align": "center",
|
|
412
|
+
},
|
|
413
|
+
mobile: {
|
|
414
|
+
"flex-direction": "column",
|
|
415
|
+
"text-align": "center",
|
|
416
|
+
},
|
|
417
|
+
},
|
|
418
|
+
title: {
|
|
419
|
+
"margin-bottom": "0",
|
|
420
|
+
"flex-shrink": "1",
|
|
421
|
+
"min-width": "0",
|
|
422
|
+
},
|
|
423
|
+
description: {
|
|
424
|
+
"margin-bottom": "0",
|
|
425
|
+
"flex-basis": "100%",
|
|
426
|
+
},
|
|
427
|
+
buttons_levoGroup: {
|
|
428
|
+
display: "flex",
|
|
429
|
+
"flex-direction": "row",
|
|
430
|
+
"column-gap": "sm",
|
|
431
|
+
"align-items": "center",
|
|
432
|
+
"margin-left": "auto",
|
|
433
|
+
"flex-shrink": "0",
|
|
434
|
+
tablet: {
|
|
435
|
+
"margin-left": "0",
|
|
436
|
+
"justify-content": "center",
|
|
437
|
+
},
|
|
438
|
+
mobile: {
|
|
439
|
+
"flex-direction": "column",
|
|
440
|
+
"row-gap": "xs",
|
|
441
|
+
"margin-left": "0",
|
|
442
|
+
width: "100%",
|
|
207
443
|
},
|
|
208
444
|
},
|
|
209
445
|
buttons: [
|
package/src/blocks/cta/cta-2.tsx
CHANGED
|
@@ -14,7 +14,7 @@ import type { ICta2Content } from "./cta-2.schema";
|
|
|
14
14
|
const Cta2: React.FC<ILevoBlockBaseProps<ICta2Content>> = ({ content }) => (
|
|
15
15
|
<Section elementKey="layout">
|
|
16
16
|
<Container elementKey="container">
|
|
17
|
-
<Image elementKey="leftImage" alt="
|
|
17
|
+
<Image elementKey="leftImage" alt="" />
|
|
18
18
|
<Box elementKey="contentContainer">
|
|
19
19
|
<Heading elementKey="title" />
|
|
20
20
|
<Typography elementKey="description" />
|
|
@@ -24,7 +24,6 @@ const Cta2: React.FC<ILevoBlockBaseProps<ICta2Content>> = ({ content }) => (
|
|
|
24
24
|
))}
|
|
25
25
|
</Box>
|
|
26
26
|
</Box>
|
|
27
|
-
<Image elementKey="rightImage" alt="Right fitness image" />
|
|
28
27
|
</Container>
|
|
29
28
|
</Section>
|
|
30
29
|
);
|