@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DEFAULT_CONTENT, defaultTestimonial5Variant } from "./default";
|
|
2
2
|
import { testimonialWithRatings } from "./testimonialWithRatings";
|
|
3
3
|
|
|
4
4
|
export { defaultTestimonial5Variant, testimonialWithRatings, DEFAULT_CONTENT };
|
|
@@ -4,8 +4,7 @@ const MEDIA_AVATAR_1 = {
|
|
|
4
4
|
id: "XZbHmbcwZ2gNx",
|
|
5
5
|
filename: "testimonial-5-variant-2-avatar-1.png",
|
|
6
6
|
kind: "image",
|
|
7
|
-
location:
|
|
8
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-variant-2-avatar-1-5AQTZ4zbPLJY.png",
|
|
7
|
+
location: "https://static.levocdn.com/WLZ1TXTD/testimonial-5-variant-2-avatar-1-5AQTZ4zbPLJY.png",
|
|
9
8
|
srcset: {
|
|
10
9
|
"1080w":
|
|
11
10
|
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-variant-2-avatar-1-5AQTZ4zbPLJY-1080w.webp",
|
|
@@ -29,8 +28,7 @@ const MEDIA_AVATAR_2 = {
|
|
|
29
28
|
id: "yCrWP3F9YWc0q",
|
|
30
29
|
filename: "testimonial-5-variant-2-avatar-2.png",
|
|
31
30
|
kind: "image",
|
|
32
|
-
location:
|
|
33
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-variant-2-avatar-2-ayteN3yuiRLC.png",
|
|
31
|
+
location: "https://static.levocdn.com/WLZ1TXTD/testimonial-5-variant-2-avatar-2-ayteN3yuiRLC.png",
|
|
34
32
|
srcset: {
|
|
35
33
|
"1080w":
|
|
36
34
|
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-variant-2-avatar-2-ayteN3yuiRLC-1080w.webp",
|
|
@@ -55,8 +53,7 @@ const MEDIA_LOGO_1 = {
|
|
|
55
53
|
id: "Mqnbyg8fAtM0",
|
|
56
54
|
filename: "testimonial-5-variant-3-logo-1.png",
|
|
57
55
|
kind: "image",
|
|
58
|
-
location:
|
|
59
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-variant-3-logo-1-GLUrcijEDOGM.png",
|
|
56
|
+
location: "https://static.levocdn.com/WLZ1TXTD/testimonial-5-variant-3-logo-1-GLUrcijEDOGM.png",
|
|
60
57
|
srcset: {
|
|
61
58
|
"1080w":
|
|
62
59
|
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-variant-3-logo-1-GLUrcijEDOGM-1080w.webp",
|
|
@@ -80,8 +77,7 @@ const MEDIA_LOGO_2 = {
|
|
|
80
77
|
id: "6HgOxxyVnYgs",
|
|
81
78
|
filename: "testimonial-5-variant-3-logo-2.png",
|
|
82
79
|
kind: "image",
|
|
83
|
-
location:
|
|
84
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-variant-3-logo-2-KQ5rQXeC2oOE.png",
|
|
80
|
+
location: "https://static.levocdn.com/WLZ1TXTD/testimonial-5-variant-3-logo-2-KQ5rQXeC2oOE.png",
|
|
85
81
|
srcset: {
|
|
86
82
|
"1080w":
|
|
87
83
|
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-variant-3-logo-2-KQ5rQXeC2oOE-1080w.webp",
|
|
@@ -4,23 +4,15 @@ const MEDIA_AVATAR_1 = {
|
|
|
4
4
|
id: "R6eXNbORkdbl",
|
|
5
5
|
filename: "testimonial-5-avatar-1.png",
|
|
6
6
|
kind: "image",
|
|
7
|
-
location:
|
|
8
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL.png",
|
|
7
|
+
location: "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL.png",
|
|
9
8
|
srcset: {
|
|
10
|
-
"1080w":
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-320w.webp",
|
|
18
|
-
"640w":
|
|
19
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-640w.webp",
|
|
20
|
-
"750w":
|
|
21
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-750w.webp",
|
|
22
|
-
"828w":
|
|
23
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-828w.webp",
|
|
9
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-1080w.webp",
|
|
10
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-1200w.webp",
|
|
11
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-1920w.webp",
|
|
12
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-320w.webp",
|
|
13
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-640w.webp",
|
|
14
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-750w.webp",
|
|
15
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-828w.webp",
|
|
24
16
|
path: "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-1-oilprpqbsdSL-1920w.webp 1920w",
|
|
25
17
|
},
|
|
26
18
|
mimetype: "image/png",
|
|
@@ -30,23 +22,15 @@ const MEDIA_AVATAR_2 = {
|
|
|
30
22
|
id: "6Hg6xxyV3ZKJ",
|
|
31
23
|
filename: "testimonial-5-avatar-2.png",
|
|
32
24
|
kind: "image",
|
|
33
|
-
location:
|
|
34
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc.png",
|
|
25
|
+
location: "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc.png",
|
|
35
26
|
srcset: {
|
|
36
|
-
"1080w":
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-320w.webp",
|
|
44
|
-
"640w":
|
|
45
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-640w.webp",
|
|
46
|
-
"750w":
|
|
47
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-750w.webp",
|
|
48
|
-
"828w":
|
|
49
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-828w.webp",
|
|
27
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-1080w.webp",
|
|
28
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-1200w.webp",
|
|
29
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-1920w.webp",
|
|
30
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-320w.webp",
|
|
31
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-640w.webp",
|
|
32
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-750w.webp",
|
|
33
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-828w.webp",
|
|
50
34
|
path: "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-2-xlo5CSMxu0Fc-1200w.webp 1200w",
|
|
51
35
|
},
|
|
52
36
|
mimetype: "image/png",
|
|
@@ -55,23 +39,15 @@ const MEDIA_AVATAR_3 = {
|
|
|
55
39
|
id: "VbXFFm7BySJX9",
|
|
56
40
|
filename: "testimonial-5-avatar-3.png",
|
|
57
41
|
kind: "image",
|
|
58
|
-
location:
|
|
59
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY.png",
|
|
42
|
+
location: "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY.png",
|
|
60
43
|
srcset: {
|
|
61
|
-
"1080w":
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-320w.webp",
|
|
69
|
-
"640w":
|
|
70
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-640w.webp",
|
|
71
|
-
"750w":
|
|
72
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-750w.webp",
|
|
73
|
-
"828w":
|
|
74
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-828w.webp",
|
|
44
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-1080w.webp",
|
|
45
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-1200w.webp",
|
|
46
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-1920w.webp",
|
|
47
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-320w.webp",
|
|
48
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-640w.webp",
|
|
49
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-750w.webp",
|
|
50
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-828w.webp",
|
|
75
51
|
path: "https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/testimonial-5-avatar-3-6HgExxyV3ABY-750w.webp 750w",
|
|
76
52
|
},
|
|
77
53
|
mimetype: "image/png",
|
|
@@ -2,8 +2,8 @@ import type { IBlock } from "@levo-so/studio";
|
|
|
2
2
|
|
|
3
3
|
import type { DEFAULT_CONTENT } from "./testimonial-5/variants";
|
|
4
4
|
import { defaultTestimonial5Variant } from "./testimonial-5/variants";
|
|
5
|
-
import { testimonialWithRatings } from "./testimonial-5/variants/testimonialWithRatings";
|
|
6
5
|
import { testimonialWithLogo } from "./testimonial-5/variants/testimonialWithLogo";
|
|
6
|
+
import { testimonialWithRatings } from "./testimonial-5/variants/testimonialWithRatings";
|
|
7
7
|
|
|
8
8
|
export type ITestimonial5Content = typeof DEFAULT_CONTENT;
|
|
9
9
|
|
|
@@ -242,9 +242,5 @@ export const Testimonial5: IBlock = {
|
|
|
242
242
|
},
|
|
243
243
|
},
|
|
244
244
|
],
|
|
245
|
-
layouts: [
|
|
246
|
-
defaultTestimonial5Variant,
|
|
247
|
-
testimonialWithRatings,
|
|
248
|
-
testimonialWithLogo,
|
|
249
|
-
],
|
|
245
|
+
layouts: [defaultTestimonial5Variant, testimonialWithRatings, testimonialWithLogo],
|
|
250
246
|
};
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import type { CarouselApi } from "@levo-so/studio";
|
|
4
4
|
import {
|
|
5
|
-
type ILevoBlockBaseProps,
|
|
6
5
|
Box,
|
|
7
6
|
Carousel,
|
|
8
7
|
CarouselContent,
|
|
@@ -10,6 +9,7 @@ import {
|
|
|
10
9
|
Container,
|
|
11
10
|
Heading,
|
|
12
11
|
Icon,
|
|
12
|
+
type ILevoBlockBaseProps,
|
|
13
13
|
Section,
|
|
14
14
|
Typography,
|
|
15
15
|
} from "@levo-so/studio";
|
|
@@ -17,9 +17,7 @@ import { useEffect, useState } from "react";
|
|
|
17
17
|
|
|
18
18
|
import type { ITestimonial5Content } from "./testimonial-5.schema";
|
|
19
19
|
|
|
20
|
-
const Testimonial5: React.FC<ILevoBlockBaseProps<ITestimonial5Content>> = ({
|
|
21
|
-
content,
|
|
22
|
-
}) => {
|
|
20
|
+
const Testimonial5: React.FC<ILevoBlockBaseProps<ITestimonial5Content>> = ({ content }) => {
|
|
23
21
|
const [api, setApi] = useState<CarouselApi>();
|
|
24
22
|
const [current, setCurrent] = useState(0);
|
|
25
23
|
const [count, setCount] = useState(0);
|
|
@@ -57,36 +55,28 @@ const Testimonial5: React.FC<ILevoBlockBaseProps<ITestimonial5Content>> = ({
|
|
|
57
55
|
{(content?.testimonials ?? []).map((_, index: number) => (
|
|
58
56
|
<CarouselItem key={index} data-levo_group_item>
|
|
59
57
|
<Box elementKey={`testimonials.${index}.card`}>
|
|
60
|
-
{(content?.testimonials?.[index] as any)?.stars?.length >
|
|
61
|
-
0 && (
|
|
58
|
+
{(content?.testimonials?.[index] as any)?.stars?.length > 0 && (
|
|
62
59
|
<Box elementKey={`testimonials.${index}.stars_wrapper`}>
|
|
63
|
-
<Box
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
elementKey={`testimonials.${index}.stars.${starIndex}.star`}
|
|
74
|
-
/>
|
|
75
|
-
))}
|
|
60
|
+
<Box elementKey={`testimonials.${index}.stars_levoGroup`} data-levo_group>
|
|
61
|
+
{((content?.testimonials?.[index] as any)?.stars ?? []).map(
|
|
62
|
+
(_: any, starIndex: number) => (
|
|
63
|
+
<Icon
|
|
64
|
+
key={`star-${starIndex}`}
|
|
65
|
+
data-levo_group_item
|
|
66
|
+
elementKey={`testimonials.${index}.stars.${starIndex}.star`}
|
|
67
|
+
/>
|
|
68
|
+
),
|
|
69
|
+
)}
|
|
76
70
|
</Box>
|
|
77
71
|
</Box>
|
|
78
72
|
)}
|
|
79
73
|
<Typography elementKey={`testimonials.${index}.quote`} />
|
|
80
74
|
<Box elementKey={`testimonials.${index}.profileSection`}>
|
|
81
|
-
<Box
|
|
82
|
-
elementKey={`testimonials.${index}.profileSection_content`}
|
|
83
|
-
>
|
|
75
|
+
<Box elementKey={`testimonials.${index}.profileSection_content`}>
|
|
84
76
|
<Icon elementKey={`testimonials.${index}.avatar`} />
|
|
85
77
|
<Box elementKey={`testimonials.${index}.clientInfo`}>
|
|
86
78
|
<Heading elementKey={`testimonials.${index}.name`} />
|
|
87
|
-
<Typography
|
|
88
|
-
elementKey={`testimonials.${index}.position`}
|
|
89
|
-
/>
|
|
79
|
+
<Typography elementKey={`testimonials.${index}.position`} />
|
|
90
80
|
</Box>
|
|
91
81
|
</Box>
|
|
92
82
|
<Icon elementKey={`testimonials.${index}.org_logo`} />
|
|
@@ -24,8 +24,7 @@ const MEDIA_AVATAR_1 = {
|
|
|
24
24
|
id: "XZbHmbcwZ2gNx",
|
|
25
25
|
filename: "testimonial-5-variant-2-avatar-1.png",
|
|
26
26
|
kind: "image",
|
|
27
|
-
location:
|
|
28
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-variant-2-avatar-1-5AQTZ4zbPLJY.png",
|
|
27
|
+
location: "https://static.levocdn.com/WLZ1TXTD/testimonial-5-variant-2-avatar-1-5AQTZ4zbPLJY.png",
|
|
29
28
|
srcset: {
|
|
30
29
|
"1080w":
|
|
31
30
|
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-variant-2-avatar-1-5AQTZ4zbPLJY-1080w.webp",
|
|
@@ -49,8 +48,7 @@ const MEDIA_AVATAR_2 = {
|
|
|
49
48
|
id: "yCrWP3F9YWc0q",
|
|
50
49
|
filename: "testimonial-5-variant-2-avatar-2.png",
|
|
51
50
|
kind: "image",
|
|
52
|
-
location:
|
|
53
|
-
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-variant-2-avatar-2-ayteN3yuiRLC.png",
|
|
51
|
+
location: "https://static.levocdn.com/WLZ1TXTD/testimonial-5-variant-2-avatar-2-ayteN3yuiRLC.png",
|
|
54
52
|
srcset: {
|
|
55
53
|
"1080w":
|
|
56
54
|
"https://static.levocdn.com/WLZ1TXTD/testimonial-5-variant-2-avatar-2-ayteN3yuiRLC-1080w.webp",
|
|
@@ -85,23 +83,15 @@ const DEFAULT_CONTENT = {
|
|
|
85
83
|
id: "VbXqqm7bqTgoM",
|
|
86
84
|
filename: "image.png",
|
|
87
85
|
kind: "image",
|
|
88
|
-
location:
|
|
89
|
-
"https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz.png",
|
|
86
|
+
location: "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz.png",
|
|
90
87
|
srcset: {
|
|
91
|
-
"1080w":
|
|
92
|
-
|
|
93
|
-
"
|
|
94
|
-
|
|
95
|
-
"
|
|
96
|
-
|
|
97
|
-
"
|
|
98
|
-
"https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-320w.webp",
|
|
99
|
-
"640w":
|
|
100
|
-
"https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-640w.webp",
|
|
101
|
-
"750w":
|
|
102
|
-
"https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-750w.webp",
|
|
103
|
-
"828w":
|
|
104
|
-
"https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-828w.webp",
|
|
88
|
+
"1080w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-1080w.webp",
|
|
89
|
+
"1200w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-1200w.webp",
|
|
90
|
+
"1920w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-1920w.webp",
|
|
91
|
+
"320w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-320w.webp",
|
|
92
|
+
"640w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-640w.webp",
|
|
93
|
+
"750w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-750w.webp",
|
|
94
|
+
"828w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-828w.webp",
|
|
105
95
|
path: "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-1200w.webp 1200w, https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-1920w.webp 1920w, https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-320w.webp 320w, https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-640w.webp 640w, https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-828w.webp 828w, https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-750w.webp 750w, https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-1080w.webp 1080w",
|
|
106
96
|
},
|
|
107
97
|
mimetype: "image/png",
|
|
@@ -130,23 +120,15 @@ const DEFAULT_CONTENT = {
|
|
|
130
120
|
id: "VbXqqm7bqTgoM",
|
|
131
121
|
filename: "image.png",
|
|
132
122
|
kind: "image",
|
|
133
|
-
location:
|
|
134
|
-
"https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz.png",
|
|
123
|
+
location: "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz.png",
|
|
135
124
|
srcset: {
|
|
136
|
-
"1080w":
|
|
137
|
-
|
|
138
|
-
"
|
|
139
|
-
|
|
140
|
-
"
|
|
141
|
-
|
|
142
|
-
"
|
|
143
|
-
"https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-320w.webp",
|
|
144
|
-
"640w":
|
|
145
|
-
"https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-640w.webp",
|
|
146
|
-
"750w":
|
|
147
|
-
"https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-750w.webp",
|
|
148
|
-
"828w":
|
|
149
|
-
"https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-828w.webp",
|
|
125
|
+
"1080w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-1080w.webp",
|
|
126
|
+
"1200w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-1200w.webp",
|
|
127
|
+
"1920w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-1920w.webp",
|
|
128
|
+
"320w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-320w.webp",
|
|
129
|
+
"640w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-640w.webp",
|
|
130
|
+
"750w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-750w.webp",
|
|
131
|
+
"828w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-828w.webp",
|
|
150
132
|
path: "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-1200w.webp 1200w, https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-1920w.webp 1920w, https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-320w.webp 320w, https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-640w.webp 640w, https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-828w.webp 828w, https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-750w.webp 750w, https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-1080w.webp 1080w",
|
|
151
133
|
},
|
|
152
134
|
mimetype: "image/png",
|
|
@@ -175,23 +157,15 @@ const DEFAULT_CONTENT = {
|
|
|
175
157
|
id: "VbXqqm7bqTgoM",
|
|
176
158
|
filename: "image.png",
|
|
177
159
|
kind: "image",
|
|
178
|
-
location:
|
|
179
|
-
"https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz.png",
|
|
160
|
+
location: "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz.png",
|
|
180
161
|
srcset: {
|
|
181
|
-
"1080w":
|
|
182
|
-
|
|
183
|
-
"
|
|
184
|
-
|
|
185
|
-
"
|
|
186
|
-
|
|
187
|
-
"
|
|
188
|
-
"https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-320w.webp",
|
|
189
|
-
"640w":
|
|
190
|
-
"https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-640w.webp",
|
|
191
|
-
"750w":
|
|
192
|
-
"https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-750w.webp",
|
|
193
|
-
"828w":
|
|
194
|
-
"https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-828w.webp",
|
|
162
|
+
"1080w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-1080w.webp",
|
|
163
|
+
"1200w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-1200w.webp",
|
|
164
|
+
"1920w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-1920w.webp",
|
|
165
|
+
"320w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-320w.webp",
|
|
166
|
+
"640w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-640w.webp",
|
|
167
|
+
"750w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-750w.webp",
|
|
168
|
+
"828w": "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-828w.webp",
|
|
195
169
|
path: "https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-1200w.webp 1200w, https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-1920w.webp 1920w, https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-320w.webp 320w, https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-640w.webp 640w, https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-828w.webp 828w, https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-750w.webp 750w, https://static.levostg.online/W6OEVMW8/image-74dI2DIhPomWz-1080w.webp 1080w",
|
|
196
170
|
},
|
|
197
171
|
mimetype: "image/png",
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import type { CarouselApi } from "@levo-so/studio";
|
|
4
4
|
import {
|
|
5
|
-
type ILevoBlockBaseProps,
|
|
6
5
|
Box,
|
|
7
6
|
Button,
|
|
8
7
|
Carousel,
|
|
@@ -11,6 +10,7 @@ import {
|
|
|
11
10
|
Container,
|
|
12
11
|
Heading,
|
|
13
12
|
Icon,
|
|
13
|
+
type ILevoBlockBaseProps,
|
|
14
14
|
Section,
|
|
15
15
|
Typography,
|
|
16
16
|
} from "@levo-so/studio";
|
|
@@ -18,9 +18,7 @@ import { useEffect, useState } from "react";
|
|
|
18
18
|
|
|
19
19
|
import type { ITestimonial6Content } from "./testimonial-6.schema";
|
|
20
20
|
|
|
21
|
-
const Testimonial6: React.FC<ILevoBlockBaseProps<ITestimonial6Content>> = ({
|
|
22
|
-
content,
|
|
23
|
-
}) => {
|
|
21
|
+
const Testimonial6: React.FC<ILevoBlockBaseProps<ITestimonial6Content>> = ({ content }) => {
|
|
24
22
|
const [api, setApi] = useState<CarouselApi>();
|
|
25
23
|
const [current, setCurrent] = useState(0);
|
|
26
24
|
const [count, setCount] = useState(0);
|
|
@@ -83,27 +81,15 @@ const Testimonial6: React.FC<ILevoBlockBaseProps<ITestimonial6Content>> = ({
|
|
|
83
81
|
<Icon elementKey={`testimonials.${index}.icon`} />
|
|
84
82
|
</Box>
|
|
85
83
|
<Box elementKey={`testimonials.${index}.content-container`}>
|
|
86
|
-
<Box
|
|
87
|
-
elementKey={`testimonials.${index}.testimonial-
|
|
88
|
-
>
|
|
89
|
-
<Typography
|
|
90
|
-
elementKey={`testimonials.${index}.testimonial-text`}
|
|
91
|
-
/>
|
|
84
|
+
<Box elementKey={`testimonials.${index}.testimonial-content`}>
|
|
85
|
+
<Typography elementKey={`testimonials.${index}.testimonial-text`} />
|
|
92
86
|
</Box>
|
|
93
87
|
<Box elementKey={`testimonials.${index}.bottom-section`}>
|
|
94
|
-
<Box
|
|
95
|
-
elementKey={`testimonials.${index}.author-
|
|
96
|
-
>
|
|
97
|
-
<Icon
|
|
98
|
-
elementKey={`testimonials.${index}.author-avatar`}
|
|
99
|
-
/>
|
|
88
|
+
<Box elementKey={`testimonials.${index}.author-section`}>
|
|
89
|
+
<Icon elementKey={`testimonials.${index}.author-avatar`} />
|
|
100
90
|
<Box elementKey={`testimonials.${index}.author-info`}>
|
|
101
|
-
<Heading
|
|
102
|
-
|
|
103
|
-
/>
|
|
104
|
-
<Typography
|
|
105
|
-
elementKey={`testimonials.${index}.author-position`}
|
|
106
|
-
/>
|
|
91
|
+
<Heading elementKey={`testimonials.${index}.author-name`} />
|
|
92
|
+
<Typography elementKey={`testimonials.${index}.author-position`} />
|
|
107
93
|
</Box>
|
|
108
94
|
</Box>
|
|
109
95
|
{count > 0 && index === current && (
|
|
@@ -114,9 +100,7 @@ const Testimonial6: React.FC<ILevoBlockBaseProps<ITestimonial6Content>> = ({
|
|
|
114
100
|
disabled={isFirstSlide}
|
|
115
101
|
style={{
|
|
116
102
|
opacity: isFirstSlide ? 0.5 : 1,
|
|
117
|
-
cursor: isFirstSlide
|
|
118
|
-
? "not-allowed"
|
|
119
|
-
: "pointer",
|
|
103
|
+
cursor: isFirstSlide ? "not-allowed" : "pointer",
|
|
120
104
|
}}
|
|
121
105
|
></Button>
|
|
122
106
|
<Button
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import type { CarouselApi } from "@levo-so/studio";
|
|
4
4
|
import {
|
|
5
|
-
type ILevoBlockBaseProps,
|
|
6
5
|
Box,
|
|
7
6
|
Carousel,
|
|
8
7
|
CarouselContent,
|
|
@@ -10,6 +9,7 @@ import {
|
|
|
10
9
|
Container,
|
|
11
10
|
Heading,
|
|
12
11
|
Icon,
|
|
12
|
+
type ILevoBlockBaseProps,
|
|
13
13
|
Section,
|
|
14
14
|
Typography,
|
|
15
15
|
} from "@levo-so/studio";
|
|
@@ -17,9 +17,7 @@ import { useEffect, useState } from "react";
|
|
|
17
17
|
|
|
18
18
|
import type { ITestimonial7Content } from "./testimonial-7.schema";
|
|
19
19
|
|
|
20
|
-
const Testimonial7: React.FC<ILevoBlockBaseProps<ITestimonial7Content>> = ({
|
|
21
|
-
content,
|
|
22
|
-
}) => {
|
|
20
|
+
const Testimonial7: React.FC<ILevoBlockBaseProps<ITestimonial7Content>> = ({ content }) => {
|
|
23
21
|
const [api, setApi] = useState<CarouselApi>();
|
|
24
22
|
const [current, setCurrent] = useState(0);
|
|
25
23
|
const [count, setCount] = useState(0);
|
|
@@ -57,30 +55,21 @@ const Testimonial7: React.FC<ILevoBlockBaseProps<ITestimonial7Content>> = ({
|
|
|
57
55
|
<Box elementKey={`testimonials.${index}.content_container`}>
|
|
58
56
|
<Box elementKey={`testimonials.${index}.title_desc_box`}>
|
|
59
57
|
<Heading elementKey={`testimonials.${index}.title`} />
|
|
60
|
-
<Typography
|
|
61
|
-
elementKey={`testimonials.${index}.description`}
|
|
62
|
-
/>
|
|
58
|
+
<Typography elementKey={`testimonials.${index}.description`} />
|
|
63
59
|
</Box>
|
|
64
60
|
<Box elementKey={`testimonials.${index}.persona_container`}>
|
|
65
|
-
<Heading
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
).map((_: any, starIndex: number) => (
|
|
78
|
-
<Icon
|
|
79
|
-
key={`star-${starIndex}`}
|
|
80
|
-
data-levo_group_item
|
|
81
|
-
elementKey={`testimonials.${index}.stars.${starIndex}.star`}
|
|
82
|
-
/>
|
|
83
|
-
))}
|
|
61
|
+
<Heading elementKey={`testimonials.${index}.persona_name`} />
|
|
62
|
+
<Typography elementKey={`testimonials.${index}.designation`} />
|
|
63
|
+
<Box elementKey={`testimonials.${index}.stars_levoGroup`} data-levo_group>
|
|
64
|
+
{((content?.testimonials?.[index] as any)?.stars ?? []).map(
|
|
65
|
+
(_: any, starIndex: number) => (
|
|
66
|
+
<Icon
|
|
67
|
+
key={`star-${starIndex}`}
|
|
68
|
+
data-levo_group_item
|
|
69
|
+
elementKey={`testimonials.${index}.stars.${starIndex}.star`}
|
|
70
|
+
/>
|
|
71
|
+
),
|
|
72
|
+
)}
|
|
84
73
|
</Box>
|
|
85
74
|
</Box>
|
|
86
75
|
</Box>
|