@levo-so/blocks 0.1.54 → 0.1.59
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 +2 -2
- package/src/blocks/about-us/about-us-1.schema.ts +14 -0
- package/src/blocks/about-us/about-us-1.tsx +4 -2
- package/src/blocks/about-us/about-us-2.schema.ts +48 -0
- package/src/blocks/about-us/about-us-2.tsx +6 -0
- package/src/blocks/blogs/blog-listing-1.schema.ts +10 -0
- package/src/blocks/blogs/blog-listing-2.schema.ts +42 -162
- package/src/blocks/blogs/blog-listing-2.tsx +7 -0
- package/src/blocks/blogs/blog-listing-3.schema.ts +9 -0
- package/src/blocks/blogs/blog-post-1.schema.ts +7 -1
- package/src/blocks/blogs/blog-post-1.tsx +1 -1
- package/src/blocks/blogs/blog-post-2.schema.ts +464 -28
- package/src/blocks/blogs/blog-post-2.tsx +6 -13
- package/src/blocks/blogs/blog-post-3.schema.ts +42 -0
- package/src/blocks/blogs/blog-post-3.tsx +4 -1
- package/src/blocks/calendar/calendar-1.schema.ts +537 -0
- package/src/blocks/calendar/calendar-1.tsx +145 -0
- package/src/blocks/cards/cards-10.schema.ts +52 -4
- package/src/blocks/cards/cards-10.tsx +13 -1
- package/src/blocks/cards/cards-14.schema.ts +532 -0
- package/src/blocks/cards/cards-14.tsx +54 -0
- package/src/blocks/cards/cards-15.schema.ts +277 -0
- package/src/blocks/cards/cards-15.tsx +40 -0
- package/src/blocks/cards/cards-6.schema.ts +46 -0
- package/src/blocks/cards/cards-6.tsx +27 -1
- package/src/blocks/cards/cards-7.tsx +2 -0
- package/src/blocks/carousel/carousel-2.schema.ts +1128 -0
- package/src/blocks/carousel/carousel-2.tsx +159 -0
- package/src/blocks/content/content-5.schema.ts +112 -6
- package/src/blocks/content/content-5.tsx +19 -3
- package/src/blocks/content/content-6.schema.ts +16 -3
- package/src/blocks/content/content-6.tsx +1 -0
- package/src/blocks/content/content-8.schema.ts +125 -0
- package/src/blocks/content/content-8.tsx +27 -0
- package/src/blocks/content/content-9.schema.ts +2729 -0
- package/src/blocks/content/content-9.tsx +91 -0
- package/src/blocks/cta/cta-2.schema.ts +46 -4
- package/src/blocks/cta/cta-2.tsx +9 -1
- package/src/blocks/embed/embed-1.schema.ts +100 -0
- package/src/blocks/event/ClientOnly.tsx +27 -0
- package/src/blocks/event/event-details.tsx +10 -3
- package/src/blocks/event/event-listing-3.tsx +9 -2
- package/src/blocks/event/event-listing-4.tsx +11 -2
- package/src/blocks/event/event-listing.tsx +11 -4
- package/src/blocks/faq/faq-1.schema.ts +58 -1
- package/src/blocks/faq/faq-1.tsx +18 -1
- package/src/blocks/faq/faq-2.tsx +2 -1
- package/src/blocks/faq/faq-3.schema.ts +6 -1
- package/src/blocks/faq/faq-3.tsx +1 -0
- package/src/blocks/features/features-1/features-1.schema.ts +2 -0
- package/src/blocks/features/features-1/variants/index.ts +2 -0
- package/src/blocks/features/features-1/variants/stylized-cards-v3.ts +451 -0
- package/src/blocks/features/features-4.schema.ts +358 -20
- package/src/blocks/features/features-4.tsx +3 -1
- package/src/blocks/features/features-6.tsx +2 -0
- package/src/blocks/filter-listing/filter-listing-1.schema.ts +614 -0
- package/src/blocks/filter-listing/filter-listing-1.tsx +128 -0
- package/src/blocks/footer/footer-6.schema.ts +2 -2
- package/src/blocks/hero/hero-11.schema.ts +849 -0
- package/src/blocks/hero/hero-11.tsx +59 -0
- package/src/blocks/hero/hero-12.schema.ts +712 -0
- package/src/blocks/hero/hero-12.tsx +76 -0
- package/src/blocks/hero/hero-13.schema.ts +238 -0
- package/src/blocks/hero/hero-13.tsx +31 -0
- package/src/blocks/hero/hero-4.tsx +2 -0
- package/src/blocks/hero/hero-5.tsx +2 -0
- package/src/blocks/hero/hero-7.tsx +2 -1
- package/src/blocks/hero/hero-8.tsx +2 -0
- package/src/blocks/hero/hero-9.schema.ts +5 -0
- package/src/blocks/hero/hero-9.tsx +2 -0
- package/src/blocks/index.ts +27 -0
- package/src/blocks/navbar/navbar-1.schema.ts +6 -6
- package/src/blocks/navbar/navbar-1.tsx +6 -7
- package/src/blocks/navbar/navbar-2.schema.ts +9 -9
- package/src/blocks/navbar/navbar-2.tsx +7 -8
- package/src/blocks/navbar/navbar-3.schema.ts +9 -9
- package/src/blocks/navbar/navbar-3.tsx +139 -114
- package/src/blocks/polling/polling-1.schema.ts +134 -0
- package/src/blocks/polling/polling-1.tsx +466 -0
- package/src/blocks/products/products-listing-2.schema.ts +596 -0
- package/src/blocks/products/products-listing-2.tsx +56 -0
- package/src/blocks/products/products-listing-3.schema.ts +818 -0
- package/src/blocks/products/products-listing-3.tsx +125 -0
- package/src/blocks/profile/profile-2.schema.ts +505 -0
- package/src/blocks/profile/profile-2.tsx +64 -0
- package/src/blocks/profile/profile-3.schema.ts +867 -0
- package/src/blocks/profile/profile-3.tsx +98 -0
- package/src/blocks/services/service-1.schema.ts +1743 -0
- package/src/blocks/services/service-1.tsx +139 -0
- package/src/blocks/services/service-2.schema.ts +433 -0
- package/src/blocks/services/service-2.tsx +98 -0
- package/src/blocks/services/service-3.schema.ts +631 -0
- package/src/blocks/services/service-3.tsx +135 -0
- package/src/blocks/tabs/tab-1.schema.ts +831 -0
- package/src/blocks/tabs/tab-1.tsx +126 -0
- package/src/blocks/tabs/tab-2.schema.ts +767 -0
- package/src/blocks/tabs/tab-2.tsx +60 -0
- package/src/blocks/team/team-3.schema.ts +5 -1
- package/src/blocks/team/team-3.tsx +7 -0
- package/src/blocks/team/team-4.schema.ts +17 -13
- package/src/blocks/team/team-4.tsx +4 -1
- package/src/blocks/team/team-5.schema.ts +369 -0
- package/src/blocks/team/team-5.tsx +38 -0
- package/src/blocks/testimonial/testimonial-1.tsx +0 -1
- package/src/blocks/testimonial/testimonial-2.tsx +2 -1
- package/src/blocks/testimonial/testimonial-3.tsx +2 -0
- package/src/blocks/testimonial/testimonial-4.tsx +2 -1
- package/src/blocks/testimonial/testimonial-5.tsx +2 -0
- package/src/blocks/testimonial/testimonial-6.tsx +2 -1
- package/src/blocks/testimonial/testimonial-7.schema.ts +438 -0
- package/src/blocks/testimonial/testimonial-7.tsx +125 -0
- package/src/blocks/timeline/timeline-1.schema.ts +741 -0
- package/src/blocks/timeline/timeline-1.tsx +52 -0
- package/src/blocks/users/edit-profile.schema.ts +294 -0
- package/src/blocks/users/edit-profile.tsx +184 -0
- package/src/schemas/blocks.ts +64 -12
- package/src/schemas/categories.ts +36 -0
|
@@ -0,0 +1,532 @@
|
|
|
1
|
+
import type { IBlock } from "@levo-so/studio";
|
|
2
|
+
|
|
3
|
+
const DEFAULT_CONTENT = {
|
|
4
|
+
layout: null,
|
|
5
|
+
container: null,
|
|
6
|
+
header_section: null,
|
|
7
|
+
main_title: "Performance Metrics Overview",
|
|
8
|
+
main_description:
|
|
9
|
+
"Track your key performance indicators and measure growth across important business dimensions.",
|
|
10
|
+
main_wrapper: null,
|
|
11
|
+
left_container: null,
|
|
12
|
+
right_container: null,
|
|
13
|
+
main_image: {
|
|
14
|
+
id: "2",
|
|
15
|
+
location: "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH.png",
|
|
16
|
+
kind: "image",
|
|
17
|
+
mimetype: "image/png",
|
|
18
|
+
srcset: {
|
|
19
|
+
"320w":
|
|
20
|
+
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp",
|
|
21
|
+
"640w":
|
|
22
|
+
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp",
|
|
23
|
+
"1080w":
|
|
24
|
+
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp",
|
|
25
|
+
path: "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp 320w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp 640w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp 1080w",
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
cards: [
|
|
29
|
+
{
|
|
30
|
+
card: null,
|
|
31
|
+
content_wrapper: null,
|
|
32
|
+
description:
|
|
33
|
+
"<p>“Dr. Arvind, an MIT and Stanford alumnus, combines expertise in engineering, management, and technology to drive business growth through innovation, optimization, and digital transformation.”</p>",
|
|
34
|
+
value_container: null,
|
|
35
|
+
icon: {
|
|
36
|
+
kind: "icon",
|
|
37
|
+
data: {
|
|
38
|
+
id: "profile-circle",
|
|
39
|
+
label: "Profile Circle",
|
|
40
|
+
tags: ["circle", "custom", "profile", "users"],
|
|
41
|
+
svgCode:
|
|
42
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M12.1205 13.53C12.1005 13.53 12.0705 13.53 12.0505 13.53C12.0205 13.53 11.9805 13.53 11.9505 13.53C9.68047 13.46 7.98047 11.69 7.98047 9.50998C7.98047 7.28998 9.79047 5.47998 12.0105 5.47998C14.2305 5.47998 16.0405 7.28998 16.0405 9.50998C16.0305 11.7 14.3205 13.46 12.1505 13.53C12.1305 13.53 12.1305 13.53 12.1205 13.53ZM12.0005 6.96998C10.6005 6.96998 9.47047 8.10998 9.47047 9.49998C9.47047 10.87 10.5405 11.98 11.9005 12.03C11.9305 12.02 12.0305 12.02 12.1305 12.03C13.4705 11.96 14.5205 10.86 14.5305 9.49998C14.5305 8.10998 13.4005 6.96998 12.0005 6.96998Z" fill="var(--color-icon-primary)"/>\n<path d="M11.9998 22.7499C9.30984 22.7499 6.73984 21.7499 4.74984 19.9299C4.56984 19.7699 4.48984 19.5299 4.50984 19.2999C4.63984 18.1099 5.37984 16.9999 6.60984 16.1799C9.58984 14.1999 14.4198 14.1999 17.3898 16.1799C18.6198 17.0099 19.3598 18.1099 19.4898 19.2999C19.5198 19.5399 19.4298 19.7699 19.2498 19.9299C17.2598 21.7499 14.6898 22.7499 11.9998 22.7499ZM6.07984 19.0999C7.73984 20.4899 9.82984 21.2499 11.9998 21.2499C14.1698 21.2499 16.2598 20.4899 17.9198 19.0999C17.7398 18.4899 17.2598 17.8999 16.5498 17.4199C14.0898 15.7799 9.91984 15.7799 7.43984 17.4199C6.72984 17.8999 6.25984 18.4899 6.07984 19.0999Z" fill="var(--color-icon-primary)"/>\n<path d="M12 22.75C6.07 22.75 1.25 17.93 1.25 12C1.25 6.07 6.07 1.25 12 1.25C17.93 1.25 22.75 6.07 22.75 12C22.75 17.93 17.93 22.75 12 22.75ZM12 2.75C6.9 2.75 2.75 6.9 2.75 12C2.75 17.1 6.9 21.25 12 21.25C17.1 21.25 21.25 17.1 21.25 12C21.25 6.9 17.1 2.75 12 2.75Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
text_container: null,
|
|
46
|
+
title: "<p>Tim Larry</p>",
|
|
47
|
+
value: "<p>CEO,Hyphen</p>",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
card: null,
|
|
51
|
+
content_wrapper: null,
|
|
52
|
+
description:
|
|
53
|
+
"<p>“Dr. Arvind, an MIT and Stanford alumnus, combines expertise in engineering, management, and technology to drive business growth through innovation, optimization, and digital transformation.”</p>",
|
|
54
|
+
value_container: null,
|
|
55
|
+
icon: {
|
|
56
|
+
kind: "icon",
|
|
57
|
+
data: {
|
|
58
|
+
id: "profile-circle",
|
|
59
|
+
label: "Profile Circle",
|
|
60
|
+
tags: ["circle", "custom", "profile", "users"],
|
|
61
|
+
svgCode:
|
|
62
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M12.1205 13.53C12.1005 13.53 12.0705 13.53 12.0505 13.53C12.0205 13.53 11.9805 13.53 11.9505 13.53C9.68047 13.46 7.98047 11.69 7.98047 9.50998C7.98047 7.28998 9.79047 5.47998 12.0105 5.47998C14.2305 5.47998 16.0405 7.28998 16.0405 9.50998C16.0305 11.7 14.3205 13.46 12.1505 13.53C12.1305 13.53 12.1305 13.53 12.1205 13.53ZM12.0005 6.96998C10.6005 6.96998 9.47047 8.10998 9.47047 9.49998C9.47047 10.87 10.5405 11.98 11.9005 12.03C11.9305 12.02 12.0305 12.02 12.1305 12.03C13.4705 11.96 14.5205 10.86 14.5305 9.49998C14.5305 8.10998 13.4005 6.96998 12.0005 6.96998Z" fill="var(--color-icon-primary)"/>\n<path d="M11.9998 22.7499C9.30984 22.7499 6.73984 21.7499 4.74984 19.9299C4.56984 19.7699 4.48984 19.5299 4.50984 19.2999C4.63984 18.1099 5.37984 16.9999 6.60984 16.1799C9.58984 14.1999 14.4198 14.1999 17.3898 16.1799C18.6198 17.0099 19.3598 18.1099 19.4898 19.2999C19.5198 19.5399 19.4298 19.7699 19.2498 19.9299C17.2598 21.7499 14.6898 22.7499 11.9998 22.7499ZM6.07984 19.0999C7.73984 20.4899 9.82984 21.2499 11.9998 21.2499C14.1698 21.2499 16.2598 20.4899 17.9198 19.0999C17.7398 18.4899 17.2598 17.8999 16.5498 17.4199C14.0898 15.7799 9.91984 15.7799 7.43984 17.4199C6.72984 17.8999 6.25984 18.4899 6.07984 19.0999Z" fill="var(--color-icon-primary)"/>\n<path d="M12 22.75C6.07 22.75 1.25 17.93 1.25 12C1.25 6.07 6.07 1.25 12 1.25C17.93 1.25 22.75 6.07 22.75 12C22.75 17.93 17.93 22.75 12 22.75ZM12 2.75C6.9 2.75 2.75 6.9 2.75 12C2.75 17.1 6.9 21.25 12 21.25C17.1 21.25 21.25 17.1 21.25 12C21.25 6.9 17.1 2.75 12 2.75Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
text_container: null,
|
|
66
|
+
title: "<p>Tim Larry</p>",
|
|
67
|
+
value: "<p>CEO,Hyphen</p>",
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export type ICards14Content = typeof DEFAULT_CONTENT;
|
|
73
|
+
|
|
74
|
+
export const Cards14: IBlock = {
|
|
75
|
+
category_id: "cards",
|
|
76
|
+
title: "Cards 14",
|
|
77
|
+
key: "cards-14",
|
|
78
|
+
version: "v1",
|
|
79
|
+
prompt_description:
|
|
80
|
+
"A cards block with header section, content cards with descriptions and value containers containing icon, title and value metrics",
|
|
81
|
+
content_schema: [
|
|
82
|
+
{
|
|
83
|
+
key: "layout",
|
|
84
|
+
label: "Layout",
|
|
85
|
+
field_interface: "LayoutWidget",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
key: "container",
|
|
89
|
+
label: "Container",
|
|
90
|
+
field_interface: "ContainerWidget",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
key: "header_section",
|
|
94
|
+
label: "Header Section",
|
|
95
|
+
field_interface: "LayoutWidget",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
key: "main_title",
|
|
99
|
+
label: "Main Title",
|
|
100
|
+
field_interface: "HeadingWidget",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
key: "main_description",
|
|
104
|
+
label: "Main Description",
|
|
105
|
+
field_interface: "TypographyWidget",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
key: "main_wrapper",
|
|
109
|
+
label: "Main Wrapper",
|
|
110
|
+
field_interface: "LayoutWidget",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
key: "left_container",
|
|
114
|
+
label: "Left Container",
|
|
115
|
+
field_interface: "LayoutWidget",
|
|
116
|
+
},
|
|
117
|
+
|
|
118
|
+
{
|
|
119
|
+
key: "main_image",
|
|
120
|
+
label: "Main Image",
|
|
121
|
+
field_interface: "ImageWidget",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
key: "cards",
|
|
125
|
+
label: "Cards",
|
|
126
|
+
kind: "group",
|
|
127
|
+
field_interface: "BoxWidget",
|
|
128
|
+
fields: [
|
|
129
|
+
{
|
|
130
|
+
key: "card",
|
|
131
|
+
label: "Card Container",
|
|
132
|
+
field_interface: "LayoutWidget",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
key: "content_wrapper",
|
|
136
|
+
label: "Content Wrapper",
|
|
137
|
+
field_interface: "LayoutWidget",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
key: "description",
|
|
141
|
+
label: "Description",
|
|
142
|
+
field_interface: "TypographyWidget",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
key: "value_container",
|
|
146
|
+
label: "Value Container",
|
|
147
|
+
field_interface: "LayoutWidget",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
key: "icon",
|
|
151
|
+
label: "Icon",
|
|
152
|
+
field_interface: "IconWidget",
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
key: "text_container",
|
|
156
|
+
label: "Text Container",
|
|
157
|
+
field_interface: "LayoutWidget",
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
key: "title",
|
|
161
|
+
label: "Title",
|
|
162
|
+
field_interface: "TypographyWidget",
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
key: "value",
|
|
166
|
+
label: "Value",
|
|
167
|
+
field_interface: "TypographyWidget",
|
|
168
|
+
},
|
|
169
|
+
],
|
|
170
|
+
},
|
|
171
|
+
],
|
|
172
|
+
layouts: [
|
|
173
|
+
{
|
|
174
|
+
key: "default",
|
|
175
|
+
title: "Default",
|
|
176
|
+
styles: {
|
|
177
|
+
layout: {
|
|
178
|
+
"padding-top": "3xl",
|
|
179
|
+
"padding-bottom": "3xl",
|
|
180
|
+
"padding-left": "base",
|
|
181
|
+
"padding-right": "base",
|
|
182
|
+
},
|
|
183
|
+
container: {
|
|
184
|
+
"max-width": "1280px",
|
|
185
|
+
"margin-left": "auto",
|
|
186
|
+
"margin-right": "auto",
|
|
187
|
+
"padding-left": "none",
|
|
188
|
+
"padding-right": "none",
|
|
189
|
+
},
|
|
190
|
+
header_section: {
|
|
191
|
+
"text-align": "center",
|
|
192
|
+
"margin-bottom": "3xl",
|
|
193
|
+
"margin-left": "auto",
|
|
194
|
+
"margin-right": "auto",
|
|
195
|
+
display: "block",
|
|
196
|
+
"justify-content": "space-between",
|
|
197
|
+
tablet: {
|
|
198
|
+
"flex-direction": "column",
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
main_description: {
|
|
202
|
+
"font-size": "lg",
|
|
203
|
+
color: "text-2",
|
|
204
|
+
"line-height": "1.6",
|
|
205
|
+
mobile: {
|
|
206
|
+
"font-size": "base",
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
main_wrapper: {
|
|
210
|
+
display: "flex",
|
|
211
|
+
"align-items": "center",
|
|
212
|
+
mobile: {
|
|
213
|
+
"flex-direction": "column",
|
|
214
|
+
"row-gap": "2xl",
|
|
215
|
+
"column-gap": "none",
|
|
216
|
+
},
|
|
217
|
+
tablet: {
|
|
218
|
+
"flex-direction": "column-reverse",
|
|
219
|
+
"row-gap": "5xl",
|
|
220
|
+
},
|
|
221
|
+
"flex-direction": "row-reverse",
|
|
222
|
+
"column-gap": "xl",
|
|
223
|
+
},
|
|
224
|
+
left_container: {
|
|
225
|
+
flex: "1",
|
|
226
|
+
},
|
|
227
|
+
right_container: {
|
|
228
|
+
flex: "1",
|
|
229
|
+
display: "block",
|
|
230
|
+
"justify-content": "center",
|
|
231
|
+
},
|
|
232
|
+
main_image: {
|
|
233
|
+
"border-radius": "lg",
|
|
234
|
+
"object-fit": "cover",
|
|
235
|
+
height: "500px",
|
|
236
|
+
width: "50%",
|
|
237
|
+
tablet: {
|
|
238
|
+
width: "100%",
|
|
239
|
+
height: "auto",
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
cards_levoGroup: {
|
|
243
|
+
display: "flex",
|
|
244
|
+
"flex-direction": "column",
|
|
245
|
+
"row-gap": "xl",
|
|
246
|
+
},
|
|
247
|
+
"cards.*.card": {
|
|
248
|
+
display: "flex",
|
|
249
|
+
"flex-direction": "column",
|
|
250
|
+
"align-items": "flex-start",
|
|
251
|
+
"column-gap": "base",
|
|
252
|
+
"padding-top": "lg",
|
|
253
|
+
"padding-bottom": "lg",
|
|
254
|
+
"padding-left": "lg",
|
|
255
|
+
"padding-right": "lg",
|
|
256
|
+
"background-color": "background-2",
|
|
257
|
+
"border-radius": "lg",
|
|
258
|
+
"border-width": "1px",
|
|
259
|
+
"border-color": "border",
|
|
260
|
+
},
|
|
261
|
+
"cards.*.content_wrapper": {
|
|
262
|
+
display: "flex",
|
|
263
|
+
"flex-direction": "column",
|
|
264
|
+
"row-gap": "lg",
|
|
265
|
+
flex: "1",
|
|
266
|
+
},
|
|
267
|
+
"cards.*.description": {
|
|
268
|
+
"font-size": "base",
|
|
269
|
+
color: "text-2",
|
|
270
|
+
"line-height": "1.5",
|
|
271
|
+
"margin-bottom": "lg",
|
|
272
|
+
},
|
|
273
|
+
"cards.*.value_container": {
|
|
274
|
+
display: "flex",
|
|
275
|
+
"align-items": "center",
|
|
276
|
+
"column-gap": "base",
|
|
277
|
+
},
|
|
278
|
+
"cards.*.icon": {
|
|
279
|
+
width: "48px",
|
|
280
|
+
height: "48px",
|
|
281
|
+
"border-radius": "sm",
|
|
282
|
+
"object-fit": "cover",
|
|
283
|
+
"flex-shrink": "0",
|
|
284
|
+
},
|
|
285
|
+
"cards.*.text_container": {
|
|
286
|
+
display: "flex",
|
|
287
|
+
"flex-direction": "column",
|
|
288
|
+
"row-gap": "xs",
|
|
289
|
+
flex: "1",
|
|
290
|
+
},
|
|
291
|
+
"cards.*.title": {
|
|
292
|
+
"font-size": "xl",
|
|
293
|
+
"font-weight": "600",
|
|
294
|
+
color: "text-1",
|
|
295
|
+
},
|
|
296
|
+
"cards.*.value": {
|
|
297
|
+
"font-size": "2xl",
|
|
298
|
+
"font-weight": "700",
|
|
299
|
+
color: "text-1",
|
|
300
|
+
},
|
|
301
|
+
cards: [
|
|
302
|
+
{
|
|
303
|
+
card: {
|
|
304
|
+
"background-color": "brandSecondary",
|
|
305
|
+
"padding-top": "3xl",
|
|
306
|
+
"padding-right": "3xl",
|
|
307
|
+
"padding-left": "3xl",
|
|
308
|
+
"padding-bottom": "3xl",
|
|
309
|
+
"border-radius": "base",
|
|
310
|
+
display: "flex",
|
|
311
|
+
"flex-direction": "column",
|
|
312
|
+
},
|
|
313
|
+
description: {
|
|
314
|
+
tablet: {
|
|
315
|
+
"font-size": "base",
|
|
316
|
+
},
|
|
317
|
+
"font-size": "base",
|
|
318
|
+
mobile: {
|
|
319
|
+
"font-size": "sm",
|
|
320
|
+
},
|
|
321
|
+
},
|
|
322
|
+
value_container: {
|
|
323
|
+
display: "flex",
|
|
324
|
+
"align-items": "center",
|
|
325
|
+
"column-gap": "xs",
|
|
326
|
+
"margin-top": "base",
|
|
327
|
+
},
|
|
328
|
+
icon: {
|
|
329
|
+
height: "34px",
|
|
330
|
+
width: "34px",
|
|
331
|
+
"font-size": "34px",
|
|
332
|
+
},
|
|
333
|
+
text_container: {
|
|
334
|
+
display: "block",
|
|
335
|
+
"flex-direction": "column",
|
|
336
|
+
"row-gap": "xs",
|
|
337
|
+
},
|
|
338
|
+
title: {
|
|
339
|
+
tablet: {
|
|
340
|
+
"font-size": "lg",
|
|
341
|
+
},
|
|
342
|
+
"font-size": "lg",
|
|
343
|
+
mobile: {
|
|
344
|
+
"font-size": "base",
|
|
345
|
+
},
|
|
346
|
+
},
|
|
347
|
+
value: {
|
|
348
|
+
tablet: {
|
|
349
|
+
"font-size": "xl",
|
|
350
|
+
},
|
|
351
|
+
mobile: {
|
|
352
|
+
"font-size": "lg",
|
|
353
|
+
},
|
|
354
|
+
},
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
card: {
|
|
358
|
+
"background-color": "brandSecondary",
|
|
359
|
+
"padding-top": "3xl",
|
|
360
|
+
"padding-right": "3xl",
|
|
361
|
+
"padding-left": "3xl",
|
|
362
|
+
"padding-bottom": "3xl",
|
|
363
|
+
"border-radius": "base",
|
|
364
|
+
display: "flex",
|
|
365
|
+
"flex-direction": "column",
|
|
366
|
+
},
|
|
367
|
+
description: {
|
|
368
|
+
tablet: {
|
|
369
|
+
"font-size": "base",
|
|
370
|
+
},
|
|
371
|
+
"font-size": "base",
|
|
372
|
+
mobile: {
|
|
373
|
+
"font-size": "sm",
|
|
374
|
+
},
|
|
375
|
+
},
|
|
376
|
+
value_container: {
|
|
377
|
+
display: "flex",
|
|
378
|
+
"align-items": "center",
|
|
379
|
+
"column-gap": "xs",
|
|
380
|
+
"margin-top": "base",
|
|
381
|
+
},
|
|
382
|
+
icon: {
|
|
383
|
+
height: "34px",
|
|
384
|
+
width: "34px",
|
|
385
|
+
"font-size": "34px",
|
|
386
|
+
},
|
|
387
|
+
text_container: {
|
|
388
|
+
display: "block",
|
|
389
|
+
"flex-direction": "column",
|
|
390
|
+
"row-gap": "xs",
|
|
391
|
+
},
|
|
392
|
+
title: {
|
|
393
|
+
tablet: {
|
|
394
|
+
"font-size": "lg",
|
|
395
|
+
},
|
|
396
|
+
"font-size": "lg",
|
|
397
|
+
mobile: {
|
|
398
|
+
"font-size": "base",
|
|
399
|
+
},
|
|
400
|
+
},
|
|
401
|
+
value: {
|
|
402
|
+
tablet: {
|
|
403
|
+
"font-size": "xl",
|
|
404
|
+
},
|
|
405
|
+
mobile: {
|
|
406
|
+
"font-size": "lg",
|
|
407
|
+
},
|
|
408
|
+
},
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
card: {
|
|
412
|
+
"background-color": "brandSecondary",
|
|
413
|
+
"padding-top": "3xl",
|
|
414
|
+
"padding-right": "3xl",
|
|
415
|
+
"padding-left": "3xl",
|
|
416
|
+
"padding-bottom": "3xl",
|
|
417
|
+
"border-radius": "base",
|
|
418
|
+
display: "flex",
|
|
419
|
+
"flex-direction": "column",
|
|
420
|
+
},
|
|
421
|
+
description: {
|
|
422
|
+
tablet: {
|
|
423
|
+
"font-size": "base",
|
|
424
|
+
},
|
|
425
|
+
"font-size": "base",
|
|
426
|
+
mobile: {
|
|
427
|
+
"font-size": "sm",
|
|
428
|
+
},
|
|
429
|
+
},
|
|
430
|
+
value_container: {
|
|
431
|
+
display: "flex",
|
|
432
|
+
"align-items": "center",
|
|
433
|
+
"column-gap": "base",
|
|
434
|
+
},
|
|
435
|
+
icon: {
|
|
436
|
+
height: "34px",
|
|
437
|
+
width: "34px",
|
|
438
|
+
"font-size": "34px",
|
|
439
|
+
},
|
|
440
|
+
text_container: {
|
|
441
|
+
display: "flex",
|
|
442
|
+
"flex-direction": "column",
|
|
443
|
+
"row-gap": "xs",
|
|
444
|
+
},
|
|
445
|
+
title: {
|
|
446
|
+
tablet: {
|
|
447
|
+
"font-size": "lg",
|
|
448
|
+
},
|
|
449
|
+
"font-size": "lg",
|
|
450
|
+
mobile: {
|
|
451
|
+
"font-size": "base",
|
|
452
|
+
},
|
|
453
|
+
},
|
|
454
|
+
value: {
|
|
455
|
+
"font-size": "xl",
|
|
456
|
+
"font-weight": "700",
|
|
457
|
+
tablet: {
|
|
458
|
+
"font-size": "xl",
|
|
459
|
+
},
|
|
460
|
+
mobile: {
|
|
461
|
+
"font-size": "lg",
|
|
462
|
+
},
|
|
463
|
+
},
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
card: {
|
|
467
|
+
"background-color": "brandSecondary",
|
|
468
|
+
"padding-top": "3xl",
|
|
469
|
+
"padding-right": "3xl",
|
|
470
|
+
"padding-left": "3xl",
|
|
471
|
+
"padding-bottom": "3xl",
|
|
472
|
+
"border-radius": "base",
|
|
473
|
+
display: "flex",
|
|
474
|
+
"flex-direction": "column",
|
|
475
|
+
},
|
|
476
|
+
description: {
|
|
477
|
+
tablet: {
|
|
478
|
+
"font-size": "base",
|
|
479
|
+
},
|
|
480
|
+
"font-size": "base",
|
|
481
|
+
mobile: {
|
|
482
|
+
"font-size": "sm",
|
|
483
|
+
},
|
|
484
|
+
},
|
|
485
|
+
value_container: {
|
|
486
|
+
display: "flex",
|
|
487
|
+
"align-items": "center",
|
|
488
|
+
"column-gap": "base",
|
|
489
|
+
},
|
|
490
|
+
icon: {
|
|
491
|
+
height: "34px",
|
|
492
|
+
width: "34px",
|
|
493
|
+
"font-size": "34px",
|
|
494
|
+
},
|
|
495
|
+
text_container: {
|
|
496
|
+
display: "flex",
|
|
497
|
+
"flex-direction": "column",
|
|
498
|
+
"row-gap": "xs",
|
|
499
|
+
},
|
|
500
|
+
title: {
|
|
501
|
+
tablet: {
|
|
502
|
+
"font-size": "lg",
|
|
503
|
+
},
|
|
504
|
+
"font-size": "lg",
|
|
505
|
+
mobile: {
|
|
506
|
+
"font-size": "base",
|
|
507
|
+
},
|
|
508
|
+
},
|
|
509
|
+
value: {
|
|
510
|
+
"font-size": "xl",
|
|
511
|
+
"font-weight": "700",
|
|
512
|
+
tablet: {
|
|
513
|
+
"font-size": "xl",
|
|
514
|
+
},
|
|
515
|
+
mobile: {
|
|
516
|
+
"font-size": "lg",
|
|
517
|
+
},
|
|
518
|
+
},
|
|
519
|
+
},
|
|
520
|
+
],
|
|
521
|
+
},
|
|
522
|
+
content: DEFAULT_CONTENT,
|
|
523
|
+
config: {
|
|
524
|
+
main_title: {
|
|
525
|
+
selectedVariants: {
|
|
526
|
+
Heading_Level: "H2",
|
|
527
|
+
},
|
|
528
|
+
},
|
|
529
|
+
},
|
|
530
|
+
},
|
|
531
|
+
],
|
|
532
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Box,
|
|
3
|
+
Container,
|
|
4
|
+
Heading,
|
|
5
|
+
Image,
|
|
6
|
+
type ILevoBlockBaseProps,
|
|
7
|
+
Section,
|
|
8
|
+
Typography,
|
|
9
|
+
Icon,
|
|
10
|
+
} from "@levo-so/studio";
|
|
11
|
+
import React from "react";
|
|
12
|
+
|
|
13
|
+
import type { ICards14Content } from "./cards-14.schema";
|
|
14
|
+
|
|
15
|
+
const Cards14: React.FC<ILevoBlockBaseProps<ICards14Content>> = ({
|
|
16
|
+
content,
|
|
17
|
+
}) => (
|
|
18
|
+
<Section elementKey="layout">
|
|
19
|
+
<Container elementKey="container">
|
|
20
|
+
<Box elementKey="header_section">
|
|
21
|
+
<Heading elementKey="main_title" />
|
|
22
|
+
<Typography elementKey="main_description" />
|
|
23
|
+
</Box>
|
|
24
|
+
<Box elementKey="main_wrapper">
|
|
25
|
+
<Box elementKey="left_container">
|
|
26
|
+
<Box elementKey="cards_levoGroup" data-levo_group>
|
|
27
|
+
{(content?.cards ?? []).map((_, index: number) => (
|
|
28
|
+
<Box
|
|
29
|
+
key={`card-${index}`}
|
|
30
|
+
data-levo_group_item
|
|
31
|
+
elementKey={`cards.${index}.card`}
|
|
32
|
+
>
|
|
33
|
+
<Box elementKey={`cards.${index}.content_wrapper`}>
|
|
34
|
+
<Typography elementKey={`cards.${index}.description`} />
|
|
35
|
+
<Box elementKey={`cards.${index}.value_container`}>
|
|
36
|
+
<Icon elementKey={`cards.${index}.icon`} />
|
|
37
|
+
<Box elementKey={`cards.${index}.text_container`}>
|
|
38
|
+
<Heading elementKey={`cards.${index}.title`} />
|
|
39
|
+
<Typography elementKey={`cards.${index}.value`} />
|
|
40
|
+
</Box>
|
|
41
|
+
</Box>
|
|
42
|
+
</Box>
|
|
43
|
+
</Box>
|
|
44
|
+
))}
|
|
45
|
+
</Box>
|
|
46
|
+
</Box>
|
|
47
|
+
|
|
48
|
+
<Image elementKey="main_image" alt="Feature showcase" />
|
|
49
|
+
</Box>
|
|
50
|
+
</Container>
|
|
51
|
+
</Section>
|
|
52
|
+
);
|
|
53
|
+
|
|
54
|
+
export default Cards14;
|