@levo-so/blocks 0.1.1 → 0.1.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -10
- package/src/blocks/about-us/about-us-1.schema.ts +577 -0
- package/src/blocks/about-us/about-us-1.tsx +53 -0
- package/src/blocks/about-us/about-us-2.schema.ts +269 -0
- package/src/blocks/about-us/about-us-2.tsx +47 -0
- package/src/blocks/blogs/blog-listing-1.schema.ts +473 -0
- package/src/blocks/blogs/blog-listing-1.tsx +102 -0
- package/src/blocks/blogs/blog-listing-2.schema.ts +3718 -0
- package/src/blocks/blogs/blog-listing-2.tsx +88 -0
- package/src/blocks/blogs/blog-listing-3.schema.ts +2476 -0
- package/src/blocks/blogs/blog-listing-3.tsx +84 -0
- package/src/blocks/blogs/blog-post-1.schema.ts +400 -0
- package/src/blocks/blogs/blog-post-1.tsx +52 -0
- package/src/blocks/blogs/blog-post-2.schema.ts +791 -0
- package/src/blocks/blogs/blog-post-2.tsx +131 -0
- package/src/blocks/blogs/blog-post-3.schema.ts +284 -0
- package/src/blocks/blogs/blog-post-3.tsx +58 -0
- package/src/blocks/cards/cards-10.schema.ts +1012 -0
- package/src/blocks/cards/cards-10.tsx +48 -0
- package/src/blocks/cards/cards-11.schema.ts +918 -0
- package/src/blocks/cards/cards-11.tsx +50 -0
- package/src/blocks/cards/cards-12.schema.ts +578 -0
- package/src/blocks/cards/cards-12.tsx +54 -0
- package/src/blocks/cards/cards-13.schema.ts +615 -0
- package/src/blocks/cards/cards-13.tsx +67 -0
- package/src/blocks/cards/cards-2.schema.ts +290 -0
- package/src/blocks/cards/cards-2.tsx +42 -0
- package/src/blocks/cards/cards-3.schema.ts +355 -0
- package/src/blocks/cards/cards-3.tsx +49 -0
- package/src/blocks/cards/cards-4.schema.ts +655 -0
- package/src/blocks/cards/cards-4.tsx +50 -0
- package/src/blocks/cards/cards-5.schema.ts +245 -0
- package/src/blocks/cards/cards-5.tsx +34 -0
- package/src/blocks/cards/cards-6.schema.ts +2139 -0
- package/src/blocks/cards/cards-6.tsx +140 -0
- package/src/blocks/cards/cards-7.schema.ts +3538 -0
- package/src/blocks/cards/cards-7.tsx +197 -0
- package/src/blocks/cards/cards-8.schema.ts +691 -0
- package/src/blocks/cards/cards-8.tsx +43 -0
- package/src/blocks/cards/cards-9.schema.ts +827 -0
- package/src/blocks/cards/cards-9.tsx +54 -0
- package/src/blocks/carousel/carousel-1.schema.ts +250 -0
- package/src/blocks/carousel/carousel-1.tsx +79 -0
- package/src/blocks/contact-us/contact-us-1.schema.ts +233 -0
- package/src/blocks/contact-us/contact-us-1.tsx +39 -0
- package/src/blocks/contact-us/contact-us-2.schema.ts +524 -0
- package/src/blocks/contact-us/contact-us-2.tsx +71 -0
- package/src/blocks/content/content-1.schema.ts +862 -0
- package/src/blocks/content/content-1.tsx +69 -0
- package/src/blocks/content/content-2.schema.ts +212 -0
- package/src/blocks/content/content-2.tsx +32 -0
- package/src/blocks/content/content-3.schema.ts +766 -0
- package/src/blocks/content/content-3.tsx +55 -0
- package/src/blocks/content/content-4.schema.ts +287 -0
- package/src/blocks/content/content-4.tsx +47 -0
- package/src/blocks/content/content-5.schema.ts +944 -0
- package/src/blocks/content/content-5.tsx +59 -0
- package/src/blocks/content/content-6.schema.ts +991 -0
- package/src/blocks/content/content-6.tsx +62 -0
- package/src/blocks/content/content-7.schema.ts +723 -0
- package/src/blocks/content/content-7.tsx +53 -0
- package/src/blocks/cta/cta-1.schema.ts +353 -0
- package/src/blocks/cta/cta-1.tsx +33 -0
- package/src/blocks/cta/cta-2.schema.ts +209 -0
- package/src/blocks/cta/cta-2.tsx +28 -0
- package/src/blocks/cta/cta-3.schema.ts +216 -0
- package/src/blocks/cta/cta-3.tsx +48 -0
- package/src/blocks/embed/embed-1.schema.ts +153 -0
- package/src/blocks/embed/embed-1.tsx +38 -0
- package/src/blocks/event/event-details.schema.ts +732 -0
- package/src/blocks/event/event-details.tsx +102 -0
- package/src/blocks/event/event-listing-2.schema.ts +555 -0
- package/src/blocks/event/event-listing-2.tsx +94 -0
- package/src/blocks/event/event-listing-3.schema.ts +621 -0
- package/src/blocks/event/event-listing-3.tsx +90 -0
- package/src/blocks/event/event-listing-4.schema.ts +3528 -0
- package/src/blocks/event/event-listing-4.tsx +97 -0
- package/src/blocks/event/event-listing.schema.ts +1353 -0
- package/src/blocks/event/event-listing.tsx +88 -0
- package/src/blocks/faq/faq-1.schema.ts +360 -0
- package/src/blocks/faq/faq-1.tsx +65 -0
- package/src/blocks/faq/faq-2.schema.ts +358 -0
- package/src/blocks/faq/faq-2.tsx +84 -0
- package/src/blocks/faq/faq-3.schema.ts +475 -0
- package/src/blocks/faq/faq-3.tsx +70 -0
- package/src/blocks/features/features-1/features-1.schema.ts +165 -0
- package/src/blocks/features/features-1/features-1.tsx +48 -0
- package/src/blocks/features/features-1/variants/default.ts +206 -0
- package/{dist/blocks/features/features-1/variants/index.js → src/blocks/features/features-1/variants/index.ts} +7 -1
- package/src/blocks/features/features-1/variants/stylized-cards-v1.ts +138 -0
- package/src/blocks/features/features-1/variants/stylized-cards-v2.ts +487 -0
- package/src/blocks/features/features-2.schema.ts +471 -0
- package/src/blocks/features/features-2.tsx +66 -0
- package/src/blocks/features/features-3.schema.ts +424 -0
- package/src/blocks/features/features-3.tsx +56 -0
- package/src/blocks/features/features-4.schema.ts +616 -0
- package/src/blocks/features/features-4.tsx +75 -0
- package/src/blocks/features/features-5.schema.ts +728 -0
- package/src/blocks/features/features-5.tsx +49 -0
- package/src/blocks/features/features-6.schema.ts +849 -0
- package/src/blocks/features/features-6.tsx +125 -0
- package/src/blocks/footer/footer-1.schema.ts +612 -0
- package/src/blocks/footer/footer-1.tsx +90 -0
- package/src/blocks/footer/footer-2.schema.ts +913 -0
- package/src/blocks/footer/footer-2.tsx +77 -0
- package/src/blocks/footer/footer-3.schema.ts +412 -0
- package/src/blocks/footer/footer-3.tsx +99 -0
- package/src/blocks/footer/footer-4.schema.ts +649 -0
- package/src/blocks/footer/footer-4.tsx +97 -0
- package/src/blocks/footer/footer-5.schema.ts +435 -0
- package/src/blocks/footer/footer-5.tsx +99 -0
- package/src/blocks/footer/footer-6.schema.ts +730 -0
- package/src/blocks/footer/footer-6.tsx +100 -0
- package/src/blocks/hero/hero-1.schema.ts +746 -0
- package/src/blocks/hero/hero-1.tsx +52 -0
- package/src/blocks/hero/hero-10.schema.ts +175 -0
- package/src/blocks/hero/hero-10.tsx +35 -0
- package/src/blocks/hero/hero-2.schema.ts +272 -0
- package/src/blocks/hero/hero-2.tsx +57 -0
- package/src/blocks/hero/hero-3.schema.ts +419 -0
- package/src/blocks/hero/hero-3.tsx +50 -0
- package/src/blocks/hero/hero-4.schema.ts +425 -0
- package/src/blocks/hero/hero-4.tsx +89 -0
- package/src/blocks/hero/hero-5.schema.ts +198 -0
- package/src/blocks/hero/hero-5.tsx +86 -0
- package/src/blocks/hero/hero-6.schema.ts +665 -0
- package/src/blocks/hero/hero-6.tsx +62 -0
- package/src/blocks/hero/hero-7.schema.ts +505 -0
- package/src/blocks/hero/hero-7.tsx +115 -0
- package/src/blocks/hero/hero-8.schema.ts +376 -0
- package/src/blocks/hero/hero-8.tsx +113 -0
- package/src/blocks/hero/hero-9.schema.ts +379 -0
- package/src/blocks/hero/hero-9.tsx +49 -0
- package/src/blocks/index.ts +89 -0
- package/src/blocks/logos/logos-1.schema.ts +270 -0
- package/src/blocks/logos/logos-1.tsx +60 -0
- package/src/blocks/navbar/navbar-1.schema.ts +959 -0
- package/src/blocks/navbar/navbar-1.tsx +384 -0
- package/src/blocks/navbar/navbar-2.schema.ts +1224 -0
- package/src/blocks/navbar/navbar-2.tsx +403 -0
- package/src/blocks/navbar/navbar-3.schema.ts +6834 -0
- package/src/blocks/navbar/navbar-3.tsx +551 -0
- package/src/blocks/pricing/pricing-1.schema.ts +988 -0
- package/src/blocks/pricing/pricing-1.tsx +88 -0
- package/src/blocks/products/products-listing-1.schema.ts +271 -0
- package/src/blocks/products/products-listing-1.tsx +48 -0
- package/src/blocks/profile/profile-1.schema.ts +399 -0
- package/src/blocks/profile/profile-1.tsx +64 -0
- package/src/blocks/stats/stats-1.schema.ts +262 -0
- package/src/blocks/stats/stats-1.tsx +38 -0
- package/src/blocks/stats/stats-2.schema.ts +111 -0
- package/src/blocks/stats/stats-2.tsx +52 -0
- package/src/blocks/stats/variants/default.ts +189 -0
- package/src/blocks/stats/variants/hero.ts +142 -0
- package/{dist/blocks/stats/variants/index.js → src/blocks/stats/variants/index.ts} +1 -0
- package/src/blocks/team/team-1.schema.ts +544 -0
- package/src/blocks/team/team-1.tsx +86 -0
- package/src/blocks/team/team-2.schema.ts +2742 -0
- package/src/blocks/team/team-2.tsx +74 -0
- package/src/blocks/team/team-3.schema.ts +690 -0
- package/src/blocks/team/team-3.tsx +103 -0
- package/src/blocks/team/team-4.schema.ts +551 -0
- package/src/blocks/team/team-4.tsx +59 -0
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +158 -0
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.tsx +29 -0
- package/src/blocks/testimonial/testimonial-1.schema.ts +351 -0
- package/src/blocks/testimonial/testimonial-1.tsx +79 -0
- package/src/blocks/testimonial/testimonial-2.schema.ts +816 -0
- package/src/blocks/testimonial/testimonial-2.tsx +161 -0
- package/src/blocks/testimonial/testimonial-3.schema.ts +273 -0
- package/src/blocks/testimonial/testimonial-3.tsx +128 -0
- package/src/blocks/testimonial/testimonial-4.schema.ts +3378 -0
- package/src/blocks/testimonial/testimonial-4.tsx +202 -0
- package/src/blocks/testimonial/testimonial-5/variants/default.ts +510 -0
- package/src/blocks/testimonial/testimonial-5/variants/index.ts +4 -0
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +887 -0
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +923 -0
- package/src/blocks/testimonial/testimonial-5.schema.ts +250 -0
- package/src/blocks/testimonial/testimonial-5.tsx +130 -0
- package/src/blocks/testimonial/testimonial-6.schema.ts +1672 -0
- package/src/blocks/testimonial/testimonial-6.tsx +178 -0
- package/{dist/index.js → src/index.ts} +5 -2
- package/{dist/schemas/blocks.js → src/schemas/blocks.ts} +97 -72
- package/src/schemas/categories.ts +140 -0
- package/src/styles.d.ts +4 -0
- package/dist/blocks/about-us/about-us-1.d.ts +0 -5
- package/dist/blocks/about-us/about-us-1.js +0 -5
- package/dist/blocks/about-us/about-us-1.schema.d.ts +0 -38
- package/dist/blocks/about-us/about-us-1.schema.js +0 -537
- package/dist/blocks/blogs/blog-listing-1.d.ts +0 -5
- package/dist/blocks/blogs/blog-listing-1.js +0 -12
- package/dist/blocks/blogs/blog-listing-1.schema.d.ts +0 -59
- package/dist/blocks/blogs/blog-listing-1.schema.js +0 -387
- package/dist/blocks/blogs/blog-listing-2.d.ts +0 -5
- package/dist/blocks/blogs/blog-listing-2.js +0 -9
- package/dist/blocks/blogs/blog-listing-2.schema.d.ts +0 -104
- package/dist/blocks/blogs/blog-listing-2.schema.js +0 -572
- package/dist/blocks/blogs/blog-post-1.d.ts +0 -6
- package/dist/blocks/blogs/blog-post-1.js +0 -8
- package/dist/blocks/blogs/blog-post-1.schema.d.ts +0 -48
- package/dist/blocks/blogs/blog-post-1.schema.js +0 -358
- package/dist/blocks/blogs/blog-post-2.d.ts +0 -6
- package/dist/blocks/blogs/blog-post-2.js +0 -8
- package/dist/blocks/blogs/blog-post-2.schema.d.ts +0 -74
- package/dist/blocks/blogs/blog-post-2.schema.js +0 -779
- package/dist/blocks/cards/cards-10.d.ts +0 -6
- package/dist/blocks/cards/cards-10.js +0 -4
- package/dist/blocks/cards/cards-10.schema.d.ts +0 -44
- package/dist/blocks/cards/cards-10.schema.js +0 -405
- package/dist/blocks/cards/cards-11.d.ts +0 -6
- package/dist/blocks/cards/cards-11.js +0 -4
- package/dist/blocks/cards/cards-11.schema.d.ts +0 -58
- package/dist/blocks/cards/cards-11.schema.js +0 -406
- package/dist/blocks/cards/cards-12.d.ts +0 -6
- package/dist/blocks/cards/cards-12.js +0 -4
- package/dist/blocks/cards/cards-12.schema.d.ts +0 -38
- package/dist/blocks/cards/cards-12.schema.js +0 -545
- package/dist/blocks/cards/cards-2.d.ts +0 -5
- package/dist/blocks/cards/cards-2.js +0 -4
- package/dist/blocks/cards/cards-2.schema.d.ts +0 -46
- package/dist/blocks/cards/cards-2.schema.js +0 -260
- package/dist/blocks/cards/cards-3.d.ts +0 -6
- package/dist/blocks/cards/cards-3.js +0 -5
- package/dist/blocks/cards/cards-3.schema.d.ts +0 -36
- package/dist/blocks/cards/cards-3.schema.js +0 -351
- package/dist/blocks/cards/cards-4.d.ts +0 -6
- package/dist/blocks/cards/cards-4.js +0 -4
- package/dist/blocks/cards/cards-4.schema.d.ts +0 -40
- package/dist/blocks/cards/cards-4.schema.js +0 -648
- package/dist/blocks/cards/cards-5.d.ts +0 -5
- package/dist/blocks/cards/cards-5.js +0 -4
- package/dist/blocks/cards/cards-5.schema.d.ts +0 -48
- package/dist/blocks/cards/cards-5.schema.js +0 -238
- package/dist/blocks/cards/cards-6.d.ts +0 -5
- package/dist/blocks/cards/cards-6.js +0 -45
- package/dist/blocks/cards/cards-6.schema.d.ts +0 -50
- package/dist/blocks/cards/cards-6.schema.js +0 -608
- package/dist/blocks/cards/cards-7.d.ts +0 -5
- package/dist/blocks/cards/cards-7.js +0 -45
- package/dist/blocks/cards/cards-7.schema.d.ts +0 -87
- package/dist/blocks/cards/cards-7.schema.js +0 -1732
- package/dist/blocks/cards/cards-8.d.ts +0 -6
- package/dist/blocks/cards/cards-8.js +0 -4
- package/dist/blocks/cards/cards-8.schema.d.ts +0 -40
- package/dist/blocks/cards/cards-8.schema.js +0 -660
- package/dist/blocks/cards/cards-9.d.ts +0 -5
- package/dist/blocks/cards/cards-9.js +0 -4
- package/dist/blocks/cards/cards-9.schema.d.ts +0 -55
- package/dist/blocks/cards/cards-9.schema.js +0 -798
- package/dist/blocks/carousel/carousel-1.d.ts +0 -5
- package/dist/blocks/carousel/carousel-1.js +0 -12
- package/dist/blocks/carousel/carousel-1.schema.d.ts +0 -51
- package/dist/blocks/carousel/carousel-1.schema.js +0 -236
- package/dist/blocks/contact-us/contact-us-1.d.ts +0 -5
- package/dist/blocks/contact-us/contact-us-1.js +0 -4
- package/dist/blocks/contact-us/contact-us-1.schema.d.ts +0 -31
- package/dist/blocks/contact-us/contact-us-1.schema.js +0 -202
- package/dist/blocks/contact-us/contact-us-2.d.ts +0 -5
- package/dist/blocks/contact-us/contact-us-2.js +0 -4
- package/dist/blocks/contact-us/contact-us-2.schema.d.ts +0 -59
- package/dist/blocks/contact-us/contact-us-2.schema.js +0 -512
- package/dist/blocks/content/content-1.d.ts +0 -6
- package/dist/blocks/content/content-1.js +0 -4
- package/dist/blocks/content/content-1.schema.d.ts +0 -56
- package/dist/blocks/content/content-1.schema.js +0 -807
- package/dist/blocks/content/content-2.d.ts +0 -5
- package/dist/blocks/content/content-2.js +0 -4
- package/dist/blocks/content/content-2.schema.d.ts +0 -78
- package/dist/blocks/content/content-2.schema.js +0 -200
- package/dist/blocks/content/content-3.d.ts +0 -6
- package/dist/blocks/content/content-3.js +0 -5
- package/dist/blocks/content/content-3.schema.d.ts +0 -23
- package/dist/blocks/content/content-3.schema.js +0 -850
- package/dist/blocks/content/content-4.d.ts +0 -6
- package/dist/blocks/content/content-4.js +0 -6
- package/dist/blocks/content/content-4.schema.d.ts +0 -33
- package/dist/blocks/content/content-4.schema.js +0 -252
- package/dist/blocks/content/content-5.d.ts +0 -6
- package/dist/blocks/content/content-5.js +0 -5
- package/dist/blocks/content/content-5.schema.d.ts +0 -37
- package/dist/blocks/content/content-5.schema.js +0 -932
- package/dist/blocks/content/content-6.d.ts +0 -6
- package/dist/blocks/content/content-6.js +0 -5
- package/dist/blocks/content/content-6.schema.d.ts +0 -41
- package/dist/blocks/content/content-6.schema.js +0 -976
- package/dist/blocks/cta/cta-1.d.ts +0 -5
- package/dist/blocks/cta/cta-1.js +0 -4
- package/dist/blocks/cta/cta-1.schema.d.ts +0 -40
- package/dist/blocks/cta/cta-1.schema.js +0 -339
- package/dist/blocks/cta/cta-2.d.ts +0 -5
- package/dist/blocks/cta/cta-2.js +0 -4
- package/dist/blocks/cta/cta-2.schema.d.ts +0 -45
- package/dist/blocks/cta/cta-2.schema.js +0 -183
- package/dist/blocks/cta/cta-3.d.ts +0 -5
- package/dist/blocks/cta/cta-3.js +0 -4
- package/dist/blocks/cta/cta-3.schema.d.ts +0 -34
- package/dist/blocks/cta/cta-3.schema.js +0 -137
- package/dist/blocks/embed/embed-1.d.ts +0 -5
- package/dist/blocks/embed/embed-1.js +0 -5
- package/dist/blocks/embed/embed-1.schema.d.ts +0 -13
- package/dist/blocks/embed/embed-1.schema.js +0 -146
- package/dist/blocks/event/event-details.d.ts +0 -5
- package/dist/blocks/event/event-details.js +0 -9
- package/dist/blocks/event/event-details.schema.d.ts +0 -112
- package/dist/blocks/event/event-details.schema.js +0 -685
- package/dist/blocks/event/event-listing-2.d.ts +0 -5
- package/dist/blocks/event/event-listing-2.js +0 -4
- package/dist/blocks/event/event-listing-2.schema.d.ts +0 -84
- package/dist/blocks/event/event-listing-2.schema.js +0 -455
- package/dist/blocks/event/event-listing-3.d.ts +0 -5
- package/dist/blocks/event/event-listing-3.js +0 -10
- package/dist/blocks/event/event-listing-3.schema.d.ts +0 -77
- package/dist/blocks/event/event-listing-3.schema.js +0 -570
- package/dist/blocks/event/event-listing.d.ts +0 -5
- package/dist/blocks/event/event-listing.js +0 -10
- package/dist/blocks/event/event-listing.schema.d.ts +0 -51
- package/dist/blocks/event/event-listing.schema.js +0 -1297
- package/dist/blocks/faq/faq-1.d.ts +0 -5
- package/dist/blocks/faq/faq-1.js +0 -4
- package/dist/blocks/faq/faq-1.schema.d.ts +0 -47
- package/dist/blocks/faq/faq-1.schema.js +0 -325
- package/dist/blocks/faq/faq-2.d.ts +0 -6
- package/dist/blocks/faq/faq-2.js +0 -19
- package/dist/blocks/faq/faq-2.schema.d.ts +0 -47
- package/dist/blocks/faq/faq-2.schema.js +0 -329
- package/dist/blocks/faq/faq-3.d.ts +0 -5
- package/dist/blocks/faq/faq-3.js +0 -4
- package/dist/blocks/faq/faq-3.schema.d.ts +0 -40
- package/dist/blocks/faq/faq-3.schema.js +0 -444
- package/dist/blocks/features/features-1/features-1.d.ts +0 -5
- package/dist/blocks/features/features-1/features-1.js +0 -4
- package/dist/blocks/features/features-1/features-1.schema.d.ts +0 -5
- package/dist/blocks/features/features-1/features-1.schema.js +0 -142
- package/dist/blocks/features/features-1/variants/default.d.ts +0 -37
- package/dist/blocks/features/features-1/variants/default.js +0 -185
- package/dist/blocks/features/features-1/variants/index.d.ts +0 -5
- package/dist/blocks/features/features-1/variants/stylized-cards-v1.d.ts +0 -3
- package/dist/blocks/features/features-1/variants/stylized-cards-v1.js +0 -132
- package/dist/blocks/features/features-1/variants/stylized-cards-v2.d.ts +0 -3
- package/dist/blocks/features/features-1/variants/stylized-cards-v2.js +0 -484
- package/dist/blocks/features/features-2.d.ts +0 -5
- package/dist/blocks/features/features-2.js +0 -8
- package/dist/blocks/features/features-2.schema.d.ts +0 -41
- package/dist/blocks/features/features-2.schema.js +0 -321
- package/dist/blocks/features/features-3.d.ts +0 -5
- package/dist/blocks/features/features-3.js +0 -4
- package/dist/blocks/features/features-3.schema.d.ts +0 -40
- package/dist/blocks/features/features-3.schema.js +0 -424
- package/dist/blocks/features/features-4.d.ts +0 -5
- package/dist/blocks/features/features-4.js +0 -4
- package/dist/blocks/features/features-4.schema.d.ts +0 -60
- package/dist/blocks/features/features-4.schema.js +0 -594
- package/dist/blocks/features/features-5.d.ts +0 -6
- package/dist/blocks/features/features-5.js +0 -5
- package/dist/blocks/features/features-5.schema.d.ts +0 -28
- package/dist/blocks/features/features-5.schema.js +0 -727
- package/dist/blocks/features/features-6.d.ts +0 -5
- package/dist/blocks/features/features-6.js +0 -31
- package/dist/blocks/features/features-6.schema.d.ts +0 -74
- package/dist/blocks/features/features-6.schema.js +0 -814
- package/dist/blocks/footer/footer-1.d.ts +0 -6
- package/dist/blocks/footer/footer-1.js +0 -5
- package/dist/blocks/footer/footer-1.schema.d.ts +0 -62
- package/dist/blocks/footer/footer-1.schema.js +0 -565
- package/dist/blocks/footer/footer-2.d.ts +0 -5
- package/dist/blocks/footer/footer-2.js +0 -4
- package/dist/blocks/footer/footer-2.schema.d.ts +0 -76
- package/dist/blocks/footer/footer-2.schema.js +0 -876
- package/dist/blocks/footer/footer-3.d.ts +0 -6
- package/dist/blocks/footer/footer-3.js +0 -15
- package/dist/blocks/footer/footer-3.schema.d.ts +0 -48
- package/dist/blocks/footer/footer-3.schema.js +0 -475
- package/dist/blocks/footer/footer-4.d.ts +0 -6
- package/dist/blocks/footer/footer-4.js +0 -5
- package/dist/blocks/footer/footer-4.schema.d.ts +0 -71
- package/dist/blocks/footer/footer-4.schema.js +0 -620
- package/dist/blocks/footer/footer-5.d.ts +0 -6
- package/dist/blocks/footer/footer-5.js +0 -5
- package/dist/blocks/footer/footer-5.schema.d.ts +0 -52
- package/dist/blocks/footer/footer-5.schema.js +0 -400
- package/dist/blocks/hero/hero-1.d.ts +0 -5
- package/dist/blocks/hero/hero-1.js +0 -4
- package/dist/blocks/hero/hero-1.schema.d.ts +0 -35
- package/dist/blocks/hero/hero-1.schema.js +0 -742
- package/dist/blocks/hero/hero-2.d.ts +0 -5
- package/dist/blocks/hero/hero-2.js +0 -4
- package/dist/blocks/hero/hero-2.schema.d.ts +0 -46
- package/dist/blocks/hero/hero-2.schema.js +0 -282
- package/dist/blocks/hero/hero-3.d.ts +0 -5
- package/dist/blocks/hero/hero-3.js +0 -4
- package/dist/blocks/hero/hero-3.schema.d.ts +0 -54
- package/dist/blocks/hero/hero-3.schema.js +0 -378
- package/dist/blocks/hero/hero-4.d.ts +0 -5
- package/dist/blocks/hero/hero-4.js +0 -30
- package/dist/blocks/hero/hero-4.schema.d.ts +0 -33
- package/dist/blocks/hero/hero-4.schema.js +0 -316
- package/dist/blocks/hero/hero-5.d.ts +0 -5
- package/dist/blocks/hero/hero-5.js +0 -30
- package/dist/blocks/hero/hero-5.schema.d.ts +0 -32
- package/dist/blocks/hero/hero-5.schema.js +0 -183
- package/dist/blocks/hero/hero-6.d.ts +0 -5
- package/dist/blocks/hero/hero-6.js +0 -8
- package/dist/blocks/hero/hero-6.schema.d.ts +0 -36
- package/dist/blocks/hero/hero-6.schema.js +0 -617
- package/dist/blocks/hero/hero-7.d.ts +0 -5
- package/dist/blocks/hero/hero-7.js +0 -40
- package/dist/blocks/hero/hero-7.schema.d.ts +0 -12
- package/dist/blocks/hero/hero-7.schema.js +0 -471
- package/dist/blocks/hero/hero-8.d.ts +0 -5
- package/dist/blocks/hero/hero-8.js +0 -39
- package/dist/blocks/hero/hero-8.schema.d.ts +0 -17
- package/dist/blocks/hero/hero-8.schema.js +0 -343
- package/dist/blocks/hero/hero-9.d.ts +0 -6
- package/dist/blocks/hero/hero-9.js +0 -4
- package/dist/blocks/hero/hero-9.schema.d.ts +0 -39
- package/dist/blocks/hero/hero-9.schema.js +0 -355
- package/dist/blocks/index.d.ts +0 -3
- package/dist/blocks/index.js +0 -74
- package/dist/blocks/logos/logos-1.d.ts +0 -5
- package/dist/blocks/logos/logos-1.js +0 -10
- package/dist/blocks/logos/logos-1.schema.d.ts +0 -34
- package/dist/blocks/logos/logos-1.schema.js +0 -239
- package/dist/blocks/navbar/navbar-1.d.ts +0 -6
- package/dist/blocks/navbar/navbar-1.js +0 -100
- package/dist/blocks/navbar/navbar-1.schema.d.ts +0 -117
- package/dist/blocks/navbar/navbar-1.schema.js +0 -938
- package/dist/blocks/navbar/navbar-2.d.ts +0 -6
- package/dist/blocks/navbar/navbar-2.js +0 -99
- package/dist/blocks/navbar/navbar-2.schema.d.ts +0 -134
- package/dist/blocks/navbar/navbar-2.schema.js +0 -1200
- package/dist/blocks/pricing/pricing-1.d.ts +0 -5
- package/dist/blocks/pricing/pricing-1.js +0 -4
- package/dist/blocks/pricing/pricing-1.schema.d.ts +0 -87
- package/dist/blocks/pricing/pricing-1.schema.js +0 -976
- package/dist/blocks/products/products-listing-1.d.ts +0 -5
- package/dist/blocks/products/products-listing-1.js +0 -4
- package/dist/blocks/products/products-listing-1.schema.d.ts +0 -36
- package/dist/blocks/products/products-listing-1.schema.js +0 -264
- package/dist/blocks/stats/stats-1.d.ts +0 -6
- package/dist/blocks/stats/stats-1.js +0 -6
- package/dist/blocks/stats/stats-1.schema.d.ts +0 -25
- package/dist/blocks/stats/stats-1.schema.js +0 -213
- package/dist/blocks/stats/stats-2.d.ts +0 -6
- package/dist/blocks/stats/stats-2.js +0 -6
- package/dist/blocks/stats/stats-2.schema.d.ts +0 -5
- package/dist/blocks/stats/stats-2.schema.js +0 -104
- package/dist/blocks/stats/variants/default.d.ts +0 -22
- package/dist/blocks/stats/variants/default.js +0 -185
- package/dist/blocks/stats/variants/hero.d.ts +0 -3
- package/dist/blocks/stats/variants/hero.js +0 -151
- package/dist/blocks/stats/variants/index.d.ts +0 -4
- package/dist/blocks/team/team-1.d.ts +0 -6
- package/dist/blocks/team/team-1.js +0 -6
- package/dist/blocks/team/team-1.schema.d.ts +0 -65
- package/dist/blocks/team/team-1.schema.js +0 -476
- package/dist/blocks/team/team-2.d.ts +0 -6
- package/dist/blocks/team/team-2.js +0 -6
- package/dist/blocks/team/team-2.schema.d.ts +0 -52
- package/dist/blocks/team/team-2.schema.js +0 -2732
- package/dist/blocks/team/team-3.d.ts +0 -5
- package/dist/blocks/team/team-3.js +0 -30
- package/dist/blocks/team/team-3.schema.d.ts +0 -32
- package/dist/blocks/team/team-3.schema.js +0 -679
- package/dist/blocks/termsAndPrivacy/terms-and-conditions-1.d.ts +0 -6
- package/dist/blocks/termsAndPrivacy/terms-and-conditions-1.js +0 -4
- package/dist/blocks/termsAndPrivacy/terms-and-conditions-1.schema.d.ts +0 -14
- package/dist/blocks/termsAndPrivacy/terms-and-conditions-1.schema.js +0 -154
- package/dist/blocks/testimonial/testimonial-1.d.ts +0 -5
- package/dist/blocks/testimonial/testimonial-1.js +0 -10
- package/dist/blocks/testimonial/testimonial-1.schema.d.ts +0 -16
- package/dist/blocks/testimonial/testimonial-1.schema.js +0 -314
- package/dist/blocks/testimonial/testimonial-2.d.ts +0 -5
- package/dist/blocks/testimonial/testimonial-2.js +0 -42
- package/dist/blocks/testimonial/testimonial-2.schema.d.ts +0 -54
- package/dist/blocks/testimonial/testimonial-2.schema.js +0 -771
- package/dist/blocks/testimonial/testimonial-3.d.ts +0 -5
- package/dist/blocks/testimonial/testimonial-3.js +0 -38
- package/dist/blocks/testimonial/testimonial-3.schema.d.ts +0 -56
- package/dist/blocks/testimonial/testimonial-3.schema.js +0 -260
- package/dist/blocks/testimonial/testimonial-4.d.ts +0 -5
- package/dist/blocks/testimonial/testimonial-4.js +0 -51
- package/dist/blocks/testimonial/testimonial-4.schema.d.ts +0 -145
- package/dist/blocks/testimonial/testimonial-4.schema.js +0 -3214
- package/dist/blocks/testimonial/testimonial-5.d.ts +0 -5
- package/dist/blocks/testimonial/testimonial-5.js +0 -31
- package/dist/blocks/testimonial/testimonial-5.schema.d.ts +0 -33
- package/dist/blocks/testimonial/testimonial-5.schema.js +0 -401
- package/dist/blocks/testimonial/testimonial-6.d.ts +0 -5
- package/dist/blocks/testimonial/testimonial-6.js +0 -39
- package/dist/blocks/testimonial/testimonial-6.schema.d.ts +0 -60
- package/dist/blocks/testimonial/testimonial-6.schema.js +0 -695
- package/dist/blocks.d.ts +0 -3
- package/dist/blocks.js +0 -74
- package/dist/index.d.ts +0 -6
- package/dist/schemas/blocks.d.ts +0 -3
- package/dist/schemas/categories.d.ts +0 -3
- package/dist/schemas/categories.js +0 -129
- package/dist/schemas/index.d.ts +0 -3
- package/dist/schemas.d.ts +0 -3
- package/dist/schemas.js +0 -2
- /package/{dist/schemas/index.js → src/schemas/index.ts} +0 -0
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import type { IBlock } from "@levo-so/studio";
|
|
2
|
+
|
|
3
|
+
import type { DEFAULT_CONTENT } from "./testimonial-5/variants";
|
|
4
|
+
import { defaultTestimonial5Variant } from "./testimonial-5/variants";
|
|
5
|
+
import { testimonialWithRatings } from "./testimonial-5/variants/testimonialWithRatings";
|
|
6
|
+
import { testimonialWithLogo } from "./testimonial-5/variants/testimonialWithLogo";
|
|
7
|
+
|
|
8
|
+
export type ITestimonial5Content = typeof DEFAULT_CONTENT;
|
|
9
|
+
|
|
10
|
+
export const Testimonial5: IBlock = {
|
|
11
|
+
category_id: "testimonial",
|
|
12
|
+
title: "Testimonial 5",
|
|
13
|
+
key: "testimonial-5",
|
|
14
|
+
version: "v1",
|
|
15
|
+
prompt_description:
|
|
16
|
+
"Card-based testimonial carousel with client photos, names, positions, and detailed quotes, featuring navigation dots for easy browsing through multiple testimonials.",
|
|
17
|
+
content_schema: [
|
|
18
|
+
{
|
|
19
|
+
key: "layout",
|
|
20
|
+
label: "Layout",
|
|
21
|
+
field_interface: "LayoutWidget",
|
|
22
|
+
hint: {
|
|
23
|
+
prompt_description:
|
|
24
|
+
"Defines the overall layout structure for the testimonial section block, providing proper spacing and alignment for the carousel and navigation elements.",
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
key: "container",
|
|
29
|
+
label: "Container",
|
|
30
|
+
field_interface: "ContainerWidget",
|
|
31
|
+
hint: {
|
|
32
|
+
prompt_description:
|
|
33
|
+
"Main container providing padding and width constraints for the testimonial section.",
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
key: "header",
|
|
38
|
+
label: "Header",
|
|
39
|
+
field_interface: "BoxWidget",
|
|
40
|
+
hint: {
|
|
41
|
+
prompt_description:
|
|
42
|
+
"Container for the section header including title and description text.",
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
key: "textWrapper",
|
|
47
|
+
label: "Text Wrapper",
|
|
48
|
+
field_interface: "BoxWidget",
|
|
49
|
+
hint: {
|
|
50
|
+
prompt_description:
|
|
51
|
+
"Groups the section title and description for proper spacing and alignment.",
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
key: "title",
|
|
56
|
+
label: "Title",
|
|
57
|
+
field_interface: "HeadingWidget",
|
|
58
|
+
hint: {
|
|
59
|
+
prompt_description:
|
|
60
|
+
"Main heading for the testimonial section. Use a confident, trust-building headline that introduces client feedback.",
|
|
61
|
+
min_characters: 16,
|
|
62
|
+
max_characters: 50,
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
key: "description",
|
|
67
|
+
label: "Description",
|
|
68
|
+
field_interface: "TypographyWidget",
|
|
69
|
+
hint: {
|
|
70
|
+
prompt_description:
|
|
71
|
+
"Subheading that explains the purpose of the testimonials and builds credibility. Use a professional, inviting tone.",
|
|
72
|
+
min_characters: 40,
|
|
73
|
+
max_characters: 150,
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
key: "carousel-navigation-container",
|
|
78
|
+
label: "Carousel Navigation Container",
|
|
79
|
+
field_interface: "BoxWidget",
|
|
80
|
+
hint: {
|
|
81
|
+
prompt_description:
|
|
82
|
+
"Container for the navigation dots, providing proper positioning below the carousel.",
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
key: "carousel-navigation",
|
|
87
|
+
label: "Carousel Navigation",
|
|
88
|
+
field_interface: "BoxWidget",
|
|
89
|
+
hint: {
|
|
90
|
+
prompt_description:
|
|
91
|
+
"Container for the navigation pills/dots that indicate current position and allow navigation between testimonials.",
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
key: "carousel-navigation-pill",
|
|
96
|
+
label: "Carousel Navigation Pill",
|
|
97
|
+
field_interface: "BoxWidget",
|
|
98
|
+
hint: {
|
|
99
|
+
prompt_description:
|
|
100
|
+
"Individual navigation dot that shows current position and allows clicking to navigate to specific testimonial.",
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
key: "testimonials",
|
|
105
|
+
label: "Testimonials",
|
|
106
|
+
field_interface: "CarouselWidget",
|
|
107
|
+
kind: "group",
|
|
108
|
+
fields: [
|
|
109
|
+
{
|
|
110
|
+
key: "card",
|
|
111
|
+
label: "Card",
|
|
112
|
+
field_interface: "BoxWidget",
|
|
113
|
+
hint: {
|
|
114
|
+
prompt_description:
|
|
115
|
+
"Main container for individual testimonial card with shadow and border styling.",
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
key: "stars_wrapper",
|
|
120
|
+
label: "Stars Wrapper",
|
|
121
|
+
field_interface: "BoxWidget",
|
|
122
|
+
hint: {
|
|
123
|
+
prompt_description:
|
|
124
|
+
"Container for the star rating display above the testimonial quote.",
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
key: "stars",
|
|
129
|
+
label: "Stars",
|
|
130
|
+
kind: "group",
|
|
131
|
+
field_interface: "BoxWidget",
|
|
132
|
+
fields: [
|
|
133
|
+
{
|
|
134
|
+
key: "star",
|
|
135
|
+
label: "Star",
|
|
136
|
+
field_interface: "IconWidget",
|
|
137
|
+
hint: {
|
|
138
|
+
prompt_description:
|
|
139
|
+
"Individual star icon for rating display. Typically shows a filled star.",
|
|
140
|
+
usecase: "icon",
|
|
141
|
+
size: "small",
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
],
|
|
145
|
+
hint: {
|
|
146
|
+
prompt_description:
|
|
147
|
+
"Collection of star icons representing the client's rating. Usually 5 stars for testimonials.",
|
|
148
|
+
min_items: 3,
|
|
149
|
+
max_items: 5,
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
key: "profileSection",
|
|
154
|
+
label: "Profile Section",
|
|
155
|
+
field_interface: "BoxWidget",
|
|
156
|
+
hint: {
|
|
157
|
+
prompt_description:
|
|
158
|
+
"Container grouping the client avatar and their information (name and position).",
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
key: "profileSection_content",
|
|
163
|
+
label: "Profile Section Wrapper",
|
|
164
|
+
field_interface: "BoxWidget",
|
|
165
|
+
hint: {
|
|
166
|
+
prompt_description:
|
|
167
|
+
"Container grouping the client avatar and their information (name and position).",
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
key: "avatar",
|
|
172
|
+
label: "Avatar",
|
|
173
|
+
field_interface: "IconWidget",
|
|
174
|
+
hint: {
|
|
175
|
+
prompt_description:
|
|
176
|
+
"Professional headshot or avatar of the client providing the testimonial. Use professional, trustworthy imagery.",
|
|
177
|
+
orientation: "square",
|
|
178
|
+
size: "medium",
|
|
179
|
+
usecase: "icon",
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
key: "clientInfo",
|
|
184
|
+
label: "Client Info",
|
|
185
|
+
field_interface: "BoxWidget",
|
|
186
|
+
hint: {
|
|
187
|
+
prompt_description:
|
|
188
|
+
"Container for client name and position text, positioned next to the avatar.",
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
key: "name",
|
|
193
|
+
label: "Name",
|
|
194
|
+
field_interface: "HeadingWidget",
|
|
195
|
+
hint: {
|
|
196
|
+
prompt_description:
|
|
197
|
+
"Full name of the client giving the testimonial. Use realistic, professional-sounding names.",
|
|
198
|
+
min_characters: 8,
|
|
199
|
+
max_characters: 30,
|
|
200
|
+
},
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
key: "position",
|
|
204
|
+
label: "Position",
|
|
205
|
+
field_interface: "TypographyWidget",
|
|
206
|
+
hint: {
|
|
207
|
+
prompt_description:
|
|
208
|
+
"Professional title and company/department of the client. Use credible, industry-appropriate titles.",
|
|
209
|
+
min_characters: 15,
|
|
210
|
+
max_characters: 50,
|
|
211
|
+
},
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
key: "org_logo",
|
|
215
|
+
label: "Organization Logo",
|
|
216
|
+
field_interface: "IconWidget",
|
|
217
|
+
hint: {
|
|
218
|
+
prompt_description:
|
|
219
|
+
"Professional headshot or avatar of the client providing the testimonial. Use professional, trustworthy imagery.",
|
|
220
|
+
orientation: "square",
|
|
221
|
+
size: "medium",
|
|
222
|
+
usecase: "icon",
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
key: "quote",
|
|
227
|
+
label: "Quote",
|
|
228
|
+
field_interface: "TypographyWidget",
|
|
229
|
+
hint: {
|
|
230
|
+
prompt_description:
|
|
231
|
+
"Detailed testimonial quote from the client. Write in first person with specific benefits and outcomes. Use an authentic, professional tone.",
|
|
232
|
+
min_characters: 150,
|
|
233
|
+
max_characters: 400,
|
|
234
|
+
},
|
|
235
|
+
},
|
|
236
|
+
],
|
|
237
|
+
hint: {
|
|
238
|
+
prompt_description:
|
|
239
|
+
"Collection of detailed testimonial cards featuring client photos, names, positions, and comprehensive quotes about their experience. Focus on specific benefits and outcomes.",
|
|
240
|
+
min_items: 3,
|
|
241
|
+
max_items: 6,
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
],
|
|
245
|
+
layouts: [
|
|
246
|
+
defaultTestimonial5Variant,
|
|
247
|
+
testimonialWithRatings,
|
|
248
|
+
testimonialWithLogo,
|
|
249
|
+
],
|
|
250
|
+
};
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import type { CarouselApi } from "@levo-so/studio";
|
|
2
|
+
import {
|
|
3
|
+
type ILevoBlockBaseProps,
|
|
4
|
+
Box,
|
|
5
|
+
Carousel,
|
|
6
|
+
CarouselContent,
|
|
7
|
+
CarouselItem,
|
|
8
|
+
Container,
|
|
9
|
+
Heading,
|
|
10
|
+
Icon,
|
|
11
|
+
Section,
|
|
12
|
+
Typography,
|
|
13
|
+
} from "@levo-so/studio";
|
|
14
|
+
import { useEffect, useState } from "react";
|
|
15
|
+
|
|
16
|
+
import type { ITestimonial5Content } from "./testimonial-5.schema";
|
|
17
|
+
|
|
18
|
+
const Testimonial5: React.FC<ILevoBlockBaseProps<ITestimonial5Content>> = ({
|
|
19
|
+
content,
|
|
20
|
+
}) => {
|
|
21
|
+
const [api, setApi] = useState<CarouselApi>();
|
|
22
|
+
const [current, setCurrent] = useState(0);
|
|
23
|
+
const [count, setCount] = useState(0);
|
|
24
|
+
|
|
25
|
+
useEffect(() => {
|
|
26
|
+
if (!api) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
setCount(api.scrollSnapList().length);
|
|
31
|
+
setCurrent(api.selectedScrollSnap() + 1);
|
|
32
|
+
|
|
33
|
+
api.on("select", () => {
|
|
34
|
+
setCurrent(api.selectedScrollSnap() + 1);
|
|
35
|
+
});
|
|
36
|
+
}, [api]);
|
|
37
|
+
|
|
38
|
+
return (
|
|
39
|
+
<Section elementKey="layout">
|
|
40
|
+
<Container elementKey="container">
|
|
41
|
+
<Box elementKey="header">
|
|
42
|
+
<Box elementKey="textWrapper">
|
|
43
|
+
<Heading elementKey="title" />
|
|
44
|
+
<Typography elementKey="description" />
|
|
45
|
+
</Box>
|
|
46
|
+
</Box>
|
|
47
|
+
|
|
48
|
+
<Carousel
|
|
49
|
+
elementKey="testimonials_levoGroup"
|
|
50
|
+
className="w-full"
|
|
51
|
+
setApi={setApi}
|
|
52
|
+
data-levo_group
|
|
53
|
+
>
|
|
54
|
+
<CarouselContent>
|
|
55
|
+
{(content?.testimonials ?? []).map((_, index: number) => (
|
|
56
|
+
<CarouselItem key={index} data-levo_group_item>
|
|
57
|
+
<Box elementKey={`testimonials.${index}.card`}>
|
|
58
|
+
{(content?.testimonials?.[index] as any)?.stars?.length >
|
|
59
|
+
0 && (
|
|
60
|
+
<Box elementKey={`testimonials.${index}.stars_wrapper`}>
|
|
61
|
+
<Box
|
|
62
|
+
elementKey={`testimonials.${index}.stars_levoGroup`}
|
|
63
|
+
data-levo_group
|
|
64
|
+
>
|
|
65
|
+
{(
|
|
66
|
+
(content?.testimonials?.[index] as any)?.stars ?? []
|
|
67
|
+
).map((_: any, starIndex: number) => (
|
|
68
|
+
<Icon
|
|
69
|
+
key={`star-${starIndex}`}
|
|
70
|
+
data-levo_group_item
|
|
71
|
+
elementKey={`testimonials.${index}.stars.${starIndex}.star`}
|
|
72
|
+
/>
|
|
73
|
+
))}
|
|
74
|
+
</Box>
|
|
75
|
+
</Box>
|
|
76
|
+
)}
|
|
77
|
+
<Typography elementKey={`testimonials.${index}.quote`} />
|
|
78
|
+
<Box elementKey={`testimonials.${index}.profileSection`}>
|
|
79
|
+
<Box
|
|
80
|
+
elementKey={`testimonials.${index}.profileSection_content`}
|
|
81
|
+
>
|
|
82
|
+
<Icon elementKey={`testimonials.${index}.avatar`} />
|
|
83
|
+
<Box elementKey={`testimonials.${index}.clientInfo`}>
|
|
84
|
+
<Heading elementKey={`testimonials.${index}.name`} />
|
|
85
|
+
<Typography
|
|
86
|
+
elementKey={`testimonials.${index}.position`}
|
|
87
|
+
/>
|
|
88
|
+
</Box>
|
|
89
|
+
</Box>
|
|
90
|
+
<Icon elementKey={`testimonials.${index}.org_logo`} />
|
|
91
|
+
</Box>
|
|
92
|
+
</Box>
|
|
93
|
+
</CarouselItem>
|
|
94
|
+
))}
|
|
95
|
+
</CarouselContent>
|
|
96
|
+
</Carousel>
|
|
97
|
+
|
|
98
|
+
{count > 0 && (
|
|
99
|
+
<Box elementKey="carousel-navigation-container">
|
|
100
|
+
<Box elementKey="carousel-navigation" className="flex gap-x-2">
|
|
101
|
+
{Array(count)
|
|
102
|
+
?.fill(0)
|
|
103
|
+
?.map((_, index) => (
|
|
104
|
+
<Box
|
|
105
|
+
key={index}
|
|
106
|
+
elementKey="carousel-navigation-pill"
|
|
107
|
+
style={
|
|
108
|
+
index + 1 === current
|
|
109
|
+
? {
|
|
110
|
+
backgroundColor: "var(--color-brand)",
|
|
111
|
+
width: "24px",
|
|
112
|
+
}
|
|
113
|
+
: {}
|
|
114
|
+
}
|
|
115
|
+
onClick={() => {
|
|
116
|
+
if (api) {
|
|
117
|
+
api?.scrollTo(index);
|
|
118
|
+
}
|
|
119
|
+
}}
|
|
120
|
+
/>
|
|
121
|
+
))}
|
|
122
|
+
</Box>
|
|
123
|
+
</Box>
|
|
124
|
+
)}
|
|
125
|
+
</Container>
|
|
126
|
+
</Section>
|
|
127
|
+
);
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
export default Testimonial5;
|