@levo-so/blocks 0.1.60 → 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 +13 -14
- package/src/blocks/about-us/about-us-1.schema.ts +15 -30
- package/src/blocks/about-us/about-us-1.tsx +2 -4
- package/src/blocks/about-us/about-us-2.schema.ts +24 -48
- 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 +10 -21
- package/src/blocks/blogs/blog-listing-2.schema.ts +17 -34
- package/src/blocks/blogs/blog-listing-2.tsx +4 -12
- package/src/blocks/blogs/blog-listing-3.schema.ts +32 -64
- package/src/blocks/blogs/blog-listing-3.tsx +4 -12
- 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 +95 -6
- package/src/blocks/calendar/calendar-1.tsx +33 -29
- package/src/blocks/cards/cards-10.schema.ts +62 -124
- package/src/blocks/cards/cards-10.tsx +9 -14
- package/src/blocks/cards/cards-11.schema.ts +69 -138
- package/src/blocks/cards/cards-11.tsx +5 -11
- package/src/blocks/cards/cards-12.schema.ts +7 -14
- package/src/blocks/cards/cards-12.tsx +4 -10
- package/src/blocks/cards/cards-13.schema.ts +40 -80
- package/src/blocks/cards/cards-13.tsx +4 -6
- package/src/blocks/cards/cards-14.schema.ts +7 -14
- package/src/blocks/cards/cards-14.tsx +5 -11
- package/src/blocks/cards/cards-15.schema.ts +7 -14
- package/src/blocks/cards/cards-15.tsx +2 -4
- package/src/blocks/cards/cards-2.schema.ts +7 -14
- package/src/blocks/cards/cards-2.tsx +2 -15
- package/src/blocks/cards/cards-3.schema.ts +7 -14
- package/src/blocks/cards/cards-3.tsx +7 -13
- package/src/blocks/cards/cards-4.schema.ts +13 -26
- package/src/blocks/cards/cards-4.tsx +9 -15
- package/src/blocks/cards/cards-5.schema.ts +17 -34
- package/src/blocks/cards/cards-5.tsx +1 -9
- package/src/blocks/cards/cards-6.schema.ts +52 -104
- package/src/blocks/cards/cards-6.tsx +12 -20
- package/src/blocks/cards/cards-7.schema.ts +48 -96
- package/src/blocks/cards/cards-7.tsx +8 -27
- package/src/blocks/cards/cards-8.schema.ts +9 -20
- package/src/blocks/cards/cards-8.tsx +5 -11
- package/src/blocks/cards/cards-9.schema.ts +41 -82
- package/src/blocks/cards/cards-9.tsx +14 -22
- package/src/blocks/carousel/carousel-1.schema.ts +64 -128
- package/src/blocks/carousel/carousel-1.tsx +6 -8
- package/src/blocks/carousel/carousel-2.schema.ts +26 -52
- package/src/blocks/carousel/carousel-2.tsx +11 -23
- package/src/blocks/community/community-1.schema.ts +78 -32
- package/src/blocks/community/community-1.tsx +417 -550
- package/src/blocks/community/community-post-1.schema.ts +21 -30
- package/src/blocks/community/community-post-1.tsx +334 -84
- package/src/blocks/contact-us/contact-us-1.schema.ts +8 -16
- package/src/blocks/contact-us/contact-us-1.tsx +2 -12
- package/src/blocks/contact-us/contact-us-2.tsx +20 -31
- package/src/blocks/content/content-1.schema.ts +21 -42
- package/src/blocks/content/content-1.tsx +10 -17
- package/src/blocks/content/content-2.schema.ts +29 -58
- package/src/blocks/content/content-2.tsx +4 -4
- package/src/blocks/content/content-3.tsx +13 -29
- package/src/blocks/content/content-4.schema.ts +23 -46
- package/src/blocks/content/content-4.tsx +8 -17
- package/src/blocks/content/content-5.schema.ts +29 -24
- package/src/blocks/content/content-5.tsx +13 -27
- package/src/blocks/content/content-6.schema.ts +46 -94
- package/src/blocks/content/content-6.tsx +14 -31
- package/src/blocks/content/content-7.schema.ts +35 -72
- package/src/blocks/content/content-7.tsx +15 -31
- package/src/blocks/content/content-8.schema.ts +1 -6
- package/src/blocks/content/content-8.tsx +3 -3
- package/src/blocks/content/content-9.tsx +26 -41
- package/src/blocks/cta/cta-1.schema.ts +10 -20
- package/src/blocks/cta/cta-2.schema.ts +14 -28
- package/src/blocks/cta/cta-2.tsx +2 -6
- package/src/blocks/cta/cta-3.schema.ts +24 -50
- package/src/blocks/cta/cta-3.tsx +2 -6
- 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 +16 -32
- package/src/blocks/event/event-details.tsx +8 -23
- package/src/blocks/event/event-listing-2.schema.ts +19 -38
- package/src/blocks/event/event-listing-2.tsx +12 -23
- package/src/blocks/event/event-listing-3.schema.ts +10 -20
- package/src/blocks/event/event-listing-3.tsx +9 -15
- package/src/blocks/event/event-listing-4.schema.ts +40 -80
- package/src/blocks/event/event-listing-4.tsx +5 -13
- package/src/blocks/event/event-listing.schema.ts +12 -24
- package/src/blocks/event/event-listing.tsx +9 -15
- package/src/blocks/faq/faq-1.schema.ts +8 -16
- package/src/blocks/faq/faq-1.tsx +19 -30
- package/src/blocks/faq/faq-2.schema.ts +8 -16
- package/src/blocks/faq/faq-2.tsx +11 -10
- package/src/blocks/faq/faq-3.schema.ts +9 -18
- package/src/blocks/faq/faq-3.tsx +11 -19
- package/src/blocks/features/features-1/features-1.tsx +2 -4
- package/src/blocks/features/features-1/variants/default.ts +4 -8
- package/src/blocks/features/features-1/variants/index.ts +1 -1
- package/src/blocks/features/features-2.schema.ts +32 -64
- package/src/blocks/features/features-2.tsx +8 -10
- package/src/blocks/features/features-3.schema.ts +32 -64
- package/src/blocks/features/features-3.tsx +7 -16
- package/src/blocks/features/features-4.schema.ts +16 -32
- package/src/blocks/features/features-4.tsx +3 -7
- package/src/blocks/features/features-5.schema.ts +1 -2
- package/src/blocks/features/features-5.tsx +6 -17
- package/src/blocks/features/features-6.schema.ts +32 -64
- package/src/blocks/features/features-6.tsx +16 -36
- package/src/blocks/filter-listing/filter-listing-1.tsx +12 -36
- package/src/blocks/floating-buttons/floating-button-1.schema.ts +5 -10
- package/src/blocks/floating-buttons/floating-button-1.tsx +3 -9
- package/src/blocks/footer/footer-1.schema.ts +8 -16
- package/src/blocks/footer/footer-1.tsx +15 -30
- package/src/blocks/footer/footer-2.schema.ts +8 -16
- package/src/blocks/footer/footer-2.tsx +17 -28
- package/src/blocks/footer/footer-3.schema.ts +1 -2
- package/src/blocks/footer/footer-3.tsx +9 -25
- package/src/blocks/footer/footer-4.schema.ts +8 -16
- package/src/blocks/footer/footer-4.tsx +35 -54
- package/src/blocks/footer/footer-5.schema.ts +10 -24
- package/src/blocks/footer/footer-5.tsx +14 -29
- package/src/blocks/footer/footer-6.schema.ts +10 -25
- package/src/blocks/footer/footer-6.tsx +29 -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 +45 -90
- package/src/blocks/hero/hero-1.tsx +4 -4
- package/src/blocks/hero/hero-10.schema.ts +1 -2
- package/src/blocks/hero/hero-10.tsx +4 -4
- package/src/blocks/hero/hero-11.schema.ts +18 -14
- package/src/blocks/hero/hero-11.tsx +4 -9
- package/src/blocks/hero/hero-12.schema.ts +18 -36
- package/src/blocks/hero/hero-12.tsx +3 -6
- package/src/blocks/hero/hero-13.schema.ts +8 -16
- package/src/blocks/hero/hero-13.tsx +1 -1
- package/src/blocks/hero/hero-2.schema.ts +3 -6
- package/src/blocks/hero/hero-2.tsx +3 -21
- package/src/blocks/hero/hero-3.schema.ts +28 -56
- package/src/blocks/hero/hero-3.tsx +6 -15
- package/src/blocks/hero/hero-4.schema.ts +22 -44
- package/src/blocks/hero/hero-4.tsx +16 -27
- package/src/blocks/hero/hero-5.schema.ts +21 -42
- package/src/blocks/hero/hero-5.tsx +15 -18
- package/src/blocks/hero/hero-6.schema.ts +35 -70
- package/src/blocks/hero/hero-6.tsx +6 -6
- package/src/blocks/hero/hero-7.schema.ts +24 -48
- package/src/blocks/hero/hero-7.tsx +2 -3
- package/src/blocks/hero/hero-8.schema.ts +24 -50
- package/src/blocks/hero/hero-8.tsx +5 -19
- package/src/blocks/hero/hero-9.schema.ts +8 -16
- package/src/blocks/hero/hero-9.tsx +3 -3
- package/src/blocks/index.ts +8 -11
- 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 +53 -113
- 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 +1 -2
- package/src/blocks/polling/polling-1.tsx +24 -39
- package/src/blocks/pricing/pricing-1.schema.ts +13 -26
- package/src/blocks/pricing/pricing-1.tsx +20 -44
- package/src/blocks/products/products-listing-1.schema.ts +32 -64
- package/src/blocks/products/products-listing-1.tsx +6 -12
- package/src/blocks/products/products-listing-2.schema.ts +26 -54
- package/src/blocks/products/products-listing-2.tsx +8 -17
- package/src/blocks/products/products-listing-3.schema.ts +25 -52
- package/src/blocks/products/products-listing-3.tsx +87 -93
- package/src/blocks/profile/profile-1.schema.ts +7 -14
- package/src/blocks/profile/profile-1.tsx +2 -8
- package/src/blocks/profile/profile-2.schema.ts +9 -18
- package/src/blocks/profile/profile-2.tsx +4 -6
- package/src/blocks/profile/profile-3.schema.ts +21 -42
- package/src/blocks/profile/profile-3.tsx +18 -40
- 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 +20 -40
- package/src/blocks/services/service-1.tsx +45 -71
- package/src/blocks/services/service-2.schema.ts +8 -16
- package/src/blocks/services/service-2.tsx +4 -6
- package/src/blocks/services/service-3.schema.ts +12 -24
- package/src/blocks/services/service-3.tsx +4 -6
- package/src/blocks/stats/stats-1.tsx +3 -14
- package/src/blocks/stats/stats-2.tsx +3 -14
- package/src/blocks/stats/variants/index.ts +1 -1
- package/src/blocks/tabs/tab-1.schema.ts +4 -8
- package/src/blocks/tabs/tab-1.tsx +47 -64
- package/src/blocks/tabs/tab-2.schema.ts +13 -26
- package/src/blocks/tabs/tab-2.tsx +14 -15
- package/src/blocks/team/team-1.schema.ts +28 -56
- package/src/blocks/team/team-1.tsx +7 -21
- package/src/blocks/team/team-2.schema.ts +104 -208
- package/src/blocks/team/team-2.tsx +15 -33
- package/src/blocks/team/team-3.schema.ts +24 -48
- package/src/blocks/team/team-3.tsx +8 -14
- package/src/blocks/team/team-4.schema.ts +25 -50
- package/src/blocks/team/team-4.tsx +15 -24
- package/src/blocks/team/team-5.schema.ts +14 -28
- package/src/blocks/team/team-5.tsx +1 -1
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.tsx +3 -5
- package/src/blocks/testimonial/testimonial-1.schema.ts +1 -2
- package/src/blocks/testimonial/testimonial-1.tsx +10 -19
- package/src/blocks/testimonial/testimonial-2.schema.ts +16 -32
- package/src/blocks/testimonial/testimonial-2.tsx +17 -36
- package/src/blocks/testimonial/testimonial-3.schema.ts +8 -16
- package/src/blocks/testimonial/testimonial-3.tsx +13 -26
- package/src/blocks/testimonial/testimonial-4.schema.ts +94 -188
- package/src/blocks/testimonial/testimonial-4.tsx +12 -33
- package/src/blocks/testimonial/testimonial-5/variants/default.ts +24 -48
- package/src/blocks/testimonial/testimonial-5/variants/index.ts +1 -1
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +4 -8
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +24 -48
- 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 +26 -52
- package/src/blocks/testimonial/testimonial-6.tsx +9 -25
- package/src/blocks/testimonial/testimonial-7.tsx +15 -26
- package/src/blocks/timeline/timeline-1.schema.ts +34 -68
- package/src/blocks/timeline/timeline-1.tsx +2 -6
- package/src/blocks/users/edit-profile.tsx +10 -22
- package/src/constants/index.ts +3 -6
- package/src/index.ts +1 -1
- package/src/schemas/blocks.ts +14 -8
- package/src/schemas/categories.ts +14 -2
|
@@ -15,23 +15,15 @@ const MEDIA_1 = {
|
|
|
15
15
|
id: "74dXDI5ZKCpa",
|
|
16
16
|
filename: "testimonial-2\\.png",
|
|
17
17
|
kind: "image",
|
|
18
|
-
location:
|
|
19
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD.png",
|
|
18
|
+
location: "https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD.png",
|
|
20
19
|
srcset: {
|
|
21
|
-
"1080w":
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD-320w.webp",
|
|
29
|
-
"640w":
|
|
30
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD-640w.webp",
|
|
31
|
-
"750w":
|
|
32
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD-750w.webp",
|
|
33
|
-
"828w":
|
|
34
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD-828w.webp",
|
|
20
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD-1080w.webp",
|
|
21
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD-1200w.webp",
|
|
22
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD-1920w.webp",
|
|
23
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD-320w.webp",
|
|
24
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD-640w.webp",
|
|
25
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD-750w.webp",
|
|
26
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD-828w.webp",
|
|
35
27
|
path: "https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/testimonial-2-LkpnHvjYrfCD-828w.webp 828w",
|
|
36
28
|
},
|
|
37
29
|
mimetype: "image/png",
|
|
@@ -41,23 +33,15 @@ const MEDIA_2 = {
|
|
|
41
33
|
id: "iPDeNfZlYmpbt",
|
|
42
34
|
filename: "testimonial-2-variant-2.png",
|
|
43
35
|
kind: "image",
|
|
44
|
-
location:
|
|
45
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4.png",
|
|
36
|
+
location: "https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4.png",
|
|
46
37
|
srcset: {
|
|
47
|
-
"1080w":
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4-320w.webp",
|
|
55
|
-
"640w":
|
|
56
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4-640w.webp",
|
|
57
|
-
"750w":
|
|
58
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4-750w.webp",
|
|
59
|
-
"828w":
|
|
60
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4-828w.webp",
|
|
38
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4-1080w.webp",
|
|
39
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4-1200w.webp",
|
|
40
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4-1920w.webp",
|
|
41
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4-320w.webp",
|
|
42
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4-640w.webp",
|
|
43
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4-750w.webp",
|
|
44
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4-828w.webp",
|
|
61
45
|
path: "https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/testimonial-2-variant-2-R6egsNbOwq7t4-1080w.webp 1080w",
|
|
62
46
|
},
|
|
63
47
|
mimetype: "image/png",
|
|
@@ -2,26 +2,24 @@
|
|
|
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
|
-
|
|
14
|
-
|
|
15
|
-
Iframe,
|
|
9
|
+
Container,
|
|
10
|
+
Heading,
|
|
16
11
|
Icon,
|
|
12
|
+
Iframe,
|
|
13
|
+
type ILevoBlockBaseProps,
|
|
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 { ITestimonial2Content } from "./testimonial-2.schema";
|
|
21
21
|
|
|
22
|
-
const Testimonial2: React.FC<ILevoBlockBaseProps<ITestimonial2Content>> = ({
|
|
23
|
-
content,
|
|
24
|
-
}) => {
|
|
22
|
+
const Testimonial2: React.FC<ILevoBlockBaseProps<ITestimonial2Content>> = ({ content }) => {
|
|
25
23
|
const [api, setApi] = useState<CarouselApi>();
|
|
26
24
|
const [current, setCurrent] = useState(0);
|
|
27
25
|
const [count, setCount] = useState(0);
|
|
@@ -91,35 +89,18 @@ const Testimonial2: React.FC<ILevoBlockBaseProps<ITestimonial2Content>> = ({
|
|
|
91
89
|
<CarouselItem key={index} data-levo_group_item>
|
|
92
90
|
<Box elementKey={`testimonials.${index}.testimonial`}>
|
|
93
91
|
<Box elementKey={`testimonials.${index}.cover-container`}>
|
|
94
|
-
<Media
|
|
95
|
-
elementKey={`testimonials.${index}.cover`}
|
|
96
|
-
alt="cover"
|
|
97
|
-
/>
|
|
92
|
+
<Media elementKey={`testimonials.${index}.cover`} alt="cover" />
|
|
98
93
|
<Iframe elementKey={`testimonials.${index}.cover_embed`} />
|
|
99
94
|
</Box>
|
|
100
|
-
<Box
|
|
101
|
-
elementKey={`testimonials.${index}.testimonial-content
|
|
102
|
-
>
|
|
103
|
-
<Box
|
|
104
|
-
elementKey={`testimonials.${index}.testimonial-content`}
|
|
105
|
-
>
|
|
95
|
+
<Box elementKey={`testimonials.${index}.testimonial-content-wrapper`}>
|
|
96
|
+
<Box elementKey={`testimonials.${index}.testimonial-content`}>
|
|
106
97
|
<Icon elementKey={`testimonials.${index}.icon`} />
|
|
107
|
-
<Box
|
|
108
|
-
elementKey={`testimonials.${index}.testimonial-
|
|
109
|
-
>
|
|
110
|
-
<Typography
|
|
111
|
-
elementKey={`testimonials.${index}.testimonial-text`}
|
|
112
|
-
/>
|
|
98
|
+
<Box elementKey={`testimonials.${index}.testimonial-info`}>
|
|
99
|
+
<Typography elementKey={`testimonials.${index}.testimonial-text`} />
|
|
113
100
|
|
|
114
|
-
<Box
|
|
115
|
-
elementKey={`testimonials.${index}.author-
|
|
116
|
-
|
|
117
|
-
<Heading
|
|
118
|
-
elementKey={`testimonials.${index}.author-name`}
|
|
119
|
-
/>
|
|
120
|
-
<Typography
|
|
121
|
-
elementKey={`testimonials.${index}.author-position`}
|
|
122
|
-
/>
|
|
101
|
+
<Box elementKey={`testimonials.${index}.author-wrapper`}>
|
|
102
|
+
<Heading elementKey={`testimonials.${index}.author-name`} />
|
|
103
|
+
<Typography elementKey={`testimonials.${index}.author-position`} />
|
|
123
104
|
</Box>
|
|
124
105
|
</Box>
|
|
125
106
|
</Box>
|
|
@@ -5,23 +5,15 @@ const CLIENT_IMAGE = {
|
|
|
5
5
|
id: "moxjZ3I3wRz93",
|
|
6
6
|
filename: "testimonial-3.png",
|
|
7
7
|
kind: "image",
|
|
8
|
-
location:
|
|
9
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s.png",
|
|
8
|
+
location: "https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s.png",
|
|
10
9
|
srcset: {
|
|
11
|
-
"1080w":
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s-320w.webp",
|
|
19
|
-
"640w":
|
|
20
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s-640w.webp",
|
|
21
|
-
"750w":
|
|
22
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s-750w.webp",
|
|
23
|
-
"828w":
|
|
24
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s-828w.webp",
|
|
10
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s-1080w.webp",
|
|
11
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s-1200w.webp",
|
|
12
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s-1920w.webp",
|
|
13
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s-320w.webp",
|
|
14
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s-640w.webp",
|
|
15
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s-750w.webp",
|
|
16
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s-828w.webp",
|
|
25
17
|
path: "https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/testimonial-3-try8SJ6V5hI6s-1920w.webp 1920w",
|
|
26
18
|
},
|
|
27
19
|
mimetype: "image/png",
|
|
@@ -2,25 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
import type { CarouselApi } from "@levo-so/studio";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Box,
|
|
6
6
|
Button,
|
|
7
|
-
Heading,
|
|
8
|
-
Image,
|
|
9
|
-
Typography,
|
|
10
|
-
Container,
|
|
11
|
-
Section,
|
|
12
7
|
Carousel,
|
|
13
8
|
CarouselContent,
|
|
14
9
|
CarouselItem,
|
|
15
|
-
|
|
10
|
+
Container,
|
|
11
|
+
Heading,
|
|
12
|
+
type ILevoBlockBaseProps,
|
|
13
|
+
Image,
|
|
14
|
+
Section,
|
|
15
|
+
Typography,
|
|
16
16
|
} from "@levo-so/studio";
|
|
17
17
|
import { useEffect, useState } from "react";
|
|
18
18
|
|
|
19
19
|
import type { ITestimonial3Content } from "./testimonial-3.schema";
|
|
20
20
|
|
|
21
|
-
const Testimonial3: React.FC<ILevoBlockBaseProps<ITestimonial3Content>> = ({
|
|
22
|
-
content,
|
|
23
|
-
}) => {
|
|
21
|
+
const Testimonial3: React.FC<ILevoBlockBaseProps<ITestimonial3Content>> = ({ content }) => {
|
|
24
22
|
const [api, setApi] = useState<CarouselApi>();
|
|
25
23
|
const [current, setCurrent] = useState(0);
|
|
26
24
|
const [count, setCount] = useState(0);
|
|
@@ -69,25 +67,14 @@ const Testimonial3: React.FC<ILevoBlockBaseProps<ITestimonial3Content>> = ({
|
|
|
69
67
|
<CarouselContent>
|
|
70
68
|
{(content?.testimonials ?? [])?.map((_, index) => (
|
|
71
69
|
<CarouselItem key={index} className="flex w-full">
|
|
72
|
-
<Box
|
|
73
|
-
elementKey={`testimonials.${index}.testimonial_wrapper`}
|
|
74
|
-
data-levo_group_item
|
|
75
|
-
>
|
|
70
|
+
<Box elementKey={`testimonials.${index}.testimonial_wrapper`} data-levo_group_item>
|
|
76
71
|
<Box elementKey={`testimonials.${index}.testimonial_content`}>
|
|
77
72
|
<Box elementKey={`testimonials.${index}.author_box`}>
|
|
78
|
-
<Heading
|
|
79
|
-
|
|
80
|
-
/>
|
|
81
|
-
<Typography
|
|
82
|
-
elementKey={`testimonials.${index}.author_role`}
|
|
83
|
-
/>
|
|
73
|
+
<Heading elementKey={`testimonials.${index}.author_name`} />
|
|
74
|
+
<Typography elementKey={`testimonials.${index}.author_role`} />
|
|
84
75
|
</Box>
|
|
85
|
-
<Typography
|
|
86
|
-
|
|
87
|
-
/>
|
|
88
|
-
<Box
|
|
89
|
-
elementKey={`testimonials.${index}.testimonial_controls`}
|
|
90
|
-
>
|
|
76
|
+
<Typography elementKey={`testimonials.${index}.testimonial_text`} />
|
|
77
|
+
<Box elementKey={`testimonials.${index}.testimonial_controls`}>
|
|
91
78
|
<Button
|
|
92
79
|
elementKey="button_prev"
|
|
93
80
|
onClick={handlePrevious}
|