@levo-so/blocks 0.1.2 → 0.1.52
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 +26 -12
- package/src/blocks/about-us/about-us-2.schema.ts +269 -0
- package/src/blocks/about-us/about-us-2.tsx +47 -0
- package/src/blocks/blogs/blog-listing-1.schema.ts +64 -10
- package/src/blocks/blogs/blog-listing-1.tsx +79 -56
- package/src/blocks/blogs/blog-listing-2.schema.ts +3141 -31
- package/src/blocks/blogs/blog-listing-2.tsx +16 -11
- package/src/blocks/blogs/blog-listing-3.schema.ts +2476 -0
- package/src/blocks/blogs/blog-listing-3.tsx +84 -0
- package/src/blocks/blogs/blog-post-1.schema.ts +17 -9
- package/src/blocks/blogs/blog-post-2.schema.ts +13 -56
- package/src/blocks/blogs/blog-post-3.schema.ts +284 -0
- package/src/blocks/blogs/blog-post-3.tsx +58 -0
- package/src/blocks/cards/cards-10.schema.ts +579 -0
- package/src/blocks/cards/cards-10.tsx +2 -0
- package/src/blocks/cards/cards-11.schema.ts +514 -36
- package/src/blocks/cards/cards-13.schema.ts +615 -0
- package/src/blocks/cards/cards-13.tsx +67 -0
- package/src/blocks/cards/cards-2.schema.ts +14 -17
- package/src/blocks/cards/cards-3.schema.ts +15 -25
- package/src/blocks/cards/cards-4.schema.ts +22 -44
- package/src/blocks/cards/cards-4.tsx +39 -39
- package/src/blocks/cards/cards-5.schema.ts +15 -34
- package/src/blocks/cards/cards-6.schema.ts +1500 -0
- package/src/blocks/cards/cards-6.tsx +11 -7
- package/src/blocks/cards/cards-7.schema.ts +1772 -27
- package/src/blocks/cards/cards-7.tsx +32 -0
- package/src/blocks/cards/cards-8.schema.ts +9 -9
- package/src/blocks/contact-us/contact-us-1.schema.ts +13 -6
- package/src/blocks/contact-us/contact-us-2.schema.ts +43 -43
- package/src/blocks/content/content-1.schema.ts +45 -67
- package/src/blocks/content/content-2.schema.ts +14 -11
- package/src/blocks/content/content-3.schema.ts +17 -115
- package/src/blocks/content/content-3.tsx +1 -0
- package/src/blocks/content/content-5.tsx +1 -0
- package/src/blocks/content/content-6.tsx +1 -0
- package/src/blocks/content/content-7.schema.ts +723 -0
- package/src/blocks/content/content-7.tsx +53 -0
- package/src/blocks/cta/cta-1.schema.ts +18 -26
- package/src/blocks/cta/cta-3.schema.ts +60 -0
- package/src/blocks/event/event-details.schema.ts +30 -35
- package/src/blocks/event/event-details.tsx +74 -79
- package/src/blocks/event/event-listing-2.schema.ts +85 -26
- package/src/blocks/event/event-listing-2.tsx +76 -52
- package/src/blocks/event/event-listing-3.schema.ts +58 -42
- package/src/blocks/event/event-listing-3.tsx +4 -9
- package/src/blocks/event/event-listing-4.schema.ts +3528 -0
- package/src/blocks/event/event-listing-4.tsx +97 -0
- package/src/blocks/event/event-listing.schema.ts +81 -86
- package/src/blocks/event/event-listing.tsx +1 -3
- package/src/blocks/faq/faq-1.schema.ts +13 -10
- package/src/blocks/faq/faq-2.schema.ts +12 -10
- package/src/blocks/features/features-1/variants/default.ts +12 -3
- package/src/blocks/features/features-2.schema.ts +192 -59
- package/src/blocks/features/features-3.schema.ts +11 -25
- package/src/blocks/features/features-4.schema.ts +20 -35
- package/src/blocks/features/features-5.schema.ts +18 -37
- package/src/blocks/footer/footer-1.schema.ts +28 -5
- package/src/blocks/footer/footer-2.schema.ts +18 -3
- package/src/blocks/footer/footer-3.schema.ts +85 -160
- package/src/blocks/footer/footer-3.tsx +1 -2
- package/src/blocks/footer/footer-4.schema.ts +10 -5
- package/src/blocks/footer/footer-4.tsx +1 -1
- package/src/blocks/footer/footer-5.schema.ts +10 -0
- package/src/blocks/footer/footer-5.tsx +11 -3
- package/src/blocks/footer/footer-6.schema.ts +730 -0
- package/src/blocks/footer/footer-6.tsx +100 -0
- package/src/blocks/hero/hero-1.schema.ts +165 -185
- package/src/blocks/hero/hero-10.schema.ts +175 -0
- package/src/blocks/hero/hero-10.tsx +35 -0
- package/src/blocks/hero/hero-2.schema.ts +60 -104
- package/src/blocks/hero/hero-2.tsx +11 -3
- package/src/blocks/hero/hero-3.schema.ts +68 -64
- package/src/blocks/hero/hero-4.schema.ts +148 -48
- package/src/blocks/hero/hero-5.schema.ts +29 -23
- package/src/blocks/hero/hero-6.schema.ts +28 -66
- package/src/blocks/hero/hero-7.schema.ts +34 -37
- package/src/blocks/hero/hero-8.schema.ts +5 -1
- package/src/blocks/index.ts +11 -0
- package/src/blocks/logos/logos-1.schema.ts +10 -4
- package/src/blocks/navbar/navbar-1.schema.ts +3 -5
- package/src/blocks/navbar/navbar-1.tsx +5 -19
- package/src/blocks/navbar/navbar-2.schema.ts +2 -4
- package/src/blocks/navbar/navbar-2.tsx +4 -18
- package/src/blocks/navbar/navbar-3.schema.ts +6834 -0
- package/src/blocks/navbar/navbar-3.tsx +551 -0
- package/src/blocks/pricing/pricing-1.schema.ts +23 -37
- package/src/blocks/products/products-listing-1.schema.ts +73 -76
- package/src/blocks/profile/profile-1.schema.ts +399 -0
- package/src/blocks/profile/profile-1.tsx +64 -0
- package/src/blocks/stats/stats-1.schema.ts +34 -3
- package/src/blocks/stats/variants/default.ts +0 -1
- package/src/blocks/stats/variants/hero.ts +2 -13
- package/src/blocks/team/team-1.schema.ts +50 -22
- package/src/blocks/team/team-1.tsx +9 -3
- package/src/blocks/team/team-2.schema.ts +96 -167
- package/src/blocks/team/team-3.schema.ts +32 -49
- package/src/blocks/team/team-4.schema.ts +551 -0
- package/src/blocks/team/team-4.tsx +59 -0
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +10 -20
- package/src/blocks/testimonial/testimonial-1.schema.ts +14 -8
- package/src/blocks/testimonial/testimonial-2.schema.ts +2 -2
- package/src/blocks/testimonial/testimonial-3.schema.ts +12 -18
- package/src/blocks/testimonial/testimonial-4.schema.ts +131 -126
- package/src/blocks/testimonial/testimonial-5/variants/default.ts +510 -0
- package/src/blocks/testimonial/testimonial-5/variants/index.ts +4 -0
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +887 -0
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +923 -0
- package/src/blocks/testimonial/testimonial-5.schema.ts +62 -246
- package/src/blocks/testimonial/testimonial-5.tsx +32 -8
- package/src/blocks/testimonial/testimonial-6.schema.ts +986 -23
- package/src/blocks/testimonial/testimonial-6.tsx +107 -57
- package/src/schemas/blocks.ts +22 -0
- package/src/schemas/categories.ts +6 -0
|
@@ -0,0 +1,551 @@
|
|
|
1
|
+
import type { IBlock } from "@levo-so/studio";
|
|
2
|
+
|
|
3
|
+
const DUMMY_ICON = {
|
|
4
|
+
kind: "icon",
|
|
5
|
+
data: {
|
|
6
|
+
id: "linkedin",
|
|
7
|
+
label: "LinkedIn",
|
|
8
|
+
tags: ["social", "professional", "linkedin"],
|
|
9
|
+
svgCode:
|
|
10
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M20.4491 20.4498H16.8931V14.8798C16.8931 13.5518 16.8681 11.8438 15.0431 11.8438C13.1931 11.8438 12.9081 13.2918 12.9081 14.7838V20.4498H9.35312V8.99976H12.7651V10.5608H12.8151C13.2881 9.66176 14.4481 8.71076 16.1811 8.71076C19.7851 8.71076 20.4491 11.0828 20.4491 14.1658V20.4498ZM5.33912 7.43276C4.19312 7.43276 3.27112 6.50676 3.27112 5.36576C3.27112 4.22476 4.19312 3.29976 5.33912 3.29976C6.48012 3.29976 7.40612 4.22476 7.40612 5.36576C7.40612 6.50676 6.48012 7.43276 5.33912 7.43276ZM7.11812 20.4498H3.55812V8.99976H7.11812V20.4498ZM22.2231 0H1.77112C0.79212 0 0 0.77376 0 1.72876V22.2708C0 23.2258 0.79212 24 1.77112 24H22.2231C23.2081 24 24 23.2258 24 22.2708V1.72876C24 0.77376 23.2081 0 22.2231 0Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const DEFAULT_CONTENT = {
|
|
15
|
+
layout: null,
|
|
16
|
+
container: null,
|
|
17
|
+
header: null,
|
|
18
|
+
title: "Our Trainers",
|
|
19
|
+
description:
|
|
20
|
+
"More Than Instructors — They're Mentors Who Push, Inspire, and Guide You Toward Your Strongest Self, One Session at a Time.",
|
|
21
|
+
team: [
|
|
22
|
+
{
|
|
23
|
+
card: null,
|
|
24
|
+
info: null,
|
|
25
|
+
"name-position-wrapper": null,
|
|
26
|
+
name: "Lisa Kudro",
|
|
27
|
+
position: "Senior Fitness Trainer",
|
|
28
|
+
social: [
|
|
29
|
+
{
|
|
30
|
+
icon: {
|
|
31
|
+
kind: "icon",
|
|
32
|
+
data: {
|
|
33
|
+
id: "arrow-right-1",
|
|
34
|
+
label: "Arrow Right 1",
|
|
35
|
+
tags: ["arrow", "custom", "directional", "right"],
|
|
36
|
+
svgCode:
|
|
37
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.4301 18.82C14.2401 18.82 14.0501 18.75 13.9001 18.6C13.6101 18.31 13.6101 17.83 13.9001 17.54L19.4401 12L13.9001 6.46C13.6101 6.17 13.6101 5.69 13.9001 5.4C14.1901 5.11 14.6701 5.11 14.9601 5.4L21.0301 11.47C21.3201 11.76 21.3201 12.24 21.0301 12.53L14.9601 18.6C14.8101 18.75 14.6201 18.82 14.4301 18.82Z" fill="var(--color-icon-primary)"/>\n<path d="M20.33 12.75H3.5C3.09 12.75 2.75 12.41 2.75 12C2.75 11.59 3.09 11.25 3.5 11.25H20.33C20.74 11.25 21.08 11.59 21.08 12C21.08 12.41 20.74 12.75 20.33 12.75Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
card: null,
|
|
45
|
+
info: null,
|
|
46
|
+
"name-position-wrapper": null,
|
|
47
|
+
name: "Lisa Kudro",
|
|
48
|
+
position: "Senior Fitness Trainer",
|
|
49
|
+
social: [
|
|
50
|
+
{
|
|
51
|
+
icon: {
|
|
52
|
+
kind: "icon",
|
|
53
|
+
data: {
|
|
54
|
+
id: "arrow-right-1",
|
|
55
|
+
label: "Arrow Right 1",
|
|
56
|
+
tags: ["arrow", "custom", "directional", "right"],
|
|
57
|
+
svgCode:
|
|
58
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.4301 18.82C14.2401 18.82 14.0501 18.75 13.9001 18.6C13.6101 18.31 13.6101 17.83 13.9001 17.54L19.4401 12L13.9001 6.46C13.6101 6.17 13.6101 5.69 13.9001 5.4C14.1901 5.11 14.6701 5.11 14.9601 5.4L21.0301 11.47C21.3201 11.76 21.3201 12.24 21.0301 12.53L14.9601 18.6C14.8101 18.75 14.6201 18.82 14.4301 18.82Z" fill="var(--color-icon-primary)"/>\n<path d="M20.33 12.75H3.5C3.09 12.75 2.75 12.41 2.75 12C2.75 11.59 3.09 11.25 3.5 11.25H20.33C20.74 11.25 21.08 11.59 21.08 12C21.08 12.41 20.74 12.75 20.33 12.75Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
card: null,
|
|
66
|
+
info: null,
|
|
67
|
+
"name-position-wrapper": null,
|
|
68
|
+
name: "Lisa Kudro",
|
|
69
|
+
position: "Senior Fitness Trainer",
|
|
70
|
+
social: [
|
|
71
|
+
{
|
|
72
|
+
icon: {
|
|
73
|
+
kind: "icon",
|
|
74
|
+
data: {
|
|
75
|
+
id: "arrow-right-1",
|
|
76
|
+
label: "Arrow Right 1",
|
|
77
|
+
tags: ["arrow", "custom", "directional", "right"],
|
|
78
|
+
svgCode:
|
|
79
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.4301 18.82C14.2401 18.82 14.0501 18.75 13.9001 18.6C13.6101 18.31 13.6101 17.83 13.9001 17.54L19.4401 12L13.9001 6.46C13.6101 6.17 13.6101 5.69 13.9001 5.4C14.1901 5.11 14.6701 5.11 14.9601 5.4L21.0301 11.47C21.3201 11.76 21.3201 12.24 21.0301 12.53L14.9601 18.6C14.8101 18.75 14.6201 18.82 14.4301 18.82Z" fill="var(--color-icon-primary)"/>\n<path d="M20.33 12.75H3.5C3.09 12.75 2.75 12.41 2.75 12C2.75 11.59 3.09 11.25 3.5 11.25H20.33C20.74 11.25 21.08 11.59 21.08 12C21.08 12.41 20.74 12.75 20.33 12.75Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
cta_wrapper: null,
|
|
87
|
+
cta: "Explore All Trainers",
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export type ITeam4Content = typeof DEFAULT_CONTENT;
|
|
91
|
+
|
|
92
|
+
export const Team4: IBlock = {
|
|
93
|
+
category_id: "team",
|
|
94
|
+
title: "Team 4",
|
|
95
|
+
key: "team-4",
|
|
96
|
+
version: "v1",
|
|
97
|
+
prompt_description:
|
|
98
|
+
"Team grid showcasing team member profiles with background images, names, positions and social icons, featuring a header with title and description, and a call-to-action button below.",
|
|
99
|
+
content_schema: [
|
|
100
|
+
{
|
|
101
|
+
key: "layout",
|
|
102
|
+
label: "Layout",
|
|
103
|
+
field_interface: "LayoutWidget",
|
|
104
|
+
hint: {
|
|
105
|
+
prompt_description:
|
|
106
|
+
"Defines the overall layout structure for the team grid block, providing consistent spacing and alignment.",
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
key: "container",
|
|
111
|
+
label: "Container",
|
|
112
|
+
field_interface: "ContainerWidget",
|
|
113
|
+
hint: {
|
|
114
|
+
prompt_description:
|
|
115
|
+
"Main container providing padding and centering for the team section.",
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
key: "header",
|
|
120
|
+
label: "Header",
|
|
121
|
+
field_interface: "BoxWidget",
|
|
122
|
+
hint: {
|
|
123
|
+
prompt_description:
|
|
124
|
+
"Container for the section title and description, positioned above the team grid.",
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
key: "title",
|
|
129
|
+
label: "Title",
|
|
130
|
+
field_interface: "HeadingWidget",
|
|
131
|
+
hint: {
|
|
132
|
+
prompt_description:
|
|
133
|
+
"Main heading for the team section. Use a clear, engaging title that introduces the team.",
|
|
134
|
+
min_characters: 8,
|
|
135
|
+
max_characters: 30,
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
key: "description",
|
|
140
|
+
label: "Description",
|
|
141
|
+
field_interface: "TypographyWidget",
|
|
142
|
+
hint: {
|
|
143
|
+
prompt_description:
|
|
144
|
+
"Descriptive text explaining the team's role or mission. Keep it engaging and professional.",
|
|
145
|
+
min_characters: 50,
|
|
146
|
+
max_characters: 200,
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
key: "team",
|
|
151
|
+
label: "Team Members",
|
|
152
|
+
field_interface: "BoxWidget",
|
|
153
|
+
kind: "group",
|
|
154
|
+
fields: [
|
|
155
|
+
{
|
|
156
|
+
key: "card",
|
|
157
|
+
label: "Card Container",
|
|
158
|
+
field_interface: "BoxWidget",
|
|
159
|
+
hint: {
|
|
160
|
+
prompt_description:
|
|
161
|
+
"Wrapper for each team member card, providing structure and spacing with background image.",
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
key: "info",
|
|
166
|
+
label: "Member Info",
|
|
167
|
+
field_interface: "BoxWidget",
|
|
168
|
+
hint: {
|
|
169
|
+
prompt_description:
|
|
170
|
+
"Container for team member information including name, position, and social links.",
|
|
171
|
+
},
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
key: "name-position-wrapper",
|
|
175
|
+
label: "Name Position Wrapper",
|
|
176
|
+
field_interface: "BoxWidget",
|
|
177
|
+
hint: {
|
|
178
|
+
prompt_description:
|
|
179
|
+
"Container for name and position that allows flex styling and proper spacing.",
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
key: "name",
|
|
184
|
+
label: "Member Name",
|
|
185
|
+
field_interface: "HeadingWidget",
|
|
186
|
+
hint: {
|
|
187
|
+
prompt_description:
|
|
188
|
+
"Full name of the team member. Use professional, clear naming.",
|
|
189
|
+
min_characters: 8,
|
|
190
|
+
max_characters: 30,
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
|
|
194
|
+
{
|
|
195
|
+
key: "social",
|
|
196
|
+
label: "Social Links",
|
|
197
|
+
field_interface: "BoxWidget",
|
|
198
|
+
kind: "group",
|
|
199
|
+
fields: [
|
|
200
|
+
{
|
|
201
|
+
key: "icon",
|
|
202
|
+
label: "Social Icon",
|
|
203
|
+
field_interface: "IconWidget",
|
|
204
|
+
hint: {
|
|
205
|
+
prompt_description:
|
|
206
|
+
"Social media platform icon, typically LinkedIn for professional teams. Can be any social media platform icon.",
|
|
207
|
+
orientation: "square",
|
|
208
|
+
size: "icon",
|
|
209
|
+
usecase: "icon",
|
|
210
|
+
},
|
|
211
|
+
},
|
|
212
|
+
],
|
|
213
|
+
hint: {
|
|
214
|
+
prompt_description:
|
|
215
|
+
"Collection of social media icons for the team member, typically just LinkedIn.",
|
|
216
|
+
min_items: 1,
|
|
217
|
+
max_items: 3,
|
|
218
|
+
},
|
|
219
|
+
},
|
|
220
|
+
],
|
|
221
|
+
hint: {
|
|
222
|
+
prompt_description:
|
|
223
|
+
"A grid of team member cards showcasing the team with professional photos and contact information.",
|
|
224
|
+
min_items: 3,
|
|
225
|
+
max_items: 12,
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
key: "cta_wrapper",
|
|
230
|
+
label: "CTA Wrapper",
|
|
231
|
+
field_interface: "BoxWidget",
|
|
232
|
+
hint: {
|
|
233
|
+
prompt_description:
|
|
234
|
+
"Container for the call-to-action button, positioned below the team grid.",
|
|
235
|
+
},
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
key: "cta",
|
|
239
|
+
label: "CTA Button",
|
|
240
|
+
field_interface: "ButtonWidget",
|
|
241
|
+
hint: {
|
|
242
|
+
prompt_description:
|
|
243
|
+
"Call-to-action button to encourage further engagement with the team or company.",
|
|
244
|
+
min_characters: 10,
|
|
245
|
+
max_characters: 30,
|
|
246
|
+
},
|
|
247
|
+
},
|
|
248
|
+
],
|
|
249
|
+
layouts: [
|
|
250
|
+
{
|
|
251
|
+
key: "default",
|
|
252
|
+
title: "Default",
|
|
253
|
+
config: {},
|
|
254
|
+
content: DEFAULT_CONTENT,
|
|
255
|
+
styles: {
|
|
256
|
+
layout: {
|
|
257
|
+
"background-color": "white",
|
|
258
|
+
"padding-top": "4xl",
|
|
259
|
+
"padding-bottom": "4xl",
|
|
260
|
+
mobile: {
|
|
261
|
+
"padding-top": "2xl",
|
|
262
|
+
"padding-bottom": "2xl",
|
|
263
|
+
},
|
|
264
|
+
},
|
|
265
|
+
container: {
|
|
266
|
+
"max-width": "1280px",
|
|
267
|
+
"margin-left": "auto",
|
|
268
|
+
"margin-right": "auto",
|
|
269
|
+
"padding-left": "xl",
|
|
270
|
+
"padding-right": "xl",
|
|
271
|
+
},
|
|
272
|
+
header: {
|
|
273
|
+
"margin-bottom": "3xl",
|
|
274
|
+
mobile: {
|
|
275
|
+
"margin-bottom": "2xl",
|
|
276
|
+
},
|
|
277
|
+
display: "flex",
|
|
278
|
+
"justify-content": "space-between",
|
|
279
|
+
"align-items": "center",
|
|
280
|
+
"flex-direction": "row",
|
|
281
|
+
"column-gap": "none",
|
|
282
|
+
tablet: {
|
|
283
|
+
"flex-direction": "column",
|
|
284
|
+
"justify-content": "center",
|
|
285
|
+
"align-items": "center",
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
title: {
|
|
289
|
+
"font-size": "5xl",
|
|
290
|
+
"font-weight": "700",
|
|
291
|
+
color: "text-1",
|
|
292
|
+
"line-height": "1.2",
|
|
293
|
+
"margin-bottom": "base",
|
|
294
|
+
tablet: {
|
|
295
|
+
"font-size": "3xl",
|
|
296
|
+
"text-align": "center",
|
|
297
|
+
},
|
|
298
|
+
mobile: {
|
|
299
|
+
"font-size": "2xl",
|
|
300
|
+
},
|
|
301
|
+
width: "100%",
|
|
302
|
+
},
|
|
303
|
+
description: {
|
|
304
|
+
"font-size": "lg",
|
|
305
|
+
color: "text-2",
|
|
306
|
+
"line-height": "1.6",
|
|
307
|
+
"max-width": "500px",
|
|
308
|
+
"margin-left": "auto",
|
|
309
|
+
"margin-right": "auto",
|
|
310
|
+
"text-align": "left",
|
|
311
|
+
},
|
|
312
|
+
team_levoGroup: {
|
|
313
|
+
display: "grid",
|
|
314
|
+
"grid-template-columns": "repeat(3, minmax(0, 1fr))",
|
|
315
|
+
"column-gap": "xl",
|
|
316
|
+
"row-gap": "xl",
|
|
317
|
+
tablet: {
|
|
318
|
+
"grid-template-columns": "repeat(2, minmax(0, 1fr))",
|
|
319
|
+
"column-gap": "lg",
|
|
320
|
+
"row-gap": "lg",
|
|
321
|
+
},
|
|
322
|
+
mobile: {
|
|
323
|
+
"grid-template-columns": "repeat(1, minmax(0, 1fr))",
|
|
324
|
+
"column-gap": "base",
|
|
325
|
+
"row-gap": "base",
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
team: [
|
|
329
|
+
{
|
|
330
|
+
card: {
|
|
331
|
+
display: "flex",
|
|
332
|
+
"flex-direction": "column",
|
|
333
|
+
"align-items": "center",
|
|
334
|
+
"border-radius": "lg",
|
|
335
|
+
padding: "lg",
|
|
336
|
+
"box-shadow": "0 4px 6px -1px rgba(0, 0, 0, 0.1)",
|
|
337
|
+
"min-height": "500px",
|
|
338
|
+
position: "relative",
|
|
339
|
+
"background-image":
|
|
340
|
+
'url("https://static.levostg.online/W6OEVMW8/b11624c98327720d9dc0944e8387d5f489e034df-ImvUWBrtAnvCJ.jpg")',
|
|
341
|
+
"background-position": "center center",
|
|
342
|
+
"background-size": "cover",
|
|
343
|
+
},
|
|
344
|
+
info: {
|
|
345
|
+
display: "flex",
|
|
346
|
+
"flex-direction": "row",
|
|
347
|
+
"align-items": "center",
|
|
348
|
+
"justify-content": "space-between",
|
|
349
|
+
width: "100%",
|
|
350
|
+
"margin-top": "auto",
|
|
351
|
+
"padding-top": "none",
|
|
352
|
+
"padding-bottom": "none",
|
|
353
|
+
"padding-left": "none",
|
|
354
|
+
"padding-right": "none",
|
|
355
|
+
"box-shadow": "none",
|
|
356
|
+
},
|
|
357
|
+
"name-position-wrapper": {
|
|
358
|
+
display: "flex",
|
|
359
|
+
"flex-direction": "column",
|
|
360
|
+
"align-items": "flex-start",
|
|
361
|
+
"row-gap": "4xs",
|
|
362
|
+
},
|
|
363
|
+
name: {
|
|
364
|
+
color: "white",
|
|
365
|
+
},
|
|
366
|
+
position: {
|
|
367
|
+
"font-size": "base",
|
|
368
|
+
color: "text-2",
|
|
369
|
+
"font-weight": "400",
|
|
370
|
+
display: "none",
|
|
371
|
+
},
|
|
372
|
+
social_levoGroup: {
|
|
373
|
+
display: "flex",
|
|
374
|
+
"justify-content": "center",
|
|
375
|
+
"column-gap": "xs",
|
|
376
|
+
},
|
|
377
|
+
social: [
|
|
378
|
+
{
|
|
379
|
+
icon: {
|
|
380
|
+
width: "40px",
|
|
381
|
+
height: "40px",
|
|
382
|
+
"object-fit": "contain",
|
|
383
|
+
"border-style": "solid",
|
|
384
|
+
"border-width": "1px",
|
|
385
|
+
"border-color": "brand",
|
|
386
|
+
"border-radius": "full",
|
|
387
|
+
"background-color": "white",
|
|
388
|
+
display: "block",
|
|
389
|
+
padding: "xs",
|
|
390
|
+
"font-size": "40px",
|
|
391
|
+
},
|
|
392
|
+
},
|
|
393
|
+
],
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
card: {
|
|
397
|
+
display: "flex",
|
|
398
|
+
"flex-direction": "column",
|
|
399
|
+
"align-items": "center",
|
|
400
|
+
"border-radius": "lg",
|
|
401
|
+
padding: "lg",
|
|
402
|
+
"box-shadow": "0 4px 6px -1px rgba(0, 0, 0, 0.1)",
|
|
403
|
+
position: "relative",
|
|
404
|
+
"background-image":
|
|
405
|
+
'url("https://static.levostg.online/W6OEVMW8/e9621883320f7fa54c0378a1cba5f64b0422b2a7-PzNFtMNcDk7Db.jpg")',
|
|
406
|
+
"background-position": "center center",
|
|
407
|
+
"background-size": "cover",
|
|
408
|
+
"min-height": "500px",
|
|
409
|
+
},
|
|
410
|
+
info: {
|
|
411
|
+
display: "flex",
|
|
412
|
+
"flex-direction": "row",
|
|
413
|
+
"align-items": "center",
|
|
414
|
+
"justify-content": "space-between",
|
|
415
|
+
width: "100%",
|
|
416
|
+
"margin-top": "auto",
|
|
417
|
+
"padding-top": "none",
|
|
418
|
+
"padding-bottom": "none",
|
|
419
|
+
"padding-left": "none",
|
|
420
|
+
"padding-right": "none",
|
|
421
|
+
"box-shadow": "none",
|
|
422
|
+
},
|
|
423
|
+
"name-position-wrapper": {
|
|
424
|
+
display: "flex",
|
|
425
|
+
"flex-direction": "column",
|
|
426
|
+
"align-items": "flex-start",
|
|
427
|
+
"row-gap": "4xs",
|
|
428
|
+
},
|
|
429
|
+
name: {
|
|
430
|
+
color: "white",
|
|
431
|
+
},
|
|
432
|
+
position: {
|
|
433
|
+
"font-size": "base",
|
|
434
|
+
color: "text-2",
|
|
435
|
+
"font-weight": "400",
|
|
436
|
+
display: "none",
|
|
437
|
+
},
|
|
438
|
+
social_levoGroup: {
|
|
439
|
+
display: "flex",
|
|
440
|
+
"justify-content": "center",
|
|
441
|
+
"column-gap": "xs",
|
|
442
|
+
},
|
|
443
|
+
social: [
|
|
444
|
+
{
|
|
445
|
+
icon: {
|
|
446
|
+
width: "40px",
|
|
447
|
+
height: "40px",
|
|
448
|
+
"object-fit": "contain",
|
|
449
|
+
"border-style": "solid",
|
|
450
|
+
"border-width": "1px",
|
|
451
|
+
"border-color": "brand",
|
|
452
|
+
"border-radius": "full",
|
|
453
|
+
"background-color": "white",
|
|
454
|
+
display: "block",
|
|
455
|
+
padding: "xs",
|
|
456
|
+
"font-size": "40px",
|
|
457
|
+
},
|
|
458
|
+
},
|
|
459
|
+
],
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
card: {
|
|
463
|
+
display: "flex",
|
|
464
|
+
"flex-direction": "column",
|
|
465
|
+
"align-items": "center",
|
|
466
|
+
"border-radius": "lg",
|
|
467
|
+
padding: "lg",
|
|
468
|
+
"box-shadow": "0 4px 6px -1px rgba(0, 0, 0, 0.1)",
|
|
469
|
+
"min-height": "500px",
|
|
470
|
+
position: "relative",
|
|
471
|
+
"background-image":
|
|
472
|
+
'url("https://static.levostg.online/W6OEVMW8/d21a17ee9be592536fd98fce98365040238846bb-dO450wFkQdegn.jpg")',
|
|
473
|
+
"background-position": "center center",
|
|
474
|
+
"background-size": "cover",
|
|
475
|
+
},
|
|
476
|
+
info: {
|
|
477
|
+
display: "flex",
|
|
478
|
+
"flex-direction": "row",
|
|
479
|
+
"align-items": "center",
|
|
480
|
+
"justify-content": "space-between",
|
|
481
|
+
width: "100%",
|
|
482
|
+
"margin-top": "auto",
|
|
483
|
+
"padding-top": "none",
|
|
484
|
+
"padding-bottom": "none",
|
|
485
|
+
"padding-left": "none",
|
|
486
|
+
"padding-right": "none",
|
|
487
|
+
"box-shadow": "none",
|
|
488
|
+
},
|
|
489
|
+
"name-position-wrapper": {
|
|
490
|
+
display: "flex",
|
|
491
|
+
"flex-direction": "column",
|
|
492
|
+
"align-items": "flex-start",
|
|
493
|
+
"row-gap": "4xs",
|
|
494
|
+
},
|
|
495
|
+
name: {
|
|
496
|
+
color: "white",
|
|
497
|
+
},
|
|
498
|
+
position: {
|
|
499
|
+
"font-size": "base",
|
|
500
|
+
color: "text-2",
|
|
501
|
+
"font-weight": "400",
|
|
502
|
+
display: "none",
|
|
503
|
+
},
|
|
504
|
+
social_levoGroup: {
|
|
505
|
+
display: "flex",
|
|
506
|
+
"justify-content": "center",
|
|
507
|
+
"column-gap": "xs",
|
|
508
|
+
},
|
|
509
|
+
social: [
|
|
510
|
+
{
|
|
511
|
+
icon: {
|
|
512
|
+
width: "40px",
|
|
513
|
+
height: "40px",
|
|
514
|
+
"object-fit": "contain",
|
|
515
|
+
"border-style": "solid",
|
|
516
|
+
"border-width": "1px",
|
|
517
|
+
"border-color": "brand",
|
|
518
|
+
"border-radius": "full",
|
|
519
|
+
"background-color": "white",
|
|
520
|
+
display: "block",
|
|
521
|
+
padding: "xs",
|
|
522
|
+
"font-size": "40px",
|
|
523
|
+
},
|
|
524
|
+
},
|
|
525
|
+
],
|
|
526
|
+
},
|
|
527
|
+
],
|
|
528
|
+
cta_wrapper: {
|
|
529
|
+
display: "flex",
|
|
530
|
+
"justify-content": "center",
|
|
531
|
+
"margin-top": "3xl",
|
|
532
|
+
mobile: {
|
|
533
|
+
"margin-top": "2xl",
|
|
534
|
+
},
|
|
535
|
+
},
|
|
536
|
+
cta: {
|
|
537
|
+
"background-color": "brand",
|
|
538
|
+
color: "white",
|
|
539
|
+
"padding-top": "base",
|
|
540
|
+
"padding-bottom": "base",
|
|
541
|
+
"padding-left": "xl",
|
|
542
|
+
"padding-right": "xl",
|
|
543
|
+
"border-radius": "lg",
|
|
544
|
+
"font-size": "base",
|
|
545
|
+
"font-weight": "600",
|
|
546
|
+
"border-style": "none",
|
|
547
|
+
},
|
|
548
|
+
},
|
|
549
|
+
},
|
|
550
|
+
],
|
|
551
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import {
|
|
2
|
+
type ILevoBlockBaseProps,
|
|
3
|
+
Heading,
|
|
4
|
+
Typography,
|
|
5
|
+
Container,
|
|
6
|
+
Section,
|
|
7
|
+
Box,
|
|
8
|
+
Icon,
|
|
9
|
+
Button,
|
|
10
|
+
} from "@levo-so/studio";
|
|
11
|
+
|
|
12
|
+
import type { ITeam4Content } from "./team-4.schema";
|
|
13
|
+
|
|
14
|
+
const Team4: React.FC<ILevoBlockBaseProps<ITeam4Content>> = ({ content }) => {
|
|
15
|
+
return (
|
|
16
|
+
<Section elementKey="layout">
|
|
17
|
+
<Container elementKey="container">
|
|
18
|
+
<Box elementKey="header">
|
|
19
|
+
<Heading elementKey="title" />
|
|
20
|
+
<Typography elementKey="description" />
|
|
21
|
+
</Box>
|
|
22
|
+
<Box elementKey="team_levoGroup" data-levo_group>
|
|
23
|
+
{(content?.team ?? [])?.map((_: any, index: number) => (
|
|
24
|
+
<Box
|
|
25
|
+
key={index}
|
|
26
|
+
data-levo_group_item
|
|
27
|
+
elementKey={`team.${index}.card`}
|
|
28
|
+
>
|
|
29
|
+
<Box elementKey={`team.${index}.info`}>
|
|
30
|
+
<Box elementKey={`team.${index}.name-position-wrapper`}>
|
|
31
|
+
<Heading elementKey={`team.${index}.name`} />
|
|
32
|
+
</Box>
|
|
33
|
+
<Box
|
|
34
|
+
elementKey={`team.${index}.social_levoGroup`}
|
|
35
|
+
data-levo_group
|
|
36
|
+
>
|
|
37
|
+
{(content?.team?.[index]?.social ?? [])?.map(
|
|
38
|
+
(_: any, socialIndex: number) => (
|
|
39
|
+
<Icon
|
|
40
|
+
key={socialIndex}
|
|
41
|
+
data-levo_group_item
|
|
42
|
+
elementKey={`team.${index}.social.${socialIndex}.icon`}
|
|
43
|
+
/>
|
|
44
|
+
),
|
|
45
|
+
)}
|
|
46
|
+
</Box>
|
|
47
|
+
</Box>
|
|
48
|
+
</Box>
|
|
49
|
+
))}
|
|
50
|
+
</Box>
|
|
51
|
+
<Box elementKey="cta_wrapper">
|
|
52
|
+
<Button elementKey="cta" />
|
|
53
|
+
</Box>
|
|
54
|
+
</Container>
|
|
55
|
+
</Section>
|
|
56
|
+
);
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export default Team4;
|
|
@@ -125,44 +125,34 @@ export const TermsAndConditions1: IBlock = {
|
|
|
125
125
|
"row-gap": "lg",
|
|
126
126
|
},
|
|
127
127
|
title: {
|
|
128
|
-
"font-size": "5xl",
|
|
129
|
-
"font-weight": "700",
|
|
130
128
|
color: "text-1",
|
|
131
|
-
"line-height": "1.2",
|
|
132
|
-
"media:max:768px": {
|
|
133
|
-
"font-size": "4xl",
|
|
134
|
-
},
|
|
135
|
-
"media:max:480px": {
|
|
136
|
-
"font-size": "3xl",
|
|
137
|
-
},
|
|
138
129
|
},
|
|
139
130
|
subtitle: {
|
|
140
|
-
"font-size": "lg",
|
|
141
|
-
"font-weight": "500",
|
|
142
131
|
color: "text-2",
|
|
143
132
|
"max-width": "2xl",
|
|
144
|
-
"line-height": "1.5",
|
|
145
|
-
"media:max:768px": {
|
|
146
|
-
"font-size": "base",
|
|
147
|
-
},
|
|
148
133
|
},
|
|
149
134
|
content_wrapper: {
|
|
150
135
|
width: "100%",
|
|
151
136
|
},
|
|
152
137
|
content: {
|
|
153
|
-
"font-size": "base",
|
|
154
|
-
"font-weight": "400",
|
|
155
138
|
color: "text-1",
|
|
156
|
-
"line-height": "1.7",
|
|
157
139
|
"text-align": "justify",
|
|
158
140
|
"media:max:768px": {
|
|
159
|
-
"font-size": "sm",
|
|
160
141
|
"text-align": "left",
|
|
161
142
|
},
|
|
162
143
|
},
|
|
163
144
|
},
|
|
164
145
|
content: DEFAULT_CONTENT,
|
|
165
|
-
config: {
|
|
146
|
+
config: {
|
|
147
|
+
title: {
|
|
148
|
+
selectedVariants: {
|
|
149
|
+
Heading_Level: "H2",
|
|
150
|
+
},
|
|
151
|
+
heading: {
|
|
152
|
+
level: 2,
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
},
|
|
166
156
|
},
|
|
167
157
|
],
|
|
168
158
|
};
|