@levo-so/blocks 0.1.59 → 0.1.61
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 -6
- package/src/blocks/about-us/about-us-1.schema.ts +60 -58
- package/src/blocks/about-us/about-us-1.tsx +2 -4
- package/src/blocks/about-us/about-us-2.schema.ts +165 -42
- package/src/blocks/about-us/about-us-2.tsx +7 -13
- package/src/blocks/blogs/blog-listing-1.schema.ts +7 -14
- package/src/blocks/blogs/blog-listing-1.tsx +27 -36
- package/src/blocks/blogs/blog-listing-2.schema.ts +17 -34
- package/src/blocks/blogs/blog-listing-2.tsx +21 -27
- package/src/blocks/blogs/blog-listing-3.schema.ts +32 -64
- package/src/blocks/blogs/blog-listing-3.tsx +21 -27
- package/src/blocks/blogs/blog-post-1.schema.ts +9 -18
- package/src/blocks/blogs/blog-post-1.tsx +3 -14
- package/src/blocks/calendar/calendar-1.schema.ts +351 -180
- package/src/blocks/calendar/calendar-1.tsx +60 -25
- package/src/blocks/cards/cards-10.schema.ts +278 -331
- package/src/blocks/cards/cards-10.tsx +18 -15
- package/src/blocks/cards/cards-11.schema.ts +178 -356
- package/src/blocks/cards/cards-11.tsx +5 -11
- package/src/blocks/cards/cards-12.schema.ts +110 -196
- package/src/blocks/cards/cards-12.tsx +4 -10
- package/src/blocks/cards/cards-13.schema.ts +131 -120
- package/src/blocks/cards/cards-13.tsx +4 -6
- package/src/blocks/cards/cards-14.schema.ts +51 -154
- package/src/blocks/cards/cards-14.tsx +5 -11
- package/src/blocks/cards/cards-15.schema.ts +48 -32
- package/src/blocks/cards/cards-15.tsx +15 -6
- package/src/blocks/cards/cards-2.schema.ts +76 -88
- package/src/blocks/cards/cards-2.tsx +12 -17
- package/src/blocks/cards/cards-3.schema.ts +68 -70
- package/src/blocks/cards/cards-3.tsx +7 -13
- package/src/blocks/cards/cards-4.schema.ts +160 -115
- package/src/blocks/cards/cards-4.tsx +22 -17
- package/src/blocks/cards/cards-5.schema.ts +76 -70
- package/src/blocks/cards/cards-5.tsx +10 -10
- package/src/blocks/cards/cards-6.schema.ts +755 -985
- package/src/blocks/cards/cards-6.tsx +17 -9
- package/src/blocks/cards/cards-7.schema.ts +754 -2250
- package/src/blocks/cards/cards-7.tsx +18 -24
- package/src/blocks/cards/cards-8.schema.ts +171 -363
- package/src/blocks/cards/cards-8.tsx +15 -8
- package/src/blocks/cards/cards-9.schema.ts +283 -329
- package/src/blocks/cards/cards-9.tsx +28 -12
- package/src/blocks/carousel/carousel-1.schema.ts +418 -49
- package/src/blocks/carousel/carousel-1.tsx +8 -8
- package/src/blocks/carousel/carousel-2.schema.ts +153 -127
- package/src/blocks/carousel/carousel-2.tsx +16 -20
- package/src/blocks/community/community-1.schema.ts +612 -0
- package/src/blocks/community/community-1.tsx +557 -0
- package/src/blocks/community/community-post-1.schema.ts +408 -0
- package/src/blocks/community/community-post-1.tsx +405 -0
- package/src/blocks/contact-us/contact-us-1.schema.ts +25 -43
- package/src/blocks/contact-us/contact-us-1.tsx +2 -12
- package/src/blocks/contact-us/contact-us-2.schema.ts +39 -17
- package/src/blocks/contact-us/contact-us-2.tsx +21 -32
- package/src/blocks/content/content-1.schema.ts +163 -234
- package/src/blocks/content/content-1.tsx +46 -43
- package/src/blocks/content/content-2.schema.ts +117 -35
- package/src/blocks/content/content-2.tsx +19 -7
- package/src/blocks/content/content-3.schema.ts +215 -205
- package/src/blocks/content/content-3.tsx +14 -18
- package/src/blocks/content/content-4.schema.ts +105 -89
- package/src/blocks/content/content-4.tsx +10 -18
- package/src/blocks/content/content-5.schema.ts +301 -278
- package/src/blocks/content/content-5.tsx +23 -16
- package/src/blocks/content/content-6.schema.ts +432 -250
- package/src/blocks/content/content-6.tsx +24 -19
- package/src/blocks/content/content-7.schema.ts +200 -197
- package/src/blocks/content/content-7.tsx +29 -21
- package/src/blocks/content/content-8.schema.ts +28 -23
- package/src/blocks/content/content-8.tsx +3 -3
- package/src/blocks/content/content-9.schema.ts +64 -2208
- package/src/blocks/content/content-9.tsx +31 -43
- package/src/blocks/cta/cta-1.schema.ts +23 -128
- package/src/blocks/cta/cta-2.schema.ts +46 -69
- package/src/blocks/cta/cta-2.tsx +2 -6
- package/src/blocks/cta/cta-3.schema.ts +77 -72
- package/src/blocks/cta/cta-3.tsx +2 -6
- package/src/blocks/embed/embed-1.schema.ts +30 -52
- package/src/blocks/embed/embed-1.tsx +1 -9
- package/src/blocks/event/ClientOnly.tsx +1 -4
- package/src/blocks/event/event-details.schema.ts +23 -32
- package/src/blocks/event/event-details.tsx +9 -23
- package/src/blocks/event/event-listing-2.schema.ts +19 -38
- package/src/blocks/event/event-listing-2.tsx +29 -38
- package/src/blocks/event/event-listing-3.schema.ts +10 -20
- package/src/blocks/event/event-listing-3.tsx +26 -30
- package/src/blocks/event/event-listing-4.schema.ts +40 -80
- package/src/blocks/event/event-listing-4.tsx +22 -28
- package/src/blocks/event/event-listing.schema.ts +12 -24
- package/src/blocks/event/event-listing.tsx +26 -30
- package/src/blocks/faq/faq-1.schema.ts +150 -112
- package/src/blocks/faq/faq-1.tsx +31 -33
- package/src/blocks/faq/faq-2.schema.ts +132 -77
- package/src/blocks/faq/faq-2.tsx +21 -11
- package/src/blocks/faq/faq-3.schema.ts +178 -107
- package/src/blocks/faq/faq-3.tsx +30 -22
- package/src/blocks/features/features-1/features-1.schema.ts +11 -3
- package/src/blocks/features/features-1/features-1.tsx +12 -5
- package/src/blocks/features/features-1/variants/default.ts +176 -62
- package/src/blocks/features/features-1/variants/index.ts +1 -1
- package/src/blocks/features/features-1/variants/stylized-cards-v1.ts +392 -54
- package/src/blocks/features/features-1/variants/stylized-cards-v2.ts +119 -103
- package/src/blocks/features/features-1/variants/stylized-cards-v3.ts +16 -199
- package/src/blocks/features/features-2.schema.ts +149 -48
- package/src/blocks/features/features-2.tsx +18 -12
- package/src/blocks/features/features-3.schema.ts +255 -68
- package/src/blocks/features/features-3.tsx +25 -15
- package/src/blocks/features/features-4.schema.ts +367 -188
- package/src/blocks/features/features-4.tsx +12 -8
- package/src/blocks/features/features-5.schema.ts +195 -200
- package/src/blocks/features/features-5.tsx +14 -14
- package/src/blocks/features/features-6.schema.ts +230 -215
- package/src/blocks/features/features-6.tsx +28 -34
- package/src/blocks/filter-listing/filter-listing-1.tsx +12 -36
- package/src/blocks/floating-buttons/floating-button-1.schema.ts +100 -0
- package/src/blocks/floating-buttons/floating-button-1.tsx +14 -0
- package/src/blocks/footer/footer-1.schema.ts +110 -48
- package/src/blocks/footer/footer-1.tsx +17 -31
- package/src/blocks/footer/footer-2.schema.ts +230 -34
- package/src/blocks/footer/footer-2.tsx +19 -29
- package/src/blocks/footer/footer-3.schema.ts +335 -59
- package/src/blocks/footer/footer-3.tsx +11 -26
- package/src/blocks/footer/footer-4.schema.ts +139 -76
- package/src/blocks/footer/footer-4.tsx +37 -55
- package/src/blocks/footer/footer-5.schema.ts +138 -60
- package/src/blocks/footer/footer-5.tsx +16 -30
- package/src/blocks/footer/footer-6.schema.ts +62 -149
- package/src/blocks/footer/footer-6.tsx +30 -44
- package/src/blocks/form/form-1.schema.ts +144 -0
- package/src/blocks/form/form-1.tsx +33 -0
- package/src/blocks/hero/hero-1.schema.ts +153 -101
- package/src/blocks/hero/hero-1.tsx +4 -4
- package/src/blocks/hero/hero-10.schema.ts +9 -31
- package/src/blocks/hero/hero-10.tsx +4 -4
- package/src/blocks/hero/hero-11.schema.ts +196 -89
- package/src/blocks/hero/hero-11.tsx +5 -10
- package/src/blocks/hero/hero-12.schema.ts +111 -192
- package/src/blocks/hero/hero-12.tsx +4 -7
- package/src/blocks/hero/hero-13.schema.ts +36 -30
- package/src/blocks/hero/hero-13.tsx +1 -1
- package/src/blocks/hero/hero-2.schema.ts +30 -58
- package/src/blocks/hero/hero-2.tsx +3 -21
- package/src/blocks/hero/hero-3.schema.ts +70 -90
- package/src/blocks/hero/hero-3.tsx +6 -15
- package/src/blocks/hero/hero-4.schema.ts +246 -73
- package/src/blocks/hero/hero-4.tsx +22 -16
- package/src/blocks/hero/hero-5.schema.ts +104 -47
- package/src/blocks/hero/hero-5.tsx +21 -12
- package/src/blocks/hero/hero-6.schema.ts +127 -258
- package/src/blocks/hero/hero-6.tsx +6 -6
- package/src/blocks/hero/hero-7.schema.ts +90 -43
- package/src/blocks/hero/hero-7.tsx +6 -4
- package/src/blocks/hero/hero-8.schema.ts +342 -138
- package/src/blocks/hero/hero-8.tsx +23 -13
- package/src/blocks/hero/hero-9.schema.ts +111 -86
- package/src/blocks/hero/hero-9.tsx +12 -4
- package/src/blocks/index.ts +12 -8
- package/src/blocks/jobs/jobs-1.schema.ts +990 -0
- package/src/blocks/jobs/jobs-1.tsx +145 -0
- package/src/blocks/logos/logos-1.schema.ts +370 -36
- package/src/blocks/logos/logos-1.tsx +7 -7
- package/src/blocks/navbar/navbar-1.schema.ts +15 -28
- package/src/blocks/navbar/navbar-1.tsx +24 -60
- package/src/blocks/navbar/navbar-2.schema.ts +14 -28
- package/src/blocks/navbar/navbar-2.tsx +26 -56
- package/src/blocks/navbar/navbar-3.schema.ts +11 -22
- package/src/blocks/navbar/navbar-3.tsx +33 -82
- package/src/blocks/navbar/navbar-4.schema.ts +14343 -0
- package/src/blocks/navbar/navbar-4.tsx +546 -0
- package/src/blocks/polling/polling-1.schema.ts +2 -21
- package/src/blocks/polling/polling-1.tsx +24 -39
- package/src/blocks/pricing/pricing-1.schema.ts +307 -290
- package/src/blocks/pricing/pricing-1.tsx +32 -42
- package/src/blocks/products/products-listing-1.schema.ts +115 -36
- package/src/blocks/products/products-listing-1.tsx +15 -13
- package/src/blocks/products/products-listing-2.schema.ts +178 -220
- package/src/blocks/products/products-listing-2.tsx +29 -16
- package/src/blocks/products/products-listing-3.schema.ts +412 -154
- package/src/blocks/products/products-listing-3.tsx +102 -73
- package/src/blocks/profile/profile-1.schema.ts +60 -49
- package/src/blocks/profile/profile-1.tsx +5 -10
- package/src/blocks/profile/profile-2.schema.ts +71 -92
- package/src/blocks/profile/profile-2.tsx +6 -7
- package/src/blocks/profile/profile-3.schema.ts +141 -529
- package/src/blocks/profile/profile-3.tsx +19 -41
- package/src/blocks/{blogs/blog-post-2.schema.ts → profile/profile-4.schema.ts} +75 -97
- package/src/blocks/{blogs/blog-post-2.tsx → profile/profile-4.tsx} +32 -61
- package/src/blocks/{blogs/blog-post-3.schema.ts → profile/profile-5.schema.ts} +6 -6
- package/src/blocks/{blogs/blog-post-3.tsx → profile/profile-5.tsx} +6 -11
- package/src/blocks/services/service-1.schema.ts +210 -830
- package/src/blocks/services/service-1.tsx +46 -59
- package/src/blocks/services/service-2.schema.ts +92 -80
- package/src/blocks/services/service-2.tsx +13 -7
- package/src/blocks/services/service-3.schema.ts +74 -86
- package/src/blocks/services/service-3.tsx +44 -45
- package/src/blocks/stats/stats-1.schema.ts +225 -21
- package/src/blocks/stats/stats-1.tsx +7 -14
- package/src/blocks/stats/stats-2.schema.ts +13 -5
- package/src/blocks/stats/stats-2.tsx +12 -15
- package/src/blocks/stats/variants/default.ts +59 -41
- package/src/blocks/stats/variants/hero.ts +64 -31
- package/src/blocks/stats/variants/index.ts +1 -1
- package/src/blocks/tabs/tab-1.schema.ts +103 -409
- package/src/blocks/tabs/tab-1.tsx +47 -53
- package/src/blocks/tabs/tab-2.schema.ts +207 -290
- package/src/blocks/tabs/tab-2.tsx +20 -9
- package/src/blocks/team/team-1.schema.ts +593 -76
- package/src/blocks/team/team-1.tsx +16 -22
- package/src/blocks/team/team-2.schema.ts +621 -1453
- package/src/blocks/team/team-2.tsx +19 -34
- package/src/blocks/team/team-3.schema.ts +127 -78
- package/src/blocks/team/team-3.tsx +9 -14
- package/src/blocks/team/team-4.schema.ts +197 -63
- package/src/blocks/team/team-4.tsx +25 -26
- package/src/blocks/team/team-5.schema.ts +65 -54
- package/src/blocks/team/team-5.tsx +13 -4
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +9 -26
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.tsx +4 -6
- package/src/blocks/testimonial/testimonial-1.schema.ts +713 -65
- package/src/blocks/testimonial/testimonial-1.tsx +12 -23
- package/src/blocks/testimonial/testimonial-2.schema.ts +1316 -354
- package/src/blocks/testimonial/testimonial-2.tsx +21 -37
- package/src/blocks/testimonial/testimonial-3.schema.ts +210 -74
- package/src/blocks/testimonial/testimonial-3.tsx +17 -27
- package/src/blocks/testimonial/testimonial-4.schema.ts +353 -1049
- package/src/blocks/testimonial/testimonial-4.tsx +16 -34
- package/src/blocks/testimonial/testimonial-5/variants/default.ts +155 -171
- package/src/blocks/testimonial/testimonial-5/variants/index.ts +1 -1
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +201 -501
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +166 -316
- package/src/blocks/testimonial/testimonial-5.schema.ts +2 -6
- package/src/blocks/testimonial/testimonial-5.tsx +15 -25
- package/src/blocks/testimonial/testimonial-6.schema.ts +226 -315
- package/src/blocks/testimonial/testimonial-6.tsx +9 -25
- package/src/blocks/testimonial/testimonial-7.schema.ts +74 -45
- package/src/blocks/testimonial/testimonial-7.tsx +16 -27
- package/src/blocks/timeline/timeline-1.schema.ts +166 -153
- package/src/blocks/timeline/timeline-1.tsx +6 -7
- package/src/blocks/users/edit-profile.schema.ts +56 -44
- package/src/blocks/users/edit-profile.tsx +23 -28
- package/src/constants/index.ts +16 -0
- package/src/index.ts +1 -1
- package/src/schemas/blocks.ts +17 -5
- package/src/schemas/categories.ts +26 -2
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
Container,
|
|
5
5
|
Heading,
|
|
6
6
|
Icon,
|
|
7
|
+
type ILevoBlockBaseProps,
|
|
7
8
|
Media,
|
|
8
9
|
Section,
|
|
9
10
|
Typography,
|
|
10
|
-
type ILevoBlockBaseProps,
|
|
11
11
|
} from "@levo-so/studio";
|
|
12
|
-
import React from "react";
|
|
12
|
+
import type React from "react";
|
|
13
13
|
|
|
14
14
|
import type { ITeam2Content } from "./team-2.schema";
|
|
15
15
|
|
|
@@ -19,48 +19,33 @@ const Team2: React.FC<ILevoBlockBaseProps<ITeam2Content>> = ({ content }) => {
|
|
|
19
19
|
<Container elementKey="container">
|
|
20
20
|
<Box elementKey="header">
|
|
21
21
|
<Heading elementKey="accent-title" />
|
|
22
|
-
<
|
|
22
|
+
<Box elementKey="title_container">
|
|
23
|
+
<Heading elementKey="title" />
|
|
24
|
+
<Typography elementKey="description" />
|
|
25
|
+
</Box>
|
|
23
26
|
<Box elementKey="ctas_levoGroup" data-levo_group>
|
|
24
27
|
{(content?.ctas ?? []).map((_: any, index: number) => (
|
|
25
|
-
<Button
|
|
26
|
-
key={index}
|
|
27
|
-
data-levo_group_item
|
|
28
|
-
elementKey={`ctas.${index}.button`}
|
|
29
|
-
/>
|
|
28
|
+
<Button key={index} data-levo_group_item elementKey={`ctas.${index}.button`} />
|
|
30
29
|
))}
|
|
31
30
|
</Box>
|
|
32
31
|
</Box>
|
|
33
32
|
<Box elementKey="team_levoGroup" data-levo_group>
|
|
34
33
|
{(content?.team ?? []).map((_: any, index: number) => (
|
|
35
|
-
<Box
|
|
36
|
-
|
|
37
|
-
data-levo_group_item
|
|
38
|
-
elementKey={`team.${index}.card`}
|
|
39
|
-
>
|
|
40
|
-
<Media
|
|
41
|
-
elementKey={`team.${index}.image`}
|
|
42
|
-
alt="Team member photo"
|
|
43
|
-
/>
|
|
34
|
+
<Box key={index} data-levo_group_item elementKey={`team.${index}.card`}>
|
|
35
|
+
<Media elementKey={`team.${index}.image`} alt="Team member photo" />
|
|
44
36
|
<Box elementKey={`team.${index}.info`}>
|
|
45
37
|
<Heading elementKey={`team.${index}.name`} />
|
|
46
38
|
<Typography elementKey={`team.${index}.position`} />
|
|
47
|
-
<Box
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
>
|
|
58
|
-
<Icon
|
|
59
|
-
elementKey={`team.${index}.social.${socialIndex}.icon`}
|
|
60
|
-
/>
|
|
61
|
-
</Box>
|
|
62
|
-
),
|
|
63
|
-
)}
|
|
39
|
+
<Box elementKey={`team.${index}.social_levoGroup`} data-levo_group>
|
|
40
|
+
{(content?.team?.[index]?.social ?? [])?.map((_: any, socialIndex: number) => (
|
|
41
|
+
<Box
|
|
42
|
+
key={socialIndex}
|
|
43
|
+
data-levo_group_item
|
|
44
|
+
elementKey={`team.${index}.social.${socialIndex}.link`}
|
|
45
|
+
>
|
|
46
|
+
<Icon elementKey={`team.${index}.social.${socialIndex}.icon`} />
|
|
47
|
+
</Box>
|
|
48
|
+
))}
|
|
64
49
|
</Box>
|
|
65
50
|
</Box>
|
|
66
51
|
</Box>
|
|
@@ -11,11 +11,66 @@ const DUMMY_ICON = {
|
|
|
11
11
|
},
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
+
const MEDIA_1 = {
|
|
15
|
+
id: "iPDeQfZlYFJJr",
|
|
16
|
+
filename: "teams-3-1_1.png",
|
|
17
|
+
kind: "image",
|
|
18
|
+
location: "https://static.levocdn.com/WLZ1TXTD/teams-3-11-DNP5Bs1aZqCOy.png",
|
|
19
|
+
srcset: {
|
|
20
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/teams-3-11-DNP5Bs1aZqCOy-1080w.webp",
|
|
21
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/teams-3-11-DNP5Bs1aZqCOy-1200w.webp",
|
|
22
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/teams-3-11-DNP5Bs1aZqCOy-1920w.webp",
|
|
23
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/teams-3-11-DNP5Bs1aZqCOy-320w.webp",
|
|
24
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/teams-3-11-DNP5Bs1aZqCOy-640w.webp",
|
|
25
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/teams-3-11-DNP5Bs1aZqCOy-750w.webp",
|
|
26
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/teams-3-11-DNP5Bs1aZqCOy-828w.webp",
|
|
27
|
+
path: "https://static.levocdn.com/WLZ1TXTD/teams-3-11-DNP5Bs1aZqCOy-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/teams-3-11-DNP5Bs1aZqCOy-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/teams-3-11-DNP5Bs1aZqCOy-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/teams-3-11-DNP5Bs1aZqCOy-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/teams-3-11-DNP5Bs1aZqCOy-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/teams-3-11-DNP5Bs1aZqCOy-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/teams-3-11-DNP5Bs1aZqCOy-750w.webp 750w",
|
|
28
|
+
},
|
|
29
|
+
mimetype: "image/png",
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
const MEDIA_2 = {
|
|
33
|
+
id: "1d71iLgEFSgds",
|
|
34
|
+
filename: "teams-3-2.png",
|
|
35
|
+
kind: "image",
|
|
36
|
+
location: "https://static.levocdn.com/WLZ1TXTD/teams-3-2-vxmSjzMsgEQtq.png",
|
|
37
|
+
srcset: {
|
|
38
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/teams-3-2-vxmSjzMsgEQtq-1080w.webp",
|
|
39
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/teams-3-2-vxmSjzMsgEQtq-1200w.webp",
|
|
40
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/teams-3-2-vxmSjzMsgEQtq-1920w.webp",
|
|
41
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/teams-3-2-vxmSjzMsgEQtq-320w.webp",
|
|
42
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/teams-3-2-vxmSjzMsgEQtq-640w.webp",
|
|
43
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/teams-3-2-vxmSjzMsgEQtq-750w.webp",
|
|
44
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/teams-3-2-vxmSjzMsgEQtq-828w.webp",
|
|
45
|
+
path: "https://static.levocdn.com/WLZ1TXTD/teams-3-2-vxmSjzMsgEQtq-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/teams-3-2-vxmSjzMsgEQtq-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/teams-3-2-vxmSjzMsgEQtq-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/teams-3-2-vxmSjzMsgEQtq-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/teams-3-2-vxmSjzMsgEQtq-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/teams-3-2-vxmSjzMsgEQtq-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/teams-3-2-vxmSjzMsgEQtq-1080w.webp 1080w",
|
|
46
|
+
},
|
|
47
|
+
mimetype: "image/png",
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
const MEDIA_3 = {
|
|
51
|
+
id: "8eRjr0Um3qUcP",
|
|
52
|
+
filename: "teams-3-3.png",
|
|
53
|
+
kind: "image",
|
|
54
|
+
location: "https://static.levocdn.com/WLZ1TXTD/teams-3-3-Lkpy5HvjY9yQl.png",
|
|
55
|
+
srcset: {
|
|
56
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/teams-3-3-Lkpy5HvjY9yQl-1080w.webp",
|
|
57
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/teams-3-3-Lkpy5HvjY9yQl-1200w.webp",
|
|
58
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/teams-3-3-Lkpy5HvjY9yQl-1920w.webp",
|
|
59
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/teams-3-3-Lkpy5HvjY9yQl-320w.webp",
|
|
60
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/teams-3-3-Lkpy5HvjY9yQl-640w.webp",
|
|
61
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/teams-3-3-Lkpy5HvjY9yQl-750w.webp",
|
|
62
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/teams-3-3-Lkpy5HvjY9yQl-828w.webp",
|
|
63
|
+
path: "https://static.levocdn.com/WLZ1TXTD/teams-3-3-Lkpy5HvjY9yQl-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/teams-3-3-Lkpy5HvjY9yQl-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/teams-3-3-Lkpy5HvjY9yQl-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/teams-3-3-Lkpy5HvjY9yQl-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/teams-3-3-Lkpy5HvjY9yQl-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/teams-3-3-Lkpy5HvjY9yQl-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/teams-3-3-Lkpy5HvjY9yQl-320w.webp 320w",
|
|
64
|
+
},
|
|
65
|
+
mimetype: "image/png",
|
|
66
|
+
};
|
|
67
|
+
|
|
14
68
|
const DEFAULT_CONTENT = {
|
|
15
69
|
layout: null,
|
|
16
70
|
container: null,
|
|
17
71
|
header: null,
|
|
18
72
|
title: "Our Team",
|
|
73
|
+
description: "Our Team Our Team Our Team Our Team Our Team Our Team Our Team Our Team",
|
|
19
74
|
team: [
|
|
20
75
|
{
|
|
21
76
|
card: null,
|
|
@@ -104,8 +159,7 @@ export const Team3: IBlock = {
|
|
|
104
159
|
label: "Header",
|
|
105
160
|
field_interface: "BoxWidget",
|
|
106
161
|
hint: {
|
|
107
|
-
prompt_description:
|
|
108
|
-
"Container for the section title, positioned above the team carousel.",
|
|
162
|
+
prompt_description: "Container for the section title, positioned above the team carousel.",
|
|
109
163
|
},
|
|
110
164
|
},
|
|
111
165
|
{
|
|
@@ -119,6 +173,11 @@ export const Team3: IBlock = {
|
|
|
119
173
|
max_characters: 30,
|
|
120
174
|
},
|
|
121
175
|
},
|
|
176
|
+
{
|
|
177
|
+
key: "description",
|
|
178
|
+
label: "Description",
|
|
179
|
+
field_interface: "TypographyWidget",
|
|
180
|
+
},
|
|
122
181
|
{
|
|
123
182
|
key: "carousel-navigation-container",
|
|
124
183
|
label: "Carousel Navigation Container",
|
|
@@ -189,8 +248,7 @@ export const Team3: IBlock = {
|
|
|
189
248
|
label: "Member Name",
|
|
190
249
|
field_interface: "HeadingWidget",
|
|
191
250
|
hint: {
|
|
192
|
-
prompt_description:
|
|
193
|
-
"Full name of the team member. Use professional, clear naming.",
|
|
251
|
+
prompt_description: "Full name of the team member. Use professional, clear naming.",
|
|
194
252
|
min_characters: 8,
|
|
195
253
|
max_characters: 30,
|
|
196
254
|
},
|
|
@@ -259,44 +317,68 @@ export const Team3: IBlock = {
|
|
|
259
317
|
level: 2,
|
|
260
318
|
},
|
|
261
319
|
},
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
320
|
+
team: [
|
|
321
|
+
{
|
|
322
|
+
name: {
|
|
323
|
+
selectedVariants: {
|
|
324
|
+
Heading_Level: "H4",
|
|
325
|
+
},
|
|
326
|
+
heading: {
|
|
327
|
+
level: "4",
|
|
328
|
+
},
|
|
329
|
+
},
|
|
272
330
|
},
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
filter: "none",
|
|
331
|
+
{
|
|
332
|
+
name: {
|
|
333
|
+
selectedVariants: {
|
|
334
|
+
Heading_Level: "H4",
|
|
335
|
+
},
|
|
336
|
+
heading: {
|
|
337
|
+
level: "4",
|
|
338
|
+
},
|
|
339
|
+
},
|
|
283
340
|
},
|
|
284
|
-
|
|
285
|
-
|
|
341
|
+
{
|
|
342
|
+
name: {
|
|
343
|
+
selectedVariants: {
|
|
344
|
+
Heading_Level: "H4",
|
|
345
|
+
},
|
|
346
|
+
heading: {
|
|
347
|
+
level: "4",
|
|
348
|
+
},
|
|
349
|
+
},
|
|
286
350
|
},
|
|
287
|
-
|
|
351
|
+
{
|
|
352
|
+
name: {
|
|
353
|
+
heading: {
|
|
354
|
+
level: "4",
|
|
355
|
+
},
|
|
356
|
+
selectedVariants: {
|
|
357
|
+
Heading_Level: "H4",
|
|
358
|
+
},
|
|
359
|
+
},
|
|
360
|
+
social: [
|
|
361
|
+
{
|
|
362
|
+
icon: {
|
|
363
|
+
selectedVariants: {},
|
|
364
|
+
},
|
|
365
|
+
},
|
|
366
|
+
],
|
|
367
|
+
},
|
|
368
|
+
],
|
|
369
|
+
},
|
|
370
|
+
content: DEFAULT_CONTENT,
|
|
371
|
+
styles: {
|
|
372
|
+
layout: {},
|
|
373
|
+
container: {},
|
|
288
374
|
header: {
|
|
289
375
|
"text-align": "center",
|
|
290
|
-
"margin-bottom": "
|
|
376
|
+
"margin-bottom": "4xl",
|
|
291
377
|
mobile: {
|
|
292
378
|
"margin-bottom": "2xl",
|
|
293
379
|
},
|
|
294
380
|
},
|
|
295
|
-
title: {
|
|
296
|
-
color: "text-1",
|
|
297
|
-
filter: "none",
|
|
298
|
-
"padding-bottom": "xl",
|
|
299
|
-
},
|
|
381
|
+
title: {},
|
|
300
382
|
team_levoGroup: {
|
|
301
383
|
number_of_slides: 3,
|
|
302
384
|
mobile: {
|
|
@@ -321,8 +403,7 @@ export const Team3: IBlock = {
|
|
|
321
403
|
"margin-right": "6xs",
|
|
322
404
|
filter: "none",
|
|
323
405
|
"min-height": "400px",
|
|
324
|
-
"background-image":
|
|
325
|
-
'url("https://static.levostg.online/W6OEVMW8/6a30b8841e2947b6f1fb3138bc36c5dbf7c9a6ef-4JOTlp1PZh12.png")',
|
|
406
|
+
"background-image": `url("${MEDIA_1.location}")`,
|
|
326
407
|
"background-position": "center center",
|
|
327
408
|
"background-size": "cover",
|
|
328
409
|
},
|
|
@@ -361,14 +442,8 @@ export const Team3: IBlock = {
|
|
|
361
442
|
"row-gap": "4xs",
|
|
362
443
|
filter: "none",
|
|
363
444
|
},
|
|
364
|
-
name: {
|
|
365
|
-
|
|
366
|
-
filter: "none",
|
|
367
|
-
},
|
|
368
|
-
position: {
|
|
369
|
-
color: "text-2",
|
|
370
|
-
filter: "none",
|
|
371
|
-
},
|
|
445
|
+
name: {},
|
|
446
|
+
position: {},
|
|
372
447
|
social_levoGroup: {
|
|
373
448
|
display: "flex",
|
|
374
449
|
"justify-content": "center",
|
|
@@ -411,8 +486,7 @@ export const Team3: IBlock = {
|
|
|
411
486
|
"margin-right": "6xs",
|
|
412
487
|
filter: "none",
|
|
413
488
|
"min-height": "400px",
|
|
414
|
-
"background-image":
|
|
415
|
-
'url("https://static.levostg.online/W6OEVMW8/6a30b8841e2947b6f1fb3138bc36c5dbf7c9a6ef-4JOTlp1PZh12.png")',
|
|
489
|
+
"background-image": `url("${MEDIA_2.location}")`,
|
|
416
490
|
"background-position": "center center",
|
|
417
491
|
"background-size": "cover",
|
|
418
492
|
},
|
|
@@ -451,14 +525,8 @@ export const Team3: IBlock = {
|
|
|
451
525
|
"row-gap": "4xs",
|
|
452
526
|
filter: "none",
|
|
453
527
|
},
|
|
454
|
-
name: {
|
|
455
|
-
|
|
456
|
-
filter: "none",
|
|
457
|
-
},
|
|
458
|
-
position: {
|
|
459
|
-
color: "text-2",
|
|
460
|
-
filter: "none",
|
|
461
|
-
},
|
|
528
|
+
name: {},
|
|
529
|
+
position: {},
|
|
462
530
|
social_levoGroup: {
|
|
463
531
|
display: "flex",
|
|
464
532
|
"justify-content": "center",
|
|
@@ -501,8 +569,7 @@ export const Team3: IBlock = {
|
|
|
501
569
|
"margin-right": "6xs",
|
|
502
570
|
filter: "none",
|
|
503
571
|
"min-height": "400px",
|
|
504
|
-
"background-image":
|
|
505
|
-
'url("https://static.levostg.online/W6OEVMW8/6a30b8841e2947b6f1fb3138bc36c5dbf7c9a6ef-4JOTlp1PZh12.png")',
|
|
572
|
+
"background-image": `url("${MEDIA_3.location}")`,
|
|
506
573
|
"background-position": "center center",
|
|
507
574
|
"background-size": "cover",
|
|
508
575
|
},
|
|
@@ -541,14 +608,8 @@ export const Team3: IBlock = {
|
|
|
541
608
|
"row-gap": "4xs",
|
|
542
609
|
filter: "none",
|
|
543
610
|
},
|
|
544
|
-
name: {
|
|
545
|
-
|
|
546
|
-
filter: "none",
|
|
547
|
-
},
|
|
548
|
-
position: {
|
|
549
|
-
color: "text-2",
|
|
550
|
-
filter: "none",
|
|
551
|
-
},
|
|
611
|
+
name: {},
|
|
612
|
+
position: {},
|
|
552
613
|
social_levoGroup: {
|
|
553
614
|
display: "flex",
|
|
554
615
|
"justify-content": "center",
|
|
@@ -591,8 +652,7 @@ export const Team3: IBlock = {
|
|
|
591
652
|
"margin-right": "6xs",
|
|
592
653
|
filter: "none",
|
|
593
654
|
"min-height": "400px",
|
|
594
|
-
"background-image":
|
|
595
|
-
'url("https://static.levostg.online/W6OEVMW8/6a30b8841e2947b6f1fb3138bc36c5dbf7c9a6ef-4JOTlp1PZh12.png")',
|
|
655
|
+
"background-image": `url("${MEDIA_2.location}")`,
|
|
596
656
|
"background-position": "center center",
|
|
597
657
|
"background-size": "cover",
|
|
598
658
|
},
|
|
@@ -631,14 +691,8 @@ export const Team3: IBlock = {
|
|
|
631
691
|
"row-gap": "4xs",
|
|
632
692
|
filter: "none",
|
|
633
693
|
},
|
|
634
|
-
name: {
|
|
635
|
-
|
|
636
|
-
filter: "none",
|
|
637
|
-
},
|
|
638
|
-
position: {
|
|
639
|
-
color: "text-2",
|
|
640
|
-
filter: "none",
|
|
641
|
-
},
|
|
694
|
+
name: {},
|
|
695
|
+
position: {},
|
|
642
696
|
social_levoGroup: {
|
|
643
697
|
display: "flex",
|
|
644
698
|
"justify-content": "center",
|
|
@@ -653,17 +707,12 @@ export const Team3: IBlock = {
|
|
|
653
707
|
width: "40px",
|
|
654
708
|
height: "40px",
|
|
655
709
|
"object-fit": "contain",
|
|
656
|
-
filter: "none",
|
|
657
710
|
"border-style": "solid",
|
|
658
711
|
"border-width": "1px",
|
|
659
712
|
"border-color": "brand",
|
|
660
713
|
"border-radius": "base",
|
|
661
714
|
"background-color": "white",
|
|
662
|
-
display: "block",
|
|
663
715
|
padding: "xs",
|
|
664
|
-
mobile: {
|
|
665
|
-
filter: "none",
|
|
666
|
-
},
|
|
667
716
|
},
|
|
668
717
|
},
|
|
669
718
|
],
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
import type { CarouselApi } from "@levo-so/studio";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
Heading,
|
|
7
|
-
Typography,
|
|
8
|
-
Container,
|
|
9
|
-
Section,
|
|
5
|
+
Box,
|
|
10
6
|
Carousel,
|
|
11
7
|
CarouselContent,
|
|
12
8
|
CarouselItem,
|
|
13
|
-
|
|
9
|
+
Container,
|
|
10
|
+
Heading,
|
|
14
11
|
Icon,
|
|
12
|
+
type ILevoBlockBaseProps,
|
|
15
13
|
Media,
|
|
14
|
+
Section,
|
|
15
|
+
Typography,
|
|
16
16
|
} from "@levo-so/studio";
|
|
17
17
|
import { useEffect, useState } from "react";
|
|
18
18
|
|
|
@@ -41,25 +41,20 @@ const Team3: React.FC<ILevoBlockBaseProps<ITeam3Content>> = ({ content }) => {
|
|
|
41
41
|
<Container elementKey="container">
|
|
42
42
|
<Box elementKey="header">
|
|
43
43
|
<Heading elementKey="title" />
|
|
44
|
+
<Typography elementKey="description" />
|
|
44
45
|
</Box>
|
|
45
46
|
<Carousel elementKey="team_levoGroup" setApi={setApi} data-levo_group>
|
|
46
47
|
<CarouselContent>
|
|
47
48
|
{(content?.team ?? [])?.map((_: any, index: number) => (
|
|
48
49
|
<CarouselItem key={index} data-levo_group_item>
|
|
49
50
|
<Box elementKey={`team.${index}.card`}>
|
|
50
|
-
<Media
|
|
51
|
-
elementKey={`team.${index}.img`}
|
|
52
|
-
alt="Team member photo"
|
|
53
|
-
/>
|
|
51
|
+
<Media elementKey={`team.${index}.img`} alt="Team member photo" />
|
|
54
52
|
<Box elementKey={`team.${index}.info`}>
|
|
55
53
|
<Box elementKey={`team.${index}.name-position-wrapper`}>
|
|
56
54
|
<Heading elementKey={`team.${index}.name`} />
|
|
57
55
|
<Typography elementKey={`team.${index}.position`} />
|
|
58
56
|
</Box>
|
|
59
|
-
<Box
|
|
60
|
-
elementKey={`team.${index}.social_levoGroup`}
|
|
61
|
-
data-levo_group
|
|
62
|
-
>
|
|
57
|
+
<Box elementKey={`team.${index}.social_levoGroup`} data-levo_group>
|
|
63
58
|
{(content?.team?.[index]?.social ?? [])?.map(
|
|
64
59
|
(_: any, socialIndex: number) => (
|
|
65
60
|
<Icon
|