@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,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Section, Container, Typography, Heading, Box, Icon, Image, Button, } from "@levo-so/studio";
|
|
3
|
-
const EventListing2 = ({ content, }) => (_jsx(Section, { elementKey: "layout", children: _jsxs(Container, { elementKey: "container", children: [_jsxs(Box, { elementKey: "header-section", children: [_jsxs(Box, { elementKey: "header-content", children: [_jsx(Heading, { elementKey: "title" }), _jsx(Typography, { elementKey: "description" })] }), _jsx(Button, { elementKey: "cta-button" })] }), _jsx(Box, { elementKey: "events_levoGroup", "data-levo_group": true, children: (content.events ?? []).map((_, index) => (_jsxs(Box, { "data-levo_group_item": true, elementKey: `events.${index}.eventWrapper`, children: [_jsx(Image, { elementKey: `events.${index}.image`, alt: "Event image" }), _jsxs(Box, { elementKey: `events.${index}.content-wrapper`, children: [_jsx(Heading, { elementKey: `events.${index}.title` }), _jsx(Typography, { elementKey: `events.${index}.description` }), _jsx(Box, { elementKey: `events.${index}.details_levoGroup`, "data-levo_group": true, children: (content.events?.[index]?.details ?? []).map((_, detailIndex) => (_jsxs(Box, { "data-levo_group_item": true, elementKey: `events.${index}.details.${detailIndex}.detailWrapper`, children: [_jsx(Icon, { elementKey: `events.${index}.details.${detailIndex}.icon` }), _jsx(Typography, { elementKey: `events.${index}.details.${detailIndex}.text` })] }, `detail-${detailIndex}`))) })] })] }, `event-${index}`))) })] }) }));
|
|
4
|
-
export default EventListing2;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import type { IBlock } from "@levo-so/studio";
|
|
2
|
-
declare const DEFAULT_CONTENT: {
|
|
3
|
-
layout: null;
|
|
4
|
-
container: null;
|
|
5
|
-
"header-section": null;
|
|
6
|
-
title: string;
|
|
7
|
-
description: string;
|
|
8
|
-
"cta-button": string;
|
|
9
|
-
events: ({
|
|
10
|
-
eventWrapper: null;
|
|
11
|
-
image: {
|
|
12
|
-
id: string;
|
|
13
|
-
filename: string;
|
|
14
|
-
kind: string;
|
|
15
|
-
location: string;
|
|
16
|
-
srcset: {
|
|
17
|
-
"1080w": string;
|
|
18
|
-
"1200w": string;
|
|
19
|
-
"1920w": string;
|
|
20
|
-
"320w": string;
|
|
21
|
-
"640w": string;
|
|
22
|
-
"750w": string;
|
|
23
|
-
"828w": string;
|
|
24
|
-
path: string;
|
|
25
|
-
};
|
|
26
|
-
mimetype: string;
|
|
27
|
-
};
|
|
28
|
-
"content-wrapper": null;
|
|
29
|
-
title: string;
|
|
30
|
-
description: string;
|
|
31
|
-
details: {
|
|
32
|
-
detailWrapper: null;
|
|
33
|
-
icon: {
|
|
34
|
-
kind: string;
|
|
35
|
-
data: {
|
|
36
|
-
id: string;
|
|
37
|
-
label: string;
|
|
38
|
-
tags: string[];
|
|
39
|
-
svgCode: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
text: string;
|
|
43
|
-
}[];
|
|
44
|
-
} | {
|
|
45
|
-
eventWrapper: null;
|
|
46
|
-
image: {
|
|
47
|
-
id: string;
|
|
48
|
-
location: string;
|
|
49
|
-
kind: string;
|
|
50
|
-
mimetype: string;
|
|
51
|
-
srcset: {
|
|
52
|
-
"1080w": string;
|
|
53
|
-
"1200w": string;
|
|
54
|
-
"1920w": string;
|
|
55
|
-
"320w": string;
|
|
56
|
-
"640w": string;
|
|
57
|
-
"750w": string;
|
|
58
|
-
"828w": string;
|
|
59
|
-
path: string;
|
|
60
|
-
};
|
|
61
|
-
filename?: undefined;
|
|
62
|
-
};
|
|
63
|
-
"content-wrapper": null;
|
|
64
|
-
title: string;
|
|
65
|
-
description: string;
|
|
66
|
-
details: {
|
|
67
|
-
detailWrapper: null;
|
|
68
|
-
icon: {
|
|
69
|
-
kind: string;
|
|
70
|
-
data: {
|
|
71
|
-
id: string;
|
|
72
|
-
label: string;
|
|
73
|
-
tags: string[];
|
|
74
|
-
svgCode: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
text: string;
|
|
78
|
-
}[];
|
|
79
|
-
})[];
|
|
80
|
-
};
|
|
81
|
-
export type IEventListing2Content = typeof DEFAULT_CONTENT;
|
|
82
|
-
export declare const EventListing2: IBlock;
|
|
83
|
-
export {};
|
|
84
|
-
//# sourceMappingURL=event-listing-2.schema.d.ts.map
|
|
@@ -1,455 +0,0 @@
|
|
|
1
|
-
const DUMMY_ICON = {
|
|
2
|
-
kind: "icon",
|
|
3
|
-
data: {
|
|
4
|
-
id: "archive-minus",
|
|
5
|
-
label: "Archive Minus",
|
|
6
|
-
tags: ["archive", "custom", "directional", "minus"],
|
|
7
|
-
svgCode: '<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.5 11.4H9.5C9.09 11.4 8.75 11.06 8.75 10.65C8.75 10.24 9.09 9.90002 9.5 9.90002H14.5C14.91 9.90002 15.25 10.24 15.25 10.65C15.25 11.06 14.91 11.4 14.5 11.4Z" fill="var(--color-icon-primary)"/>\n<path d="M4.92957 22.75C4.50957 22.75 4.11957 22.65 3.76957 22.45C2.99957 22 2.55957 21.09 2.55957 19.96V5.86C2.55957 3.32 4.62957 1.25 7.16957 1.25H16.8196C19.3596 1.25 21.4296 3.32 21.4296 5.86V19.95C21.4296 21.08 20.9896 21.99 20.2196 22.44C19.4496 22.89 18.4396 22.84 17.4496 22.29L12.5696 19.58C12.2796 19.42 11.7096 19.42 11.4196 19.58L6.53957 22.29C5.99957 22.59 5.44957 22.75 4.92957 22.75ZM7.17957 2.75C5.46957 2.75 4.06957 4.15 4.06957 5.86V19.95C4.06957 20.54 4.23957 20.98 4.53957 21.15C4.83957 21.33 5.30957 21.27 5.81957 20.98L10.6996 18.27C11.4396 17.86 12.5596 17.86 13.2996 18.27L18.1796 20.98C18.6896 21.27 19.1596 21.33 19.4596 21.15C19.7596 20.97 19.9296 20.53 19.9296 19.95V5.86C19.9296 4.15 18.5296 2.75 16.8196 2.75H7.17957Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
8
|
-
},
|
|
9
|
-
};
|
|
10
|
-
const DEFAULT_CONTENT = {
|
|
11
|
-
layout: null,
|
|
12
|
-
container: null,
|
|
13
|
-
"header-section": null,
|
|
14
|
-
title: "Events",
|
|
15
|
-
description: "Stay updated on our upcoming community gatherings, workshops, and networking events!",
|
|
16
|
-
"cta-button": "View all",
|
|
17
|
-
events: [
|
|
18
|
-
{
|
|
19
|
-
eventWrapper: null,
|
|
20
|
-
image: {
|
|
21
|
-
id: "w9fEtJuVtBFgU",
|
|
22
|
-
filename: "image.png",
|
|
23
|
-
kind: "image",
|
|
24
|
-
location: "https://space.levo.in.net/W6OEVMW8/image-6HgF6xxhyiHBm.png",
|
|
25
|
-
srcset: {
|
|
26
|
-
"1080w": "https://space.levo.in.net/W6OEVMW8/image-6HgF6xxhyiHBm-1080w.webp",
|
|
27
|
-
"1200w": "https://space.levo.in.net/W6OEVMW8/image-6HgF6xxhyiHBm-1200w.webp",
|
|
28
|
-
"1920w": "https://space.levo.in.net/W6OEVMW8/image-6HgF6xxhyiHBm-1920w.webp",
|
|
29
|
-
"320w": "https://space.levo.in.net/W6OEVMW8/image-6HgF6xxhyiHBm-320w.webp",
|
|
30
|
-
"640w": "https://space.levo.in.net/W6OEVMW8/image-6HgF6xxhyiHBm-640w.webp",
|
|
31
|
-
"750w": "https://space.levo.in.net/W6OEVMW8/image-6HgF6xxhyiHBm-750w.webp",
|
|
32
|
-
"828w": "https://space.levo.in.net/W6OEVMW8/image-6HgF6xxhyiHBm-828w.webp",
|
|
33
|
-
path: "https://space.levo.in.net/W6OEVMW8/image-6HgF6xxhyiHBm-750w.webp 750w, https://space.levo.in.net/W6OEVMW8/image-6HgF6xxhyiHBm-828w.webp 828w, https://space.levo.in.net/W6OEVMW8/image-6HgF6xxhyiHBm-1080w.webp 1080w, https://space.levo.in.net/W6OEVMW8/image-6HgF6xxhyiHBm-1200w.webp 1200w, https://space.levo.in.net/W6OEVMW8/image-6HgF6xxhyiHBm-1920w.webp 1920w, https://space.levo.in.net/W6OEVMW8/image-6HgF6xxhyiHBm-320w.webp 320w, https://space.levo.in.net/W6OEVMW8/image-6HgF6xxhyiHBm-640w.webp 640w",
|
|
34
|
-
},
|
|
35
|
-
mimetype: "image/png",
|
|
36
|
-
},
|
|
37
|
-
"content-wrapper": null,
|
|
38
|
-
title: "Afghan American Inauguration",
|
|
39
|
-
description: "Join us for this historic celebration of community leadership and cultural pride.",
|
|
40
|
-
details: [
|
|
41
|
-
{
|
|
42
|
-
detailWrapper: null,
|
|
43
|
-
icon: DUMMY_ICON,
|
|
44
|
-
text: "3:00 PM - 6:00 PM",
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
detailWrapper: null,
|
|
48
|
-
icon: DUMMY_ICON,
|
|
49
|
-
text: "2200 Harvard St, Sacramento, CA 95815",
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
detailWrapper: null,
|
|
53
|
-
icon: DUMMY_ICON,
|
|
54
|
-
text: "11 Apr",
|
|
55
|
-
},
|
|
56
|
-
],
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
eventWrapper: null,
|
|
60
|
-
image: {
|
|
61
|
-
id: "7141014160938075687",
|
|
62
|
-
location: "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH.png",
|
|
63
|
-
kind: "image",
|
|
64
|
-
mimetype: "image/png",
|
|
65
|
-
srcset: {
|
|
66
|
-
"1080w": "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp",
|
|
67
|
-
"1200w": "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp",
|
|
68
|
-
"1920w": "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp",
|
|
69
|
-
"320w": "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp",
|
|
70
|
-
"640w": "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp",
|
|
71
|
-
"750w": "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp",
|
|
72
|
-
"828w": "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp",
|
|
73
|
-
path: "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp 828w",
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
"content-wrapper": null,
|
|
77
|
-
title: "Community Health Workshop",
|
|
78
|
-
description: "Learn about wellness resources and health services available in our community.",
|
|
79
|
-
details: [
|
|
80
|
-
{
|
|
81
|
-
detailWrapper: null,
|
|
82
|
-
icon: DUMMY_ICON,
|
|
83
|
-
text: "10:00 AM - 2:00 PM",
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
detailWrapper: null,
|
|
87
|
-
icon: DUMMY_ICON,
|
|
88
|
-
text: "1500 Main St, Sacramento, CA 95814",
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
detailWrapper: null,
|
|
92
|
-
icon: DUMMY_ICON,
|
|
93
|
-
text: "25 Apr",
|
|
94
|
-
},
|
|
95
|
-
],
|
|
96
|
-
},
|
|
97
|
-
],
|
|
98
|
-
};
|
|
99
|
-
export const EventListing2 = {
|
|
100
|
-
category_id: "event",
|
|
101
|
-
title: "Event Listing 2",
|
|
102
|
-
key: "event-listing-2",
|
|
103
|
-
version: "v1",
|
|
104
|
-
prompt_description: "Event listing with header section containing title, description and CTA button, followed by event cards with images and detailed information including time, location, and date with icons",
|
|
105
|
-
content_schema: [
|
|
106
|
-
{
|
|
107
|
-
key: "layout",
|
|
108
|
-
label: "Layout",
|
|
109
|
-
field_interface: "LayoutWidget",
|
|
110
|
-
hint: {
|
|
111
|
-
prompt_description: "Defines the overall structure and layout of the Event Listing 2 block. No content generation required.",
|
|
112
|
-
},
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
key: "container",
|
|
116
|
-
label: "Container",
|
|
117
|
-
field_interface: "ContainerWidget",
|
|
118
|
-
hint: {
|
|
119
|
-
prompt_description: "Contains the whole Event Listing 2 section, providing spacing and alignment for visual consistency. No content generation required.",
|
|
120
|
-
},
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
key: "header-section",
|
|
124
|
-
label: "Header Section",
|
|
125
|
-
field_interface: "BoxWidget",
|
|
126
|
-
hint: {
|
|
127
|
-
prompt_description: "Container for the header content including title, description, and CTA button. No content generation required.",
|
|
128
|
-
},
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
key: "header-content",
|
|
132
|
-
label: "Header Content",
|
|
133
|
-
field_interface: "BoxWidget",
|
|
134
|
-
hint: {
|
|
135
|
-
prompt_description: "Wrapper for the title and description to enable flex layout styling. No content generation required.",
|
|
136
|
-
},
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
key: "title",
|
|
140
|
-
label: "Title",
|
|
141
|
-
field_interface: "HeadingWidget",
|
|
142
|
-
hint: {
|
|
143
|
-
prompt_description: "Main heading for the events section. Should be clear and engaging, indicating the purpose of the section.",
|
|
144
|
-
min_characters: 5,
|
|
145
|
-
max_characters: 20,
|
|
146
|
-
},
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
key: "description",
|
|
150
|
-
label: "Description",
|
|
151
|
-
field_interface: "TypographyWidget",
|
|
152
|
-
hint: {
|
|
153
|
-
prompt_description: "Supporting text that provides context about the events. Should be informative and encouraging.",
|
|
154
|
-
min_characters: 50,
|
|
155
|
-
max_characters: 150,
|
|
156
|
-
},
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
key: "cta-button",
|
|
160
|
-
label: "CTA Button",
|
|
161
|
-
field_interface: "ButtonWidget",
|
|
162
|
-
hint: {
|
|
163
|
-
prompt_description: "Call-to-action button that encourages users to explore more events. Should be action-oriented.",
|
|
164
|
-
min_characters: 6,
|
|
165
|
-
max_characters: 15,
|
|
166
|
-
},
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
key: "events",
|
|
170
|
-
label: "Events",
|
|
171
|
-
field_interface: "BoxWidget",
|
|
172
|
-
kind: "group",
|
|
173
|
-
fields: [
|
|
174
|
-
{
|
|
175
|
-
key: "eventWrapper",
|
|
176
|
-
label: "Event Wrapper",
|
|
177
|
-
field_interface: "BoxWidget",
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
key: "image",
|
|
181
|
-
label: "Event Image",
|
|
182
|
-
field_interface: "ImageWidget",
|
|
183
|
-
hint: {
|
|
184
|
-
prompt_description: "Featured image for the event. Should be engaging and relevant to the event content.",
|
|
185
|
-
orientation: "landscape",
|
|
186
|
-
size: "medium",
|
|
187
|
-
usecase: "hero",
|
|
188
|
-
},
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
key: "content-wrapper",
|
|
192
|
-
label: "Content Wrapper",
|
|
193
|
-
field_interface: "BoxWidget",
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
key: "title",
|
|
197
|
-
label: "Event Title",
|
|
198
|
-
field_interface: "HeadingWidget",
|
|
199
|
-
hint: {
|
|
200
|
-
prompt_description: "Name of the event. Should be clear, descriptive, and engaging.",
|
|
201
|
-
min_characters: 15,
|
|
202
|
-
max_characters: 50,
|
|
203
|
-
},
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
key: "description",
|
|
207
|
-
label: "Event Description",
|
|
208
|
-
field_interface: "TypographyWidget",
|
|
209
|
-
hint: {
|
|
210
|
-
prompt_description: "Brief description of the event, highlighting key benefits or features that would interest attendees.",
|
|
211
|
-
min_characters: 40,
|
|
212
|
-
max_characters: 120,
|
|
213
|
-
},
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
key: "details",
|
|
217
|
-
label: "Event Details",
|
|
218
|
-
field_interface: "BoxWidget",
|
|
219
|
-
kind: "group",
|
|
220
|
-
fields: [
|
|
221
|
-
{
|
|
222
|
-
key: "detailWrapper",
|
|
223
|
-
label: "Detail Wrapper",
|
|
224
|
-
field_interface: "BoxWidget",
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
key: "icon",
|
|
228
|
-
label: "Detail Icon",
|
|
229
|
-
field_interface: "ImageWidget",
|
|
230
|
-
hint: {
|
|
231
|
-
prompt_description: "Icon representing the type of detail (time, location, date). Should be simple and recognizable.",
|
|
232
|
-
orientation: "square",
|
|
233
|
-
size: "icon",
|
|
234
|
-
usecase: "icon",
|
|
235
|
-
},
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
key: "text",
|
|
239
|
-
label: "Detail Text",
|
|
240
|
-
field_interface: "TypographyWidget",
|
|
241
|
-
hint: {
|
|
242
|
-
prompt_description: "Detail information such as time, location, or date. Should be clear and specific.",
|
|
243
|
-
min_characters: 5,
|
|
244
|
-
max_characters: 50,
|
|
245
|
-
},
|
|
246
|
-
},
|
|
247
|
-
],
|
|
248
|
-
hint: {
|
|
249
|
-
prompt_description: "Collection of event details including time, location, and date with corresponding icons.",
|
|
250
|
-
min_items: 3,
|
|
251
|
-
max_items: 3,
|
|
252
|
-
},
|
|
253
|
-
},
|
|
254
|
-
],
|
|
255
|
-
hint: {
|
|
256
|
-
prompt_description: "Collection of events with images, titles, descriptions, and detailed information about time, location, and date.",
|
|
257
|
-
min_items: 3,
|
|
258
|
-
max_items: 6,
|
|
259
|
-
},
|
|
260
|
-
},
|
|
261
|
-
],
|
|
262
|
-
layouts: [
|
|
263
|
-
{
|
|
264
|
-
key: "default",
|
|
265
|
-
title: "Default",
|
|
266
|
-
styles: {
|
|
267
|
-
layout: {
|
|
268
|
-
"padding-top": "4xl",
|
|
269
|
-
"padding-bottom": "4xl",
|
|
270
|
-
"padding-left": "xl",
|
|
271
|
-
"padding-right": "xl",
|
|
272
|
-
filter: "none",
|
|
273
|
-
},
|
|
274
|
-
container: {
|
|
275
|
-
"max-width": "1280px",
|
|
276
|
-
"margin-left": "auto",
|
|
277
|
-
"margin-right": "auto",
|
|
278
|
-
display: "flex",
|
|
279
|
-
"flex-direction": "column",
|
|
280
|
-
"row-gap": "3xl",
|
|
281
|
-
filter: "none",
|
|
282
|
-
},
|
|
283
|
-
"header-section": {
|
|
284
|
-
display: "flex",
|
|
285
|
-
"flex-direction": "row",
|
|
286
|
-
"align-items": "center",
|
|
287
|
-
"text-align": "center",
|
|
288
|
-
"row-gap": "lg",
|
|
289
|
-
"margin-bottom": "xl",
|
|
290
|
-
filter: "none",
|
|
291
|
-
"justify-content": "space-between",
|
|
292
|
-
tablet: {
|
|
293
|
-
"flex-direction": "column",
|
|
294
|
-
},
|
|
295
|
-
mobile: {
|
|
296
|
-
"flex-direction": "column",
|
|
297
|
-
},
|
|
298
|
-
},
|
|
299
|
-
"header-content": {
|
|
300
|
-
display: "flex",
|
|
301
|
-
"flex-direction": "column",
|
|
302
|
-
"row-gap": "base",
|
|
303
|
-
"text-align": "left",
|
|
304
|
-
mobile: {
|
|
305
|
-
"text-align": "center",
|
|
306
|
-
},
|
|
307
|
-
},
|
|
308
|
-
title: {
|
|
309
|
-
"font-size": "4xl",
|
|
310
|
-
"font-weight": "700",
|
|
311
|
-
color: "text-1",
|
|
312
|
-
mobile: {
|
|
313
|
-
"font-size": "3xl",
|
|
314
|
-
},
|
|
315
|
-
},
|
|
316
|
-
description: {
|
|
317
|
-
"font-size": "lg",
|
|
318
|
-
color: "text-2",
|
|
319
|
-
"max-width": "600px",
|
|
320
|
-
"line-height": "1.6",
|
|
321
|
-
},
|
|
322
|
-
"cta-button": {
|
|
323
|
-
"background-color": "background-1",
|
|
324
|
-
color: "text-1",
|
|
325
|
-
"padding-top": "base",
|
|
326
|
-
"padding-bottom": "base",
|
|
327
|
-
"padding-left": "xl",
|
|
328
|
-
"padding-right": "xl",
|
|
329
|
-
"border-radius": "lg",
|
|
330
|
-
"font-weight": "500",
|
|
331
|
-
"border-color": "border",
|
|
332
|
-
},
|
|
333
|
-
events_levoGroup: {
|
|
334
|
-
display: "grid",
|
|
335
|
-
"grid-template-columns": "repeat(2, minmax(0, 1fr))",
|
|
336
|
-
"column-gap": "2xl",
|
|
337
|
-
"row-gap": "2xl",
|
|
338
|
-
tablet: {
|
|
339
|
-
"grid-template-columns": "repeat(2, minmax(0, 1fr))",
|
|
340
|
-
},
|
|
341
|
-
mobile: {
|
|
342
|
-
"grid-template-columns": "repeat(1, minmax(0, 1fr))",
|
|
343
|
-
},
|
|
344
|
-
filter: "none",
|
|
345
|
-
},
|
|
346
|
-
events: Array(2)
|
|
347
|
-
?.fill(0)
|
|
348
|
-
.map((v) => {
|
|
349
|
-
return {
|
|
350
|
-
eventWrapper: {
|
|
351
|
-
"background-color": "white",
|
|
352
|
-
"border-radius": "xl",
|
|
353
|
-
overflow: "hidden",
|
|
354
|
-
"box-shadow": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
|
|
355
|
-
display: "flex",
|
|
356
|
-
"flex-direction": "column",
|
|
357
|
-
filter: "none",
|
|
358
|
-
"padding-bottom": "none",
|
|
359
|
-
height: "min-content",
|
|
360
|
-
},
|
|
361
|
-
image: {
|
|
362
|
-
width: "100%",
|
|
363
|
-
height: "auto",
|
|
364
|
-
"object-fit": "cover",
|
|
365
|
-
filter: "none",
|
|
366
|
-
"min-height": "260px",
|
|
367
|
-
},
|
|
368
|
-
"content-wrapper": {
|
|
369
|
-
"padding-left": "xl",
|
|
370
|
-
"padding-right": "xl",
|
|
371
|
-
"padding-top": "lg",
|
|
372
|
-
"padding-bottom": "xl",
|
|
373
|
-
display: "flex",
|
|
374
|
-
"flex-direction": "column",
|
|
375
|
-
"row-gap": "base",
|
|
376
|
-
filter: "none",
|
|
377
|
-
"background-color": "white",
|
|
378
|
-
},
|
|
379
|
-
title: {
|
|
380
|
-
"font-size": "xl",
|
|
381
|
-
"font-weight": "600",
|
|
382
|
-
color: "text-1",
|
|
383
|
-
"line-height": "1.3",
|
|
384
|
-
filter: "none",
|
|
385
|
-
},
|
|
386
|
-
description: {
|
|
387
|
-
"font-size": "base",
|
|
388
|
-
color: "text-2",
|
|
389
|
-
"line-height": "1.5",
|
|
390
|
-
"margin-bottom": "sm",
|
|
391
|
-
filter: "none",
|
|
392
|
-
display: "none",
|
|
393
|
-
},
|
|
394
|
-
details_levoGroup: {
|
|
395
|
-
display: "flex",
|
|
396
|
-
"flex-direction": "column",
|
|
397
|
-
"row-gap": "xs",
|
|
398
|
-
filter: "none",
|
|
399
|
-
},
|
|
400
|
-
details: [
|
|
401
|
-
{
|
|
402
|
-
detailWrapper: {
|
|
403
|
-
display: "flex",
|
|
404
|
-
"align-items": "center",
|
|
405
|
-
"column-gap": "sm",
|
|
406
|
-
filter: "none",
|
|
407
|
-
},
|
|
408
|
-
icon: {
|
|
409
|
-
width: "22px",
|
|
410
|
-
height: "22px",
|
|
411
|
-
"flex-shrink": "0",
|
|
412
|
-
filter: "none",
|
|
413
|
-
},
|
|
414
|
-
text: {
|
|
415
|
-
"font-size": "sm",
|
|
416
|
-
color: "text-2",
|
|
417
|
-
"line-height": "1.4",
|
|
418
|
-
},
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
icon: {
|
|
422
|
-
filter: "none",
|
|
423
|
-
width: "22px",
|
|
424
|
-
height: "22px",
|
|
425
|
-
},
|
|
426
|
-
detailWrapper: {
|
|
427
|
-
filter: "none",
|
|
428
|
-
display: "flex",
|
|
429
|
-
"column-gap": "sm",
|
|
430
|
-
},
|
|
431
|
-
text: {
|
|
432
|
-
filter: "none",
|
|
433
|
-
},
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
icon: {
|
|
437
|
-
filter: "none",
|
|
438
|
-
height: "22px",
|
|
439
|
-
width: "22px",
|
|
440
|
-
},
|
|
441
|
-
detailWrapper: {
|
|
442
|
-
filter: "none",
|
|
443
|
-
display: "flex",
|
|
444
|
-
"column-gap": "sm",
|
|
445
|
-
},
|
|
446
|
-
},
|
|
447
|
-
],
|
|
448
|
-
};
|
|
449
|
-
}),
|
|
450
|
-
},
|
|
451
|
-
content: DEFAULT_CONTENT,
|
|
452
|
-
config: {},
|
|
453
|
-
},
|
|
454
|
-
],
|
|
455
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ILevoBlockBaseProps } from "@levo-so/studio";
|
|
2
|
-
import type { IEventListing3 } from "./event-listing-3.schema";
|
|
3
|
-
declare const EventListing3: React.FC<ILevoBlockBaseProps<IEventListing3>>;
|
|
4
|
-
export default EventListing3;
|
|
5
|
-
//# sourceMappingURL=event-listing-3.d.ts.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import dayjs from "dayjs";
|
|
3
|
-
import { Section, Container, Typography, Heading, Box, Icon, Image, useContentEngine, Button, } from "@levo-so/studio";
|
|
4
|
-
const EventListing3 = () => {
|
|
5
|
-
const { data, query, setQuery, meta } = useContentEngine("events");
|
|
6
|
-
const handleNext = () => setQuery({ page: (query?.page || 0) + 1 });
|
|
7
|
-
const handlePrevious = () => setQuery({ page: (query?.page || 0) - 1 });
|
|
8
|
-
return (_jsx(Section, { elementKey: "layout", children: _jsxs(Container, { elementKey: "container", children: [_jsxs(Box, { elementKey: "header-container", children: [_jsx(Heading, { elementKey: "title" }), _jsx(Button, { elementKey: "cta-button" })] }), _jsx(Box, { elementKey: "events_levoGroup", "data-levo_group": true, children: (data || [])?.map((item, index) => (_jsxs(Box, { "data-levo_group_item": true, elementKey: `events.${index}.eventWrapper`, children: [_jsx(Image, { elementKey: `events.${index}.image`, alt: "event poster" }), _jsxs(Box, { elementKey: `events.${index}.text-wrapper`, children: [_jsxs(Box, { elementKey: `events.${index}.text-container`, children: [_jsxs(Box, { elementKey: `events.${index}.date-wrapper`, children: [_jsx(Icon, { elementKey: `events.${index}.date-icon` }), _jsx(Typography, { elementKey: `events.${index}.publishedAt-header`, children: dayjs(item?.starts_at).format("MMM D, YYYY") })] }), _jsxs(Box, { elementKey: `events.${index}.author-wrapper`, children: [_jsx(Icon, { elementKey: `events.${index}.author-image` }), _jsx(Typography, { elementKey: `events.${index}.author-name` })] })] }), _jsxs(Box, { elementKey: `events.${index}.content-container`, children: [_jsx(Typography, { elementKey: `events.${index}.title` }), _jsx(Typography, { elementKey: `events.${index}.description` }), _jsx(Typography, { elementKey: `events.${index}.publishedAt`, children: dayjs(item?.starts_at).format("MMM D, YYYY") }), _jsx(Button, { elementKey: `events.${index}.cta` })] })] })] }, `events-listing-element-${index}`))) }), _jsxs(Box, { elementKey: "paginationWrapper", children: [_jsx(Button, { elementKey: "paginationLeftButton", disabled: query?.page === 1, onClick: handlePrevious, children: _jsx(Icon, { elementKey: "paginationLeftIcon" }) }), _jsxs(Typography, { elementKey: "paginationText", children: [query?.page, "/", meta?.pages] }), _jsx(Button, { elementKey: "paginationRightButton", onClick: handleNext, disabled: query?.page === meta?.pages, children: _jsx(Icon, { elementKey: "paginationRightIcon" }) })] })] }) }));
|
|
9
|
-
};
|
|
10
|
-
export default EventListing3;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import type { IBlock } from "@levo-so/studio";
|
|
2
|
-
declare const DEFAULT_CONTENT: {
|
|
3
|
-
layout: null;
|
|
4
|
-
container: null;
|
|
5
|
-
"header-container": null;
|
|
6
|
-
title: string;
|
|
7
|
-
"cta-button": string;
|
|
8
|
-
events: {
|
|
9
|
-
eventWrapper: null;
|
|
10
|
-
image: {
|
|
11
|
-
id: string;
|
|
12
|
-
location: string;
|
|
13
|
-
kind: string;
|
|
14
|
-
mimetype: string;
|
|
15
|
-
srcset: {
|
|
16
|
-
"1080w": string;
|
|
17
|
-
"1200w": string;
|
|
18
|
-
"1920w": string;
|
|
19
|
-
"320w": string;
|
|
20
|
-
"640w": string;
|
|
21
|
-
"750w": string;
|
|
22
|
-
"828w": string;
|
|
23
|
-
path: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
"text-wrapper": null;
|
|
27
|
-
"text-container": null;
|
|
28
|
-
"caption-text": string;
|
|
29
|
-
"date-wrapper": null;
|
|
30
|
-
"date-icon": {
|
|
31
|
-
kind: string;
|
|
32
|
-
data: {
|
|
33
|
-
id: string;
|
|
34
|
-
label: string;
|
|
35
|
-
tags: string[];
|
|
36
|
-
svgCode: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
"publishedAt-header": string;
|
|
40
|
-
"author-wrapper": null;
|
|
41
|
-
"author-image": {
|
|
42
|
-
kind: string;
|
|
43
|
-
data: {
|
|
44
|
-
id: string;
|
|
45
|
-
label: string;
|
|
46
|
-
tags: string[];
|
|
47
|
-
svgCode: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
"author-info-wrapper": null;
|
|
51
|
-
"author-name": string;
|
|
52
|
-
title: string;
|
|
53
|
-
description: string;
|
|
54
|
-
publishedAt: string;
|
|
55
|
-
cta: string;
|
|
56
|
-
}[];
|
|
57
|
-
paginationWrapper: null;
|
|
58
|
-
paginationLeftButton: string;
|
|
59
|
-
paginationLeftIcon: {
|
|
60
|
-
id: string;
|
|
61
|
-
kind: string;
|
|
62
|
-
location: string;
|
|
63
|
-
srcset: {};
|
|
64
|
-
};
|
|
65
|
-
paginationText: string;
|
|
66
|
-
paginationRightButton: string;
|
|
67
|
-
paginationRightIcon: {
|
|
68
|
-
id: string;
|
|
69
|
-
kind: string;
|
|
70
|
-
location: string;
|
|
71
|
-
srcset: {};
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
export type IEventListing3 = typeof DEFAULT_CONTENT;
|
|
75
|
-
export declare const EventListing3: IBlock;
|
|
76
|
-
export {};
|
|
77
|
-
//# sourceMappingURL=event-listing-3.schema.d.ts.map
|