@levo-so/blocks 0.1.100 → 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 +5 -4
- 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,7 +1,13 @@
|
|
|
1
1
|
import type { IBlock } from "@levo-so/studio";
|
|
2
2
|
|
|
3
3
|
import type { DEFAULT_CONTENT } from "./variants";
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
cardGridStats2Variant,
|
|
6
|
+
defaultStats2Variant,
|
|
7
|
+
heroStats2Variant,
|
|
8
|
+
horizontalBarStats2Variant,
|
|
9
|
+
splitEditorialStats2Variant,
|
|
10
|
+
} from "./variants";
|
|
5
11
|
|
|
6
12
|
export type IStats2Content = typeof DEFAULT_CONTENT;
|
|
7
13
|
|
|
@@ -115,5 +121,11 @@ export const Stats2: IBlock = {
|
|
|
115
121
|
],
|
|
116
122
|
},
|
|
117
123
|
],
|
|
118
|
-
layouts: [
|
|
124
|
+
layouts: [
|
|
125
|
+
defaultStats2Variant,
|
|
126
|
+
heroStats2Variant,
|
|
127
|
+
horizontalBarStats2Variant,
|
|
128
|
+
cardGridStats2Variant,
|
|
129
|
+
splitEditorialStats2Variant,
|
|
130
|
+
],
|
|
119
131
|
};
|
|
@@ -5,37 +5,37 @@ export const DEFAULT_CONTENT = {
|
|
|
5
5
|
container: null,
|
|
6
6
|
content_wrapper: null,
|
|
7
7
|
text_content: null,
|
|
8
|
-
small_title: "
|
|
9
|
-
main_title: "
|
|
8
|
+
small_title: "Our Results",
|
|
9
|
+
main_title: "Settlement that scales with you",
|
|
10
10
|
description:
|
|
11
|
-
"
|
|
11
|
+
"From first authorization to same-day payouts, our rails keep moving — even when volume triples on Black Friday.",
|
|
12
12
|
ctas_levoGroup: null,
|
|
13
|
-
ctas: [{ cta: "
|
|
13
|
+
ctas: [{ cta: "Book a demo" }, { cta: "Read trust report" }],
|
|
14
14
|
stats_section: null,
|
|
15
15
|
header_section: null,
|
|
16
|
-
section_title: "
|
|
16
|
+
section_title: "By the numbers",
|
|
17
17
|
section_description:
|
|
18
|
-
"
|
|
18
|
+
"Four metrics we optimize every sprint — because the thing your finance team trusts is the only thing that matters.",
|
|
19
19
|
stats: [
|
|
20
20
|
{
|
|
21
21
|
stat_card: null,
|
|
22
|
-
number: "
|
|
23
|
-
label: "
|
|
22
|
+
number: "$420B+",
|
|
23
|
+
label: "Processed in 2025",
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
stat_card: null,
|
|
27
|
-
number: "
|
|
28
|
-
label: "
|
|
27
|
+
number: "180+",
|
|
28
|
+
label: "Countries supported",
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
stat_card: null,
|
|
32
|
-
number: "
|
|
33
|
-
label: "
|
|
32
|
+
number: "99.99%",
|
|
33
|
+
label: "Settlement success rate",
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
stat_card: null,
|
|
37
|
-
number: "
|
|
38
|
-
label: "
|
|
37
|
+
number: "<80ms",
|
|
38
|
+
label: "Median auth latency",
|
|
39
39
|
},
|
|
40
40
|
],
|
|
41
41
|
};
|
|
@@ -161,26 +161,6 @@ export const defaultStats2Variant: IBlockLayouts = {
|
|
|
161
161
|
"padding-bottom": "none",
|
|
162
162
|
"padding-top": "2xl",
|
|
163
163
|
},
|
|
164
|
-
"stats.$.stat_card": {
|
|
165
|
-
"text-align": "center",
|
|
166
|
-
},
|
|
167
|
-
"stats.$.number": {
|
|
168
|
-
"font-size": "4xl",
|
|
169
|
-
"font-weight": "700",
|
|
170
|
-
color: "text-1",
|
|
171
|
-
"margin-bottom": "xs",
|
|
172
|
-
mobile: {
|
|
173
|
-
"font-size": "3xl",
|
|
174
|
-
},
|
|
175
|
-
},
|
|
176
|
-
"stats.$.label": {
|
|
177
|
-
"font-size": "base",
|
|
178
|
-
"font-weight": "500",
|
|
179
|
-
color: "text-2",
|
|
180
|
-
mobile: {
|
|
181
|
-
"font-size": "sm",
|
|
182
|
-
},
|
|
183
|
-
},
|
|
184
164
|
small_title: {
|
|
185
165
|
display: "none",
|
|
186
166
|
},
|
|
@@ -198,9 +178,6 @@ export const defaultStats2Variant: IBlockLayouts = {
|
|
|
198
178
|
"flex-wrap": "wrap",
|
|
199
179
|
"align-items": "center",
|
|
200
180
|
},
|
|
201
|
-
ctas: Array(2)
|
|
202
|
-
.fill(0)
|
|
203
|
-
.map(() => ({})),
|
|
204
181
|
stats: [{}, {}, {}, {}],
|
|
205
182
|
},
|
|
206
183
|
};
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import type { IBlockLayouts } from "@levo-so/studio";
|
|
2
|
+
|
|
3
|
+
import { DEFAULT_CONTENT } from "./default";
|
|
4
|
+
|
|
5
|
+
const statsConfig = {
|
|
6
|
+
stats: Array(4)
|
|
7
|
+
.fill(0)
|
|
8
|
+
.map(() => ({
|
|
9
|
+
number: { selectedVariants: { Heading_Level: "H2" } },
|
|
10
|
+
})),
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const horizontalBarStats2Variant: IBlockLayouts = {
|
|
14
|
+
title: "Horizontal Bar",
|
|
15
|
+
key: "horizontal-bar",
|
|
16
|
+
content: DEFAULT_CONTENT,
|
|
17
|
+
config: {
|
|
18
|
+
...statsConfig,
|
|
19
|
+
section_title: { selectedVariants: { Typography_Variants: "Small" } },
|
|
20
|
+
section_description: { selectedVariants: { Typography_Variants: "Large" } },
|
|
21
|
+
},
|
|
22
|
+
styles: {
|
|
23
|
+
layout: { "background-color": "background-1" },
|
|
24
|
+
container: {},
|
|
25
|
+
content_wrapper: { display: "block" },
|
|
26
|
+
text_content: { display: "none" },
|
|
27
|
+
stats_section: { display: "block" },
|
|
28
|
+
header_section: {
|
|
29
|
+
"margin-bottom": "3xl",
|
|
30
|
+
"text-align": "center",
|
|
31
|
+
display: "flex",
|
|
32
|
+
"flex-direction": "column",
|
|
33
|
+
"align-items": "center",
|
|
34
|
+
},
|
|
35
|
+
section_title: {
|
|
36
|
+
color: "brand",
|
|
37
|
+
"margin-bottom": "base",
|
|
38
|
+
"font-weight": 600,
|
|
39
|
+
"font-size": "xs",
|
|
40
|
+
"text-transform": "uppercase",
|
|
41
|
+
"letter-spacing": "0.08em",
|
|
42
|
+
},
|
|
43
|
+
section_description: {
|
|
44
|
+
"font-size": "2xl",
|
|
45
|
+
color: "text-1",
|
|
46
|
+
"text-align": "center",
|
|
47
|
+
"max-width": "640px",
|
|
48
|
+
},
|
|
49
|
+
stats_levoGroup: {
|
|
50
|
+
display: "flex",
|
|
51
|
+
"flex-direction": "row",
|
|
52
|
+
width: "100%",
|
|
53
|
+
"border-width": "1px",
|
|
54
|
+
"border-style": "solid",
|
|
55
|
+
"border-color": "border",
|
|
56
|
+
"border-radius": "xl",
|
|
57
|
+
overflow: "hidden",
|
|
58
|
+
"background-color": "background-1",
|
|
59
|
+
"column-gap": "none",
|
|
60
|
+
tablet: { "flex-wrap": "wrap" },
|
|
61
|
+
mobile: { "flex-direction": "column" },
|
|
62
|
+
},
|
|
63
|
+
stats_levoGroupItem: {
|
|
64
|
+
number: { "font-weight": 700, color: "text-1" },
|
|
65
|
+
label: { color: "text-2", "font-weight": 500 },
|
|
66
|
+
},
|
|
67
|
+
small_title: { display: "none" },
|
|
68
|
+
main_title: { display: "none" },
|
|
69
|
+
description: { display: "none" },
|
|
70
|
+
ctas_levoGroup: { display: "none" },
|
|
71
|
+
stats: Array(4)
|
|
72
|
+
.fill(0)
|
|
73
|
+
.map((_, i) => ({
|
|
74
|
+
stat_card: {
|
|
75
|
+
flex: "1",
|
|
76
|
+
display: "flex",
|
|
77
|
+
"flex-direction": "column",
|
|
78
|
+
"align-items": "flex-start",
|
|
79
|
+
"row-gap": "2xs",
|
|
80
|
+
"padding-top": "xl",
|
|
81
|
+
"padding-bottom": "xl",
|
|
82
|
+
"padding-left": "xl",
|
|
83
|
+
"padding-right": "xl",
|
|
84
|
+
...(i > 0
|
|
85
|
+
? {
|
|
86
|
+
"border-left-width": "1px",
|
|
87
|
+
"border-left-style": "solid",
|
|
88
|
+
"border-color": "border",
|
|
89
|
+
}
|
|
90
|
+
: {}),
|
|
91
|
+
mobile: {
|
|
92
|
+
"border-left-width": "0",
|
|
93
|
+
"border-top-width": i > 0 ? "1px" : "0",
|
|
94
|
+
"border-top-style": "solid",
|
|
95
|
+
"border-color": "border",
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
})),
|
|
99
|
+
},
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
export const cardGridStats2Variant: IBlockLayouts = {
|
|
103
|
+
title: "Card Grid",
|
|
104
|
+
key: "card-grid",
|
|
105
|
+
content: DEFAULT_CONTENT,
|
|
106
|
+
config: {
|
|
107
|
+
...statsConfig,
|
|
108
|
+
section_title: { selectedVariants: { Typography_Variants: "Small" } },
|
|
109
|
+
section_description: { selectedVariants: { Typography_Variants: "Large" } },
|
|
110
|
+
},
|
|
111
|
+
styles: {
|
|
112
|
+
layout: { "background-color": "background-2" },
|
|
113
|
+
container: {},
|
|
114
|
+
content_wrapper: { display: "block" },
|
|
115
|
+
text_content: { display: "none" },
|
|
116
|
+
stats_section: { display: "block" },
|
|
117
|
+
header_section: {
|
|
118
|
+
"margin-bottom": "3xl",
|
|
119
|
+
"text-align": "center",
|
|
120
|
+
display: "flex",
|
|
121
|
+
"flex-direction": "column",
|
|
122
|
+
"align-items": "center",
|
|
123
|
+
},
|
|
124
|
+
section_title: {
|
|
125
|
+
color: "brandSecondaryForeground",
|
|
126
|
+
"background-color": "brandSecondary",
|
|
127
|
+
"padding-top": "xs",
|
|
128
|
+
"padding-bottom": "xs",
|
|
129
|
+
"padding-left": "base",
|
|
130
|
+
"padding-right": "base",
|
|
131
|
+
"border-radius": "100px",
|
|
132
|
+
"margin-bottom": "lg",
|
|
133
|
+
"font-weight": 600,
|
|
134
|
+
display: "inline-block",
|
|
135
|
+
},
|
|
136
|
+
section_description: {
|
|
137
|
+
"font-size": "2xl",
|
|
138
|
+
color: "text-1",
|
|
139
|
+
"text-align": "center",
|
|
140
|
+
"max-width": "640px",
|
|
141
|
+
},
|
|
142
|
+
stats_levoGroup: {
|
|
143
|
+
display: "grid",
|
|
144
|
+
"grid-template-columns": "repeat(4, minmax(0, 1fr))",
|
|
145
|
+
"column-gap": "lg",
|
|
146
|
+
"row-gap": "lg",
|
|
147
|
+
width: "100%",
|
|
148
|
+
tablet: { "grid-template-columns": "repeat(2, minmax(0, 1fr))" },
|
|
149
|
+
mobile: { "grid-template-columns": "repeat(1, minmax(0, 1fr))" },
|
|
150
|
+
},
|
|
151
|
+
stats_levoGroupItem: {
|
|
152
|
+
stat_card: {
|
|
153
|
+
"background-color": "background-1",
|
|
154
|
+
"border-radius": "xl",
|
|
155
|
+
"box-shadow": "default",
|
|
156
|
+
display: "flex",
|
|
157
|
+
"flex-direction": "column",
|
|
158
|
+
"row-gap": "2xs",
|
|
159
|
+
"padding-top": "xl",
|
|
160
|
+
"padding-bottom": "xl",
|
|
161
|
+
"padding-left": "xl",
|
|
162
|
+
"padding-right": "xl",
|
|
163
|
+
height: "100%",
|
|
164
|
+
},
|
|
165
|
+
number: { "font-weight": 700, color: "text-1" },
|
|
166
|
+
label: { color: "text-2", "font-weight": 500 },
|
|
167
|
+
},
|
|
168
|
+
small_title: { display: "none" },
|
|
169
|
+
main_title: { display: "none" },
|
|
170
|
+
description: { display: "none" },
|
|
171
|
+
ctas_levoGroup: { display: "none" },
|
|
172
|
+
stats: [{}, {}, {}, {}],
|
|
173
|
+
},
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
export const splitEditorialStats2Variant: IBlockLayouts = {
|
|
177
|
+
title: "Split Editorial",
|
|
178
|
+
key: "split-editorial",
|
|
179
|
+
content: DEFAULT_CONTENT,
|
|
180
|
+
config: {
|
|
181
|
+
...statsConfig,
|
|
182
|
+
section_title: { selectedVariants: { Typography_Variants: "Small" } },
|
|
183
|
+
section_description: { selectedVariants: { Typography_Variants: "Large" } },
|
|
184
|
+
},
|
|
185
|
+
styles: {
|
|
186
|
+
layout: {},
|
|
187
|
+
container: {},
|
|
188
|
+
content_wrapper: { display: "block" },
|
|
189
|
+
text_content: { display: "none" },
|
|
190
|
+
stats_section: {
|
|
191
|
+
display: "grid",
|
|
192
|
+
"grid-template-columns": "1fr 2fr",
|
|
193
|
+
"column-gap": "4xl",
|
|
194
|
+
"align-items": "start",
|
|
195
|
+
tablet: { "grid-template-columns": "repeat(1, minmax(0, 1fr))", "row-gap": "2xl" },
|
|
196
|
+
mobile: { "grid-template-columns": "repeat(1, minmax(0, 1fr))", "row-gap": "2xl" },
|
|
197
|
+
},
|
|
198
|
+
header_section: {
|
|
199
|
+
display: "flex",
|
|
200
|
+
"flex-direction": "column",
|
|
201
|
+
"align-items": "flex-start",
|
|
202
|
+
"text-align": "left",
|
|
203
|
+
},
|
|
204
|
+
section_title: {
|
|
205
|
+
color: "brand",
|
|
206
|
+
"margin-bottom": "base",
|
|
207
|
+
"font-weight": 600,
|
|
208
|
+
"font-size": "xs",
|
|
209
|
+
"text-transform": "uppercase",
|
|
210
|
+
"letter-spacing": "0.08em",
|
|
211
|
+
},
|
|
212
|
+
section_description: {
|
|
213
|
+
"font-size": "3xl",
|
|
214
|
+
color: "text-1",
|
|
215
|
+
"font-weight": 600,
|
|
216
|
+
"line-height": "1.2",
|
|
217
|
+
},
|
|
218
|
+
stats_levoGroup: {
|
|
219
|
+
display: "grid",
|
|
220
|
+
"grid-template-columns": "repeat(2, minmax(0, 1fr))",
|
|
221
|
+
"column-gap": "2xl",
|
|
222
|
+
"row-gap": "2xl",
|
|
223
|
+
width: "100%",
|
|
224
|
+
mobile: { "grid-template-columns": "repeat(2, minmax(0, 1fr))" },
|
|
225
|
+
},
|
|
226
|
+
small_title: { display: "none" },
|
|
227
|
+
main_title: { display: "none" },
|
|
228
|
+
description: { display: "none" },
|
|
229
|
+
ctas_levoGroup: { display: "none" },
|
|
230
|
+
stats: [{}, {}, {}, {}],
|
|
231
|
+
},
|
|
232
|
+
};
|
|
@@ -118,36 +118,10 @@ export const heroStats2Variant: IBlockLayouts = {
|
|
|
118
118
|
"row-gap": "base",
|
|
119
119
|
},
|
|
120
120
|
},
|
|
121
|
-
"stats.$.stat_card": {
|
|
122
|
-
"text-align": "left",
|
|
123
|
-
"padding-top": "base",
|
|
124
|
-
"padding-bottom": "base",
|
|
125
|
-
"padding-left": "base",
|
|
126
|
-
"padding-right": "base",
|
|
127
|
-
"background-color": "background-2",
|
|
128
|
-
"border-radius": "8px",
|
|
129
|
-
},
|
|
130
|
-
"stats.$.number": {
|
|
131
|
-
"font-size": "3xl",
|
|
132
|
-
"font-weight": "700",
|
|
133
|
-
color: "text-1",
|
|
134
|
-
"margin-bottom": "xs",
|
|
135
|
-
mobile: {
|
|
136
|
-
"font-size": "2xl",
|
|
137
|
-
},
|
|
138
|
-
},
|
|
139
|
-
"stats.$.label": {
|
|
140
|
-
"font-size": "sm",
|
|
141
|
-
"font-weight": "500",
|
|
142
|
-
color: "text-2",
|
|
143
|
-
mobile: {
|
|
144
|
-
"font-size": "xs",
|
|
145
|
-
},
|
|
146
|
-
},
|
|
147
121
|
horizontal_divider: {
|
|
148
122
|
width: "60px",
|
|
149
123
|
height: "2px",
|
|
150
|
-
"background-color": "
|
|
124
|
+
"background-color": "brand",
|
|
151
125
|
"padding-top": "none",
|
|
152
126
|
"padding-bottom": "none",
|
|
153
127
|
"margin-top": "none",
|
|
@@ -168,8 +142,5 @@ export const heroStats2Variant: IBlockLayouts = {
|
|
|
168
142
|
"flex-wrap": "wrap",
|
|
169
143
|
"align-items": "center",
|
|
170
144
|
},
|
|
171
|
-
ctas: Array(2)
|
|
172
|
-
.fill(0)
|
|
173
|
-
.map(() => ({})),
|
|
174
145
|
},
|
|
175
146
|
};
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { DEFAULT_CONTENT, defaultStats2Variant } from "./default";
|
|
2
|
+
import {
|
|
3
|
+
cardGridStats2Variant,
|
|
4
|
+
horizontalBarStats2Variant,
|
|
5
|
+
splitEditorialStats2Variant,
|
|
6
|
+
} from "./extra";
|
|
2
7
|
import { heroStats2Variant } from "./hero";
|
|
3
8
|
|
|
4
|
-
export {
|
|
9
|
+
export {
|
|
10
|
+
defaultStats2Variant,
|
|
11
|
+
heroStats2Variant,
|
|
12
|
+
horizontalBarStats2Variant,
|
|
13
|
+
cardGridStats2Variant,
|
|
14
|
+
splitEditorialStats2Variant,
|
|
15
|
+
DEFAULT_CONTENT,
|
|
16
|
+
};
|