@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
|
@@ -1,23 +1,67 @@
|
|
|
1
1
|
import type { IBlock } from "@levo-so/studio";
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
id: "
|
|
5
|
-
|
|
3
|
+
const MEDIA_1 = {
|
|
4
|
+
id: "OaJSLqfjJnrh",
|
|
5
|
+
filename: "cta-2-1.jpg",
|
|
6
6
|
kind: "image",
|
|
7
|
+
location: "https://static.levocdn.com/WLZ1TXTD/cta-2-1-1d79LgEHfjk4.jpg",
|
|
8
|
+
srcset: {
|
|
9
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/cta-2-1-1d79LgEHfjk4-1080w.webp",
|
|
10
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/cta-2-1-1d79LgEHfjk4-1200w.webp",
|
|
11
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/cta-2-1-1d79LgEHfjk4-1920w.webp",
|
|
12
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/cta-2-1-1d79LgEHfjk4-320w.webp",
|
|
13
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/cta-2-1-1d79LgEHfjk4-640w.webp",
|
|
14
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/cta-2-1-1d79LgEHfjk4-750w.webp",
|
|
15
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/cta-2-1-1d79LgEHfjk4-828w.webp",
|
|
16
|
+
path: "https://static.levocdn.com/WLZ1TXTD/cta-2-1-1d79LgEHfjk4-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/cta-2-1-1d79LgEHfjk4-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/cta-2-1-1d79LgEHfjk4-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/cta-2-1-1d79LgEHfjk4-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/cta-2-1-1d79LgEHfjk4-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/cta-2-1-1d79LgEHfjk4-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/cta-2-1-1d79LgEHfjk4-320w.webp 320w",
|
|
17
|
+
},
|
|
18
|
+
mimetype: "image/jpeg",
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
const MEDIA_2 = {
|
|
22
|
+
id: "A8s91BvhprIr",
|
|
23
|
+
filename: "carousel-2-2-new.png",
|
|
24
|
+
kind: "image",
|
|
25
|
+
location: "https://static.levocdn.com/WLZ1TXTD/carousel-2-2-new-T71AnwU1WaP6.png",
|
|
26
|
+
srcset: {
|
|
27
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/carousel-2-2-new-T71AnwU1WaP6-1080w.webp",
|
|
28
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/carousel-2-2-new-T71AnwU1WaP6-1200w.webp",
|
|
29
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/carousel-2-2-new-T71AnwU1WaP6-1920w.webp",
|
|
30
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/carousel-2-2-new-T71AnwU1WaP6-320w.webp",
|
|
31
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/carousel-2-2-new-T71AnwU1WaP6-640w.webp",
|
|
32
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/carousel-2-2-new-T71AnwU1WaP6-750w.webp",
|
|
33
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/carousel-2-2-new-T71AnwU1WaP6-828w.webp",
|
|
34
|
+
path: "https://static.levocdn.com/WLZ1TXTD/carousel-2-2-new-T71AnwU1WaP6-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/carousel-2-2-new-T71AnwU1WaP6-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/carousel-2-2-new-T71AnwU1WaP6-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/carousel-2-2-new-T71AnwU1WaP6-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/carousel-2-2-new-T71AnwU1WaP6-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/carousel-2-2-new-T71AnwU1WaP6-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/carousel-2-2-new-T71AnwU1WaP6-750w.webp 750w",
|
|
35
|
+
},
|
|
7
36
|
mimetype: "image/png",
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
const MEDIA_3 = {
|
|
40
|
+
id: "KQ5FRQXeGJVXT",
|
|
41
|
+
filename: "carousel-2-3.jpg",
|
|
42
|
+
kind: "image",
|
|
43
|
+
path: "WLZ1TXTD/carousel-2-3-T71EBnwUbeAMR.jpg",
|
|
44
|
+
location: "https://static.levocdn.com/WLZ1TXTD/carousel-2-3-T71EBnwUbeAMR.jpg",
|
|
45
|
+
metadata: {
|
|
46
|
+
etag: '"ebf93e4ef37f20570526391e64562b1c"',
|
|
47
|
+
mimetype: "image/jpeg",
|
|
48
|
+
size: 79539,
|
|
49
|
+
},
|
|
8
50
|
srcset: {
|
|
9
|
-
"1080w":
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
"750w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp",
|
|
18
|
-
"828w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp",
|
|
19
|
-
path: "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp 640w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp 1080w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp 1200w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp 1920w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp 320w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp 750w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp 828w",
|
|
51
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/carousel-2-3-T71EBnwUbeAMR-1080w.webp",
|
|
52
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/carousel-2-3-T71EBnwUbeAMR-1200w.webp",
|
|
53
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/carousel-2-3-T71EBnwUbeAMR-1920w.webp",
|
|
54
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/carousel-2-3-T71EBnwUbeAMR-320w.webp",
|
|
55
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/carousel-2-3-T71EBnwUbeAMR-640w.webp",
|
|
56
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/carousel-2-3-T71EBnwUbeAMR-750w.webp",
|
|
57
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/carousel-2-3-T71EBnwUbeAMR-828w.webp",
|
|
58
|
+
path: "https://static.levocdn.com/WLZ1TXTD/carousel-2-3-T71EBnwUbeAMR-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/carousel-2-3-T71EBnwUbeAMR-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/carousel-2-3-T71EBnwUbeAMR-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/carousel-2-3-T71EBnwUbeAMR-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/carousel-2-3-T71EBnwUbeAMR-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/carousel-2-3-T71EBnwUbeAMR-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/carousel-2-3-T71EBnwUbeAMR-1080w.webp 1080w",
|
|
20
59
|
},
|
|
60
|
+
tags: [],
|
|
61
|
+
created_at: "2025-12-20T08:42:52.998Z",
|
|
62
|
+
updated_at: "2025-12-20T08:42:52.998Z",
|
|
63
|
+
created_by: null,
|
|
64
|
+
updated_by: null,
|
|
21
65
|
};
|
|
22
66
|
|
|
23
67
|
const DEFAULT_CONTENT = {
|
|
@@ -49,7 +93,7 @@ const DEFAULT_CONTENT = {
|
|
|
49
93
|
},
|
|
50
94
|
},
|
|
51
95
|
],
|
|
52
|
-
img:
|
|
96
|
+
img: MEDIA_1,
|
|
53
97
|
},
|
|
54
98
|
{
|
|
55
99
|
card: null,
|
|
@@ -71,12 +115,12 @@ const DEFAULT_CONTENT = {
|
|
|
71
115
|
},
|
|
72
116
|
},
|
|
73
117
|
],
|
|
74
|
-
img:
|
|
118
|
+
img: MEDIA_2,
|
|
75
119
|
},
|
|
76
120
|
{
|
|
77
121
|
card: null,
|
|
78
122
|
info: null,
|
|
79
|
-
"name-
|
|
123
|
+
"name-posiMEDIA_1ion-wrapper": null,
|
|
80
124
|
name: "Lisa Kudro",
|
|
81
125
|
description: "Senior Fitness Trainer",
|
|
82
126
|
social: [
|
|
@@ -93,7 +137,7 @@ const DEFAULT_CONTENT = {
|
|
|
93
137
|
},
|
|
94
138
|
},
|
|
95
139
|
],
|
|
96
|
-
img:
|
|
140
|
+
img: MEDIA_3,
|
|
97
141
|
},
|
|
98
142
|
],
|
|
99
143
|
"carousel-navigation-container": null,
|
|
@@ -122,7 +166,15 @@ const DEFAULT_CONTENT = {
|
|
|
122
166
|
},
|
|
123
167
|
},
|
|
124
168
|
cta_wrapper: null,
|
|
125
|
-
|
|
169
|
+
ctas_levoGroup: null,
|
|
170
|
+
ctas: [
|
|
171
|
+
{
|
|
172
|
+
cta: "Explore All Trainers",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
cta: "Apply Now",
|
|
176
|
+
},
|
|
177
|
+
],
|
|
126
178
|
};
|
|
127
179
|
|
|
128
180
|
export type ICarousel2Content = typeof DEFAULT_CONTENT;
|
|
@@ -149,8 +201,7 @@ export const Carousel2: IBlock = {
|
|
|
149
201
|
label: "Container",
|
|
150
202
|
field_interface: "ContainerWidget",
|
|
151
203
|
hint: {
|
|
152
|
-
prompt_description:
|
|
153
|
-
"Main container providing padding and centering for the team section.",
|
|
204
|
+
prompt_description: "Main container providing padding and centering for the team section.",
|
|
154
205
|
},
|
|
155
206
|
},
|
|
156
207
|
{
|
|
@@ -284,10 +335,9 @@ export const Carousel2: IBlock = {
|
|
|
284
335
|
{
|
|
285
336
|
key: "name",
|
|
286
337
|
label: "Member Name",
|
|
287
|
-
field_interface: "
|
|
338
|
+
field_interface: "HeadingWidget",
|
|
288
339
|
hint: {
|
|
289
|
-
prompt_description:
|
|
290
|
-
"Full name of the team member. Use professional, clear naming.",
|
|
340
|
+
prompt_description: "Full name of the team member. Use professional, clear naming.",
|
|
291
341
|
min_characters: 8,
|
|
292
342
|
max_characters: 30,
|
|
293
343
|
},
|
|
@@ -297,8 +347,7 @@ export const Carousel2: IBlock = {
|
|
|
297
347
|
label: "Description/Position",
|
|
298
348
|
field_interface: "TypographyWidget",
|
|
299
349
|
hint: {
|
|
300
|
-
prompt_description:
|
|
301
|
-
"Full name of the team member. Use professional, clear naming.",
|
|
350
|
+
prompt_description: "Full name of the team member. Use professional, clear naming.",
|
|
302
351
|
min_characters: 8,
|
|
303
352
|
max_characters: 30,
|
|
304
353
|
},
|
|
@@ -347,15 +396,23 @@ export const Carousel2: IBlock = {
|
|
|
347
396
|
},
|
|
348
397
|
},
|
|
349
398
|
{
|
|
350
|
-
key: "
|
|
351
|
-
label: "CTA
|
|
352
|
-
field_interface: "
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
399
|
+
key: "ctas",
|
|
400
|
+
label: "CTA Buttons",
|
|
401
|
+
field_interface: "BoxWidget",
|
|
402
|
+
kind: "group",
|
|
403
|
+
fields: [
|
|
404
|
+
{
|
|
405
|
+
key: "cta",
|
|
406
|
+
label: "CTA Button",
|
|
407
|
+
field_interface: "ButtonWidget",
|
|
408
|
+
hint: {
|
|
409
|
+
prompt_description:
|
|
410
|
+
"Call-to-action button to encourage further engagement with the team or company.",
|
|
411
|
+
min_characters: 10,
|
|
412
|
+
max_characters: 30,
|
|
413
|
+
},
|
|
414
|
+
},
|
|
415
|
+
],
|
|
359
416
|
},
|
|
360
417
|
],
|
|
361
418
|
layouts: [
|
|
@@ -382,25 +439,57 @@ export const Carousel2: IBlock = {
|
|
|
382
439
|
},
|
|
383
440
|
},
|
|
384
441
|
},
|
|
442
|
+
description: {
|
|
443
|
+
selectedVariants: {
|
|
444
|
+
Typography_Variants: "Large",
|
|
445
|
+
},
|
|
446
|
+
},
|
|
447
|
+
team: [
|
|
448
|
+
{
|
|
449
|
+
description: {
|
|
450
|
+
selectedVariants: {},
|
|
451
|
+
},
|
|
452
|
+
name: {
|
|
453
|
+
heading: {
|
|
454
|
+
level: "4",
|
|
455
|
+
},
|
|
456
|
+
selectedVariants: {
|
|
457
|
+
Heading_Level: "H4",
|
|
458
|
+
},
|
|
459
|
+
},
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
description: {
|
|
463
|
+
selectedVariants: {},
|
|
464
|
+
},
|
|
465
|
+
name: {
|
|
466
|
+
selectedVariants: {
|
|
467
|
+
Heading_Level: "H4",
|
|
468
|
+
},
|
|
469
|
+
heading: {
|
|
470
|
+
level: "4",
|
|
471
|
+
},
|
|
472
|
+
},
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
description: {
|
|
476
|
+
selectedVariants: {},
|
|
477
|
+
},
|
|
478
|
+
name: {
|
|
479
|
+
selectedVariants: {
|
|
480
|
+
Heading_Level: "H4",
|
|
481
|
+
},
|
|
482
|
+
heading: {
|
|
483
|
+
level: "4",
|
|
484
|
+
},
|
|
485
|
+
},
|
|
486
|
+
},
|
|
487
|
+
],
|
|
385
488
|
},
|
|
386
489
|
content: DEFAULT_CONTENT,
|
|
387
490
|
styles: {
|
|
388
|
-
layout: {
|
|
389
|
-
|
|
390
|
-
"padding-top": "4xl",
|
|
391
|
-
"padding-bottom": "4xl",
|
|
392
|
-
mobile: {
|
|
393
|
-
"padding-top": "2xl",
|
|
394
|
-
"padding-bottom": "2xl",
|
|
395
|
-
},
|
|
396
|
-
},
|
|
397
|
-
container: {
|
|
398
|
-
"max-width": "1280px",
|
|
399
|
-
"margin-left": "auto",
|
|
400
|
-
"margin-right": "auto",
|
|
401
|
-
"padding-left": "xl",
|
|
402
|
-
"padding-right": "xl",
|
|
403
|
-
},
|
|
491
|
+
layout: {},
|
|
492
|
+
container: {},
|
|
404
493
|
header: {
|
|
405
494
|
"margin-bottom": "3xl",
|
|
406
495
|
mobile: {
|
|
@@ -422,23 +511,12 @@ export const Carousel2: IBlock = {
|
|
|
422
511
|
"max-width": "600px",
|
|
423
512
|
},
|
|
424
513
|
title: {
|
|
425
|
-
"font-size": "5xl",
|
|
426
|
-
"font-weight": "700",
|
|
427
|
-
color: "text-1",
|
|
428
|
-
"line-height": "1.2",
|
|
429
|
-
"margin-bottom": "none",
|
|
430
|
-
width: "100%",
|
|
431
514
|
mobile: {
|
|
432
|
-
"font-size": "3xl",
|
|
433
515
|
"text-align": "center",
|
|
434
516
|
},
|
|
435
517
|
},
|
|
436
518
|
description: {
|
|
437
|
-
"font-size": "lg",
|
|
438
|
-
color: "text-2",
|
|
439
|
-
"line-height": "1.6",
|
|
440
519
|
"text-align": "left",
|
|
441
|
-
"margin-bottom": "none",
|
|
442
520
|
mobile: {
|
|
443
521
|
"text-align": "center",
|
|
444
522
|
},
|
|
@@ -488,12 +566,6 @@ export const Carousel2: IBlock = {
|
|
|
488
566
|
"row-gap": "4xs",
|
|
489
567
|
},
|
|
490
568
|
name: {},
|
|
491
|
-
description: {
|
|
492
|
-
"font-size": "base",
|
|
493
|
-
color: "text-2",
|
|
494
|
-
"font-weight": "400",
|
|
495
|
-
display: "none",
|
|
496
|
-
},
|
|
497
569
|
social_levoGroup: {
|
|
498
570
|
display: "flex",
|
|
499
571
|
"justify-content": "center",
|
|
@@ -556,12 +628,6 @@ export const Carousel2: IBlock = {
|
|
|
556
628
|
"row-gap": "4xs",
|
|
557
629
|
},
|
|
558
630
|
name: {},
|
|
559
|
-
description: {
|
|
560
|
-
"font-size": "base",
|
|
561
|
-
color: "text-2",
|
|
562
|
-
"font-weight": "400",
|
|
563
|
-
display: "none",
|
|
564
|
-
},
|
|
565
631
|
social_levoGroup: {
|
|
566
632
|
display: "flex",
|
|
567
633
|
"justify-content": "center",
|
|
@@ -624,12 +690,6 @@ export const Carousel2: IBlock = {
|
|
|
624
690
|
"row-gap": "4xs",
|
|
625
691
|
},
|
|
626
692
|
name: {},
|
|
627
|
-
description: {
|
|
628
|
-
"font-size": "base",
|
|
629
|
-
color: "text-2",
|
|
630
|
-
"font-weight": "400",
|
|
631
|
-
display: "none",
|
|
632
|
-
},
|
|
633
693
|
social_levoGroup: {
|
|
634
694
|
display: "flex",
|
|
635
695
|
"justify-content": "center",
|
|
@@ -692,12 +752,6 @@ export const Carousel2: IBlock = {
|
|
|
692
752
|
"row-gap": "4xs",
|
|
693
753
|
},
|
|
694
754
|
name: {},
|
|
695
|
-
description: {
|
|
696
|
-
"font-size": "base",
|
|
697
|
-
color: "text-2",
|
|
698
|
-
"font-weight": "400",
|
|
699
|
-
display: "none",
|
|
700
|
-
},
|
|
701
755
|
social_levoGroup: {
|
|
702
756
|
display: "flex",
|
|
703
757
|
"justify-content": "center",
|
|
@@ -760,12 +814,6 @@ export const Carousel2: IBlock = {
|
|
|
760
814
|
"row-gap": "4xs",
|
|
761
815
|
},
|
|
762
816
|
name: {},
|
|
763
|
-
description: {
|
|
764
|
-
"font-size": "base",
|
|
765
|
-
color: "text-2",
|
|
766
|
-
"font-weight": "400",
|
|
767
|
-
display: "none",
|
|
768
|
-
},
|
|
769
817
|
social_levoGroup: {
|
|
770
818
|
display: "flex",
|
|
771
819
|
"justify-content": "center",
|
|
@@ -828,12 +876,6 @@ export const Carousel2: IBlock = {
|
|
|
828
876
|
"row-gap": "4xs",
|
|
829
877
|
},
|
|
830
878
|
name: {},
|
|
831
|
-
description: {
|
|
832
|
-
"font-size": "base",
|
|
833
|
-
color: "text-2",
|
|
834
|
-
"font-weight": "400",
|
|
835
|
-
display: "none",
|
|
836
|
-
},
|
|
837
879
|
social_levoGroup: {
|
|
838
880
|
display: "flex",
|
|
839
881
|
"justify-content": "center",
|
|
@@ -897,12 +939,6 @@ export const Carousel2: IBlock = {
|
|
|
897
939
|
name: {
|
|
898
940
|
color: "white",
|
|
899
941
|
},
|
|
900
|
-
description: {
|
|
901
|
-
"font-size": "base",
|
|
902
|
-
color: "text-2",
|
|
903
|
-
"font-weight": "400",
|
|
904
|
-
display: "none",
|
|
905
|
-
},
|
|
906
942
|
social_levoGroup: {
|
|
907
943
|
display: "flex",
|
|
908
944
|
"justify-content": "center",
|
|
@@ -961,12 +997,6 @@ export const Carousel2: IBlock = {
|
|
|
961
997
|
name: {
|
|
962
998
|
color: "white",
|
|
963
999
|
},
|
|
964
|
-
description: {
|
|
965
|
-
"font-size": "base",
|
|
966
|
-
color: "text-2",
|
|
967
|
-
"font-weight": "400",
|
|
968
|
-
display: "none",
|
|
969
|
-
},
|
|
970
1000
|
social_levoGroup: {
|
|
971
1001
|
display: "flex",
|
|
972
1002
|
"justify-content": "center",
|
|
@@ -1025,12 +1055,6 @@ export const Carousel2: IBlock = {
|
|
|
1025
1055
|
name: {
|
|
1026
1056
|
color: "white",
|
|
1027
1057
|
},
|
|
1028
|
-
description: {
|
|
1029
|
-
"font-size": "base",
|
|
1030
|
-
color: "text-2",
|
|
1031
|
-
"font-weight": "400",
|
|
1032
|
-
display: "none",
|
|
1033
|
-
},
|
|
1034
1058
|
social_levoGroup: {
|
|
1035
1059
|
display: "flex",
|
|
1036
1060
|
"justify-content": "center",
|
|
@@ -1063,18 +1087,17 @@ export const Carousel2: IBlock = {
|
|
|
1063
1087
|
"margin-top": "2xl",
|
|
1064
1088
|
},
|
|
1065
1089
|
},
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
"
|
|
1070
|
-
"padding-bottom": "base",
|
|
1071
|
-
"padding-left": "xl",
|
|
1072
|
-
"padding-right": "xl",
|
|
1073
|
-
"border-radius": "lg",
|
|
1074
|
-
"font-size": "base",
|
|
1075
|
-
"font-weight": "600",
|
|
1076
|
-
"border-style": "none",
|
|
1090
|
+
ctas_levoGroup: {
|
|
1091
|
+
display: "flex",
|
|
1092
|
+
"justify-content": "center",
|
|
1093
|
+
"column-gap": "sm",
|
|
1077
1094
|
},
|
|
1095
|
+
ctas: [
|
|
1096
|
+
{
|
|
1097
|
+
cta: {},
|
|
1098
|
+
},
|
|
1099
|
+
],
|
|
1100
|
+
|
|
1078
1101
|
"carousel-navigation-container": {
|
|
1079
1102
|
display: "flex",
|
|
1080
1103
|
"justify-content": "center",
|
|
@@ -1122,6 +1145,9 @@ export const Carousel2: IBlock = {
|
|
|
1122
1145
|
width: "22px",
|
|
1123
1146
|
"font-size": "22px",
|
|
1124
1147
|
},
|
|
1148
|
+
team_levoGroupItem: {
|
|
1149
|
+
description: {},
|
|
1150
|
+
},
|
|
1125
1151
|
},
|
|
1126
1152
|
},
|
|
1127
1153
|
],
|
|
@@ -2,26 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
import type { CarouselApi } from "@levo-so/studio";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Typography,
|
|
8
|
-
Container,
|
|
9
|
-
Section,
|
|
5
|
+
Box,
|
|
6
|
+
Button,
|
|
10
7
|
Carousel,
|
|
11
8
|
CarouselContent,
|
|
12
9
|
CarouselItem,
|
|
13
|
-
|
|
10
|
+
Container,
|
|
11
|
+
Heading,
|
|
14
12
|
Icon,
|
|
15
|
-
|
|
13
|
+
type ILevoBlockBaseProps,
|
|
16
14
|
Media,
|
|
15
|
+
Section,
|
|
16
|
+
Typography,
|
|
17
17
|
} from "@levo-so/studio";
|
|
18
18
|
import { useEffect, useState } from "react";
|
|
19
19
|
|
|
20
20
|
import type { ICarousel2Content } from "./carousel-2.schema";
|
|
21
21
|
|
|
22
|
-
const Carousel2: React.FC<ILevoBlockBaseProps<ICarousel2Content>> = ({
|
|
23
|
-
content,
|
|
24
|
-
}) => {
|
|
22
|
+
const Carousel2: React.FC<ILevoBlockBaseProps<ICarousel2Content>> = ({ content }) => {
|
|
25
23
|
const [api, setApi] = useState<CarouselApi>();
|
|
26
24
|
const [current, setCurrent] = useState(0);
|
|
27
25
|
const [count, setCount] = useState(0);
|
|
@@ -92,19 +90,13 @@ const Carousel2: React.FC<ILevoBlockBaseProps<ICarousel2Content>> = ({
|
|
|
92
90
|
{(content?.team ?? [])?.map((_: any, index: number) => (
|
|
93
91
|
<CarouselItem key={index} data-levo_group_item>
|
|
94
92
|
<Box elementKey={`team.${index}.card`}>
|
|
95
|
-
<Media
|
|
96
|
-
elementKey={`team.${index}.img`}
|
|
97
|
-
alt="Team member photo"
|
|
98
|
-
/>
|
|
93
|
+
<Media elementKey={`team.${index}.img`} alt="Team member photo" />
|
|
99
94
|
<Box elementKey={`team.${index}.info`}>
|
|
100
95
|
<Box elementKey={`team.${index}.name-position-wrapper`}>
|
|
101
|
-
<
|
|
96
|
+
<Heading elementKey={`team.${index}.name`} />
|
|
102
97
|
<Typography elementKey={`team.${index}.description`} />
|
|
103
98
|
</Box>
|
|
104
|
-
<Box
|
|
105
|
-
elementKey={`team.${index}.social_levoGroup`}
|
|
106
|
-
data-levo_group
|
|
107
|
-
>
|
|
99
|
+
<Box elementKey={`team.${index}.social_levoGroup`} data-levo_group>
|
|
108
100
|
{(content?.team?.[index]?.social ?? [])?.map(
|
|
109
101
|
(_: any, socialIndex: number) => (
|
|
110
102
|
<Icon
|
|
@@ -149,7 +141,11 @@ const Carousel2: React.FC<ILevoBlockBaseProps<ICarousel2Content>> = ({
|
|
|
149
141
|
</Box>
|
|
150
142
|
)}
|
|
151
143
|
<Box elementKey="cta_wrapper">
|
|
152
|
-
<
|
|
144
|
+
<Box elementKey="ctas_levoGroup" data-levo_group>
|
|
145
|
+
{content?.ctas?.map((_, index) => (
|
|
146
|
+
<Button key={index} elementKey={`ctas.${index}.cta`} data-levo_group_item />
|
|
147
|
+
))}
|
|
148
|
+
</Box>
|
|
153
149
|
</Box>
|
|
154
150
|
</Container>
|
|
155
151
|
</Section>
|