@levo-so/blocks 0.1.0 → 0.1.2
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 +5 -9
- package/src/blocks/about-us/about-us-1.schema.ts +563 -0
- package/src/blocks/about-us/about-us-1.tsx +53 -0
- package/src/blocks/blogs/blog-listing-1.schema.ts +419 -0
- package/src/blocks/blogs/blog-listing-1.tsx +79 -0
- package/src/blocks/blogs/blog-listing-2.schema.ts +608 -0
- package/src/blocks/blogs/blog-listing-2.tsx +83 -0
- package/src/blocks/blogs/blog-post-1.schema.ts +392 -0
- package/src/blocks/blogs/blog-post-1.tsx +52 -0
- package/src/blocks/blogs/blog-post-2.schema.ts +834 -0
- package/src/blocks/blogs/blog-post-2.tsx +131 -0
- package/src/blocks/cards/cards-10.schema.ts +433 -0
- package/src/blocks/cards/cards-10.tsx +46 -0
- package/src/blocks/cards/cards-11.schema.ts +440 -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-2.schema.ts +293 -0
- package/src/blocks/cards/cards-2.tsx +42 -0
- package/src/blocks/cards/cards-3.schema.ts +365 -0
- package/src/blocks/cards/cards-3.tsx +49 -0
- package/src/blocks/cards/cards-4.schema.ts +677 -0
- package/src/blocks/cards/cards-4.tsx +50 -0
- package/src/blocks/cards/cards-5.schema.ts +264 -0
- package/src/blocks/cards/cards-5.tsx +34 -0
- package/src/blocks/cards/cards-6.schema.ts +639 -0
- package/src/blocks/cards/cards-6.tsx +136 -0
- package/src/blocks/cards/cards-7.schema.ts +1793 -0
- package/src/blocks/cards/cards-7.tsx +165 -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 +226 -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 +884 -0
- package/src/blocks/content/content-1.tsx +69 -0
- package/src/blocks/content/content-2.schema.ts +209 -0
- package/src/blocks/content/content-2.tsx +32 -0
- package/src/blocks/content/content-3.schema.ts +864 -0
- package/src/blocks/content/content-3.tsx +54 -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 +58 -0
- package/src/blocks/content/content-6.schema.ts +991 -0
- package/src/blocks/content/content-6.tsx +61 -0
- package/src/blocks/cta/cta-1.schema.ts +361 -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 +156 -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 +737 -0
- package/src/blocks/event/event-details.tsx +107 -0
- package/src/blocks/event/event-listing-2.schema.ts +496 -0
- package/src/blocks/event/event-listing-2.tsx +70 -0
- package/src/blocks/event/event-listing-3.schema.ts +605 -0
- package/src/blocks/event/event-listing-3.tsx +95 -0
- package/src/blocks/event/event-listing.schema.ts +1358 -0
- package/src/blocks/event/event-listing.tsx +90 -0
- package/src/blocks/faq/faq-1.schema.ts +357 -0
- package/src/blocks/faq/faq-1.tsx +65 -0
- package/src/blocks/faq/faq-2.schema.ts +356 -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 +197 -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 +338 -0
- package/src/blocks/features/features-2.tsx +66 -0
- package/src/blocks/features/features-3.schema.ts +438 -0
- package/src/blocks/features/features-3.tsx +56 -0
- package/src/blocks/features/features-4.schema.ts +631 -0
- package/src/blocks/features/features-4.tsx +75 -0
- package/src/blocks/features/features-5.schema.ts +747 -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 +589 -0
- package/src/blocks/footer/footer-1.tsx +90 -0
- package/src/blocks/footer/footer-2.schema.ts +898 -0
- package/src/blocks/footer/footer-2.tsx +77 -0
- package/src/blocks/footer/footer-3.schema.ts +487 -0
- package/src/blocks/footer/footer-3.tsx +100 -0
- package/src/blocks/footer/footer-4.schema.ts +644 -0
- package/src/blocks/footer/footer-4.tsx +97 -0
- package/src/blocks/footer/footer-5.schema.ts +425 -0
- package/src/blocks/footer/footer-5.tsx +91 -0
- package/src/blocks/hero/hero-1.schema.ts +766 -0
- package/src/blocks/hero/hero-1.tsx +52 -0
- package/src/blocks/hero/hero-2.schema.ts +316 -0
- package/src/blocks/hero/hero-2.tsx +49 -0
- package/src/blocks/hero/hero-3.schema.ts +415 -0
- package/src/blocks/hero/hero-3.tsx +50 -0
- package/src/blocks/hero/hero-4.schema.ts +325 -0
- package/src/blocks/hero/hero-4.tsx +89 -0
- package/src/blocks/hero/hero-5.schema.ts +192 -0
- package/src/blocks/hero/hero-5.tsx +86 -0
- package/src/blocks/hero/hero-6.schema.ts +703 -0
- package/src/blocks/hero/hero-6.tsx +62 -0
- package/src/blocks/hero/hero-7.schema.ts +508 -0
- package/src/blocks/hero/hero-7.tsx +115 -0
- package/src/blocks/hero/hero-8.schema.ts +372 -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 +78 -0
- package/src/blocks/logos/logos-1.schema.ts +264 -0
- package/src/blocks/logos/logos-1.tsx +60 -0
- package/src/blocks/navbar/navbar-1.schema.ts +961 -0
- package/src/blocks/navbar/navbar-1.tsx +398 -0
- package/src/blocks/navbar/navbar-2.schema.ts +1226 -0
- package/src/blocks/navbar/navbar-2.tsx +417 -0
- package/src/blocks/pricing/pricing-1.schema.ts +1002 -0
- package/src/blocks/pricing/pricing-1.tsx +88 -0
- package/src/blocks/products/products-listing-1.schema.ts +274 -0
- package/src/blocks/products/products-listing-1.tsx +48 -0
- package/src/blocks/stats/stats-1.schema.ts +231 -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 +190 -0
- package/src/blocks/stats/variants/hero.ts +153 -0
- package/{dist/blocks/stats/variants/index.js → src/blocks/stats/variants/index.ts} +1 -0
- package/src/blocks/team/team-1.schema.ts +516 -0
- package/src/blocks/team/team-1.tsx +80 -0
- package/src/blocks/team/team-2.schema.ts +2813 -0
- package/src/blocks/team/team-2.tsx +74 -0
- package/src/blocks/team/team-3.schema.ts +707 -0
- package/src/blocks/team/team-3.tsx +103 -0
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +168 -0
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.tsx +29 -0
- package/src/blocks/testimonial/testimonial-1.schema.ts +345 -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 +279 -0
- package/src/blocks/testimonial/testimonial-3.tsx +128 -0
- package/src/blocks/testimonial/testimonial-4.schema.ts +3373 -0
- package/src/blocks/testimonial/testimonial-4.tsx +202 -0
- package/src/blocks/testimonial/testimonial-5.schema.ts +434 -0
- package/src/blocks/testimonial/testimonial-5.tsx +106 -0
- package/src/blocks/testimonial/testimonial-6.schema.ts +709 -0
- package/src/blocks/testimonial/testimonial-6.tsx +128 -0
- package/{dist/index.js → src/index.ts} +5 -2
- package/{dist/schemas/blocks.js → src/schemas/blocks.ts} +75 -72
- package/src/schemas/categories.ts +134 -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/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/index.js → src/schemas/index.ts} +0 -0
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type ILevoBlockBaseProps } from "@levo-so/studio";
|
|
2
|
-
import type { ITestimonial3Content } from "./testimonial-3.schema";
|
|
3
|
-
declare const Testimonial3: React.FC<ILevoBlockBaseProps<ITestimonial3Content>>;
|
|
4
|
-
export default Testimonial3;
|
|
5
|
-
//# sourceMappingURL=testimonial-3.d.ts.map
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button, Heading, Image, Typography, Container, Section, Carousel, CarouselContent, CarouselItem, Box, } from "@levo-so/studio";
|
|
3
|
-
import { useEffect, useState } from "react";
|
|
4
|
-
const Testimonial3 = ({ content, }) => {
|
|
5
|
-
const [api, setApi] = useState();
|
|
6
|
-
const [current, setCurrent] = useState(0);
|
|
7
|
-
const [count, setCount] = useState(0);
|
|
8
|
-
useEffect(() => {
|
|
9
|
-
if (!api) {
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
setCount(api.scrollSnapList().length);
|
|
13
|
-
setCurrent(api.selectedScrollSnap());
|
|
14
|
-
api.on("select", () => {
|
|
15
|
-
setCurrent(api.selectedScrollSnap());
|
|
16
|
-
});
|
|
17
|
-
}, [api]);
|
|
18
|
-
const isFirstSlide = current === 0;
|
|
19
|
-
const isLastSlide = current === count - 1;
|
|
20
|
-
const handlePrevious = () => {
|
|
21
|
-
if (api && !isFirstSlide) {
|
|
22
|
-
api.scrollTo(current - 1);
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
const handleNext = () => {
|
|
26
|
-
if (api && !isLastSlide) {
|
|
27
|
-
api.scrollTo(current + 1);
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
return (_jsx(Section, { elementKey: "layout", children: _jsxs(Container, { elementKey: "container", children: [_jsx(Heading, { elementKey: "title" }), _jsx(Carousel, { elementKey: "testimonials_levoGroup", className: "w-full", setApi: setApi, "data-levo_group": true, children: _jsx(CarouselContent, { children: (content?.testimonials ?? [])?.map((_, index) => (_jsx(CarouselItem, { className: "flex w-full", children: _jsxs(Box, { elementKey: `testimonials.${index}.testimonial_wrapper`, "data-levo_group_item": true, children: [_jsxs(Box, { elementKey: `testimonials.${index}.testimonial_content`, children: [_jsxs(Box, { elementKey: `testimonials.${index}.author_box`, children: [_jsx(Typography, { elementKey: `testimonials.${index}.author_name` }), _jsx(Typography, { elementKey: `testimonials.${index}.author_role` })] }), _jsx(Typography, { elementKey: `testimonials.${index}.testimonial_text` }), _jsxs(Box, { elementKey: `testimonials.${index}.testimonial_controls`, children: [_jsx(Button, { elementKey: "button_prev", onClick: handlePrevious, disabled: isFirstSlide, style: {
|
|
31
|
-
opacity: isFirstSlide ? 0.5 : 1,
|
|
32
|
-
cursor: isFirstSlide ? "not-allowed" : "pointer",
|
|
33
|
-
} }), _jsx(Button, { elementKey: "button_next", onClick: handleNext, disabled: isLastSlide, style: {
|
|
34
|
-
opacity: isLastSlide ? 0.5 : 1,
|
|
35
|
-
cursor: isLastSlide ? "not-allowed" : "pointer",
|
|
36
|
-
} })] })] }), _jsx(Box, { elementKey: `testimonials.${index}.image_box`, children: _jsx(Image, { elementKey: `testimonials.${index}.client_image`, width: 288, height: 288, alt: "Client" }) })] }) }, index))) }) })] }) }));
|
|
37
|
-
};
|
|
38
|
-
export default Testimonial3;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import type { IBlock } from "@levo-so/studio";
|
|
2
|
-
declare const DEFAULT_CONTENT: {
|
|
3
|
-
layout: null;
|
|
4
|
-
container: null;
|
|
5
|
-
title: string;
|
|
6
|
-
button_prev: string;
|
|
7
|
-
button_next: string;
|
|
8
|
-
testimonials: {
|
|
9
|
-
testimonial_wrapper: null;
|
|
10
|
-
testimonial_content: null;
|
|
11
|
-
author_box: null;
|
|
12
|
-
author_name: string;
|
|
13
|
-
author_role: string;
|
|
14
|
-
testimonial_text: string;
|
|
15
|
-
testimonial_controls: null;
|
|
16
|
-
image_box: null;
|
|
17
|
-
client_image: {
|
|
18
|
-
id: string;
|
|
19
|
-
location: string;
|
|
20
|
-
kind: string;
|
|
21
|
-
mimetype: string;
|
|
22
|
-
srcset: {
|
|
23
|
-
"1080w": string;
|
|
24
|
-
"1200w": string;
|
|
25
|
-
"1920w": string;
|
|
26
|
-
"320w": string;
|
|
27
|
-
"640w": string;
|
|
28
|
-
"750w": string;
|
|
29
|
-
"828w": string;
|
|
30
|
-
path: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
}[];
|
|
34
|
-
button_prev_leftIcon: {
|
|
35
|
-
kind: string;
|
|
36
|
-
data: {
|
|
37
|
-
id: string;
|
|
38
|
-
label: string;
|
|
39
|
-
tags: string[];
|
|
40
|
-
svgCode: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
button_next_rightIcon: {
|
|
44
|
-
kind: string;
|
|
45
|
-
data: {
|
|
46
|
-
id: string;
|
|
47
|
-
label: string;
|
|
48
|
-
tags: string[];
|
|
49
|
-
svgCode: string;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
export type ITestimonial3Content = typeof DEFAULT_CONTENT;
|
|
54
|
-
export declare const Testimonial3: IBlock;
|
|
55
|
-
export {};
|
|
56
|
-
//# sourceMappingURL=testimonial-3.schema.d.ts.map
|
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
// Extract image object into a constant for reusability
|
|
2
|
-
const CLIENT_IMAGE = {
|
|
3
|
-
id: "7141014160938075687",
|
|
4
|
-
location: "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH.png",
|
|
5
|
-
kind: "image",
|
|
6
|
-
mimetype: "image/png",
|
|
7
|
-
srcset: {
|
|
8
|
-
"1080w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp",
|
|
9
|
-
"1200w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp",
|
|
10
|
-
"1920w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp",
|
|
11
|
-
"320w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp",
|
|
12
|
-
"640w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp",
|
|
13
|
-
"750w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp",
|
|
14
|
-
"828w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp",
|
|
15
|
-
path: "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp 640w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp 1080w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp 1200w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp 1920w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp 320w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp 750w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp 828w",
|
|
16
|
-
},
|
|
17
|
-
};
|
|
18
|
-
// Array of testimonials content
|
|
19
|
-
const TESTIMONIALS_CONTENT = [
|
|
20
|
-
{
|
|
21
|
-
testimonial_wrapper: null,
|
|
22
|
-
testimonial_content: null,
|
|
23
|
-
author_box: null,
|
|
24
|
-
author_name: "Jeni Smith",
|
|
25
|
-
author_role: "Head of Operations, Shark Ltd.",
|
|
26
|
-
testimonial_text: "AI-powered solutions transformed our website! The team's expertise in web development and AI-driven automation helped us build a fast, intuitive, and scalable platform. Our user engagement has skyrocketed, and the seamless AI integrations have made a real impact. Highly recommended!",
|
|
27
|
-
testimonial_controls: null,
|
|
28
|
-
image_box: null,
|
|
29
|
-
client_image: CLIENT_IMAGE,
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
testimonial_wrapper: null,
|
|
33
|
-
testimonial_content: null,
|
|
34
|
-
author_box: null,
|
|
35
|
-
author_name: "Mike Johnson",
|
|
36
|
-
author_role: "CTO, Tech Innovations Inc.",
|
|
37
|
-
testimonial_text: "The development team exceeded our expectations with their innovative approach to AI integration. Our platform's performance improved dramatically, and the user experience is now seamless across all devices.",
|
|
38
|
-
testimonial_controls: null,
|
|
39
|
-
image_box: null,
|
|
40
|
-
client_image: CLIENT_IMAGE,
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
testimonial_wrapper: null,
|
|
44
|
-
testimonial_content: null,
|
|
45
|
-
author_box: null,
|
|
46
|
-
author_name: "Sarah Williams",
|
|
47
|
-
author_role: "Product Manager, Digital Solutions Co.",
|
|
48
|
-
testimonial_text: "Working with this team was a game-changer for our business. The AI-powered features they implemented have streamlined our operations and significantly improved our customer satisfaction rates.",
|
|
49
|
-
testimonial_controls: null,
|
|
50
|
-
image_box: null,
|
|
51
|
-
client_image: CLIENT_IMAGE,
|
|
52
|
-
},
|
|
53
|
-
];
|
|
54
|
-
const DEFAULT_CONTENT = {
|
|
55
|
-
layout: null,
|
|
56
|
-
container: null,
|
|
57
|
-
title: "What Our Clients Say",
|
|
58
|
-
button_prev: " ",
|
|
59
|
-
button_next: " ",
|
|
60
|
-
testimonials: TESTIMONIALS_CONTENT,
|
|
61
|
-
button_prev_leftIcon: {
|
|
62
|
-
kind: "icon",
|
|
63
|
-
data: {
|
|
64
|
-
id: "arrow-left",
|
|
65
|
-
label: "Arrow Left",
|
|
66
|
-
tags: ["arrow", "custom", "directional", "left"],
|
|
67
|
-
svgCode: '<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M9.57043 18.82C9.38043 18.82 9.19043 18.75 9.04043 18.6L2.97043 12.53C2.68043 12.24 2.68043 11.76 2.97043 11.47L9.04043 5.4C9.33043 5.11 9.81043 5.11 10.1004 5.4C10.3904 5.69 10.3904 6.17 10.1004 6.46L4.56043 12L10.1004 17.54C10.3904 17.83 10.3904 18.31 10.1004 18.6C9.96043 18.75 9.76043 18.82 9.57043 18.82Z" fill="currentColor"/>\n<path d="M20.4999 12.75H3.66992C3.25992 12.75 2.91992 12.41 2.91992 12C2.91992 11.59 3.25992 11.25 3.66992 11.25H20.4999C20.9099 11.25 21.2499 11.59 21.2499 12C21.2499 12.41 20.9099 12.75 20.4999 12.75Z" fill="currentColor"/>\n</svg>',
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
button_next_rightIcon: {
|
|
71
|
-
kind: "icon",
|
|
72
|
-
data: {
|
|
73
|
-
id: "arrow-right-1",
|
|
74
|
-
label: "Arrow Right 1",
|
|
75
|
-
tags: ["arrow", "custom", "directional", "right"],
|
|
76
|
-
svgCode: '<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.4301 18.82C14.2401 18.82 14.0501 18.75 13.9001 18.6C13.6101 18.31 13.6101 17.83 13.9001 17.54L19.4401 12L13.9001 6.46C13.6101 6.17 13.6101 5.69 13.9001 5.4C14.1901 5.11 14.6701 5.11 14.9601 5.4L21.0301 11.47C21.3201 11.76 21.3201 12.24 21.0301 12.53L14.9601 18.6C14.8101 18.75 14.6201 18.82 14.4301 18.82Z" fill="currentColor"/>\n<path d="M20.33 12.75H3.5C3.09 12.75 2.75 12.41 2.75 12C2.75 11.59 3.09 11.25 3.5 11.25H20.33C20.74 11.25 21.08 11.59 21.08 12C21.08 12.41 20.74 12.75 20.33 12.75Z" fill="currentColor"/>\n</svg>',
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
};
|
|
80
|
-
// Testimonial field styles
|
|
81
|
-
const TESTIMONIAL_STYLE = {
|
|
82
|
-
testimonial_wrapper: {
|
|
83
|
-
display: "flex",
|
|
84
|
-
"flex-direction": "row",
|
|
85
|
-
"align-items": "center",
|
|
86
|
-
gap: "10xl",
|
|
87
|
-
mobile: {
|
|
88
|
-
"flex-direction": "column",
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
testimonial_content: {
|
|
92
|
-
flex: "1 1 0%",
|
|
93
|
-
},
|
|
94
|
-
author_box: {
|
|
95
|
-
"margin-bottom": "6xl",
|
|
96
|
-
},
|
|
97
|
-
author_name: {
|
|
98
|
-
"font-weight": "600",
|
|
99
|
-
"font-size": "lg",
|
|
100
|
-
color: "text-1",
|
|
101
|
-
"margin-bottom": "2xs",
|
|
102
|
-
},
|
|
103
|
-
author_role: {
|
|
104
|
-
color: "text-2",
|
|
105
|
-
"font-size": "sm",
|
|
106
|
-
},
|
|
107
|
-
testimonial_text: {
|
|
108
|
-
"font-size": "xl",
|
|
109
|
-
"line-height": "1.625",
|
|
110
|
-
color: "text-1",
|
|
111
|
-
"margin-bottom": "8xl",
|
|
112
|
-
},
|
|
113
|
-
testimonial_controls: {
|
|
114
|
-
display: "flex",
|
|
115
|
-
gap: "base",
|
|
116
|
-
},
|
|
117
|
-
image_box: {
|
|
118
|
-
flex: "1 1 0%",
|
|
119
|
-
display: "flex",
|
|
120
|
-
"justify-content": "center",
|
|
121
|
-
},
|
|
122
|
-
client_image: {
|
|
123
|
-
width: "18rem",
|
|
124
|
-
height: "18rem",
|
|
125
|
-
"object-fit": "cover",
|
|
126
|
-
"border-radius": "xl",
|
|
127
|
-
"background-color": "background-2",
|
|
128
|
-
},
|
|
129
|
-
};
|
|
130
|
-
const TESTIMONIALS_STYLES = Array.from({ length: 3 }, () => JSON.parse(JSON.stringify(TESTIMONIAL_STYLE)));
|
|
131
|
-
export const Testimonial3 = {
|
|
132
|
-
category_id: "testimonial",
|
|
133
|
-
title: "Testimonial 3",
|
|
134
|
-
key: "testimonial-3",
|
|
135
|
-
version: "v1",
|
|
136
|
-
content_schema: [
|
|
137
|
-
{
|
|
138
|
-
key: "layout",
|
|
139
|
-
label: "Layout",
|
|
140
|
-
field_interface: "LayoutWidget",
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
key: "container",
|
|
144
|
-
label: "Container",
|
|
145
|
-
field_interface: "ContainerWidget",
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
key: "title",
|
|
149
|
-
label: "Title",
|
|
150
|
-
field_interface: "HeadingWidget",
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
key: "testimonials",
|
|
154
|
-
label: "Testimonials",
|
|
155
|
-
field_interface: "ArrayWidget",
|
|
156
|
-
fields: [
|
|
157
|
-
{
|
|
158
|
-
key: "testimonial_wrapper",
|
|
159
|
-
label: "Testimonial Wrapper",
|
|
160
|
-
field_interface: "BoxWidget",
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
key: "testimonial_content",
|
|
164
|
-
label: "Testimonial Content",
|
|
165
|
-
field_interface: "BoxWidget",
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
key: "author_box",
|
|
169
|
-
label: "Author Box",
|
|
170
|
-
field_interface: "BoxWidget",
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
key: "author_name",
|
|
174
|
-
label: "Author Name",
|
|
175
|
-
field_interface: "TypographyWidget",
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
key: "author_role",
|
|
179
|
-
label: "Author Role",
|
|
180
|
-
field_interface: "TypographyWidget",
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
key: "testimonial_text",
|
|
184
|
-
label: "Testimonial Text",
|
|
185
|
-
field_interface: "TypographyWidget",
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
key: "testimonial_controls",
|
|
189
|
-
label: "Testimonial Controls",
|
|
190
|
-
field_interface: "BoxWidget",
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
key: "image_box",
|
|
194
|
-
label: "Image Box",
|
|
195
|
-
field_interface: "BoxWidget",
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
key: "client_image",
|
|
199
|
-
label: "Client Image",
|
|
200
|
-
field_interface: "ImageWidget",
|
|
201
|
-
},
|
|
202
|
-
],
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
key: "button_prev",
|
|
206
|
-
label: "Button Prev",
|
|
207
|
-
field_interface: "ButtonWidget",
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
key: "button_next",
|
|
211
|
-
label: "Button Next",
|
|
212
|
-
field_interface: "ButtonWidget",
|
|
213
|
-
},
|
|
214
|
-
],
|
|
215
|
-
layouts: [
|
|
216
|
-
{
|
|
217
|
-
key: "default",
|
|
218
|
-
title: "Default",
|
|
219
|
-
styles: {
|
|
220
|
-
container: {
|
|
221
|
-
"max-width": "64rem",
|
|
222
|
-
"margin-left": "auto",
|
|
223
|
-
"margin-right": "auto",
|
|
224
|
-
"padding-top": "7xl",
|
|
225
|
-
"padding-bottom": "7xl",
|
|
226
|
-
"padding-left": "base",
|
|
227
|
-
"padding-right": "base",
|
|
228
|
-
tablet: {
|
|
229
|
-
"padding-left": "3xl",
|
|
230
|
-
"padding-right": "3xl",
|
|
231
|
-
},
|
|
232
|
-
},
|
|
233
|
-
title: {
|
|
234
|
-
"font-size": "4xl",
|
|
235
|
-
"font-weight": "600",
|
|
236
|
-
color: "text-1",
|
|
237
|
-
"margin-bottom": "5xl",
|
|
238
|
-
},
|
|
239
|
-
testimonials: TESTIMONIALS_STYLES,
|
|
240
|
-
},
|
|
241
|
-
content: DEFAULT_CONTENT,
|
|
242
|
-
config: {
|
|
243
|
-
button_prev: {
|
|
244
|
-
button_icons: {
|
|
245
|
-
left: {
|
|
246
|
-
enabled: true,
|
|
247
|
-
},
|
|
248
|
-
},
|
|
249
|
-
},
|
|
250
|
-
button_next: {
|
|
251
|
-
button_icons: {
|
|
252
|
-
right: {
|
|
253
|
-
enabled: true,
|
|
254
|
-
},
|
|
255
|
-
},
|
|
256
|
-
},
|
|
257
|
-
},
|
|
258
|
-
},
|
|
259
|
-
],
|
|
260
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type ILevoBlockBaseProps } from "@levo-so/studio";
|
|
2
|
-
import type { ITestimonial4Content } from "./testimonial-4.schema";
|
|
3
|
-
declare const Testimonial4: React.FC<ILevoBlockBaseProps<ITestimonial4Content>>;
|
|
4
|
-
export default Testimonial4;
|
|
5
|
-
//# sourceMappingURL=testimonial-4.d.ts.map
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Box, Button, Carousel, CarouselContent, CarouselItem, Container, Heading, Iframe, Icon, Media, Section, Typography, } from "@levo-so/studio";
|
|
3
|
-
import { useEffect, useState } from "react";
|
|
4
|
-
const Testimonial4 = ({ content, }) => {
|
|
5
|
-
const [api, setApi] = useState();
|
|
6
|
-
const [current, setCurrent] = useState(0);
|
|
7
|
-
const [count, setCount] = useState(0);
|
|
8
|
-
useEffect(() => {
|
|
9
|
-
if (!api) {
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
setCount(api.scrollSnapList().length);
|
|
13
|
-
setCurrent(api.selectedScrollSnap());
|
|
14
|
-
api.on("select", () => {
|
|
15
|
-
setCurrent(api.selectedScrollSnap());
|
|
16
|
-
});
|
|
17
|
-
}, [api]);
|
|
18
|
-
// Add disabled state logic
|
|
19
|
-
const isFirstSlide = current === 0;
|
|
20
|
-
const isLastSlide = current === count - 1;
|
|
21
|
-
const handlePrevious = () => {
|
|
22
|
-
if (api && !isFirstSlide) {
|
|
23
|
-
api.scrollTo(current - 1);
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
const handleNext = () => {
|
|
27
|
-
if (api && !isLastSlide) {
|
|
28
|
-
api.scrollTo(current + 1);
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
return (_jsx(Section, { elementKey: "layout", children: _jsxs(Container, { elementKey: "container", children: [_jsxs(Box, { elementKey: "header", children: [_jsxs(Box, { elementKey: "header-content", children: [_jsx(Box, { elementKey: "badge-container", children: _jsx(Typography, { elementKey: "badge-text" }) }), _jsx(Heading, { elementKey: "title" })] }), count > 0 && (_jsx(Box, { elementKey: "carousel-navigation-top-container", children: _jsxs(Box, { elementKey: "carousel-navigation", children: [_jsx(Button, { elementKey: "carousel-navigation-arrow-left", onClick: handlePrevious, disabled: isFirstSlide, style: {
|
|
32
|
-
opacity: isFirstSlide ? 0.5 : 1,
|
|
33
|
-
cursor: isFirstSlide ? "not-allowed" : "pointer",
|
|
34
|
-
} }), _jsx(Button, { elementKey: "carousel-navigation-arrow-right", onClick: handleNext, disabled: isLastSlide, style: {
|
|
35
|
-
opacity: isLastSlide ? 0.5 : 1,
|
|
36
|
-
cursor: isLastSlide ? "not-allowed" : "pointer",
|
|
37
|
-
} })] }) }))] }), _jsxs(Box, { elementKey: "carousel-container-wrapper", children: [count > 0 && (_jsx(Box, { elementKey: "carousel-left-arrow-container", children: _jsx(Button, { elementKey: "carousel-navigation-arrow-left", onClick: handlePrevious, disabled: isFirstSlide, style: {
|
|
38
|
-
opacity: isFirstSlide ? 0.5 : 1,
|
|
39
|
-
cursor: isFirstSlide ? "not-allowed" : "pointer",
|
|
40
|
-
} }) })), count > 0 && (_jsx(Box, { elementKey: "carousel-right-arrow-container", children: _jsx(Button, { elementKey: "carousel-navigation-arrow-right", onClick: handleNext, disabled: isLastSlide, style: {
|
|
41
|
-
opacity: isLastSlide ? 0.5 : 1,
|
|
42
|
-
cursor: isLastSlide ? "not-allowed" : "pointer",
|
|
43
|
-
} }) })), _jsx(Carousel, { elementKey: "testimonials_levoGroup", className: "w-full", setApi: setApi, "data-levo_group": true, children: _jsx(CarouselContent, { children: (content?.testimonials ?? [])?.map((_, index) => (_jsx(CarouselItem, { "data-levo_group_item": true, children: _jsxs(Box, { elementKey: `testimonials.${index}.testimonial`, children: [_jsxs(Box, { elementKey: `testimonials.${index}.cover-container`, children: [_jsx(Media, { elementKey: `testimonials.${index}.cover`, alt: "cover" }), _jsx(Iframe, { elementKey: `testimonials.${index}.cover_embed` })] }), _jsx(Box, { elementKey: `testimonials.${index}.testimonial-content-wrapper`, children: _jsxs(Box, { elementKey: `testimonials.${index}.testimonial-content`, children: [_jsx(Icon, { elementKey: `testimonials.${index}.icon` }), _jsxs(Box, { elementKey: `testimonials.${index}.testimonial-info`, children: [_jsx(Typography, { elementKey: `testimonials.${index}.testimonial-text` }), _jsxs(Box, { elementKey: `testimonials.${index}.author-wrapper`, children: [_jsx(Heading, { elementKey: `testimonials.${index}.author-name` }), _jsx(Typography, { elementKey: `testimonials.${index}.author-position` })] })] })] }) })] }) }, index))) }) })] }), _jsx(Heading, { elementKey: "title_two" }), count > 0 && (_jsx(Box, { elementKey: "carousel-navigation-bottom-container", children: _jsxs(Box, { elementKey: "carousel-navigation", children: [_jsx(Button, { elementKey: "carousel-navigation-arrow-left", onClick: handlePrevious, disabled: isFirstSlide, style: {
|
|
44
|
-
opacity: isFirstSlide ? 0.5 : 1,
|
|
45
|
-
cursor: isFirstSlide ? "not-allowed" : "pointer",
|
|
46
|
-
} }), _jsx(Button, { elementKey: "carousel-navigation-arrow-right", onClick: handleNext, disabled: isLastSlide, style: {
|
|
47
|
-
opacity: isLastSlide ? 0.5 : 1,
|
|
48
|
-
cursor: isLastSlide ? "not-allowed" : "pointer",
|
|
49
|
-
} })] }) }))] }) }));
|
|
50
|
-
};
|
|
51
|
-
export default Testimonial4;
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import type { IBlock } from "@levo-so/studio";
|
|
2
|
-
declare const DEFAULT_CONTENT: {
|
|
3
|
-
layout: null;
|
|
4
|
-
container: null;
|
|
5
|
-
header: null;
|
|
6
|
-
"header-content": null;
|
|
7
|
-
"badge-container": null;
|
|
8
|
-
"badge-text": string;
|
|
9
|
-
title: string;
|
|
10
|
-
testimonials: ({
|
|
11
|
-
testimonial: null;
|
|
12
|
-
"cover-container": null;
|
|
13
|
-
"testimonial-content-wrapper": null;
|
|
14
|
-
"testimonial-content": null;
|
|
15
|
-
icon: {
|
|
16
|
-
kind: string;
|
|
17
|
-
data: {
|
|
18
|
-
id: string;
|
|
19
|
-
label: string;
|
|
20
|
-
tags: string[];
|
|
21
|
-
svgCode: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
"testimonial-info": null;
|
|
25
|
-
"author-wrapper": null;
|
|
26
|
-
cover: {
|
|
27
|
-
id: string;
|
|
28
|
-
filename: string;
|
|
29
|
-
kind: string;
|
|
30
|
-
location: string;
|
|
31
|
-
srcset: {
|
|
32
|
-
"1080w": string;
|
|
33
|
-
"1200w": string;
|
|
34
|
-
"1920w": string;
|
|
35
|
-
"320w": string;
|
|
36
|
-
"640w": string;
|
|
37
|
-
"750w": string;
|
|
38
|
-
"828w": string;
|
|
39
|
-
path: string;
|
|
40
|
-
};
|
|
41
|
-
mimetype: string;
|
|
42
|
-
};
|
|
43
|
-
cover_embed: null;
|
|
44
|
-
"testimonial-text": string;
|
|
45
|
-
"author-name": string;
|
|
46
|
-
"author-position": string;
|
|
47
|
-
} | {
|
|
48
|
-
testimonial: null;
|
|
49
|
-
"cover-container": null;
|
|
50
|
-
"testimonial-content-wrapper": null;
|
|
51
|
-
"testimonial-content": null;
|
|
52
|
-
icon: {
|
|
53
|
-
kind: string;
|
|
54
|
-
data: {
|
|
55
|
-
id: string;
|
|
56
|
-
label: string;
|
|
57
|
-
tags: string[];
|
|
58
|
-
svgCode: string;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
"testimonial-info": null;
|
|
62
|
-
"author-wrapper": null;
|
|
63
|
-
cover: {
|
|
64
|
-
id: string;
|
|
65
|
-
location: string;
|
|
66
|
-
kind: string;
|
|
67
|
-
mimetype: string;
|
|
68
|
-
srcset: {
|
|
69
|
-
"1080w": string;
|
|
70
|
-
"1200w": string;
|
|
71
|
-
"1920w": string;
|
|
72
|
-
"320w": string;
|
|
73
|
-
"640w": string;
|
|
74
|
-
"750w": string;
|
|
75
|
-
"828w": string;
|
|
76
|
-
path: string;
|
|
77
|
-
};
|
|
78
|
-
filename?: undefined;
|
|
79
|
-
};
|
|
80
|
-
cover_embed: null;
|
|
81
|
-
"testimonial-text": string;
|
|
82
|
-
"author-name": string;
|
|
83
|
-
"author-position": string;
|
|
84
|
-
})[];
|
|
85
|
-
"carousel-navigation": null;
|
|
86
|
-
"carousel-navigation-arrow-left": string;
|
|
87
|
-
"carousel-navigation-arrow-right": string;
|
|
88
|
-
"button-prev-icon": {
|
|
89
|
-
id: string;
|
|
90
|
-
filename: string;
|
|
91
|
-
kind: string;
|
|
92
|
-
location: string;
|
|
93
|
-
srcset: {
|
|
94
|
-
"1080w": string;
|
|
95
|
-
"1200w": string;
|
|
96
|
-
"1920w": string;
|
|
97
|
-
"320w": string;
|
|
98
|
-
"640w": string;
|
|
99
|
-
"750w": string;
|
|
100
|
-
"828w": string;
|
|
101
|
-
path: string;
|
|
102
|
-
};
|
|
103
|
-
mimetype: string;
|
|
104
|
-
};
|
|
105
|
-
"button-next-icon": {
|
|
106
|
-
id: string;
|
|
107
|
-
filename: string;
|
|
108
|
-
kind: string;
|
|
109
|
-
location: string;
|
|
110
|
-
srcset: {
|
|
111
|
-
"1080w": string;
|
|
112
|
-
"1200w": string;
|
|
113
|
-
"1920w": string;
|
|
114
|
-
"320w": string;
|
|
115
|
-
"640w": string;
|
|
116
|
-
"750w": string;
|
|
117
|
-
"828w": string;
|
|
118
|
-
path: string;
|
|
119
|
-
};
|
|
120
|
-
mimetype: string;
|
|
121
|
-
};
|
|
122
|
-
title_two: string;
|
|
123
|
-
"carousel-navigation-arrow-left_leftIcon": {
|
|
124
|
-
kind: string;
|
|
125
|
-
data: {
|
|
126
|
-
id: string;
|
|
127
|
-
label: string;
|
|
128
|
-
tags: string[];
|
|
129
|
-
svgCode: string;
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
"carousel-navigation-arrow-right_rightIcon": {
|
|
133
|
-
kind: string;
|
|
134
|
-
data: {
|
|
135
|
-
id: string;
|
|
136
|
-
label: string;
|
|
137
|
-
tags: string[];
|
|
138
|
-
svgCode: string;
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
export type ITestimonial4Content = typeof DEFAULT_CONTENT;
|
|
143
|
-
export declare const Testimonial4: IBlock;
|
|
144
|
-
export {};
|
|
145
|
-
//# sourceMappingURL=testimonial-4.schema.d.ts.map
|