@opensite/ui 0.4.0 → 0.4.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/dist/about-company-profile.d.cts +2 -2
- package/dist/about-company-profile.d.ts +2 -2
- package/dist/about-developer-profile.d.cts +2 -2
- package/dist/about-developer-profile.d.ts +2 -2
- package/dist/about-developer-story.d.cts +2 -2
- package/dist/about-developer-story.d.ts +2 -2
- package/dist/about-interactive-tabs.d.cts +2 -2
- package/dist/about-interactive-tabs.d.ts +2 -2
- package/dist/about-location-info-hero.d.cts +2 -2
- package/dist/about-location-info-hero.d.ts +2 -2
- package/dist/about-minimal-story.d.cts +2 -2
- package/dist/about-minimal-story.d.ts +2 -2
- package/dist/about-mission-dual-image.d.cts +2 -2
- package/dist/about-mission-dual-image.d.ts +2 -2
- package/dist/about-mission-features.d.cts +2 -2
- package/dist/about-mission-features.d.ts +2 -2
- package/dist/about-network-spotlight.d.cts +2 -2
- package/dist/about-network-spotlight.d.ts +2 -2
- package/dist/about-startup-team.d.cts +2 -2
- package/dist/about-startup-team.d.ts +2 -2
- package/dist/about-stats-showcase.d.cts +2 -2
- package/dist/about-stats-showcase.d.ts +2 -2
- package/dist/about-stats-sidebar.d.cts +2 -2
- package/dist/about-stats-sidebar.d.ts +2 -2
- package/dist/about-story-expertise.d.cts +2 -2
- package/dist/about-story-expertise.d.ts +2 -2
- package/dist/about-story-gallery.d.cts +2 -2
- package/dist/about-story-gallery.d.ts +2 -2
- package/dist/about-story-hero.d.cts +2 -2
- package/dist/about-story-hero.d.ts +2 -2
- package/dist/about-streamline-team.d.cts +2 -2
- package/dist/about-streamline-team.d.ts +2 -2
- package/dist/about-vision-gallery.d.cts +2 -2
- package/dist/about-vision-gallery.d.ts +2 -2
- package/dist/alternating-blocks.d.cts +2 -2
- package/dist/alternating-blocks.d.ts +2 -2
- package/dist/animated-dialog.d.cts +2 -2
- package/dist/animated-dialog.d.ts +2 -2
- package/dist/article-breadcrumb-social.d.cts +2 -2
- package/dist/article-breadcrumb-social.d.ts +2 -2
- package/dist/article-chapters-author.d.cts +2 -2
- package/dist/article-chapters-author.d.ts +2 -2
- package/dist/article-compact-toc.d.cts +2 -2
- package/dist/article-compact-toc.d.ts +2 -2
- package/dist/article-hero-prose.d.cts +2 -2
- package/dist/article-hero-prose.d.ts +2 -2
- package/dist/article-sidebar-sticky.d.cts +2 -2
- package/dist/article-sidebar-sticky.d.ts +2 -2
- package/dist/article-split-animated.d.cts +2 -2
- package/dist/article-split-animated.d.ts +2 -2
- package/dist/article-toc-sidebar.d.cts +2 -2
- package/dist/article-toc-sidebar.d.ts +2 -2
- package/dist/auto-scroll-carousel.d.cts +2 -2
- package/dist/auto-scroll-carousel.d.ts +2 -2
- package/dist/badge.d.cts +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/banner-announcement-dismissible.d.cts +2 -2
- package/dist/banner-announcement-dismissible.d.ts +2 -2
- package/dist/banner-event-promo.d.cts +2 -2
- package/dist/banner-event-promo.d.ts +2 -2
- package/dist/banner-floating-offer.d.cts +2 -2
- package/dist/banner-floating-offer.d.ts +2 -2
- package/dist/banner-gdpr-rights.d.cts +2 -2
- package/dist/banner-gdpr-rights.d.ts +2 -2
- package/dist/banner-privacy-notice.d.cts +2 -2
- package/dist/banner-privacy-notice.d.ts +2 -2
- package/dist/banner-promo-cta.d.cts +2 -2
- package/dist/banner-promo-cta.d.ts +2 -2
- package/dist/banner-social-follow.d.cts +2 -2
- package/dist/banner-social-follow.d.ts +2 -2
- package/dist/banner-survey-incentive.d.cts +2 -2
- package/dist/banner-survey-incentive.d.ts +2 -2
- package/dist/{blocks-BYytGxbF.d.ts → blocks-BWc_7JNA.d.ts} +1 -1
- package/dist/{blocks-BfXV7q25.d.cts → blocks-CJYRLpXR.d.cts} +1 -1
- package/dist/blog-cards-read-time.d.cts +2 -2
- package/dist/blog-cards-read-time.d.ts +2 -2
- package/dist/blog-cards-tagline-cta.d.cts +2 -2
- package/dist/blog-cards-tagline-cta.d.ts +2 -2
- package/dist/blog-category-overlay.d.cts +2 -2
- package/dist/blog-category-overlay.d.ts +2 -2
- package/dist/blog-featured-popular.d.cts +2 -2
- package/dist/blog-featured-popular.d.ts +2 -2
- package/dist/blog-filtered-results.d.cts +2 -2
- package/dist/blog-filtered-results.d.ts +2 -2
- package/dist/blog-grid-author-cards.d.cts +2 -2
- package/dist/blog-grid-author-cards.d.ts +2 -2
- package/dist/blog-grid-nine-posts.d.cts +2 -2
- package/dist/blog-grid-nine-posts.d.ts +2 -2
- package/dist/blog-horizontal-cards.d.cts +2 -2
- package/dist/blog-horizontal-cards.d.ts +2 -2
- package/dist/blog-horizontal-timeline.d.cts +2 -2
- package/dist/blog-horizontal-timeline.d.ts +2 -2
- package/dist/blog-masonry-featured.d.cts +2 -2
- package/dist/blog-masonry-featured.d.ts +2 -2
- package/dist/blog-related-articles.d.cts +2 -2
- package/dist/blog-related-articles.d.ts +2 -2
- package/dist/blog-tech-insights.d.cts +2 -2
- package/dist/blog-tech-insights.d.ts +2 -2
- package/dist/blur-vignette-grid.d.cts +2 -2
- package/dist/blur-vignette-grid.d.ts +2 -2
- package/dist/{button-variants-CKmytxru.d.cts → button-variants-DJbzb6lO.d.cts} +2 -2
- package/dist/{button-variants-CKmytxru.d.ts → button-variants-DJbzb6lO.d.ts} +2 -2
- package/dist/button.d.cts +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/carousel-badge-cards.d.cts +2 -2
- package/dist/carousel-badge-cards.d.ts +2 -2
- package/dist/carousel-demo-link.d.cts +2 -2
- package/dist/carousel-demo-link.d.ts +2 -2
- package/dist/carousel-gradient-overlay.d.cts +2 -2
- package/dist/carousel-gradient-overlay.d.ts +2 -2
- package/dist/carousel-gradient-text.d.cts +2 -2
- package/dist/carousel-gradient-text.d.ts +2 -2
- package/dist/carousel-icon-sidebar.d.cts +2 -2
- package/dist/carousel-icon-sidebar.d.ts +2 -2
- package/dist/carousel-icon-tabs.d.cts +2 -2
- package/dist/carousel-icon-tabs.d.ts +2 -2
- package/dist/carousel-scale-focus.d.cts +2 -2
- package/dist/carousel-scale-focus.d.ts +2 -2
- package/dist/carousel-sidebar-resources.d.cts +2 -2
- package/dist/carousel-sidebar-resources.d.ts +2 -2
- package/dist/carousel-tabs-content.d.cts +2 -2
- package/dist/carousel-tabs-content.d.ts +2 -2
- package/dist/case-studies-featured-border.d.cts +2 -2
- package/dist/case-studies-featured-border.d.ts +2 -2
- package/dist/case-studies-image-grid.d.cts +2 -2
- package/dist/case-studies-image-grid.d.ts +2 -2
- package/dist/case-studies-stats-card.d.cts +2 -2
- package/dist/case-studies-stats-card.d.ts +2 -2
- package/dist/case-studies-testimonial-stats.d.cts +2 -2
- package/dist/case-studies-testimonial-stats.d.ts +2 -2
- package/dist/case-study-prose-sidebar.d.cts +2 -2
- package/dist/case-study-prose-sidebar.d.ts +2 -2
- package/dist/case-study-stats-metrics.d.cts +2 -2
- package/dist/case-study-stats-metrics.d.ts +2 -2
- package/dist/case-study-toc-social-sidebar.d.cts +2 -2
- package/dist/case-study-toc-social-sidebar.d.ts +2 -2
- package/dist/comparison-ai-models.d.cts +2 -2
- package/dist/comparison-ai-models.d.ts +2 -2
- package/dist/comparison-feature-cards.d.cts +2 -2
- package/dist/comparison-feature-cards.d.ts +2 -2
- package/dist/comparison-image-cards.d.cts +2 -2
- package/dist/comparison-image-cards.d.ts +2 -2
- package/dist/comparison-metrics-rows.d.cts +2 -2
- package/dist/comparison-metrics-rows.d.ts +2 -2
- package/dist/comparison-table-two-column.d.cts +2 -2
- package/dist/comparison-table-two-column.d.ts +2 -2
- package/dist/components.d.cts +2 -2
- package/dist/components.d.ts +2 -2
- package/dist/contact-callback.d.cts +2 -2
- package/dist/contact-callback.d.ts +2 -2
- package/dist/contact-card.d.cts +2 -2
- package/dist/contact-card.d.ts +2 -2
- package/dist/contact-careers.d.cts +2 -2
- package/dist/contact-careers.d.ts +2 -2
- package/dist/contact-catering.d.cts +2 -2
- package/dist/contact-catering.d.ts +2 -2
- package/dist/contact-consultation.d.cts +2 -2
- package/dist/contact-consultation.d.ts +2 -2
- package/dist/contact-dark.d.cts +2 -2
- package/dist/contact-dark.d.ts +2 -2
- package/dist/contact-demo.d.cts +2 -2
- package/dist/contact-demo.d.ts +2 -2
- package/dist/contact-emergency.d.cts +2 -2
- package/dist/contact-emergency.d.ts +2 -2
- package/dist/contact-event.d.cts +2 -2
- package/dist/contact-event.d.ts +2 -2
- package/dist/contact-faq.d.cts +2 -2
- package/dist/contact-faq.d.ts +2 -2
- package/dist/contact-feedback.d.cts +2 -2
- package/dist/contact-feedback.d.ts +2 -2
- package/dist/contact-fitness.d.cts +2 -2
- package/dist/contact-fitness.d.ts +2 -2
- package/dist/contact-floating-banner.d.cts +2 -2
- package/dist/contact-floating-banner.d.ts +2 -2
- package/dist/contact-guest.d.cts +2 -2
- package/dist/contact-guest.d.ts +2 -2
- package/dist/contact-help-center.d.cts +2 -2
- package/dist/contact-help-center.d.ts +2 -2
- package/dist/contact-image.d.cts +2 -2
- package/dist/contact-image.d.ts +2 -2
- package/dist/contact-insurance.d.cts +2 -2
- package/dist/contact-insurance.d.ts +2 -2
- package/dist/contact-interview.d.cts +2 -2
- package/dist/contact-interview.d.ts +2 -2
- package/dist/contact-locations.d.cts +2 -2
- package/dist/contact-locations.d.ts +2 -2
- package/dist/contact-maintenance.d.cts +2 -2
- package/dist/contact-maintenance.d.ts +2 -2
- package/dist/contact-map.d.cts +2 -2
- package/dist/contact-map.d.ts +2 -2
- package/dist/contact-minimal.d.cts +2 -2
- package/dist/contact-minimal.d.ts +2 -2
- package/dist/contact-moving.d.cts +2 -2
- package/dist/contact-moving.d.ts +2 -2
- package/dist/contact-multistep.d.cts +2 -2
- package/dist/contact-multistep.d.ts +2 -2
- package/dist/contact-partnership.d.cts +2 -2
- package/dist/contact-partnership.d.ts +2 -2
- package/dist/contact-photography.d.cts +2 -2
- package/dist/contact-photography.d.ts +2 -2
- package/dist/contact-press.d.cts +2 -2
- package/dist/contact-press.d.ts +2 -2
- package/dist/contact-quote.d.cts +2 -2
- package/dist/contact-quote.d.ts +2 -2
- package/dist/contact-referral.d.cts +2 -2
- package/dist/contact-referral.d.ts +2 -2
- package/dist/contact-report.d.cts +2 -2
- package/dist/contact-report.d.ts +2 -2
- package/dist/contact-reservation.d.cts +2 -2
- package/dist/contact-reservation.d.ts +2 -2
- package/dist/contact-retreat.d.cts +2 -2
- package/dist/contact-retreat.d.ts +2 -2
- package/dist/contact-rsvp.d.cts +2 -2
- package/dist/contact-rsvp.d.ts +2 -2
- package/dist/contact-sales.d.cts +2 -2
- package/dist/contact-sales.d.ts +2 -2
- package/dist/contact-schedule.d.cts +2 -2
- package/dist/contact-schedule.d.ts +2 -2
- package/dist/contact-sponsorship.d.cts +2 -2
- package/dist/contact-sponsorship.d.ts +2 -2
- package/dist/contact-support.d.cts +2 -2
- package/dist/contact-support.d.ts +2 -2
- package/dist/contact-tenant.d.cts +2 -2
- package/dist/contact-tenant.d.ts +2 -2
- package/dist/contact-vendor.d.cts +2 -2
- package/dist/contact-vendor.d.ts +2 -2
- package/dist/contact-volunteer.d.cts +2 -2
- package/dist/contact-volunteer.d.ts +2 -2
- package/dist/contact-warranty.d.cts +2 -2
- package/dist/contact-warranty.d.ts +2 -2
- package/dist/contact-wedding.d.cts +2 -2
- package/dist/contact-wedding.d.ts +2 -2
- package/dist/container.d.cts +2 -2
- package/dist/container.d.ts +2 -2
- package/dist/cta-accent-background.d.cts +2 -2
- package/dist/cta-accent-background.d.ts +2 -2
- package/dist/cta-app-download-newsletter.d.cts +2 -2
- package/dist/cta-app-download-newsletter.d.ts +2 -2
- package/dist/cta-background-icon-badge.d.cts +2 -2
- package/dist/cta-background-icon-badge.d.ts +2 -2
- package/dist/cta-case-study-testimonial.d.cts +2 -2
- package/dist/cta-case-study-testimonial.d.ts +2 -2
- package/dist/cta-documentation-links.d.cts +2 -2
- package/dist/cta-documentation-links.d.ts +2 -2
- package/dist/cta-enterprise-dark-features.d.cts +2 -2
- package/dist/cta-enterprise-dark-features.d.ts +2 -2
- package/dist/cta-enterprise-split.d.cts +2 -2
- package/dist/cta-enterprise-split.d.ts +2 -2
- package/dist/cta-feature-cards-grid.d.cts +2 -2
- package/dist/cta-feature-cards-grid.d.ts +2 -2
- package/dist/cta-feature-checklist.d.cts +2 -2
- package/dist/cta-feature-checklist.d.ts +2 -2
- package/dist/cta-feature-list.d.cts +2 -2
- package/dist/cta-feature-list.d.ts +2 -2
- package/dist/cta-fullwidth-background.d.cts +2 -2
- package/dist/cta-fullwidth-background.d.ts +2 -2
- package/dist/cta-gradient-logos-floating.d.cts +2 -2
- package/dist/cta-gradient-logos-floating.d.ts +2 -2
- package/dist/cta-gradient-stats-hero.d.cts +2 -2
- package/dist/cta-gradient-stats-hero.d.ts +2 -2
- package/dist/cta-hero-feature-cards.d.cts +2 -2
- package/dist/cta-hero-feature-cards.d.ts +2 -2
- package/dist/cta-image-overlay-arrow.d.cts +2 -2
- package/dist/cta-image-overlay-arrow.d.ts +2 -2
- package/dist/cta-image-overlay-centered.d.cts +2 -2
- package/dist/cta-image-overlay-centered.d.ts +2 -2
- package/dist/cta-minimal-separator.d.cts +2 -2
- package/dist/cta-minimal-separator.d.ts +2 -2
- package/dist/cta-newsletter-features.d.cts +2 -2
- package/dist/cta-newsletter-features.d.ts +2 -2
- package/dist/cta-pattern-background.d.cts +2 -2
- package/dist/cta-pattern-background.d.ts +2 -2
- package/dist/cta-platform-demo.d.cts +2 -2
- package/dist/cta-platform-demo.d.ts +2 -2
- package/dist/cta-simple-centered.d.cts +2 -2
- package/dist/cta-simple-centered.d.ts +2 -2
- package/dist/cta-split-gradient-image.d.cts +2 -2
- package/dist/cta-split-gradient-image.d.ts +2 -2
- package/dist/cta-split-image-logos.d.cts +2 -2
- package/dist/cta-split-image-logos.d.ts +2 -2
- package/dist/cta-split-image.d.cts +2 -2
- package/dist/cta-split-image.d.ts +2 -2
- package/dist/cta-stacked-cards.d.cts +2 -2
- package/dist/cta-stacked-cards.d.ts +2 -2
- package/dist/cta-video-background-hero.d.cts +2 -2
- package/dist/cta-video-background-hero.d.ts +2 -2
- package/dist/cta-workflow-tabs.d.cts +2 -2
- package/dist/cta-workflow-tabs.d.ts +2 -2
- package/dist/expandable-case-study-cards.d.cts +2 -2
- package/dist/expandable-case-study-cards.d.ts +2 -2
- package/dist/faq-badge-support.d.cts +2 -2
- package/dist/faq-badge-support.d.ts +2 -2
- package/dist/faq-bordered-badge.d.cts +2 -2
- package/dist/faq-bordered-badge.d.ts +2 -2
- package/dist/faq-card-categories.d.cts +2 -2
- package/dist/faq-card-categories.d.ts +2 -2
- package/dist/faq-categorized-sections.d.cts +2 -2
- package/dist/faq-categorized-sections.d.ts +2 -2
- package/dist/faq-centered-accordion.d.cts +2 -2
- package/dist/faq-centered-accordion.d.ts +2 -2
- package/dist/faq-gradient-categories.d.cts +2 -2
- package/dist/faq-gradient-categories.d.ts +2 -2
- package/dist/faq-icon-benefits.d.cts +2 -2
- package/dist/faq-icon-benefits.d.ts +2 -2
- package/dist/faq-muted-cards.d.cts +2 -2
- package/dist/faq-muted-cards.d.ts +2 -2
- package/dist/faq-numbered-grid.d.cts +2 -2
- package/dist/faq-numbered-grid.d.ts +2 -2
- package/dist/faq-numbered-list.d.cts +2 -2
- package/dist/faq-numbered-list.d.ts +2 -2
- package/dist/faq-profile-sidebar.d.cts +2 -2
- package/dist/faq-profile-sidebar.d.ts +2 -2
- package/dist/faq-rounded-cards.d.cts +2 -2
- package/dist/faq-rounded-cards.d.ts +2 -2
- package/dist/faq-sidebar-navigation.d.cts +2 -2
- package/dist/faq-sidebar-navigation.d.ts +2 -2
- package/dist/faq-simple-accordion.d.cts +2 -2
- package/dist/faq-simple-accordion.d.ts +2 -2
- package/dist/faq-split-help.d.cts +2 -2
- package/dist/faq-split-help.d.ts +2 -2
- package/dist/faq-static-list.d.cts +2 -2
- package/dist/faq-static-list.d.ts +2 -2
- package/dist/feature-accordion-image.d.cts +2 -2
- package/dist/feature-accordion-image.d.ts +2 -2
- package/dist/feature-badge-grid-six.d.cts +2 -2
- package/dist/feature-badge-grid-six.d.ts +2 -2
- package/dist/feature-bento-image-grid.d.cts +2 -2
- package/dist/feature-bento-image-grid.d.ts +2 -2
- package/dist/feature-bento-utilities.d.cts +2 -2
- package/dist/feature-bento-utilities.d.ts +2 -2
- package/dist/feature-card-grid-linked.d.cts +2 -2
- package/dist/feature-card-grid-linked.d.ts +2 -2
- package/dist/feature-category-image-cards.d.cts +2 -2
- package/dist/feature-category-image-cards.d.ts +2 -2
- package/dist/feature-checklist-image.d.cts +2 -2
- package/dist/feature-checklist-image.d.ts +2 -2
- package/dist/feature-checklist-three-column.d.cts +2 -2
- package/dist/feature-checklist-three-column.d.ts +2 -2
- package/dist/feature-icon-grid-accent.d.cts +2 -2
- package/dist/feature-icon-grid-accent.d.ts +2 -2
- package/dist/feature-icon-tabs-content.d.cts +2 -2
- package/dist/feature-icon-tabs-content.d.ts +2 -2
- package/dist/feature-image-cards-three-column.d.cts +2 -2
- package/dist/feature-image-cards-three-column.d.ts +2 -2
- package/dist/feature-image-overlay-badge.d.cts +2 -2
- package/dist/feature-image-overlay-badge.d.ts +2 -2
- package/dist/feature-integration-cards.d.cts +2 -2
- package/dist/feature-integration-cards.d.ts +2 -2
- package/dist/feature-numbered-cards.d.cts +2 -2
- package/dist/feature-numbered-cards.d.ts +2 -2
- package/dist/feature-showcase.d.cts +2 -2
- package/dist/feature-showcase.d.ts +2 -2
- package/dist/feature-split-image-reverse.d.cts +2 -2
- package/dist/feature-split-image-reverse.d.ts +2 -2
- package/dist/feature-split-image.d.cts +2 -2
- package/dist/feature-split-image.d.ts +2 -2
- package/dist/feature-stats-highlight.d.cts +2 -2
- package/dist/feature-stats-highlight.d.ts +2 -2
- package/dist/feature-tabbed-content-image.d.cts +2 -2
- package/dist/feature-tabbed-content-image.d.ts +2 -2
- package/dist/feature-utility-cards-grid.d.cts +2 -2
- package/dist/feature-utility-cards-grid.d.ts +2 -2
- package/dist/footer-animated-social.d.cts +2 -2
- package/dist/footer-animated-social.d.ts +2 -2
- package/dist/footer-background-card.d.cts +2 -2
- package/dist/footer-background-card.d.ts +2 -2
- package/dist/footer-brand-description.d.cts +2 -2
- package/dist/footer-brand-description.d.ts +2 -2
- package/dist/footer-brand-links-contact.d.cts +2 -2
- package/dist/footer-brand-links-contact.d.ts +2 -2
- package/dist/footer-contact-card.d.cts +2 -2
- package/dist/footer-contact-card.d.ts +2 -2
- package/dist/footer-cta-banner.d.cts +2 -2
- package/dist/footer-cta-banner.d.ts +2 -2
- package/dist/footer-cta-social.d.cts +2 -2
- package/dist/footer-cta-social.d.ts +2 -2
- package/dist/footer-nav-social.d.cts +2 -2
- package/dist/footer-nav-social.d.ts +2 -2
- package/dist/footer-newsletter-minimal.d.cts +2 -2
- package/dist/footer-newsletter-minimal.d.ts +2 -2
- package/dist/footer-simple-centered.d.cts +2 -2
- package/dist/footer-simple-centered.d.ts +2 -2
- package/dist/footer-social-newsletter.d.cts +2 -2
- package/dist/footer-social-newsletter.d.ts +2 -2
- package/dist/hero-ad-campaign-expert.d.cts +2 -2
- package/dist/hero-ad-campaign-expert.d.ts +2 -2
- package/dist/hero-adaptable-product-grid.d.cts +2 -2
- package/dist/hero-adaptable-product-grid.d.ts +2 -2
- package/dist/hero-agency-animated-images.d.cts +2 -2
- package/dist/hero-agency-animated-images.d.ts +2 -2
- package/dist/hero-ai-powered-carousel.d.cts +2 -2
- package/dist/hero-ai-powered-carousel.d.ts +2 -2
- package/dist/hero-announcement-badge.d.cts +2 -2
- package/dist/hero-announcement-badge.d.ts +2 -2
- package/dist/hero-architecture-fullscreen.d.cts +2 -2
- package/dist/hero-architecture-fullscreen.d.ts +2 -2
- package/dist/hero-badge-image-split.d.cts +2 -2
- package/dist/hero-badge-image-split.d.ts +2 -2
- package/dist/hero-badge-shadow-overlay.d.cts +2 -2
- package/dist/hero-badge-shadow-overlay.d.ts +2 -2
- package/dist/hero-billing-platform-logos.d.cts +2 -2
- package/dist/hero-billing-platform-logos.d.ts +2 -2
- package/dist/hero-business-carousel-dots.d.cts +2 -2
- package/dist/hero-business-carousel-dots.d.ts +2 -2
- package/dist/hero-business-operations-mosaic.d.cts +2 -2
- package/dist/hero-business-operations-mosaic.d.ts +2 -2
- package/dist/hero-centered-gradient-cta.d.cts +2 -2
- package/dist/hero-centered-gradient-cta.d.ts +2 -2
- package/dist/hero-centered-image-grid.d.cts +2 -2
- package/dist/hero-centered-image-grid.d.ts +2 -2
- package/dist/hero-centered-screenshot.d.cts +2 -2
- package/dist/hero-centered-screenshot.d.ts +2 -2
- package/dist/hero-coming-soon-countdown.d.cts +2 -2
- package/dist/hero-coming-soon-countdown.d.ts +2 -2
- package/dist/hero-community-survey-cta.d.cts +2 -2
- package/dist/hero-community-survey-cta.d.ts +2 -2
- package/dist/hero-conversation-intelligence.d.cts +2 -2
- package/dist/hero-conversation-intelligence.d.ts +2 -2
- package/dist/hero-conversion-video-play.d.cts +2 -2
- package/dist/hero-conversion-video-play.d.ts +2 -2
- package/dist/hero-creative-studio-stacked.d.cts +2 -2
- package/dist/hero-creative-studio-stacked.d.ts +2 -2
- package/dist/hero-crm-streamlined.d.cts +2 -2
- package/dist/hero-crm-streamlined.d.ts +2 -2
- package/dist/hero-customer-support-layered.d.cts +2 -2
- package/dist/hero-customer-support-layered.d.ts +2 -2
- package/dist/hero-dashed-border-features.d.cts +2 -2
- package/dist/hero-dashed-border-features.d.ts +2 -2
- package/dist/hero-design-carousel-portfolio.d.cts +2 -2
- package/dist/hero-design-carousel-portfolio.d.ts +2 -2
- package/dist/hero-design-showcase-logos.d.cts +2 -2
- package/dist/hero-design-showcase-logos.d.ts +2 -2
- package/dist/hero-design-system-3d.d.cts +2 -2
- package/dist/hero-design-system-3d.d.ts +2 -2
- package/dist/hero-developer-tools-code.d.cts +2 -2
- package/dist/hero-developer-tools-code.d.ts +2 -2
- package/dist/hero-digital-agency-fullscreen.d.cts +2 -2
- package/dist/hero-digital-agency-fullscreen.d.ts +2 -2
- package/dist/hero-ecommerce-product-showcase.d.cts +2 -2
- package/dist/hero-ecommerce-product-showcase.d.ts +2 -2
- package/dist/hero-enterprise-security.d.cts +2 -2
- package/dist/hero-enterprise-security.d.ts +2 -2
- package/dist/hero-event-registration.d.cts +2 -2
- package/dist/hero-event-registration.d.ts +2 -2
- package/dist/hero-feature-cards-grid.d.cts +2 -2
- package/dist/hero-feature-cards-grid.d.ts +2 -2
- package/dist/hero-floating-images.d.cts +2 -2
- package/dist/hero-floating-images.d.ts +2 -2
- package/dist/hero-fullscreen-background-image.d.cts +2 -2
- package/dist/hero-fullscreen-background-image.d.ts +2 -2
- package/dist/hero-fullscreen-logo-cta.d.cts +2 -2
- package/dist/hero-fullscreen-logo-cta.d.ts +2 -2
- package/dist/hero-gradient-avatars-rating.d.cts +2 -2
- package/dist/hero-gradient-avatars-rating.d.ts +2 -2
- package/dist/hero-gradient-client-focused.d.cts +2 -2
- package/dist/hero-gradient-client-focused.d.ts +2 -2
- package/dist/hero-grid-pattern-efficiency.d.cts +2 -2
- package/dist/hero-grid-pattern-efficiency.d.ts +2 -2
- package/dist/hero-grid-pattern-solutions.d.cts +2 -2
- package/dist/hero-grid-pattern-solutions.d.ts +2 -2
- package/dist/hero-hiring-animated-text.d.cts +2 -2
- package/dist/hero-hiring-animated-text.d.ts +2 -2
- package/dist/hero-image-left-content.d.cts +2 -2
- package/dist/hero-image-left-content.d.ts +2 -2
- package/dist/hero-image-slider.d.cts +2 -2
- package/dist/hero-image-slider.d.ts +2 -2
- package/dist/hero-innovation-image-grid.d.cts +2 -2
- package/dist/hero-innovation-image-grid.d.ts +2 -2
- package/dist/hero-logo-centered-screenshot.d.cts +2 -2
- package/dist/hero-logo-centered-screenshot.d.ts +2 -2
- package/dist/hero-marketplace-scattered-images.d.cts +2 -2
- package/dist/hero-marketplace-scattered-images.d.ts +2 -2
- package/dist/hero-mental-health-team.d.cts +2 -2
- package/dist/hero-mental-health-team.d.ts +2 -2
- package/dist/hero-mentorship-video-split.d.cts +2 -2
- package/dist/hero-mentorship-video-split.d.ts +2 -2
- package/dist/hero-minimal-centered-dark.d.cts +2 -2
- package/dist/hero-minimal-centered-dark.d.ts +2 -2
- package/dist/hero-mobile-app-download.d.cts +2 -2
- package/dist/hero-mobile-app-download.d.ts +2 -2
- package/dist/hero-newsletter-minimal.d.cts +2 -2
- package/dist/hero-newsletter-minimal.d.ts +2 -2
- package/dist/hero-pattern-badge-logos.d.cts +2 -2
- package/dist/hero-pattern-badge-logos.d.ts +2 -2
- package/dist/hero-pattern-logo-tech-stack.d.cts +2 -2
- package/dist/hero-pattern-logo-tech-stack.d.ts +2 -2
- package/dist/hero-platform-features-grid.d.cts +2 -2
- package/dist/hero-platform-features-grid.d.ts +2 -2
- package/dist/hero-portfolio-creative.d.cts +2 -2
- package/dist/hero-portfolio-creative.d.ts +2 -2
- package/dist/hero-premium-split-avatars.d.cts +2 -2
- package/dist/hero-premium-split-avatars.d.ts +2 -2
- package/dist/hero-presentation-platform-video.d.cts +2 -2
- package/dist/hero-presentation-platform-video.d.ts +2 -2
- package/dist/hero-pricing-comparison.d.cts +2 -2
- package/dist/hero-pricing-comparison.d.ts +2 -2
- package/dist/hero-product-showcase-floating.d.cts +2 -2
- package/dist/hero-product-showcase-floating.d.ts +2 -2
- package/dist/hero-productivity-launcher-video.d.cts +2 -2
- package/dist/hero-productivity-launcher-video.d.ts +2 -2
- package/dist/hero-saas-dashboard-preview.d.cts +2 -2
- package/dist/hero-saas-dashboard-preview.d.ts +2 -2
- package/dist/hero-shared-inbox-layered.d.cts +2 -2
- package/dist/hero-shared-inbox-layered.d.ts +2 -2
- package/dist/hero-simple-centered-image.d.cts +2 -2
- package/dist/hero-simple-centered-image.d.ts +2 -2
- package/dist/hero-software-growth-video-dialog.d.cts +2 -2
- package/dist/hero-software-growth-video-dialog.d.ts +2 -2
- package/dist/hero-spiral-pattern-cards.d.cts +2 -2
- package/dist/hero-spiral-pattern-cards.d.ts +2 -2
- package/dist/hero-split-geometric-shapes.d.cts +2 -2
- package/dist/hero-split-geometric-shapes.d.ts +2 -2
- package/dist/hero-split-icon-cards.d.cts +2 -2
- package/dist/hero-split-icon-cards.d.ts +2 -2
- package/dist/hero-split-image-newsletter.d.cts +2 -2
- package/dist/hero-split-image-newsletter.d.ts +2 -2
- package/dist/hero-split-spiral-shapes.d.cts +2 -2
- package/dist/hero-split-spiral-shapes.d.ts +2 -2
- package/dist/hero-startup-launch-cta.d.cts +2 -2
- package/dist/hero-startup-launch-cta.d.ts +2 -2
- package/dist/hero-stats-social-proof.d.cts +2 -2
- package/dist/hero-stats-social-proof.d.ts +2 -2
- package/dist/hero-task-timer-animated.d.cts +2 -2
- package/dist/hero-task-timer-animated.d.ts +2 -2
- package/dist/hero-tech-carousel.d.cts +2 -2
- package/dist/hero-tech-carousel.d.ts +2 -2
- package/dist/hero-therapy-testimonial-grid.d.cts +2 -2
- package/dist/hero-therapy-testimonial-grid.d.ts +2 -2
- package/dist/hero-ui-library-showcase.d.cts +2 -2
- package/dist/hero-ui-library-showcase.d.ts +2 -2
- package/dist/hero-video-background-dark.d.cts +2 -2
- package/dist/hero-video-background-dark.d.ts +2 -2
- package/dist/hero-video-dialog-gradient.d.cts +2 -2
- package/dist/hero-video-dialog-gradient.d.ts +2 -2
- package/dist/hero-welcome-asymmetric-images.d.cts +2 -2
- package/dist/hero-welcome-asymmetric-images.d.ts +2 -2
- package/dist/image-slider.d.cts +2 -2
- package/dist/image-slider.d.ts +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/industries-badge-list-bordered.d.cts +2 -2
- package/dist/industries-badge-list-bordered.d.ts +2 -2
- package/dist/industries-expandable-showcase.d.cts +2 -2
- package/dist/industries-expandable-showcase.d.ts +2 -2
- package/dist/industries-hover-reveal-grid.d.cts +2 -2
- package/dist/industries-hover-reveal-grid.d.ts +2 -2
- package/dist/industries-timeline-table.d.cts +2 -2
- package/dist/industries-timeline-table.d.ts +2 -2
- package/dist/interior-carousel.d.cts +2 -2
- package/dist/interior-carousel.d.ts +2 -2
- package/dist/link-page-bento-layout.d.cts +2 -2
- package/dist/link-page-bento-layout.d.ts +2 -2
- package/dist/link-page-grid-cards.d.cts +2 -2
- package/dist/link-page-grid-cards.d.ts +2 -2
- package/dist/link-page-minimal-profile.d.cts +2 -2
- package/dist/link-page-minimal-profile.d.ts +2 -2
- package/dist/link-page-newsletter-social.d.cts +2 -2
- package/dist/link-page-newsletter-social.d.ts +2 -2
- package/dist/link-tree-block.d.cts +2 -2
- package/dist/link-tree-block.d.ts +2 -2
- package/dist/list-searchable-grid.d.cts +2 -2
- package/dist/list-searchable-grid.d.ts +2 -2
- package/dist/logos-carousel-heading.d.cts +2 -2
- package/dist/logos-carousel-heading.d.ts +2 -2
- package/dist/logos-centered-simple.d.cts +2 -2
- package/dist/logos-centered-simple.d.ts +2 -2
- package/dist/logos-certifications-grid.d.cts +2 -2
- package/dist/logos-certifications-grid.d.ts +2 -2
- package/dist/logos-double-carousel-pattern.d.cts +2 -2
- package/dist/logos-double-carousel-pattern.d.ts +2 -2
- package/dist/logos-inline-tagline.d.cts +2 -2
- package/dist/logos-inline-tagline.d.ts +2 -2
- package/dist/logos-marquee-muted.d.cts +2 -2
- package/dist/logos-marquee-muted.d.ts +2 -2
- package/dist/logos-minimal-carousel.d.cts +2 -2
- package/dist/logos-minimal-carousel.d.ts +2 -2
- package/dist/logos-numbered-carousel.d.cts +2 -2
- package/dist/logos-numbered-carousel.d.ts +2 -2
- package/dist/logos-partner-grid-sidebar.d.cts +2 -2
- package/dist/logos-partner-grid-sidebar.d.ts +2 -2
- package/dist/logos-partner-network.d.cts +2 -2
- package/dist/logos-partner-network.d.ts +2 -2
- package/dist/logos-two-row-grid.d.cts +2 -2
- package/dist/logos-two-row-grid.d.ts +2 -2
- package/dist/masonry-motion-grid.d.cts +2 -2
- package/dist/masonry-motion-grid.d.ts +2 -2
- package/dist/media-hover-ctas.d.cts +2 -2
- package/dist/media-hover-ctas.d.ts +2 -2
- package/dist/navbar-animated-preview.cjs +65 -53
- package/dist/navbar-animated-preview.d.cts +65 -19
- package/dist/navbar-animated-preview.d.ts +65 -19
- package/dist/navbar-animated-preview.js +65 -53
- package/dist/navbar-centered-menu.d.cts +2 -2
- package/dist/navbar-centered-menu.d.ts +2 -2
- package/dist/navbar-dark-icons.d.cts +2 -2
- package/dist/navbar-dark-icons.d.ts +2 -2
- package/dist/navbar-dropdown-menu.d.cts +2 -2
- package/dist/navbar-dropdown-menu.d.ts +2 -2
- package/dist/navbar-education-platform.d.cts +2 -2
- package/dist/navbar-education-platform.d.ts +2 -2
- package/dist/navbar-enterprise-mega.cjs +235 -346
- package/dist/navbar-enterprise-mega.d.cts +146 -56
- package/dist/navbar-enterprise-mega.d.ts +146 -56
- package/dist/navbar-enterprise-mega.js +235 -346
- package/dist/navbar-feature-grid.d.cts +2 -2
- package/dist/navbar-feature-grid.d.ts +2 -2
- package/dist/navbar-floating-pill.d.cts +2 -2
- package/dist/navbar-floating-pill.d.ts +2 -2
- package/dist/navbar-fullscreen-menu.d.cts +2 -2
- package/dist/navbar-fullscreen-menu.d.ts +2 -2
- package/dist/navbar-icon-links.d.cts +2 -2
- package/dist/navbar-icon-links.d.ts +2 -2
- package/dist/navbar-image-preview.d.cts +2 -2
- package/dist/navbar-image-preview.d.ts +2 -2
- package/dist/navbar-mega-menu.cjs +342 -573
- package/dist/navbar-mega-menu.d.cts +67 -37
- package/dist/navbar-mega-menu.d.ts +67 -37
- package/dist/navbar-mega-menu.js +342 -573
- package/dist/navbar-multi-column-groups.d.cts +2 -2
- package/dist/navbar-multi-column-groups.d.ts +2 -2
- package/dist/navbar-platform-resources.cjs +400 -215
- package/dist/navbar-platform-resources.d.cts +108 -33
- package/dist/navbar-platform-resources.d.ts +108 -33
- package/dist/navbar-platform-resources.js +400 -215
- package/dist/navbar-search-focused.d.cts +2 -2
- package/dist/navbar-search-focused.d.ts +2 -2
- package/dist/navbar-sidebar-mobile.d.cts +2 -2
- package/dist/navbar-sidebar-mobile.d.ts +2 -2
- package/dist/navbar-simple-links.d.cts +2 -2
- package/dist/navbar-simple-links.d.ts +2 -2
- package/dist/navbar-split-cta.d.cts +2 -2
- package/dist/navbar-split-cta.d.ts +2 -2
- package/dist/navbar-sticky-compact.d.cts +2 -2
- package/dist/navbar-sticky-compact.d.ts +2 -2
- package/dist/navbar-tabbed-sections.d.cts +2 -2
- package/dist/navbar-tabbed-sections.d.ts +2 -2
- package/dist/navbar-transparent-overlay.d.cts +2 -2
- package/dist/navbar-transparent-overlay.d.ts +2 -2
- package/dist/page-hero-banner.d.cts +2 -2
- package/dist/page-hero-banner.d.ts +2 -2
- package/dist/pressable.d.cts +1 -1
- package/dist/pressable.d.ts +1 -1
- package/dist/process-expandable-timeline.d.cts +2 -2
- package/dist/process-expandable-timeline.d.ts +2 -2
- package/dist/process-hover-cards.d.cts +2 -2
- package/dist/process-hover-cards.d.ts +2 -2
- package/dist/process-icon-timeline.d.cts +2 -2
- package/dist/process-icon-timeline.d.ts +2 -2
- package/dist/process-mission-principles.d.cts +2 -2
- package/dist/process-mission-principles.d.ts +2 -2
- package/dist/process-numbered-services.d.cts +2 -2
- package/dist/process-numbered-services.d.ts +2 -2
- package/dist/process-roadmap-timeline.d.cts +2 -2
- package/dist/process-roadmap-timeline.d.ts +2 -2
- package/dist/process-scroll-image.d.cts +2 -2
- package/dist/process-scroll-image.d.ts +2 -2
- package/dist/process-steps-grid.d.cts +2 -2
- package/dist/process-steps-grid.d.ts +2 -2
- package/dist/process-sticky-steps.d.cts +2 -2
- package/dist/process-sticky-steps.d.ts +2 -2
- package/dist/project-alternating-motion.d.cts +2 -2
- package/dist/project-alternating-motion.d.ts +2 -2
- package/dist/project-background-reveal.d.cts +2 -2
- package/dist/project-background-reveal.d.ts +2 -2
- package/dist/project-card-overlay.d.cts +2 -2
- package/dist/project-card-overlay.d.ts +2 -2
- package/dist/project-carousel-cinematic.d.cts +2 -2
- package/dist/project-carousel-cinematic.d.ts +2 -2
- package/dist/project-carousel-detail-cards.d.cts +2 -2
- package/dist/project-carousel-detail-cards.d.ts +2 -2
- package/dist/project-carousel-minimal.d.cts +2 -2
- package/dist/project-carousel-minimal.d.ts +2 -2
- package/dist/project-detail-architecture-carousel.d.cts +2 -2
- package/dist/project-detail-architecture-carousel.d.ts +2 -2
- package/dist/project-experience-quote.d.cts +2 -2
- package/dist/project-experience-quote.d.ts +2 -2
- package/dist/project-featured-carousel.d.cts +2 -2
- package/dist/project-featured-carousel.d.ts +2 -2
- package/dist/project-filterable-gallery.d.cts +2 -2
- package/dist/project-filterable-gallery.d.ts +2 -2
- package/dist/project-filterable-three-column.d.cts +2 -2
- package/dist/project-filterable-three-column.d.ts +2 -2
- package/dist/project-grid-gallery.d.cts +2 -2
- package/dist/project-grid-gallery.d.ts +2 -2
- package/dist/project-grid-motion.d.cts +2 -2
- package/dist/project-grid-motion.d.ts +2 -2
- package/dist/project-horizontal-cards.d.cts +2 -2
- package/dist/project-horizontal-cards.d.ts +2 -2
- package/dist/project-hover-reveal-grid.d.cts +2 -2
- package/dist/project-hover-reveal-grid.d.ts +2 -2
- package/dist/project-interactive-hover-reveal.d.cts +2 -2
- package/dist/project-interactive-hover-reveal.d.ts +2 -2
- package/dist/project-masonry-columns.d.cts +2 -2
- package/dist/project-masonry-columns.d.ts +2 -2
- package/dist/project-nature-mosaic.d.cts +2 -2
- package/dist/project-nature-mosaic.d.ts +2 -2
- package/dist/project-scroll-reveal.d.cts +2 -2
- package/dist/project-scroll-reveal.d.ts +2 -2
- package/dist/project-showcase-alternating.d.cts +2 -2
- package/dist/project-showcase-alternating.d.ts +2 -2
- package/dist/project-sticky-scroll.d.cts +2 -2
- package/dist/project-sticky-scroll.d.ts +2 -2
- package/dist/project-studio-hover-preview.d.cts +2 -2
- package/dist/project-studio-hover-preview.d.ts +2 -2
- package/dist/project-table-list.d.cts +2 -2
- package/dist/project-table-list.d.ts +2 -2
- package/dist/project-video-carousel.d.cts +2 -2
- package/dist/project-video-carousel.d.ts +2 -2
- package/dist/project-video-hover-bento.d.cts +2 -2
- package/dist/project-video-hover-bento.d.ts +2 -2
- package/dist/project-video-hover-grid.d.cts +2 -2
- package/dist/project-video-hover-grid.d.ts +2 -2
- package/dist/project-video-hover-rounded.d.cts +2 -2
- package/dist/project-video-hover-rounded.d.ts +2 -2
- package/dist/project-video-hover-stack.d.cts +2 -2
- package/dist/project-video-hover-stack.d.ts +2 -2
- package/dist/project-video-hover-two-by-two.d.cts +2 -2
- package/dist/project-video-hover-two-by-two.d.ts +2 -2
- package/dist/project-work-showcase.d.cts +2 -2
- package/dist/project-work-showcase.d.ts +2 -2
- package/dist/registry.cjs +1395 -1238
- package/dist/registry.js +1395 -1238
- package/dist/resource-detail-whitepaper-sidebar.d.cts +2 -2
- package/dist/resource-detail-whitepaper-sidebar.d.ts +2 -2
- package/dist/resource-list-course-cards.d.cts +2 -2
- package/dist/resource-list-course-cards.d.ts +2 -2
- package/dist/resource-list-featured-articles.d.cts +2 -2
- package/dist/resource-list-featured-articles.d.ts +2 -2
- package/dist/resource-list-featured-grid.d.cts +2 -2
- package/dist/resource-list-featured-grid.d.ts +2 -2
- package/dist/resource-list-hero-filter.d.cts +2 -2
- package/dist/resource-list-hero-filter.d.ts +2 -2
- package/dist/resource-list-news-updates.d.cts +2 -2
- package/dist/resource-list-news-updates.d.ts +2 -2
- package/dist/reviews-images-helpful.d.cts +2 -2
- package/dist/reviews-images-helpful.d.ts +2 -2
- package/dist/reviews-list-verified.d.cts +2 -2
- package/dist/reviews-list-verified.d.ts +2 -2
- package/dist/section.d.cts +2 -2
- package/dist/section.d.ts +2 -2
- package/dist/service-detail-centered-expertise.d.cts +2 -2
- package/dist/service-detail-centered-expertise.d.ts +2 -2
- package/dist/service-detail-compact-cards.d.cts +2 -2
- package/dist/service-detail-compact-cards.d.ts +2 -2
- package/dist/service-detail-image-hero.d.cts +2 -2
- package/dist/service-detail-image-hero.d.ts +2 -2
- package/dist/service-detail-prose-minimal.d.cts +2 -2
- package/dist/service-detail-prose-minimal.d.ts +2 -2
- package/dist/service-detail-sidebar-related.d.cts +2 -2
- package/dist/service-detail-sidebar-related.d.ts +2 -2
- package/dist/service-detail-sidebar-stats.d.cts +2 -2
- package/dist/service-detail-sidebar-stats.d.ts +2 -2
- package/dist/service-detail-stats-hero.d.cts +2 -2
- package/dist/service-detail-stats-hero.d.ts +2 -2
- package/dist/service-hover-carousel.d.cts +2 -2
- package/dist/service-hover-carousel.d.ts +2 -2
- package/dist/services-list-feature-spotlight.d.cts +2 -2
- package/dist/services-list-feature-spotlight.d.ts +2 -2
- package/dist/stats-animated-counter.d.cts +2 -2
- package/dist/stats-animated-counter.d.ts +2 -2
- package/dist/stats-bar-comparison.d.cts +2 -2
- package/dist/stats-bar-comparison.d.ts +2 -2
- package/dist/stats-card-group.d.cts +2 -2
- package/dist/stats-card-group.d.ts +2 -2
- package/dist/stats-circular-progress.d.cts +2 -2
- package/dist/stats-circular-progress.d.ts +2 -2
- package/dist/stats-growth-timeline.d.cts +2 -2
- package/dist/stats-growth-timeline.d.ts +2 -2
- package/dist/stats-icon-cards.d.cts +2 -2
- package/dist/stats-icon-cards.d.ts +2 -2
- package/dist/stats-impact-grid.d.cts +2 -2
- package/dist/stats-impact-grid.d.ts +2 -2
- package/dist/stats-milestone-sidebar.d.cts +2 -2
- package/dist/stats-milestone-sidebar.d.ts +2 -2
- package/dist/stats-number-ticker.d.cts +2 -2
- package/dist/stats-number-ticker.d.ts +2 -2
- package/dist/stats-primary-secondary.d.cts +2 -2
- package/dist/stats-primary-secondary.d.ts +2 -2
- package/dist/stats-simple-grid.d.cts +2 -2
- package/dist/stats-simple-grid.d.ts +2 -2
- package/dist/stats-timeline-tabs.d.cts +2 -2
- package/dist/stats-timeline-tabs.d.ts +2 -2
- package/dist/team-media-showcase.d.cts +2 -2
- package/dist/team-media-showcase.d.ts +2 -2
- package/dist/testimonial-carousel-cards.d.cts +2 -2
- package/dist/testimonial-carousel-cards.d.ts +2 -2
- package/dist/testimonials-animated-split.d.cts +2 -2
- package/dist/testimonials-animated-split.d.ts +2 -2
- package/dist/testimonials-bento-grid.d.cts +2 -2
- package/dist/testimonials-bento-grid.d.ts +2 -2
- package/dist/testimonials-carousel-image.d.cts +2 -2
- package/dist/testimonials-carousel-image.d.ts +2 -2
- package/dist/testimonials-centered-avatars.d.cts +2 -2
- package/dist/testimonials-centered-avatars.d.ts +2 -2
- package/dist/testimonials-company-logo.d.cts +2 -2
- package/dist/testimonials-company-logo.d.ts +2 -2
- package/dist/testimonials-grid-add-review.d.cts +2 -2
- package/dist/testimonials-grid-add-review.d.ts +2 -2
- package/dist/testimonials-large-quote.d.cts +2 -2
- package/dist/testimonials-large-quote.d.ts +2 -2
- package/dist/testimonials-logo-cards.d.cts +2 -2
- package/dist/testimonials-logo-cards.d.ts +2 -2
- package/dist/testimonials-marquee.d.cts +2 -2
- package/dist/testimonials-marquee.d.ts +2 -2
- package/dist/testimonials-masonry-grid.d.cts +2 -2
- package/dist/testimonials-masonry-grid.d.ts +2 -2
- package/dist/testimonials-mini-dividers.d.cts +2 -2
- package/dist/testimonials-mini-dividers.d.ts +2 -2
- package/dist/testimonials-minimal-numbered.d.cts +2 -2
- package/dist/testimonials-minimal-numbered.d.ts +2 -2
- package/dist/testimonials-parallax-number.d.cts +2 -2
- package/dist/testimonials-parallax-number.d.ts +2 -2
- package/dist/testimonials-quote-carousel.d.cts +2 -2
- package/dist/testimonials-quote-carousel.d.ts +2 -2
- package/dist/testimonials-scrolling-columns.d.cts +2 -2
- package/dist/testimonials-scrolling-columns.d.ts +2 -2
- package/dist/testimonials-simple-grid.d.cts +2 -2
- package/dist/testimonials-simple-grid.d.ts +2 -2
- package/dist/testimonials-slider-minimal.d.cts +2 -2
- package/dist/testimonials-slider-minimal.d.ts +2 -2
- package/dist/testimonials-split-image.d.cts +2 -2
- package/dist/testimonials-split-image.d.ts +2 -2
- package/dist/testimonials-stats-header.d.cts +2 -2
- package/dist/testimonials-stats-header.d.ts +2 -2
- package/dist/testimonials-twitter-cards.d.cts +2 -2
- package/dist/testimonials-twitter-cards.d.ts +2 -2
- package/dist/testimonials-wall-compact.d.cts +2 -2
- package/dist/testimonials-wall-compact.d.ts +2 -2
- package/dist/timeline-ai-workflow-cards.d.cts +2 -2
- package/dist/timeline-ai-workflow-cards.d.ts +2 -2
- package/dist/timeline-alternating-diagonal.d.cts +2 -2
- package/dist/timeline-alternating-diagonal.d.ts +2 -2
- package/dist/timeline-changelog-badges.d.cts +2 -2
- package/dist/timeline-changelog-badges.d.ts +2 -2
- package/dist/timeline-history-prose.d.cts +2 -2
- package/dist/timeline-history-prose.d.ts +2 -2
- package/dist/timeline-horizontal-icons.d.cts +2 -2
- package/dist/timeline-horizontal-icons.d.ts +2 -2
- package/dist/timeline-horizontal-phases.d.cts +2 -2
- package/dist/timeline-horizontal-phases.d.ts +2 -2
- package/dist/timeline-product-launch.d.cts +2 -2
- package/dist/timeline-product-launch.d.ts +2 -2
- package/dist/timeline-productivity-list.d.cts +2 -2
- package/dist/timeline-productivity-list.d.ts +2 -2
- package/dist/timeline-scroll-highlight.d.cts +2 -2
- package/dist/timeline-scroll-highlight.d.ts +2 -2
- package/dist/timeline-scroll-sticky-image.d.cts +2 -2
- package/dist/timeline-scroll-sticky-image.d.ts +2 -2
- package/dist/timeline-stepper-animated.d.cts +2 -2
- package/dist/timeline-stepper-animated.d.ts +2 -2
- package/dist/timeline-tabbed-phases.d.cts +2 -2
- package/dist/timeline-tabbed-phases.d.ts +2 -2
- package/dist/timeline-two-column-featured.d.cts +2 -2
- package/dist/timeline-two-column-featured.d.ts +2 -2
- package/dist/timeline-vertical-icon-dashed.d.cts +2 -2
- package/dist/timeline-vertical-icon-dashed.d.ts +2 -2
- package/dist/types.d.cts +2 -2
- package/dist/types.d.ts +2 -2
- package/package.json +1 -1
package/dist/registry.cjs
CHANGED
|
@@ -47097,6 +47097,166 @@ var NavbarCenteredMenu = ({
|
|
|
47097
47097
|
}
|
|
47098
47098
|
);
|
|
47099
47099
|
};
|
|
47100
|
+
var DesktopMenuItem = ({ link, index, optixFlowConfig }) => {
|
|
47101
|
+
const imagesRef = React11__namespace.useRef([]);
|
|
47102
|
+
const layout = link.layout || "simple-grid";
|
|
47103
|
+
const handleMouseEnter = (event) => {
|
|
47104
|
+
const index2 = Number(event.currentTarget.getAttribute("data-index"));
|
|
47105
|
+
if (link.links && imagesRef.current[index2]) {
|
|
47106
|
+
imagesRef.current.forEach((img, i) => {
|
|
47107
|
+
img.classList.toggle("opacity-100", i === index2);
|
|
47108
|
+
img.classList.toggle("opacity-0", i !== index2);
|
|
47109
|
+
});
|
|
47110
|
+
}
|
|
47111
|
+
};
|
|
47112
|
+
const handleMouseLeave = () => {
|
|
47113
|
+
imagesRef.current.forEach((img) => {
|
|
47114
|
+
img.classList.remove("opacity-100");
|
|
47115
|
+
img.classList.add("opacity-0");
|
|
47116
|
+
});
|
|
47117
|
+
if (imagesRef.current[0]) {
|
|
47118
|
+
imagesRef.current[0].classList.add("opacity-100");
|
|
47119
|
+
}
|
|
47120
|
+
};
|
|
47121
|
+
if (layout === "animated-image-preview" && link.links) {
|
|
47122
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
|
|
47123
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "bg-transparent px-0 hover:bg-transparent focus:bg-transparent data-[state=open]:bg-transparent h-fit font-normal text-foreground/60", children: link.title }),
|
|
47124
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "!rounded-2xl !p-0", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-h-[18.75rem] w-[45.25rem] grid-cols-[22.5rem_1fr] gap-4 p-3", children: [
|
|
47125
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-square w-full overflow-hidden rounded-xl", children: link.links.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
47126
|
+
img.Img,
|
|
47127
|
+
{
|
|
47128
|
+
ref: (el) => {
|
|
47129
|
+
if (el) {
|
|
47130
|
+
imagesRef.current[idx] = el;
|
|
47131
|
+
}
|
|
47132
|
+
},
|
|
47133
|
+
src: item.image || "",
|
|
47134
|
+
alt: item.label,
|
|
47135
|
+
className: cn(
|
|
47136
|
+
"absolute top-0 left-0 h-full w-full object-cover transition-opacity duration-300",
|
|
47137
|
+
idx === 0 ? "opacity-100" : "opacity-0"
|
|
47138
|
+
),
|
|
47139
|
+
optixFlowConfig
|
|
47140
|
+
},
|
|
47141
|
+
idx
|
|
47142
|
+
)) }),
|
|
47143
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
47144
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-4 leading-normal font-bold", children: link.title }),
|
|
47145
|
+
/* @__PURE__ */ jsxRuntime.jsx("ul", { children: link.links.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
47146
|
+
NavigationMenuLink,
|
|
47147
|
+
{
|
|
47148
|
+
href: item.url,
|
|
47149
|
+
className: "flex items-center gap-4 rounded-lg px-4 py-3 hover:bg-muted",
|
|
47150
|
+
"data-index": idx,
|
|
47151
|
+
onMouseEnter: handleMouseEnter,
|
|
47152
|
+
onMouseLeave: handleMouseLeave,
|
|
47153
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
47154
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "leading-normal font-medium", children: item.label }),
|
|
47155
|
+
item.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "leading-normal text-muted-foreground", children: item.description })
|
|
47156
|
+
] })
|
|
47157
|
+
}
|
|
47158
|
+
) }, `desktop-nav-sublink-${idx}`)) })
|
|
47159
|
+
] })
|
|
47160
|
+
] }) })
|
|
47161
|
+
] }, `desktop-menu-item-${index}`);
|
|
47162
|
+
}
|
|
47163
|
+
if (layout === "simple-grid" && link.gridItems) {
|
|
47164
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
|
|
47165
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "bg-transparent px-0 hover:bg-transparent focus:bg-transparent data-[state=open]:bg-transparent h-fit font-normal text-foreground/60", children: link.title }),
|
|
47166
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[520px] p-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2", children: link.gridItems.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47167
|
+
NavigationMenuLink,
|
|
47168
|
+
{
|
|
47169
|
+
href: item.href,
|
|
47170
|
+
className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
|
|
47171
|
+
children: [
|
|
47172
|
+
item.imgUrl && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
47173
|
+
img.Img,
|
|
47174
|
+
{
|
|
47175
|
+
src: item.imgUrl,
|
|
47176
|
+
alt: item.title,
|
|
47177
|
+
className: "h-full w-full object-cover object-center",
|
|
47178
|
+
optixFlowConfig
|
|
47179
|
+
}
|
|
47180
|
+
) }),
|
|
47181
|
+
!item.imgUrl && item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 18 }) }),
|
|
47182
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
47183
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base", children: item.title }),
|
|
47184
|
+
item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
|
|
47185
|
+
] })
|
|
47186
|
+
]
|
|
47187
|
+
},
|
|
47188
|
+
`${item.title}-${itemIndex}`
|
|
47189
|
+
)) }) })
|
|
47190
|
+
] }, `desktop-menu-item-${index}`);
|
|
47191
|
+
}
|
|
47192
|
+
if (layout === "list-with-icons" && link.listItems) {
|
|
47193
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
|
|
47194
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "bg-transparent px-0 hover:bg-transparent focus:bg-transparent data-[state=open]:bg-transparent h-fit font-normal text-foreground/60", children: link.title }),
|
|
47195
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[400px] p-4", children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-1", children: link.listItems.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47196
|
+
NavigationMenuLink,
|
|
47197
|
+
{
|
|
47198
|
+
href: item.href,
|
|
47199
|
+
className: "flex items-start gap-3 rounded-lg p-3 hover:bg-muted",
|
|
47200
|
+
children: [
|
|
47201
|
+
item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-8 w-8 items-center justify-center rounded-md bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 16 }) }),
|
|
47202
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
|
|
47203
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: item.title }),
|
|
47204
|
+
item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs text-muted-foreground", children: item.description })
|
|
47205
|
+
] })
|
|
47206
|
+
]
|
|
47207
|
+
}
|
|
47208
|
+
) }, `${item.title}-${itemIndex}`)) }) })
|
|
47209
|
+
] }, `desktop-menu-item-${index}`);
|
|
47210
|
+
}
|
|
47211
|
+
return null;
|
|
47212
|
+
};
|
|
47213
|
+
var MobileSubmenu = ({ submenu, mobileMenuClassName, optixFlowConfig }) => {
|
|
47214
|
+
submenu.layout || "simple-grid";
|
|
47215
|
+
const items = submenu.links || submenu.gridItems || submenu.listItems || [];
|
|
47216
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47217
|
+
"div",
|
|
47218
|
+
{
|
|
47219
|
+
className: cn(
|
|
47220
|
+
"fixed inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden",
|
|
47221
|
+
mobileMenuClassName
|
|
47222
|
+
),
|
|
47223
|
+
children: [
|
|
47224
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-8 py-3.5 text-xs tracking-widest text-muted-foreground uppercase", children: submenu.title }),
|
|
47225
|
+
items.map((item, index) => {
|
|
47226
|
+
const title = item.title || item.label;
|
|
47227
|
+
const href = item.href || item.url;
|
|
47228
|
+
const description = item.description;
|
|
47229
|
+
const icon = item.icon || item.iconName;
|
|
47230
|
+
const imgUrl = item.imgUrl || item.image;
|
|
47231
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47232
|
+
Pressable,
|
|
47233
|
+
{
|
|
47234
|
+
href,
|
|
47235
|
+
className: "flex items-start gap-4 border-b border-border px-8 py-5",
|
|
47236
|
+
children: [
|
|
47237
|
+
imgUrl && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
47238
|
+
img.Img,
|
|
47239
|
+
{
|
|
47240
|
+
src: imgUrl,
|
|
47241
|
+
alt: title,
|
|
47242
|
+
className: "h-full w-full object-cover object-center",
|
|
47243
|
+
optixFlowConfig
|
|
47244
|
+
}
|
|
47245
|
+
) }),
|
|
47246
|
+
!imgUrl && icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-10 w-10 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: icon, size: 16 }) }),
|
|
47247
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
47248
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base", children: title }),
|
|
47249
|
+
description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm text-muted-foreground", children: description })
|
|
47250
|
+
] })
|
|
47251
|
+
]
|
|
47252
|
+
},
|
|
47253
|
+
`${title}-${index}`
|
|
47254
|
+
);
|
|
47255
|
+
})
|
|
47256
|
+
]
|
|
47257
|
+
}
|
|
47258
|
+
);
|
|
47259
|
+
};
|
|
47100
47260
|
var NavbarMegaMenu = ({
|
|
47101
47261
|
className,
|
|
47102
47262
|
containerClassName,
|
|
@@ -47111,12 +47271,8 @@ var NavbarMegaMenu = ({
|
|
|
47111
47271
|
mobileSrc: logoPlaceholders.logoMark
|
|
47112
47272
|
},
|
|
47113
47273
|
logoSlot,
|
|
47114
|
-
|
|
47115
|
-
|
|
47116
|
-
documentationLinks,
|
|
47117
|
-
resources,
|
|
47118
|
-
authActions,
|
|
47119
|
-
authActionsSlot,
|
|
47274
|
+
menuLinks,
|
|
47275
|
+
actions,
|
|
47120
47276
|
background = "white",
|
|
47121
47277
|
spacing = "none",
|
|
47122
47278
|
pattern,
|
|
@@ -47124,49 +47280,56 @@ var NavbarMegaMenu = ({
|
|
|
47124
47280
|
optixFlowConfig
|
|
47125
47281
|
}) => {
|
|
47126
47282
|
const [open, setOpen] = React11.useState(false);
|
|
47127
|
-
const [
|
|
47283
|
+
const [submenuIndex, setSubmenuIndex] = React11.useState(null);
|
|
47284
|
+
const activeSubmenu = submenuIndex !== null ? menuLinks?.[submenuIndex] : null;
|
|
47128
47285
|
const renderLogo = () => {
|
|
47129
47286
|
if (logoSlot) return logoSlot;
|
|
47130
47287
|
if (!logo) return null;
|
|
47131
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47132
|
-
|
|
47133
|
-
|
|
47134
|
-
|
|
47135
|
-
|
|
47136
|
-
|
|
47137
|
-
|
|
47138
|
-
|
|
47139
|
-
|
|
47140
|
-
|
|
47141
|
-
|
|
47142
|
-
|
|
47143
|
-
|
|
47144
|
-
|
|
47145
|
-
|
|
47146
|
-
|
|
47147
|
-
|
|
47148
|
-
|
|
47149
|
-
|
|
47150
|
-
|
|
47288
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47289
|
+
Pressable,
|
|
47290
|
+
{
|
|
47291
|
+
href: logo.url || "/",
|
|
47292
|
+
className: cn("flex items-center gap-2", logoClassName),
|
|
47293
|
+
children: [
|
|
47294
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47295
|
+
img.Img,
|
|
47296
|
+
{
|
|
47297
|
+
src: logo.desktopSrc || logoPlaceholders.darkHorizontalLogo,
|
|
47298
|
+
className: cn("hidden h-7 dark:invert md:block", logo.className),
|
|
47299
|
+
alt: logo.alt || "Logo",
|
|
47300
|
+
optixFlowConfig
|
|
47301
|
+
}
|
|
47302
|
+
),
|
|
47303
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47304
|
+
img.Img,
|
|
47305
|
+
{
|
|
47306
|
+
src: logo.mobileSrc || logoPlaceholders.logoMark,
|
|
47307
|
+
className: cn("h-7 dark:invert md:hidden", logo.className),
|
|
47308
|
+
alt: logo.alt || "Logo",
|
|
47309
|
+
optixFlowConfig
|
|
47310
|
+
}
|
|
47311
|
+
)
|
|
47312
|
+
]
|
|
47313
|
+
}
|
|
47314
|
+
);
|
|
47151
47315
|
};
|
|
47152
|
-
const
|
|
47153
|
-
|
|
47154
|
-
if (!
|
|
47155
|
-
return
|
|
47156
|
-
const {
|
|
47157
|
-
|
|
47158
|
-
|
|
47159
|
-
|
|
47160
|
-
|
|
47161
|
-
|
|
47162
|
-
|
|
47163
|
-
|
|
47164
|
-
|
|
47165
|
-
|
|
47166
|
-
|
|
47167
|
-
|
|
47168
|
-
|
|
47169
|
-
);
|
|
47316
|
+
const hasDropdownItems = (link) => Boolean(link.links?.length || link.gridItems?.length || link.listItems?.length);
|
|
47317
|
+
const renderActions = () => {
|
|
47318
|
+
if (!actions || actions.length === 0) return null;
|
|
47319
|
+
return actions.map((action, index) => {
|
|
47320
|
+
const {
|
|
47321
|
+
label,
|
|
47322
|
+
icon,
|
|
47323
|
+
iconAfter,
|
|
47324
|
+
children,
|
|
47325
|
+
className: actionClassName,
|
|
47326
|
+
...pressableProps
|
|
47327
|
+
} = action;
|
|
47328
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Pressable, { className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
47329
|
+
icon,
|
|
47330
|
+
label,
|
|
47331
|
+
iconAfter
|
|
47332
|
+
] }) }, index);
|
|
47170
47333
|
});
|
|
47171
47334
|
};
|
|
47172
47335
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -47177,404 +47340,160 @@ var NavbarMegaMenu = ({
|
|
|
47177
47340
|
className: cn("inset-x-0 top-0 z-20", className),
|
|
47178
47341
|
pattern,
|
|
47179
47342
|
patternOpacity,
|
|
47180
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47181
|
-
|
|
47182
|
-
|
|
47183
|
-
|
|
47184
|
-
|
|
47185
|
-
|
|
47186
|
-
|
|
47187
|
-
|
|
47188
|
-
|
|
47189
|
-
|
|
47190
|
-
|
|
47191
|
-
|
|
47192
|
-
|
|
47193
|
-
DynamicIcon,
|
|
47194
|
-
{
|
|
47195
|
-
name: "lucide/chevron-left",
|
|
47196
|
-
size: 16,
|
|
47197
|
-
className: "ml-2"
|
|
47198
|
-
}
|
|
47199
|
-
)
|
|
47200
|
-
]
|
|
47201
|
-
}
|
|
47202
|
-
)
|
|
47203
|
-
] }),
|
|
47204
|
-
/* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuList, { className: cn("hidden lg:flex", navigationMenuListClassName), children: [
|
|
47205
|
-
/* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
|
|
47206
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { children: "Platform" }),
|
|
47207
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[900px] p-6", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-between gap-8", children: [
|
|
47208
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47209
|
-
NavigationMenuLink,
|
|
47343
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47344
|
+
NavigationMenu,
|
|
47345
|
+
{
|
|
47346
|
+
className: cn(
|
|
47347
|
+
"min-w-full [&>div:last-child]:left-1/2 [&>div:last-child]:-translate-x-1/2",
|
|
47348
|
+
navClassName
|
|
47349
|
+
),
|
|
47350
|
+
children: [
|
|
47351
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-center justify-between gap-12 py-4", children: [
|
|
47352
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
47353
|
+
(!open || submenuIndex === null) && renderLogo(),
|
|
47354
|
+
open && submenuIndex !== null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47355
|
+
Pressable,
|
|
47210
47356
|
{
|
|
47211
|
-
|
|
47212
|
-
|
|
47213
|
-
|
|
47214
|
-
|
|
47215
|
-
|
|
47357
|
+
variant: "outline",
|
|
47358
|
+
asButton: true,
|
|
47359
|
+
onClick: () => setSubmenuIndex(null),
|
|
47360
|
+
children: [
|
|
47361
|
+
"Back",
|
|
47362
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47363
|
+
DynamicIcon,
|
|
47216
47364
|
{
|
|
47217
|
-
|
|
47218
|
-
|
|
47219
|
-
className: "
|
|
47220
|
-
optixFlowConfig
|
|
47365
|
+
name: "lucide/chevron-left",
|
|
47366
|
+
size: 16,
|
|
47367
|
+
className: "ml-2"
|
|
47221
47368
|
}
|
|
47222
|
-
)
|
|
47223
|
-
|
|
47224
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-base", children: "Platform Overview" }),
|
|
47225
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: "Discover how our platform transforms your workflow." })
|
|
47226
|
-
] })
|
|
47227
|
-
] })
|
|
47369
|
+
)
|
|
47370
|
+
]
|
|
47228
47371
|
}
|
|
47229
|
-
)
|
|
47230
|
-
|
|
47231
|
-
|
|
47232
|
-
|
|
47233
|
-
|
|
47234
|
-
|
|
47235
|
-
|
|
47236
|
-
|
|
47237
|
-
|
|
47238
|
-
|
|
47239
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1 text-base", children: solution.title }),
|
|
47240
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: solution.description })
|
|
47241
|
-
]
|
|
47242
|
-
},
|
|
47243
|
-
index
|
|
47244
|
-
)) })
|
|
47245
|
-
] })
|
|
47246
|
-
] }) })
|
|
47247
|
-
] }),
|
|
47248
|
-
/* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
|
|
47249
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { children: "Use cases" }),
|
|
47250
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[900px] p-6", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-between gap-4", children: [
|
|
47251
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-1/2 max-w-[510px]", children: [
|
|
47252
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-6 text-xs tracking-widest text-muted-foreground uppercase", children: "Use cases" }),
|
|
47253
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-4", children: useCases?.map((useCase, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47254
|
-
NavigationMenuLink,
|
|
47255
|
-
{
|
|
47256
|
-
href: useCase.href,
|
|
47257
|
-
className: "group flex flex-row items-center gap-5",
|
|
47258
|
-
children: [
|
|
47259
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "group-hover:opacity-60", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: useCase.icon, size: 16 }) }),
|
|
47260
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base", children: useCase.title })
|
|
47261
|
-
]
|
|
47262
|
-
},
|
|
47263
|
-
index
|
|
47264
|
-
)) })
|
|
47265
|
-
] }),
|
|
47266
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47267
|
-
NavigationMenuLink,
|
|
47268
|
-
{
|
|
47269
|
-
href: "#",
|
|
47270
|
-
className: "group flex-1 p-0 hover:bg-transparent",
|
|
47271
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full rounded-lg border border-input bg-background p-0 hover:bg-transparent", children: [
|
|
47272
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-2/5 max-w-[310px] shrink-0 overflow-clip rounded-tl-lg rounded-bl-lg", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
47273
|
-
img.Img,
|
|
47372
|
+
)
|
|
47373
|
+
] }),
|
|
47374
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47375
|
+
NavigationMenuList,
|
|
47376
|
+
{
|
|
47377
|
+
className: cn("hidden lg:flex", navigationMenuListClassName),
|
|
47378
|
+
children: menuLinks?.map((link, index) => {
|
|
47379
|
+
if (hasDropdownItems(link)) {
|
|
47380
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
47381
|
+
DesktopMenuItem,
|
|
47274
47382
|
{
|
|
47275
|
-
|
|
47276
|
-
|
|
47277
|
-
className: "h-full w-full object-cover object-center",
|
|
47383
|
+
link,
|
|
47384
|
+
index,
|
|
47278
47385
|
optixFlowConfig
|
|
47279
|
-
}
|
|
47280
|
-
|
|
47281
|
-
|
|
47282
|
-
|
|
47283
|
-
|
|
47284
|
-
|
|
47285
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: "Tailored solutions designed specifically for your team's unique needs." })
|
|
47286
|
-
] })
|
|
47287
|
-
] })
|
|
47288
|
-
] })
|
|
47289
|
-
}
|
|
47290
|
-
)
|
|
47291
|
-
] }) })
|
|
47292
|
-
] }),
|
|
47293
|
-
/* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
|
|
47294
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { children: "Developers" }),
|
|
47295
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[900px] p-6", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-between gap-8", children: [
|
|
47296
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-1/3 max-w-[404px]", children: [
|
|
47297
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-xs tracking-widest text-muted-foreground uppercase", children: "Documentation" }),
|
|
47298
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-6 text-sm font-normal text-muted-foreground", children: "Call to action for developers" }),
|
|
47299
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "-ml-2.5 space-y-2.5", children: documentationLinks?.map((link, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47300
|
-
NavigationMenuLink,
|
|
47301
|
-
{
|
|
47302
|
-
href: link.href,
|
|
47303
|
-
className: "group flex flex-row items-center gap-2.5 rounded-md p-2.5 focus:text-accent-foreground",
|
|
47304
|
-
children: [
|
|
47305
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47306
|
-
DynamicIcon,
|
|
47307
|
-
{
|
|
47308
|
-
name: "lucide/arrow-up-right",
|
|
47309
|
-
size: 16
|
|
47310
|
-
}
|
|
47311
|
-
),
|
|
47312
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base", children: link.title })
|
|
47313
|
-
]
|
|
47314
|
-
},
|
|
47315
|
-
index
|
|
47316
|
-
)) })
|
|
47317
|
-
] }),
|
|
47318
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-[716px] flex-1 space-y-6", children: [
|
|
47319
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
47320
|
-
NavigationMenuLink,
|
|
47321
|
-
{
|
|
47322
|
-
href: "#",
|
|
47323
|
-
className: "flex flex-row items-center overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
|
|
47324
|
-
children: [
|
|
47325
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
|
|
47326
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-base", children: "Showcase link" }),
|
|
47327
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: "Explore real-world implementations and success stories from our community." })
|
|
47328
|
-
] }),
|
|
47329
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-[154px] max-w-[264px] shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
47330
|
-
img.Img,
|
|
47331
|
-
{
|
|
47332
|
-
src: imagePlaceholders[2],
|
|
47333
|
-
alt: "Showcase",
|
|
47334
|
-
className: "h-full w-full object-cover object-center",
|
|
47335
|
-
optixFlowConfig
|
|
47336
|
-
}
|
|
47337
|
-
) })
|
|
47338
|
-
]
|
|
47386
|
+
},
|
|
47387
|
+
`${link.title}-${index}`
|
|
47388
|
+
);
|
|
47389
|
+
}
|
|
47390
|
+
if (!link.url) {
|
|
47391
|
+
return null;
|
|
47339
47392
|
}
|
|
47393
|
+
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
47394
|
+
NavigationMenuLink,
|
|
47395
|
+
{
|
|
47396
|
+
href: link.url,
|
|
47397
|
+
className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-accent-foreground",
|
|
47398
|
+
children: link.title
|
|
47399
|
+
}
|
|
47400
|
+
) }, `${link.title}-${index}`);
|
|
47401
|
+
})
|
|
47402
|
+
}
|
|
47403
|
+
),
|
|
47404
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47405
|
+
"div",
|
|
47406
|
+
{
|
|
47407
|
+
className: cn(
|
|
47408
|
+
"hidden items-center gap-2 lg:flex",
|
|
47409
|
+
actionsClassName
|
|
47340
47410
|
),
|
|
47341
|
-
|
|
47342
|
-
|
|
47343
|
-
|
|
47344
|
-
|
|
47345
|
-
|
|
47346
|
-
|
|
47347
|
-
|
|
47348
|
-
|
|
47349
|
-
|
|
47350
|
-
|
|
47351
|
-
|
|
47352
|
-
|
|
47353
|
-
|
|
47354
|
-
|
|
47355
|
-
|
|
47356
|
-
|
|
47357
|
-
optixFlowConfig
|
|
47358
|
-
}
|
|
47359
|
-
) })
|
|
47360
|
-
]
|
|
47411
|
+
children: renderActions()
|
|
47412
|
+
}
|
|
47413
|
+
),
|
|
47414
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-4 lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47415
|
+
Pressable,
|
|
47416
|
+
{
|
|
47417
|
+
variant: "outline",
|
|
47418
|
+
size: "icon",
|
|
47419
|
+
asButton: true,
|
|
47420
|
+
"aria-label": "Main Menu",
|
|
47421
|
+
onClick: () => {
|
|
47422
|
+
if (open) {
|
|
47423
|
+
setOpen(false);
|
|
47424
|
+
setSubmenuIndex(null);
|
|
47425
|
+
} else {
|
|
47426
|
+
setOpen(true);
|
|
47361
47427
|
}
|
|
47362
|
-
|
|
47363
|
-
|
|
47364
|
-
|
|
47428
|
+
},
|
|
47429
|
+
children: [
|
|
47430
|
+
!open && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 }),
|
|
47431
|
+
open && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", size: 16 })
|
|
47432
|
+
]
|
|
47433
|
+
}
|
|
47434
|
+
) })
|
|
47365
47435
|
] }),
|
|
47366
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
47367
|
-
|
|
47368
|
-
|
|
47369
|
-
|
|
47370
|
-
|
|
47371
|
-
|
|
47372
|
-
|
|
47373
|
-
|
|
47374
|
-
|
|
47375
|
-
|
|
47376
|
-
|
|
47377
|
-
|
|
47378
|
-
|
|
47379
|
-
|
|
47380
|
-
|
|
47381
|
-
|
|
47382
|
-
|
|
47383
|
-
|
|
47384
|
-
|
|
47385
|
-
|
|
47386
|
-
|
|
47387
|
-
|
|
47388
|
-
|
|
47389
|
-
href: "#",
|
|
47390
|
-
className: "mb-6 flex flex-row overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
|
|
47391
|
-
children: [
|
|
47392
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
|
|
47393
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-base", children: "Customers" }),
|
|
47394
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: "See how leading companies leverage our platform to drive innovation." })
|
|
47395
|
-
] }),
|
|
47396
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-1/3 max-w-[130px] shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
47397
|
-
img.Img,
|
|
47398
|
-
{
|
|
47399
|
-
src: imagePlaceholders[4],
|
|
47400
|
-
alt: "Customers",
|
|
47401
|
-
className: "h-full w-full object-cover object-center",
|
|
47402
|
-
optixFlowConfig
|
|
47403
|
-
}
|
|
47404
|
-
) })
|
|
47405
|
-
]
|
|
47436
|
+
open && submenuIndex === null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47437
|
+
"div",
|
|
47438
|
+
{
|
|
47439
|
+
className: cn(
|
|
47440
|
+
"fixed inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden",
|
|
47441
|
+
mobileMenuClassName
|
|
47442
|
+
),
|
|
47443
|
+
children: [
|
|
47444
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { children: menuLinks?.map((link, index) => {
|
|
47445
|
+
if (hasDropdownItems(link)) {
|
|
47446
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47447
|
+
"button",
|
|
47448
|
+
{
|
|
47449
|
+
type: "button",
|
|
47450
|
+
className: "flex w-full items-center border-b border-border px-8 py-7 text-left",
|
|
47451
|
+
onClick: () => setSubmenuIndex(index),
|
|
47452
|
+
children: [
|
|
47453
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1", children: link.title }),
|
|
47454
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 }) })
|
|
47455
|
+
]
|
|
47456
|
+
},
|
|
47457
|
+
`${link.title}-${index}`
|
|
47458
|
+
);
|
|
47406
47459
|
}
|
|
47407
|
-
|
|
47408
|
-
|
|
47409
|
-
|
|
47460
|
+
if (!link.url) {
|
|
47461
|
+
return null;
|
|
47462
|
+
}
|
|
47463
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
47464
|
+
Pressable,
|
|
47465
|
+
{
|
|
47466
|
+
href: link.url,
|
|
47467
|
+
className: "flex w-full items-center border-b border-border px-8 py-7 text-left",
|
|
47468
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1", children: link.title })
|
|
47469
|
+
},
|
|
47470
|
+
`${link.title}-${index}`
|
|
47471
|
+
);
|
|
47472
|
+
}) }),
|
|
47473
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47474
|
+
"div",
|
|
47410
47475
|
{
|
|
47411
|
-
|
|
47412
|
-
|
|
47413
|
-
|
|
47414
|
-
|
|
47415
|
-
|
|
47416
|
-
]
|
|
47476
|
+
className: cn(
|
|
47477
|
+
"mx-8 mt-auto flex flex-col gap-4 py-12",
|
|
47478
|
+
actionsClassName
|
|
47479
|
+
),
|
|
47480
|
+
children: renderActions()
|
|
47417
47481
|
}
|
|
47418
47482
|
)
|
|
47419
|
-
] })
|
|
47420
|
-
] }) })
|
|
47421
|
-
] })
|
|
47422
|
-
] }),
|
|
47423
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("hidden items-center gap-2 lg:flex", actionsClassName), children: renderAuthActions() }),
|
|
47424
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-4 lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47425
|
-
Pressable,
|
|
47426
|
-
{
|
|
47427
|
-
variant: "outline",
|
|
47428
|
-
size: "icon",
|
|
47429
|
-
asButton: true,
|
|
47430
|
-
"aria-label": "Main Menu",
|
|
47431
|
-
onClick: () => {
|
|
47432
|
-
if (open) {
|
|
47433
|
-
setOpen(false);
|
|
47434
|
-
setSubmenu(null);
|
|
47435
|
-
} else {
|
|
47436
|
-
setOpen(true);
|
|
47437
|
-
}
|
|
47438
|
-
},
|
|
47439
|
-
children: [
|
|
47440
|
-
!open && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 }),
|
|
47441
|
-
open && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", size: 16 })
|
|
47442
|
-
]
|
|
47443
|
-
}
|
|
47444
|
-
) })
|
|
47445
|
-
] }),
|
|
47446
|
-
open && !submenu && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("fixed inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden", mobileMenuClassName), children: [
|
|
47447
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
47448
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
47449
|
-
"button",
|
|
47450
|
-
{
|
|
47451
|
-
type: "button",
|
|
47452
|
-
className: "flex w-full items-center border-b border-border px-8 py-7 text-left",
|
|
47453
|
-
onClick: () => setSubmenu("platform"),
|
|
47454
|
-
children: [
|
|
47455
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1", children: "Platform" }),
|
|
47456
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 }) })
|
|
47457
|
-
]
|
|
47458
|
-
}
|
|
47459
|
-
),
|
|
47460
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
47461
|
-
"button",
|
|
47462
|
-
{
|
|
47463
|
-
type: "button",
|
|
47464
|
-
className: "flex w-full items-center border-b border-border px-8 py-7 text-left",
|
|
47465
|
-
onClick: () => setSubmenu("usecases"),
|
|
47466
|
-
children: [
|
|
47467
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1", children: "Use cases" }),
|
|
47468
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 }) })
|
|
47469
|
-
]
|
|
47470
|
-
}
|
|
47471
|
-
),
|
|
47472
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
47473
|
-
"button",
|
|
47474
|
-
{
|
|
47475
|
-
type: "button",
|
|
47476
|
-
className: "flex w-full items-center border-b border-border px-8 py-7 text-left",
|
|
47477
|
-
onClick: () => setSubmenu("developers"),
|
|
47478
|
-
children: [
|
|
47479
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1", children: "Developers" }),
|
|
47480
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 }) })
|
|
47481
47483
|
]
|
|
47482
47484
|
}
|
|
47483
47485
|
),
|
|
47484
|
-
/* @__PURE__ */ jsxRuntime.
|
|
47485
|
-
|
|
47486
|
+
open && activeSubmenu && hasDropdownItems(activeSubmenu) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
47487
|
+
MobileSubmenu,
|
|
47486
47488
|
{
|
|
47487
|
-
|
|
47488
|
-
|
|
47489
|
-
onClick: () => setSubmenu("resources"),
|
|
47490
|
-
children: [
|
|
47491
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1", children: "Resources" }),
|
|
47492
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 }) })
|
|
47493
|
-
]
|
|
47494
|
-
}
|
|
47495
|
-
)
|
|
47496
|
-
] }),
|
|
47497
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mx-8 mt-auto flex flex-col gap-4 py-12", actionsClassName), children: renderAuthActions() })
|
|
47498
|
-
] }),
|
|
47499
|
-
open && submenu === "platform" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("fixed inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden", mobileMenuClassName), children: [
|
|
47500
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Pressable, { href: "#", className: "block space-y-6 px-8 py-8", children: [
|
|
47501
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full overflow-clip rounded-lg", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
47502
|
-
img.Img,
|
|
47503
|
-
{
|
|
47504
|
-
src: imagePlaceholders[0],
|
|
47505
|
-
alt: "Platform overview",
|
|
47506
|
-
className: "aspect-2/1 h-full w-full object-cover object-center",
|
|
47489
|
+
submenu: activeSubmenu,
|
|
47490
|
+
mobileMenuClassName,
|
|
47507
47491
|
optixFlowConfig
|
|
47508
47492
|
}
|
|
47509
|
-
)
|
|
47510
|
-
|
|
47511
|
-
|
|
47512
|
-
|
|
47513
|
-
] })
|
|
47514
|
-
] }),
|
|
47515
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-8 py-3.5 text-xs tracking-widest text-muted-foreground uppercase", children: "Solutions" }),
|
|
47516
|
-
solutions?.map((solution, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47517
|
-
Pressable,
|
|
47518
|
-
{
|
|
47519
|
-
href: solution.href,
|
|
47520
|
-
className: "flex items-center gap-5 border-b border-border px-8 py-5",
|
|
47521
|
-
children: [
|
|
47522
|
-
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: solution.icon, size: 20 }),
|
|
47523
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
47524
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base", children: solution.title }),
|
|
47525
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm text-muted-foreground", children: solution.description })
|
|
47526
|
-
] })
|
|
47527
|
-
]
|
|
47528
|
-
},
|
|
47529
|
-
index
|
|
47530
|
-
))
|
|
47531
|
-
] }),
|
|
47532
|
-
open && submenu === "usecases" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("fixed inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden", mobileMenuClassName), children: [
|
|
47533
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-8 py-3.5 text-xs tracking-widest text-muted-foreground uppercase", children: "Use cases" }),
|
|
47534
|
-
useCases?.map((useCase, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47535
|
-
Pressable,
|
|
47536
|
-
{
|
|
47537
|
-
href: useCase.href,
|
|
47538
|
-
className: "flex items-center gap-5 border-b border-border px-8 py-5",
|
|
47539
|
-
children: [
|
|
47540
|
-
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: useCase.icon, size: 16 }),
|
|
47541
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base", children: useCase.title })
|
|
47542
|
-
]
|
|
47543
|
-
},
|
|
47544
|
-
index
|
|
47545
|
-
))
|
|
47546
|
-
] }),
|
|
47547
|
-
open && submenu === "developers" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("fixed inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden", mobileMenuClassName), children: [
|
|
47548
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-8 py-3.5 text-xs tracking-widest text-muted-foreground uppercase", children: "Documentation" }),
|
|
47549
|
-
documentationLinks?.map((link, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47550
|
-
Pressable,
|
|
47551
|
-
{
|
|
47552
|
-
href: link.href,
|
|
47553
|
-
className: "flex items-center gap-5 border-b border-border px-8 py-5",
|
|
47554
|
-
children: [
|
|
47555
|
-
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/arrow-up-right", size: 16 }),
|
|
47556
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base", children: link.title })
|
|
47557
|
-
]
|
|
47558
|
-
},
|
|
47559
|
-
index
|
|
47560
|
-
))
|
|
47561
|
-
] }),
|
|
47562
|
-
open && submenu === "resources" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("fixed inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden", mobileMenuClassName), children: [
|
|
47563
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-8 py-3.5 text-xs tracking-widest text-muted-foreground uppercase", children: "Resources" }),
|
|
47564
|
-
resources?.map((resource, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
47565
|
-
Pressable,
|
|
47566
|
-
{
|
|
47567
|
-
href: resource.href,
|
|
47568
|
-
className: "flex items-center gap-5 border-b border-border px-8 py-5",
|
|
47569
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
47570
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base", children: resource.title }),
|
|
47571
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm text-muted-foreground", children: resource.description })
|
|
47572
|
-
] })
|
|
47573
|
-
},
|
|
47574
|
-
index
|
|
47575
|
-
))
|
|
47576
|
-
] })
|
|
47577
|
-
] }) })
|
|
47493
|
+
)
|
|
47494
|
+
]
|
|
47495
|
+
}
|
|
47496
|
+
) })
|
|
47578
47497
|
}
|
|
47579
47498
|
);
|
|
47580
47499
|
};
|
|
@@ -47591,16 +47510,9 @@ var NavbarEnterpriseMega = ({
|
|
|
47591
47510
|
src: logoPlaceholders.logoMark
|
|
47592
47511
|
},
|
|
47593
47512
|
logoSlot,
|
|
47594
|
-
|
|
47595
|
-
|
|
47596
|
-
|
|
47597
|
-
productCategories,
|
|
47598
|
-
globalCategories,
|
|
47599
|
-
regions,
|
|
47600
|
-
resources,
|
|
47601
|
-
topicGroups,
|
|
47602
|
-
authActions,
|
|
47603
|
-
authActionsSlot,
|
|
47513
|
+
menuLinks,
|
|
47514
|
+
actions,
|
|
47515
|
+
actionsSlot,
|
|
47604
47516
|
background = "white",
|
|
47605
47517
|
spacing = "none",
|
|
47606
47518
|
pattern,
|
|
@@ -47647,10 +47559,10 @@ var NavbarEnterpriseMega = ({
|
|
|
47647
47559
|
}
|
|
47648
47560
|
);
|
|
47649
47561
|
};
|
|
47650
|
-
const
|
|
47651
|
-
if (
|
|
47652
|
-
if (!
|
|
47653
|
-
return
|
|
47562
|
+
const renderActions = () => {
|
|
47563
|
+
if (actionsSlot) return actionsSlot;
|
|
47564
|
+
if (!actions || actions.length === 0) return null;
|
|
47565
|
+
return actions.map((action, index) => {
|
|
47654
47566
|
const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
|
|
47655
47567
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
47656
47568
|
Pressable,
|
|
@@ -47681,24 +47593,17 @@ var NavbarEnterpriseMega = ({
|
|
|
47681
47593
|
patternOpacity,
|
|
47682
47594
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex h-16 items-center justify-between gap-8", navClassName), children: [
|
|
47683
47595
|
renderLogo(),
|
|
47684
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: cn("hidden lg:flex", navigationMenuClassName), viewport: false, children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children:
|
|
47685
|
-
|
|
47596
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: cn("hidden lg:flex", navigationMenuClassName), viewport: false, children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: menuLinks?.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
47597
|
+
DesktopMenuItem2,
|
|
47686
47598
|
{
|
|
47687
47599
|
item,
|
|
47688
47600
|
index,
|
|
47689
|
-
solutions: solutions ?? [],
|
|
47690
|
-
solutionTechnologies: solutionTechnologies ?? [],
|
|
47691
|
-
productCategories: productCategories ?? [],
|
|
47692
|
-
globalCategories: globalCategories ?? [],
|
|
47693
|
-
regions: regions ?? [],
|
|
47694
|
-
resources: resources ?? [],
|
|
47695
|
-
topicGroups: topicGroups ?? [],
|
|
47696
47601
|
optixFlowConfig
|
|
47697
47602
|
},
|
|
47698
47603
|
`desktop-link-${index}`
|
|
47699
47604
|
)) }) }),
|
|
47700
47605
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex items-center gap-3", actionsClassName), children: [
|
|
47701
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden lg:flex lg:items-center lg:gap-3", children:
|
|
47606
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden lg:flex lg:items-center lg:gap-3", children: renderActions() }),
|
|
47702
47607
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
47703
47608
|
Pressable,
|
|
47704
47609
|
{
|
|
@@ -47732,92 +47637,108 @@ var NavbarEnterpriseMega = ({
|
|
|
47732
47637
|
MobileNavigationMenu,
|
|
47733
47638
|
{
|
|
47734
47639
|
open,
|
|
47735
|
-
|
|
47736
|
-
solutions: solutions ?? [],
|
|
47737
|
-
productCategories: productCategories ?? [],
|
|
47738
|
-
resources: resources ?? [],
|
|
47640
|
+
menuLinks: menuLinks ?? [],
|
|
47739
47641
|
actionsClassName,
|
|
47740
|
-
|
|
47741
|
-
|
|
47642
|
+
actions,
|
|
47643
|
+
actionsSlot,
|
|
47742
47644
|
optixFlowConfig
|
|
47743
47645
|
}
|
|
47744
47646
|
)
|
|
47745
47647
|
] });
|
|
47746
47648
|
};
|
|
47747
|
-
var
|
|
47649
|
+
var DesktopMenuItem2 = ({
|
|
47748
47650
|
item,
|
|
47749
47651
|
index,
|
|
47750
|
-
solutions,
|
|
47751
|
-
solutionTechnologies,
|
|
47752
|
-
productCategories,
|
|
47753
|
-
globalCategories,
|
|
47754
|
-
regions,
|
|
47755
|
-
resources,
|
|
47756
|
-
topicGroups,
|
|
47757
47652
|
optixFlowConfig
|
|
47758
47653
|
}) => {
|
|
47759
|
-
|
|
47654
|
+
const hasDropdown = Boolean(item.layout);
|
|
47655
|
+
if (hasDropdown) {
|
|
47760
47656
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
47761
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "
|
|
47762
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "rounded-xl! border-0! p-0!", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-dvw px-8 pt-6 pb-12", children: /* @__PURE__ */ jsxRuntime.
|
|
47763
|
-
item.menuType === "solutions" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
47764
|
-
SolutionsMenu,
|
|
47765
|
-
{
|
|
47766
|
-
solutions,
|
|
47767
|
-
solutionTechnologies,
|
|
47768
|
-
optixFlowConfig
|
|
47769
|
-
}
|
|
47770
|
-
),
|
|
47771
|
-
item.menuType === "products" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
47772
|
-
ProductsMenu,
|
|
47773
|
-
{
|
|
47774
|
-
productCategories,
|
|
47775
|
-
optixFlowConfig
|
|
47776
|
-
}
|
|
47777
|
-
),
|
|
47778
|
-
item.menuType === "global" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
47779
|
-
GlobalMenu,
|
|
47780
|
-
{
|
|
47781
|
-
globalCategories,
|
|
47782
|
-
regions,
|
|
47783
|
-
optixFlowConfig
|
|
47784
|
-
}
|
|
47785
|
-
),
|
|
47786
|
-
item.menuType === "partners" && /* @__PURE__ */ jsxRuntime.jsx(PartnersMenu, { optixFlowConfig }),
|
|
47787
|
-
item.menuType === "resources" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
47788
|
-
ResourcesMenu,
|
|
47789
|
-
{
|
|
47790
|
-
resources,
|
|
47791
|
-
topicGroups
|
|
47792
|
-
}
|
|
47793
|
-
)
|
|
47794
|
-
] }) }) })
|
|
47657
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "bg-transparent px-0 hover:bg-transparent focus:bg-transparent data-[state=open]:bg-transparent h-fit font-normal text-foreground/60", children: item.title }),
|
|
47658
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "rounded-xl! border-0! p-0!", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-dvw px-8 pt-6 pb-12", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container", children: renderDropdownContent(item, optixFlowConfig) }) }) })
|
|
47795
47659
|
] }, `desktop-menu-item-${index}`);
|
|
47796
47660
|
}
|
|
47797
47661
|
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuItem, { value: `${index}`, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
47798
47662
|
NavigationMenuLink,
|
|
47799
47663
|
{
|
|
47800
47664
|
href: item.url,
|
|
47801
|
-
className:
|
|
47665
|
+
className: "bg-transparent px-0 hover:bg-transparent focus:bg-transparent data-[state=open]:bg-transparent h-fit font-normal text-foreground/60",
|
|
47802
47666
|
children: item.title
|
|
47803
47667
|
}
|
|
47804
47668
|
) }, `desktop-menu-item-${index}`);
|
|
47805
47669
|
};
|
|
47670
|
+
var renderDropdownContent = (item, optixFlowConfig) => {
|
|
47671
|
+
switch (item.layout) {
|
|
47672
|
+
case "solutions-with-platform":
|
|
47673
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
47674
|
+
SolutionsMenu,
|
|
47675
|
+
{
|
|
47676
|
+
solutionCards: item.solutionCards ?? [],
|
|
47677
|
+
platformItems: item.platformItems ?? [],
|
|
47678
|
+
featuredHeroCard: item.featuredHeroCard,
|
|
47679
|
+
optixFlowConfig
|
|
47680
|
+
}
|
|
47681
|
+
);
|
|
47682
|
+
case "products-categorized":
|
|
47683
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
47684
|
+
ProductsMenu,
|
|
47685
|
+
{
|
|
47686
|
+
productCategories: item.productCategories ?? [],
|
|
47687
|
+
featuredHeroCard: item.featuredHeroCard,
|
|
47688
|
+
optixFlowConfig
|
|
47689
|
+
}
|
|
47690
|
+
);
|
|
47691
|
+
case "features-with-locations":
|
|
47692
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
47693
|
+
GlobalMenu,
|
|
47694
|
+
{
|
|
47695
|
+
featureCategories: item.featureCategories ?? [],
|
|
47696
|
+
regions: item.regions ?? [],
|
|
47697
|
+
featuredHeroCard: item.featuredHeroCard,
|
|
47698
|
+
optixFlowConfig
|
|
47699
|
+
}
|
|
47700
|
+
);
|
|
47701
|
+
case "partners-promotional":
|
|
47702
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
47703
|
+
PartnersMenu,
|
|
47704
|
+
{
|
|
47705
|
+
partnerCards: item.partnerCards ?? [],
|
|
47706
|
+
featuredHeroCard: item.featuredHeroCard,
|
|
47707
|
+
optixFlowConfig
|
|
47708
|
+
}
|
|
47709
|
+
);
|
|
47710
|
+
case "resources-with-topics":
|
|
47711
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
47712
|
+
ResourcesMenu,
|
|
47713
|
+
{
|
|
47714
|
+
resourceItems: item.resourceItems ?? [],
|
|
47715
|
+
topicGroups: item.topicGroups ?? [],
|
|
47716
|
+
featuredHeroCard: item.featuredHeroCard
|
|
47717
|
+
}
|
|
47718
|
+
);
|
|
47719
|
+
default:
|
|
47720
|
+
return null;
|
|
47721
|
+
}
|
|
47722
|
+
};
|
|
47806
47723
|
var SolutionsMenu = ({
|
|
47807
|
-
|
|
47808
|
-
|
|
47724
|
+
solutionCards,
|
|
47725
|
+
platformItems,
|
|
47726
|
+
featuredHeroCard,
|
|
47809
47727
|
optixFlowConfig
|
|
47810
47728
|
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-8 sm:grid-cols-2", children: [
|
|
47811
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47729
|
+
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx(
|
|
47812
47730
|
Pressable,
|
|
47813
47731
|
{
|
|
47814
|
-
href:
|
|
47815
|
-
className:
|
|
47732
|
+
href: featuredHeroCard.href,
|
|
47733
|
+
className: cn(
|
|
47734
|
+
"group relative flex h-full flex-row overflow-hidden rounded-lg px-0 pt-8 text-primary-foreground lg:rounded-xl lg:px-6",
|
|
47735
|
+
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
47736
|
+
),
|
|
47816
47737
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex w-full flex-col space-y-12 text-left md:space-y-8 lg:w-full lg:flex-row lg:justify-between lg:space-y-0 lg:space-x-6 xl:space-x-8", children: [
|
|
47817
47738
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex flex-col px-6 lg:mb-6 lg:px-0", children: [
|
|
47818
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-6 text-xs font-medium tracking-wider uppercase md:mb-8", children:
|
|
47739
|
+
featuredHeroCard.subtitle && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-6 text-xs font-medium tracking-wider uppercase md:mb-8", children: featuredHeroCard.subtitle }),
|
|
47819
47740
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto flex items-center space-x-1 text-xs", children: [
|
|
47820
|
-
|
|
47741
|
+
featuredHeroCard.title,
|
|
47821
47742
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47822
47743
|
DynamicIcon,
|
|
47823
47744
|
{
|
|
@@ -47827,13 +47748,13 @@ var SolutionsMenu = ({
|
|
|
47827
47748
|
}
|
|
47828
47749
|
)
|
|
47829
47750
|
] }),
|
|
47830
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-xs text-primary-foreground/85", children:
|
|
47751
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-xs text-primary-foreground/85", children: featuredHeroCard.description })
|
|
47831
47752
|
] }),
|
|
47832
47753
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-2/1 overflow-clip rounded-t pl-6 lg:max-w-64 lg:pl-0 xl:max-w-96", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
47833
47754
|
img.Img,
|
|
47834
47755
|
{
|
|
47835
|
-
src:
|
|
47836
|
-
alt:
|
|
47756
|
+
src: featuredHeroCard.image,
|
|
47757
|
+
alt: featuredHeroCard.title,
|
|
47837
47758
|
className: "aspect-2/1 h-full w-full translate-y-px object-cover object-center",
|
|
47838
47759
|
optixFlowConfig
|
|
47839
47760
|
}
|
|
@@ -47841,9 +47762,9 @@ var SolutionsMenu = ({
|
|
|
47841
47762
|
] })
|
|
47842
47763
|
}
|
|
47843
47764
|
),
|
|
47844
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "order-last mt-3 sm:order-0 sm:mt-0 sm:py-2 md:p-6", children: [
|
|
47765
|
+
platformItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "order-last mt-3 sm:order-0 sm:mt-0 sm:py-2 md:p-6", children: [
|
|
47845
47766
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-left leading-none md:col-span-2 lg:col-span-4 lg:mb-6", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Developer Platform" }) }),
|
|
47846
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-4 lg:grid-cols-2", children:
|
|
47767
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-4 lg:grid-cols-2", children: platformItems.map((technology) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47847
47768
|
NavigationMenuLink,
|
|
47848
47769
|
{
|
|
47849
47770
|
href: technology.href,
|
|
@@ -47864,7 +47785,7 @@ var SolutionsMenu = ({
|
|
|
47864
47785
|
technology.id
|
|
47865
47786
|
)) })
|
|
47866
47787
|
] }),
|
|
47867
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-full grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-4 lg:gap-8", children:
|
|
47788
|
+
solutionCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-full grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-4 lg:gap-8", children: solutionCards.map((solution) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-md border border-border p-5", children: [
|
|
47868
47789
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-border pb-4", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47869
47790
|
Pressable,
|
|
47870
47791
|
{
|
|
@@ -47910,26 +47831,30 @@ var SolutionsMenu = ({
|
|
|
47910
47831
|
] });
|
|
47911
47832
|
var ProductsMenu = ({
|
|
47912
47833
|
productCategories,
|
|
47834
|
+
featuredHeroCard,
|
|
47913
47835
|
optixFlowConfig
|
|
47914
47836
|
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-y-12 lg:flex lg:space-x-8", children: [
|
|
47915
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:max-w-[18rem]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
47837
|
+
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:max-w-[18rem]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
47916
47838
|
Pressable,
|
|
47917
47839
|
{
|
|
47918
|
-
href:
|
|
47919
|
-
className:
|
|
47840
|
+
href: featuredHeroCard.href,
|
|
47841
|
+
className: cn(
|
|
47842
|
+
"group relative flex h-full flex-row overflow-hidden rounded-lg px-0 text-primary-foreground lg:rounded-xl",
|
|
47843
|
+
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
47844
|
+
),
|
|
47920
47845
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full flex-col text-left", children: [
|
|
47921
47846
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex aspect-2/1 max-h-44 w-full flex-1 justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
47922
47847
|
img.Img,
|
|
47923
47848
|
{
|
|
47924
|
-
src:
|
|
47925
|
-
alt:
|
|
47849
|
+
src: featuredHeroCard.image,
|
|
47850
|
+
alt: featuredHeroCard.title,
|
|
47926
47851
|
className: "h-full w-full object-cover object-center",
|
|
47927
47852
|
optixFlowConfig
|
|
47928
47853
|
}
|
|
47929
47854
|
) }),
|
|
47930
47855
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-20 flex flex-col rounded-b-xl bg-primary p-6", children: [
|
|
47931
47856
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-1 text-xs", children: [
|
|
47932
|
-
|
|
47857
|
+
featuredHeroCard.title,
|
|
47933
47858
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47934
47859
|
DynamicIcon,
|
|
47935
47860
|
{
|
|
@@ -47939,12 +47864,12 @@ var ProductsMenu = ({
|
|
|
47939
47864
|
}
|
|
47940
47865
|
)
|
|
47941
47866
|
] }),
|
|
47942
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-xs text-primary-foreground/70", children:
|
|
47867
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-xs text-primary-foreground/70", children: featuredHeroCard.description })
|
|
47943
47868
|
] })
|
|
47944
47869
|
] })
|
|
47945
47870
|
}
|
|
47946
47871
|
) }),
|
|
47947
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid w-full gap-y-12 lg:gap-y-6", children: productCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-y-2 lg:gap-y-6", children: [
|
|
47872
|
+
productCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid w-full gap-y-12 lg:gap-y-6", children: productCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-y-2 lg:gap-y-6", children: [
|
|
47948
47873
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-border text-left lg:border-b lg:pb-3", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: category.title }) }),
|
|
47949
47874
|
/* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid md:grid-cols-3 md:gap-x-5 lg:gap-y-7", children: category.products.map((product) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47950
47875
|
NavigationMenuLink,
|
|
@@ -47980,29 +47905,33 @@ var ProductsMenu = ({
|
|
|
47980
47905
|
] }, category.title)) })
|
|
47981
47906
|
] });
|
|
47982
47907
|
var GlobalMenu = ({
|
|
47983
|
-
|
|
47908
|
+
featureCategories,
|
|
47984
47909
|
regions,
|
|
47910
|
+
featuredHeroCard,
|
|
47985
47911
|
optixFlowConfig
|
|
47986
47912
|
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
47987
47913
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-6 lg:flex lg:space-y-0 lg:space-x-8", children: [
|
|
47988
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:max-w-[18rem]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
47914
|
+
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:max-w-[18rem]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
47989
47915
|
Pressable,
|
|
47990
47916
|
{
|
|
47991
|
-
href:
|
|
47992
|
-
className:
|
|
47917
|
+
href: featuredHeroCard.href,
|
|
47918
|
+
className: cn(
|
|
47919
|
+
"group relative flex h-full flex-row overflow-hidden rounded-lg p-0 text-primary-foreground lg:rounded-xl",
|
|
47920
|
+
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
47921
|
+
),
|
|
47993
47922
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left lg:flex-col", children: [
|
|
47994
47923
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex aspect-4/3 max-h-72 w-full flex-1 justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
47995
47924
|
img.Img,
|
|
47996
47925
|
{
|
|
47997
|
-
src:
|
|
47998
|
-
alt:
|
|
47926
|
+
src: featuredHeroCard.image,
|
|
47927
|
+
alt: featuredHeroCard.title,
|
|
47999
47928
|
className: "h-full w-full object-cover object-center",
|
|
48000
47929
|
optixFlowConfig
|
|
48001
47930
|
}
|
|
48002
47931
|
) }),
|
|
48003
47932
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-20 flex flex-col rounded-b-xl bg-primary p-6", children: [
|
|
48004
47933
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-1 text-xs", children: [
|
|
48005
|
-
|
|
47934
|
+
featuredHeroCard.title,
|
|
48006
47935
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48007
47936
|
DynamicIcon,
|
|
48008
47937
|
{
|
|
@@ -48012,12 +47941,12 @@ var GlobalMenu = ({
|
|
|
48012
47941
|
}
|
|
48013
47942
|
)
|
|
48014
47943
|
] }),
|
|
48015
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-xs text-primary-foreground/85", children:
|
|
47944
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-xs text-primary-foreground/85", children: featuredHeroCard.description })
|
|
48016
47945
|
] })
|
|
48017
47946
|
] })
|
|
48018
47947
|
}
|
|
48019
47948
|
) }),
|
|
48020
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid w-full gap-y-12 lg:gap-y-6", children:
|
|
47949
|
+
featureCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid w-full gap-y-12 lg:gap-y-6", children: featureCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-y-2 lg:gap-y-6", children: [
|
|
48021
47950
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-border text-left lg:border-b lg:pb-3", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: category.title }) }),
|
|
48022
47951
|
/* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid md:grid-cols-3 md:gap-x-6 lg:gap-y-6", children: category.features.map((feature) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48023
47952
|
NavigationMenuLink,
|
|
@@ -48044,7 +47973,7 @@ var GlobalMenu = ({
|
|
|
48044
47973
|
)) })
|
|
48045
47974
|
] }, category.title)) })
|
|
48046
47975
|
] }),
|
|
48047
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8", children: [
|
|
47976
|
+
regions.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8", children: [
|
|
48048
47977
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-6 border-border pb-1 text-left lg:border-b", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Popular Locations" }) }),
|
|
48049
47978
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-6 md:grid-cols-3 lg:grid-cols-4", children: regions.map((region) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48050
47979
|
"div",
|
|
@@ -48078,16 +48007,19 @@ var GlobalMenu = ({
|
|
|
48078
48007
|
)) })
|
|
48079
48008
|
] })
|
|
48080
48009
|
] });
|
|
48081
|
-
var PartnersMenu = ({ optixFlowConfig }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-y-6 md:grid-cols-2 md:gap-x-6 lg:grid-cols-4", children: [
|
|
48082
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "md:col-span-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
48010
|
+
var PartnersMenu = ({ partnerCards, featuredHeroCard, optixFlowConfig }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-y-6 md:grid-cols-2 md:gap-x-6 lg:grid-cols-4", children: [
|
|
48011
|
+
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "md:col-span-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
48083
48012
|
Pressable,
|
|
48084
48013
|
{
|
|
48085
|
-
href:
|
|
48086
|
-
className:
|
|
48014
|
+
href: featuredHeroCard.href,
|
|
48015
|
+
className: cn(
|
|
48016
|
+
"group relative flex h-full flex-row overflow-hidden rounded-lg p-0 text-primary-foreground lg:rounded-xl",
|
|
48017
|
+
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
48018
|
+
),
|
|
48087
48019
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left", children: [
|
|
48088
48020
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-20 flex flex-col px-6 pt-6 pb-56 md:pt-40 md:pb-6", children: [
|
|
48089
48021
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto flex items-center space-x-1 text-xs font-medium", children: [
|
|
48090
|
-
|
|
48022
|
+
featuredHeroCard.title,
|
|
48091
48023
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48092
48024
|
DynamicIcon,
|
|
48093
48025
|
{
|
|
@@ -48097,13 +48029,16 @@ var PartnersMenu = ({ optixFlowConfig }) => /* @__PURE__ */ jsxRuntime.jsxs("div
|
|
|
48097
48029
|
}
|
|
48098
48030
|
)
|
|
48099
48031
|
] }),
|
|
48100
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-xs", children:
|
|
48032
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-xs", children: featuredHeroCard.description })
|
|
48101
48033
|
] }),
|
|
48102
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
48034
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(
|
|
48035
|
+
"absolute inset-0 top-[32%] md:top-0",
|
|
48036
|
+
featuredHeroCard.imagePosition === "background" && "bg-accent invert"
|
|
48037
|
+
), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
48103
48038
|
img.Img,
|
|
48104
48039
|
{
|
|
48105
|
-
src:
|
|
48106
|
-
alt:
|
|
48040
|
+
src: featuredHeroCard.image,
|
|
48041
|
+
alt: featuredHeroCard.title,
|
|
48107
48042
|
className: "object-fit h-full w-full object-top-right opacity-100 md:h-2/3 md:object-top",
|
|
48108
48043
|
optixFlowConfig
|
|
48109
48044
|
}
|
|
@@ -48111,15 +48046,35 @@ var PartnersMenu = ({ optixFlowConfig }) => /* @__PURE__ */ jsxRuntime.jsxs("div
|
|
|
48111
48046
|
] })
|
|
48112
48047
|
}
|
|
48113
48048
|
) }),
|
|
48114
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "md:col-span-
|
|
48049
|
+
partnerCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-4 md:col-span-2 lg:col-span-2", children: partnerCards.map((card) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
48050
|
+
NavigationMenuLink,
|
|
48051
|
+
{
|
|
48052
|
+
href: card.href,
|
|
48053
|
+
className: "group flex w-full flex-row items-center rounded-lg border border-border lg:rounded-xl",
|
|
48054
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start p-6 text-left", children: [
|
|
48055
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: card.icon, size: 32 }),
|
|
48056
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ml-4", children: [
|
|
48057
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-auto mb-1 text-sm font-bold text-foreground/85 hover:text-foreground", children: card.title }),
|
|
48058
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground group-hover:text-foreground", children: card.description })
|
|
48059
|
+
] })
|
|
48060
|
+
] })
|
|
48061
|
+
},
|
|
48062
|
+
card.title
|
|
48063
|
+
)) })
|
|
48064
|
+
] });
|
|
48065
|
+
var ResourcesMenu = ({ resourceItems, topicGroups, featuredHeroCard }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-8 lg:grid-cols-3", children: [
|
|
48066
|
+
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "lg:col-span-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
48115
48067
|
Pressable,
|
|
48116
48068
|
{
|
|
48117
|
-
href:
|
|
48118
|
-
className:
|
|
48069
|
+
href: featuredHeroCard.href,
|
|
48070
|
+
className: cn(
|
|
48071
|
+
"group relative flex h-full flex-row overflow-hidden rounded-lg p-0 text-primary-foreground lg:rounded-xl",
|
|
48072
|
+
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
48073
|
+
),
|
|
48119
48074
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left", children: [
|
|
48120
48075
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-20 flex flex-col px-6 pt-6 pb-56 md:pt-40 md:pb-6", children: [
|
|
48121
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto flex items-center space-x-1 text-xs
|
|
48122
|
-
|
|
48076
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto flex items-center space-x-1 text-xs", children: [
|
|
48077
|
+
featuredHeroCard.title,
|
|
48123
48078
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48124
48079
|
DynamicIcon,
|
|
48125
48080
|
{
|
|
@@ -48129,55 +48084,23 @@ var PartnersMenu = ({ optixFlowConfig }) => /* @__PURE__ */ jsxRuntime.jsxs("div
|
|
|
48129
48084
|
}
|
|
48130
48085
|
)
|
|
48131
48086
|
] }),
|
|
48132
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-xs
|
|
48087
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-xs", children: featuredHeroCard.description })
|
|
48133
48088
|
] }),
|
|
48134
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0
|
|
48089
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
48135
48090
|
img.Img,
|
|
48136
48091
|
{
|
|
48137
|
-
src:
|
|
48138
|
-
alt:
|
|
48139
|
-
className: "
|
|
48140
|
-
optixFlowConfig
|
|
48092
|
+
src: featuredHeroCard.image,
|
|
48093
|
+
alt: featuredHeroCard.title,
|
|
48094
|
+
className: "h-full w-full object-cover object-center invert"
|
|
48141
48095
|
}
|
|
48142
|
-
) })
|
|
48096
|
+
) }),
|
|
48097
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-x-0 top-0 z-10 h-[60%] bg-[linear-gradient(hsl(var(--color-primary))_50%,transparent)] md:top-auto md:bottom-[-10%] md:h-[50%] md:bg-[linear-gradient(transparent,hsl(var(--color-primary))_50%)]" })
|
|
48143
48098
|
] })
|
|
48144
48099
|
}
|
|
48145
48100
|
) }),
|
|
48146
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
48147
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48148
|
-
NavigationMenuLink,
|
|
48149
|
-
{
|
|
48150
|
-
href: "#",
|
|
48151
|
-
className: "group flex w-full flex-row items-center rounded-lg border border-border lg:rounded-xl",
|
|
48152
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start p-6 text-left", children: [
|
|
48153
|
-
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/users", size: 32 }),
|
|
48154
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ml-4", children: [
|
|
48155
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-auto mb-1 text-sm font-bold text-foreground/85 hover:text-foreground", children: "Implementation Partners" }),
|
|
48156
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground group-hover:text-foreground", children: "Help customers implement and optimize their workflows." })
|
|
48157
|
-
] })
|
|
48158
|
-
] })
|
|
48159
|
-
}
|
|
48160
|
-
),
|
|
48161
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48162
|
-
NavigationMenuLink,
|
|
48163
|
-
{
|
|
48164
|
-
href: "#",
|
|
48165
|
-
className: "group flex w-full flex-row items-center rounded-lg border border-border lg:rounded-xl",
|
|
48166
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start p-6 text-left", children: [
|
|
48167
|
-
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/monitor", size: 32 }),
|
|
48168
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ml-4", children: [
|
|
48169
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-auto mb-1 text-sm font-bold text-foreground/85 hover:text-foreground", children: "Technology Partners" }),
|
|
48170
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground group-hover:text-foreground", children: "Integrate your products with our platform." })
|
|
48171
|
-
] })
|
|
48172
|
-
] })
|
|
48173
|
-
}
|
|
48174
|
-
)
|
|
48175
|
-
] })
|
|
48176
|
-
] });
|
|
48177
|
-
var ResourcesMenu = ({ resources, topicGroups }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-8 lg:grid-cols-3", children: [
|
|
48178
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "lg:col-span-2", children: [
|
|
48101
|
+
resourceItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(featuredHeroCard ? "lg:col-span-1" : "lg:col-span-2"), children: [
|
|
48179
48102
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-6 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Resources" }) }),
|
|
48180
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-4 md:grid-cols-2 lg:grid-cols-
|
|
48103
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-4 md:grid-cols-2 lg:grid-cols-2", children: resourceItems.map((resource) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48181
48104
|
NavigationMenuLink,
|
|
48182
48105
|
{
|
|
48183
48106
|
href: resource.href,
|
|
@@ -48200,7 +48123,7 @@ var ResourcesMenu = ({ resources, topicGroups }) => /* @__PURE__ */ jsxRuntime.j
|
|
|
48200
48123
|
resource.id
|
|
48201
48124
|
)) })
|
|
48202
48125
|
] }),
|
|
48203
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { children: topicGroups.map((group) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-8 last:mb-0", children: [
|
|
48126
|
+
topicGroups.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "lg:col-span-1", children: topicGroups.map((group) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-8 last:mb-0", children: [
|
|
48204
48127
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: group.title }) }),
|
|
48205
48128
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: group.topics.map((topic) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48206
48129
|
NavigationMenuLink,
|
|
@@ -48216,21 +48139,78 @@ var ResourcesMenu = ({ resources, topicGroups }) => /* @__PURE__ */ jsxRuntime.j
|
|
|
48216
48139
|
)) })
|
|
48217
48140
|
] }, group.title)) })
|
|
48218
48141
|
] });
|
|
48142
|
+
var renderMobileDropdownContent = (item) => {
|
|
48143
|
+
switch (item.layout) {
|
|
48144
|
+
case "solutions-with-platform":
|
|
48145
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4", children: item.solutionCards?.map((solution) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
48146
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48147
|
+
Pressable,
|
|
48148
|
+
{
|
|
48149
|
+
href: solution.href,
|
|
48150
|
+
className: "text-sm font-medium",
|
|
48151
|
+
children: solution.title
|
|
48152
|
+
}
|
|
48153
|
+
),
|
|
48154
|
+
solution.subpages.map((subpage) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48155
|
+
Pressable,
|
|
48156
|
+
{
|
|
48157
|
+
href: subpage.href,
|
|
48158
|
+
className: "flex items-center gap-2 pl-4 text-sm text-muted-foreground",
|
|
48159
|
+
children: [
|
|
48160
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: subpage.icon, size: 14 }),
|
|
48161
|
+
subpage.title
|
|
48162
|
+
]
|
|
48163
|
+
},
|
|
48164
|
+
subpage.id
|
|
48165
|
+
))
|
|
48166
|
+
] }, solution.id)) });
|
|
48167
|
+
case "products-categorized":
|
|
48168
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4", children: item.productCategories?.flatMap(
|
|
48169
|
+
(category) => category.products.map((product) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
48170
|
+
Pressable,
|
|
48171
|
+
{
|
|
48172
|
+
href: product.href,
|
|
48173
|
+
className: "flex items-center gap-2 text-sm text-muted-foreground",
|
|
48174
|
+
children: product.title
|
|
48175
|
+
},
|
|
48176
|
+
product.id
|
|
48177
|
+
))
|
|
48178
|
+
) });
|
|
48179
|
+
case "resources-with-topics":
|
|
48180
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4", children: item.resourceItems?.map((resource) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48181
|
+
Pressable,
|
|
48182
|
+
{
|
|
48183
|
+
href: resource.href,
|
|
48184
|
+
className: "flex items-center gap-2 text-sm text-muted-foreground",
|
|
48185
|
+
children: [
|
|
48186
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: resource.icon, size: 14 }),
|
|
48187
|
+
resource.title
|
|
48188
|
+
]
|
|
48189
|
+
},
|
|
48190
|
+
resource.id
|
|
48191
|
+
)) });
|
|
48192
|
+
case "features-with-locations":
|
|
48193
|
+
case "partners-promotional":
|
|
48194
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsxs(Pressable, { href: "#", children: [
|
|
48195
|
+
"View all ",
|
|
48196
|
+
item.title.toLowerCase()
|
|
48197
|
+
] }) });
|
|
48198
|
+
default:
|
|
48199
|
+
return null;
|
|
48200
|
+
}
|
|
48201
|
+
};
|
|
48219
48202
|
var MobileNavigationMenu = ({
|
|
48220
48203
|
open,
|
|
48221
|
-
|
|
48222
|
-
solutions,
|
|
48223
|
-
productCategories,
|
|
48224
|
-
resources,
|
|
48204
|
+
menuLinks,
|
|
48225
48205
|
actionsClassName,
|
|
48226
|
-
|
|
48227
|
-
|
|
48206
|
+
actions,
|
|
48207
|
+
actionsSlot,
|
|
48228
48208
|
optixFlowConfig
|
|
48229
48209
|
}) => {
|
|
48230
|
-
const
|
|
48231
|
-
if (
|
|
48232
|
-
if (!
|
|
48233
|
-
return
|
|
48210
|
+
const renderActions = () => {
|
|
48211
|
+
if (actionsSlot) return actionsSlot;
|
|
48212
|
+
if (!actions || actions.length === 0) return null;
|
|
48213
|
+
return actions.map((action, index) => {
|
|
48234
48214
|
const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
|
|
48235
48215
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
48236
48216
|
Pressable,
|
|
@@ -48256,9 +48236,10 @@ var MobileNavigationMenu = ({
|
|
|
48256
48236
|
className: "inset-0 z-998 h-dvh w-full bg-background pt-16 [&>button]:hidden",
|
|
48257
48237
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full overflow-y-auto pt-4 pb-20", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "container", children: [
|
|
48258
48238
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute -m-px h-px w-px overflow-hidden border-0 mask-clip-border p-0 text-nowrap whitespace-nowrap", children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { className: "text-primary", children: "Mobile Navigation" }) }),
|
|
48259
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col gap-4", actionsClassName), children:
|
|
48260
|
-
/* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "mt-6 w-full", children:
|
|
48261
|
-
|
|
48239
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col gap-4", actionsClassName), children: renderActions() }),
|
|
48240
|
+
/* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "mt-6 w-full", children: menuLinks.map((item, index) => {
|
|
48241
|
+
const hasDropdown = Boolean(item.layout);
|
|
48242
|
+
if (hasDropdown) {
|
|
48262
48243
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48263
48244
|
AccordionItem,
|
|
48264
48245
|
{
|
|
@@ -48266,63 +48247,7 @@ var MobileNavigationMenu = ({
|
|
|
48266
48247
|
className: "border-b-0",
|
|
48267
48248
|
children: [
|
|
48268
48249
|
/* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: item.title }),
|
|
48269
|
-
/* @__PURE__ */ jsxRuntime.
|
|
48270
|
-
item.menuType === "solutions" && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4", children: solutions.map((solution) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
48271
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48272
|
-
Pressable,
|
|
48273
|
-
{
|
|
48274
|
-
href: solution.href,
|
|
48275
|
-
className: "text-sm font-medium",
|
|
48276
|
-
children: solution.title
|
|
48277
|
-
}
|
|
48278
|
-
),
|
|
48279
|
-
solution.subpages.map((subpage) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48280
|
-
Pressable,
|
|
48281
|
-
{
|
|
48282
|
-
href: subpage.href,
|
|
48283
|
-
className: "flex items-center gap-2 pl-4 text-sm text-muted-foreground",
|
|
48284
|
-
children: [
|
|
48285
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48286
|
-
DynamicIcon,
|
|
48287
|
-
{
|
|
48288
|
-
name: subpage.icon,
|
|
48289
|
-
size: 14
|
|
48290
|
-
}
|
|
48291
|
-
),
|
|
48292
|
-
subpage.title
|
|
48293
|
-
]
|
|
48294
|
-
},
|
|
48295
|
-
subpage.id
|
|
48296
|
-
))
|
|
48297
|
-
] }, solution.id)) }),
|
|
48298
|
-
item.menuType === "products" && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4", children: productCategories.flatMap(
|
|
48299
|
-
(category) => category.products.map((product) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
48300
|
-
Pressable,
|
|
48301
|
-
{
|
|
48302
|
-
href: product.href,
|
|
48303
|
-
className: "flex items-center gap-2 text-sm text-muted-foreground",
|
|
48304
|
-
children: product.title
|
|
48305
|
-
},
|
|
48306
|
-
product.id
|
|
48307
|
-
))
|
|
48308
|
-
) }),
|
|
48309
|
-
item.menuType === "resources" && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4", children: resources.map((resource) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48310
|
-
Pressable,
|
|
48311
|
-
{
|
|
48312
|
-
href: resource.href,
|
|
48313
|
-
className: "flex items-center gap-2 text-sm text-muted-foreground",
|
|
48314
|
-
children: [
|
|
48315
|
-
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: resource.icon, size: 14 }),
|
|
48316
|
-
resource.title
|
|
48317
|
-
]
|
|
48318
|
-
},
|
|
48319
|
-
resource.id
|
|
48320
|
-
)) }),
|
|
48321
|
-
(item.menuType === "global" || item.menuType === "partners") && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsxs(Pressable, { href: "#", children: [
|
|
48322
|
-
"View all ",
|
|
48323
|
-
item.title.toLowerCase()
|
|
48324
|
-
] }) })
|
|
48325
|
-
] })
|
|
48250
|
+
/* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto", children: renderMobileDropdownContent(item) })
|
|
48326
48251
|
]
|
|
48327
48252
|
},
|
|
48328
48253
|
item.title
|
|
@@ -48722,11 +48647,8 @@ var NavbarPlatformResources = ({
|
|
|
48722
48647
|
src: logoPlaceholders.logoMark
|
|
48723
48648
|
},
|
|
48724
48649
|
logoSlot,
|
|
48725
|
-
|
|
48726
|
-
|
|
48727
|
-
resources,
|
|
48728
|
-
authActions,
|
|
48729
|
-
authActionsSlot,
|
|
48650
|
+
menuLinks,
|
|
48651
|
+
actions,
|
|
48730
48652
|
background = "white",
|
|
48731
48653
|
spacing = "none",
|
|
48732
48654
|
pattern,
|
|
@@ -48737,37 +48659,274 @@ var NavbarPlatformResources = ({
|
|
|
48737
48659
|
const renderLogo = () => {
|
|
48738
48660
|
if (logoSlot) return logoSlot;
|
|
48739
48661
|
if (!logo) return null;
|
|
48740
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48741
|
-
|
|
48742
|
-
|
|
48743
|
-
|
|
48744
|
-
|
|
48745
|
-
|
|
48746
|
-
|
|
48747
|
-
|
|
48748
|
-
|
|
48749
|
-
|
|
48750
|
-
|
|
48751
|
-
|
|
48662
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48663
|
+
Pressable,
|
|
48664
|
+
{
|
|
48665
|
+
href: logo.url || "/",
|
|
48666
|
+
className: cn("flex items-center gap-2", logoClassName),
|
|
48667
|
+
children: [
|
|
48668
|
+
logo.src && /* @__PURE__ */ jsxRuntime.jsx(
|
|
48669
|
+
img.Img,
|
|
48670
|
+
{
|
|
48671
|
+
src: logo.src,
|
|
48672
|
+
className: cn("max-h-8", logo.className),
|
|
48673
|
+
alt: logo.alt || "Logo",
|
|
48674
|
+
optixFlowConfig
|
|
48675
|
+
}
|
|
48676
|
+
),
|
|
48677
|
+
logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-lg font-semibold tracking-tighter", children: logo.title }) : logo.title)
|
|
48678
|
+
]
|
|
48679
|
+
}
|
|
48680
|
+
);
|
|
48752
48681
|
};
|
|
48753
|
-
const
|
|
48754
|
-
|
|
48755
|
-
|
|
48756
|
-
|
|
48757
|
-
|
|
48758
|
-
|
|
48759
|
-
|
|
48682
|
+
const hasDropdownItems = (link) => Boolean(
|
|
48683
|
+
link.dropdownItems?.length || link.featuredItem || link.showcaseItems?.length || link.ctaCard || link.sections?.length
|
|
48684
|
+
);
|
|
48685
|
+
const renderDropdownContent3 = (link) => {
|
|
48686
|
+
const layout = link.layout || "simple-list";
|
|
48687
|
+
if (layout === "simple-list") {
|
|
48688
|
+
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[640px] p-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: link.dropdownItems?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48689
|
+
NavigationMenuLink,
|
|
48760
48690
|
{
|
|
48761
|
-
|
|
48762
|
-
|
|
48763
|
-
children:
|
|
48764
|
-
|
|
48765
|
-
|
|
48766
|
-
|
|
48691
|
+
href: item.href,
|
|
48692
|
+
className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
|
|
48693
|
+
children: [
|
|
48694
|
+
item.imgUrl && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
48695
|
+
img.Img,
|
|
48696
|
+
{
|
|
48697
|
+
src: item.imgUrl,
|
|
48698
|
+
alt: item.title,
|
|
48699
|
+
className: "h-full w-full object-cover object-center",
|
|
48700
|
+
optixFlowConfig
|
|
48701
|
+
}
|
|
48702
|
+
) }),
|
|
48703
|
+
!item.imgUrl && item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 18 }) }),
|
|
48704
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
48705
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium text-foreground", children: item.title }),
|
|
48706
|
+
item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
|
|
48707
|
+
] })
|
|
48708
|
+
]
|
|
48709
|
+
},
|
|
48710
|
+
`${item.title}-${itemIndex}`
|
|
48711
|
+
)) }) });
|
|
48712
|
+
}
|
|
48713
|
+
if (layout === "featured-grid" && link.featuredItem) {
|
|
48714
|
+
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[900px] p-6", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-between gap-8", children: [
|
|
48715
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48716
|
+
NavigationMenuLink,
|
|
48717
|
+
{
|
|
48718
|
+
href: link.featuredItem.href,
|
|
48719
|
+
className: "group w-1/3 p-0 hover:bg-transparent",
|
|
48720
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "overflow-clip rounded-lg border border-input bg-background", children: [
|
|
48721
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
48722
|
+
img.Img,
|
|
48723
|
+
{
|
|
48724
|
+
src: link.featuredItem.imgUrl,
|
|
48725
|
+
alt: link.featuredItem.title,
|
|
48726
|
+
className: "aspect-[4/3] object-cover object-center",
|
|
48727
|
+
optixFlowConfig
|
|
48728
|
+
}
|
|
48729
|
+
) }),
|
|
48730
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-5 xl:p-8", children: [
|
|
48731
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-base", children: link.featuredItem.title }),
|
|
48732
|
+
link.featuredItem.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: link.featuredItem.description })
|
|
48733
|
+
] })
|
|
48734
|
+
] })
|
|
48735
|
+
}
|
|
48736
|
+
),
|
|
48737
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-[760px] flex-1", children: [
|
|
48738
|
+
link.featuredItem.label && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-6 text-xs tracking-widest text-muted-foreground uppercase", children: link.featuredItem.label }),
|
|
48739
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-2 lg:gap-8", children: link.dropdownItems?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48740
|
+
NavigationMenuLink,
|
|
48741
|
+
{
|
|
48742
|
+
href: item.href,
|
|
48743
|
+
className: "group block p-4",
|
|
48744
|
+
children: [
|
|
48745
|
+
item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-5 group-hover:opacity-60", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 20 }) }),
|
|
48746
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1 text-base", children: item.title }),
|
|
48747
|
+
item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
|
|
48748
|
+
]
|
|
48749
|
+
},
|
|
48750
|
+
`${item.title}-${itemIndex}`
|
|
48751
|
+
)) })
|
|
48752
|
+
] })
|
|
48753
|
+
] }) });
|
|
48754
|
+
}
|
|
48755
|
+
if (layout === "two-column-cta" && link.ctaCard) {
|
|
48756
|
+
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[900px] p-6", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-between gap-4", children: [
|
|
48757
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-1/2 max-w-[510px]", children: link.sections && link.sections[0] && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
48758
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-6 text-xs tracking-widest text-muted-foreground uppercase", children: link.sections[0].label }),
|
|
48759
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-4", children: link.sections[0].items.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48760
|
+
NavigationMenuLink,
|
|
48761
|
+
{
|
|
48762
|
+
href: item.href,
|
|
48763
|
+
className: "group flex flex-row items-center gap-5",
|
|
48764
|
+
children: [
|
|
48765
|
+
item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "group-hover:opacity-60", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 16 }) }),
|
|
48766
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base", children: item.title })
|
|
48767
|
+
]
|
|
48768
|
+
},
|
|
48769
|
+
`${item.title}-${itemIndex}`
|
|
48770
|
+
)) })
|
|
48771
|
+
] }) }),
|
|
48772
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48773
|
+
NavigationMenuLink,
|
|
48774
|
+
{
|
|
48775
|
+
href: link.ctaCard.href,
|
|
48776
|
+
className: "group flex-1 p-0 hover:bg-transparent",
|
|
48777
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full rounded-lg border border-input bg-background p-0 hover:bg-transparent", children: [
|
|
48778
|
+
link.ctaCard.imgUrl && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-2/5 max-w-[310px] shrink-0 overflow-clip rounded-tl-lg rounded-bl-lg", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
48779
|
+
img.Img,
|
|
48780
|
+
{
|
|
48781
|
+
src: link.ctaCard.imgUrl,
|
|
48782
|
+
alt: link.ctaCard.title,
|
|
48783
|
+
className: "h-full w-full object-cover object-center",
|
|
48784
|
+
optixFlowConfig
|
|
48785
|
+
}
|
|
48786
|
+
) }),
|
|
48787
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-5 xl:p-8", children: [
|
|
48788
|
+
link.ctaCard.label && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-8 text-xs tracking-widest text-muted-foreground uppercase", children: link.ctaCard.label }),
|
|
48789
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto", children: [
|
|
48790
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-xl", children: link.ctaCard.title }),
|
|
48791
|
+
link.ctaCard.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: link.ctaCard.description })
|
|
48792
|
+
] })
|
|
48793
|
+
] })
|
|
48794
|
+
] })
|
|
48795
|
+
}
|
|
48796
|
+
)
|
|
48797
|
+
] }) });
|
|
48798
|
+
}
|
|
48799
|
+
if (layout === "list-showcase" && link.showcaseItems) {
|
|
48800
|
+
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[900px] p-6", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-between gap-8", children: [
|
|
48801
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-1/3 max-w-[404px]", children: link.sections && link.sections[0] && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
48802
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-xs tracking-widest text-muted-foreground uppercase", children: link.sections[0].label }),
|
|
48803
|
+
link.sections[0].items[0]?.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-6 text-sm font-normal text-muted-foreground", children: link.sections[0].items[0].description }),
|
|
48804
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "-ml-2.5 space-y-2.5", children: link.dropdownItems?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48805
|
+
NavigationMenuLink,
|
|
48806
|
+
{
|
|
48807
|
+
href: item.href,
|
|
48808
|
+
className: "group flex flex-row items-center gap-2.5 rounded-md p-2.5 focus:text-accent-foreground",
|
|
48809
|
+
children: [
|
|
48810
|
+
item.icon && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 16 }),
|
|
48811
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base", children: item.title })
|
|
48812
|
+
]
|
|
48813
|
+
},
|
|
48814
|
+
`${item.title}-${itemIndex}`
|
|
48815
|
+
)) })
|
|
48816
|
+
] }) }),
|
|
48817
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-[716px] flex-1 space-y-6", children: link.showcaseItems.map((showcase, showcaseIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48818
|
+
NavigationMenuLink,
|
|
48819
|
+
{
|
|
48820
|
+
href: showcase.href,
|
|
48821
|
+
className: "flex flex-row items-center overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
|
|
48822
|
+
children: [
|
|
48823
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
|
|
48824
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-base", children: showcase.title }),
|
|
48825
|
+
showcase.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: showcase.description })
|
|
48826
|
+
] }),
|
|
48827
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-[154px] max-w-[264px] shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
48828
|
+
img.Img,
|
|
48829
|
+
{
|
|
48830
|
+
src: showcase.imgUrl,
|
|
48831
|
+
alt: showcase.title,
|
|
48832
|
+
className: "h-full w-full object-cover object-center",
|
|
48833
|
+
optixFlowConfig
|
|
48834
|
+
}
|
|
48835
|
+
) })
|
|
48836
|
+
]
|
|
48837
|
+
},
|
|
48838
|
+
`showcase-${showcaseIndex}`
|
|
48839
|
+
)) })
|
|
48840
|
+
] }) });
|
|
48841
|
+
}
|
|
48842
|
+
if (layout === "multi-section" && link.sections) {
|
|
48843
|
+
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[900px] p-8", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-8", children: [
|
|
48844
|
+
link.sections.map((section, sectionIndex) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
48845
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-6 text-xs tracking-widest text-muted-foreground uppercase", children: section.label }),
|
|
48846
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid flex-1 grid-cols-1 gap-6 md:grid-cols-2", children: section.items.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
48847
|
+
NavigationMenuLink,
|
|
48848
|
+
{
|
|
48849
|
+
href: item.href,
|
|
48850
|
+
className: "flex h-full flex-col overflow-clip rounded-lg border border-input bg-background p-5 hover:bg-accent hover:text-accent-foreground xl:p-8",
|
|
48851
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto", children: [
|
|
48852
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-base", children: item.title }),
|
|
48853
|
+
item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
|
|
48854
|
+
] })
|
|
48855
|
+
},
|
|
48856
|
+
`${item.title}-${itemIndex}`
|
|
48857
|
+
)) })
|
|
48858
|
+
] }, `section-${sectionIndex}`)),
|
|
48859
|
+
link.ctaCard && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "col-span-1", children: [
|
|
48860
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
48861
|
+
NavigationMenuLink,
|
|
48862
|
+
{
|
|
48863
|
+
href: link.ctaCard.href,
|
|
48864
|
+
className: "mb-6 flex flex-row overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
|
|
48865
|
+
children: [
|
|
48866
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
|
|
48867
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-base", children: link.ctaCard.title }),
|
|
48868
|
+
link.ctaCard.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: link.ctaCard.description })
|
|
48869
|
+
] }),
|
|
48870
|
+
link.ctaCard.imgUrl && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-1/3 max-w-[130px] shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
48871
|
+
img.Img,
|
|
48872
|
+
{
|
|
48873
|
+
src: link.ctaCard.imgUrl,
|
|
48874
|
+
alt: link.ctaCard.title,
|
|
48875
|
+
className: "h-full w-full object-cover object-center",
|
|
48876
|
+
optixFlowConfig
|
|
48877
|
+
}
|
|
48878
|
+
) })
|
|
48879
|
+
]
|
|
48880
|
+
}
|
|
48881
|
+
),
|
|
48882
|
+
link.ctaCard.badge && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-row items-center gap-3 rounded-lg bg-secondary/30 p-3 hover:bg-secondary/80 focus:bg-secondary/80", children: [
|
|
48883
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "rounded-md bg-secondary px-2 py-1 text-xs font-semibold text-secondary-foreground", children: link.ctaCard.badge }),
|
|
48884
|
+
link.ctaCard.description && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-ellipsis text-secondary-foreground", children: link.ctaCard.description })
|
|
48885
|
+
] })
|
|
48886
|
+
] })
|
|
48887
|
+
] }) });
|
|
48888
|
+
}
|
|
48889
|
+
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[640px] p-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: link.dropdownItems?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48890
|
+
NavigationMenuLink,
|
|
48891
|
+
{
|
|
48892
|
+
href: item.href,
|
|
48893
|
+
className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
|
|
48894
|
+
children: [
|
|
48895
|
+
item.imgUrl && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
48896
|
+
img.Img,
|
|
48897
|
+
{
|
|
48898
|
+
src: item.imgUrl,
|
|
48899
|
+
alt: item.title,
|
|
48900
|
+
className: "h-full w-full object-cover object-center",
|
|
48901
|
+
optixFlowConfig
|
|
48902
|
+
}
|
|
48903
|
+
) }),
|
|
48904
|
+
!item.imgUrl && item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 18 }) }),
|
|
48905
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
48906
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium text-foreground", children: item.title }),
|
|
48907
|
+
item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
|
|
48767
48908
|
] })
|
|
48768
|
-
|
|
48769
|
-
|
|
48770
|
-
|
|
48909
|
+
]
|
|
48910
|
+
},
|
|
48911
|
+
`${item.title}-${itemIndex}`
|
|
48912
|
+
)) }) });
|
|
48913
|
+
};
|
|
48914
|
+
const renderActions = () => {
|
|
48915
|
+
if (!actions || actions.length === 0) return null;
|
|
48916
|
+
return actions.map((action, index) => {
|
|
48917
|
+
const {
|
|
48918
|
+
label,
|
|
48919
|
+
icon,
|
|
48920
|
+
iconAfter,
|
|
48921
|
+
children,
|
|
48922
|
+
className: actionClassName,
|
|
48923
|
+
...pressableProps
|
|
48924
|
+
} = action;
|
|
48925
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Pressable, { className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
48926
|
+
icon,
|
|
48927
|
+
label,
|
|
48928
|
+
iconAfter
|
|
48929
|
+
] }) }, index);
|
|
48771
48930
|
});
|
|
48772
48931
|
};
|
|
48773
48932
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -48778,196 +48937,147 @@ var NavbarPlatformResources = ({
|
|
|
48778
48937
|
className: cn("inset-x-0 top-0 z-20", className),
|
|
48779
48938
|
pattern,
|
|
48780
48939
|
patternOpacity,
|
|
48781
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
48782
|
-
|
|
48783
|
-
|
|
48784
|
-
|
|
48785
|
-
|
|
48786
|
-
|
|
48787
|
-
|
|
48788
|
-
|
|
48789
|
-
|
|
48790
|
-
|
|
48791
|
-
|
|
48792
|
-
|
|
48793
|
-
href: solution.href,
|
|
48794
|
-
className: "group flex flex-row items-center first:mt-4 hover:bg-transparent",
|
|
48795
|
-
children: [
|
|
48796
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mr-4 rounded-lg bg-muted p-4 shadow-sm", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
48797
|
-
DynamicIcon,
|
|
48798
|
-
{
|
|
48799
|
-
name: solution.icon,
|
|
48800
|
-
size: 24,
|
|
48801
|
-
className: "text-muted-foreground transition-all group-hover:text-foreground"
|
|
48802
|
-
}
|
|
48803
|
-
) }),
|
|
48804
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1 text-sm", children: [
|
|
48805
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "font-medium text-foreground", children: solution.title }),
|
|
48806
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: solution.description })
|
|
48807
|
-
] })
|
|
48808
|
-
]
|
|
48809
|
-
},
|
|
48810
|
-
index
|
|
48811
|
-
)) })
|
|
48812
|
-
] }),
|
|
48813
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-[760px] flex-1", children: [
|
|
48814
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs tracking-widest text-muted-foreground", children: "By Use Case" }),
|
|
48815
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-4 gap-6", children: platformCases?.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48816
|
-
NavigationMenuLink,
|
|
48817
|
-
{
|
|
48818
|
-
href: item.href,
|
|
48819
|
-
className: "group flex flex-row items-center hover:bg-transparent",
|
|
48820
|
-
children: [
|
|
48821
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mr-4 rounded-lg bg-muted p-2 shadow-sm", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
48822
|
-
DynamicIcon,
|
|
48823
|
-
{
|
|
48824
|
-
name: item.icon,
|
|
48825
|
-
size: 16,
|
|
48826
|
-
className: "text-muted-foreground transition-all group-hover:text-foreground"
|
|
48827
|
-
}
|
|
48828
|
-
) }),
|
|
48829
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-1", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: item.title }) })
|
|
48830
|
-
]
|
|
48831
|
-
},
|
|
48832
|
-
index
|
|
48833
|
-
)) })
|
|
48834
|
-
] })
|
|
48835
|
-
] }) })
|
|
48836
|
-
] }),
|
|
48837
|
-
/* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
|
|
48838
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { children: "Resources" }),
|
|
48839
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "w-full min-w-[820px] p-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-3 gap-6", children: resources?.map((resource, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48840
|
-
NavigationMenuLink,
|
|
48940
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
48941
|
+
"div",
|
|
48942
|
+
{
|
|
48943
|
+
className: cn(
|
|
48944
|
+
"container px-4 sm:px-6 md:px-8 lg:px-40 xl:px-52",
|
|
48945
|
+
containerClassName
|
|
48946
|
+
),
|
|
48947
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenu, { className: cn("min-w-full", navigationMenuClassName), children: [
|
|
48948
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-center justify-between gap-12 py-4", children: [
|
|
48949
|
+
renderLogo(),
|
|
48950
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48951
|
+
NavigationMenuList,
|
|
48841
48952
|
{
|
|
48842
|
-
|
|
48843
|
-
|
|
48844
|
-
|
|
48845
|
-
|
|
48846
|
-
|
|
48953
|
+
className: cn("hidden lg:flex", navigationMenuListClassName),
|
|
48954
|
+
children: menuLinks?.map((link, index) => {
|
|
48955
|
+
if (hasDropdownItems(link)) {
|
|
48956
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
|
|
48957
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "bg-transparent px-0 hover:bg-transparent focus:bg-transparent data-[state=open]:bg-transparent", children: link.title }),
|
|
48958
|
+
renderDropdownContent3(link)
|
|
48959
|
+
] }, `${link.title}-${index}`);
|
|
48960
|
+
}
|
|
48961
|
+
if (!link.href) {
|
|
48962
|
+
return null;
|
|
48963
|
+
}
|
|
48964
|
+
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
48965
|
+
NavigationMenuLink,
|
|
48847
48966
|
{
|
|
48848
|
-
|
|
48849
|
-
|
|
48850
|
-
|
|
48967
|
+
href: link.href,
|
|
48968
|
+
className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-accent-foreground",
|
|
48969
|
+
children: link.title
|
|
48851
48970
|
}
|
|
48852
|
-
) })
|
|
48853
|
-
|
|
48854
|
-
|
|
48855
|
-
|
|
48856
|
-
|
|
48971
|
+
) }, `${link.title}-${index}`);
|
|
48972
|
+
})
|
|
48973
|
+
}
|
|
48974
|
+
),
|
|
48975
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48976
|
+
"div",
|
|
48977
|
+
{
|
|
48978
|
+
className: cn(
|
|
48979
|
+
"hidden items-center gap-4 lg:flex",
|
|
48980
|
+
actionsClassName
|
|
48981
|
+
),
|
|
48982
|
+
children: renderActions()
|
|
48983
|
+
}
|
|
48984
|
+
),
|
|
48985
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-4 lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48986
|
+
Pressable,
|
|
48987
|
+
{
|
|
48988
|
+
variant: "outline",
|
|
48989
|
+
size: "icon",
|
|
48990
|
+
asButton: true,
|
|
48991
|
+
"aria-label": "Main Menu",
|
|
48992
|
+
onClick: () => setOpen(!open),
|
|
48993
|
+
children: [
|
|
48994
|
+
!open && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 }),
|
|
48995
|
+
open && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", size: 16 })
|
|
48857
48996
|
]
|
|
48858
|
-
}
|
|
48859
|
-
|
|
48860
|
-
)) }) })
|
|
48997
|
+
}
|
|
48998
|
+
) })
|
|
48861
48999
|
] }),
|
|
48862
|
-
/* @__PURE__ */ jsxRuntime.
|
|
48863
|
-
|
|
48864
|
-
|
|
48865
|
-
|
|
48866
|
-
|
|
48867
|
-
|
|
48868
|
-
|
|
48869
|
-
|
|
48870
|
-
|
|
48871
|
-
|
|
48872
|
-
|
|
48873
|
-
|
|
48874
|
-
|
|
48875
|
-
|
|
48876
|
-
|
|
48877
|
-
|
|
48878
|
-
|
|
48879
|
-
|
|
48880
|
-
|
|
48881
|
-
|
|
48882
|
-
|
|
48883
|
-
|
|
48884
|
-
|
|
48885
|
-
|
|
48886
|
-
|
|
48887
|
-
|
|
48888
|
-
|
|
48889
|
-
|
|
48890
|
-
|
|
48891
|
-
|
|
48892
|
-
|
|
48893
|
-
|
|
48894
|
-
|
|
49000
|
+
open && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49001
|
+
"div",
|
|
49002
|
+
{
|
|
49003
|
+
className: cn(
|
|
49004
|
+
"absolute inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden",
|
|
49005
|
+
mobileMenuClassName
|
|
49006
|
+
),
|
|
49007
|
+
children: [
|
|
49008
|
+
/* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "single", collapsible: true, className: "w-full", children: menuLinks?.map((link, index) => {
|
|
49009
|
+
if (hasDropdownItems(link)) {
|
|
49010
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49011
|
+
AccordionItem,
|
|
49012
|
+
{
|
|
49013
|
+
value: `menu-${index}`,
|
|
49014
|
+
className: "border-b-2 border-dashed",
|
|
49015
|
+
children: [
|
|
49016
|
+
/* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "px-2 py-4 text-left hover:no-underline", children: link.title }),
|
|
49017
|
+
/* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "px-2 pb-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: link.dropdownItems?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49018
|
+
Pressable,
|
|
49019
|
+
{
|
|
49020
|
+
href: item.href,
|
|
49021
|
+
className: "group flex items-start gap-4 rounded-lg p-2 hover:bg-muted",
|
|
49022
|
+
children: [
|
|
49023
|
+
item.imgUrl && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49024
|
+
img.Img,
|
|
49025
|
+
{
|
|
49026
|
+
src: item.imgUrl,
|
|
49027
|
+
alt: item.title,
|
|
49028
|
+
className: "h-full w-full object-cover object-center",
|
|
49029
|
+
optixFlowConfig
|
|
49030
|
+
}
|
|
49031
|
+
) }),
|
|
49032
|
+
!item.imgUrl && item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-10 w-10 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 16 }) }),
|
|
49033
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
|
|
49034
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium text-foreground", children: item.title }),
|
|
49035
|
+
item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs text-muted-foreground", children: item.description })
|
|
49036
|
+
] })
|
|
49037
|
+
]
|
|
49038
|
+
},
|
|
49039
|
+
`${item.title}-${itemIndex}`
|
|
49040
|
+
)) }) })
|
|
49041
|
+
]
|
|
49042
|
+
},
|
|
49043
|
+
`${link.title}-${index}`
|
|
49044
|
+
);
|
|
49045
|
+
}
|
|
49046
|
+
if (!link.href) {
|
|
49047
|
+
return null;
|
|
49048
|
+
}
|
|
49049
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
49050
|
+
"div",
|
|
49051
|
+
{
|
|
49052
|
+
className: "border-b-2 border-dashed",
|
|
49053
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49054
|
+
Pressable,
|
|
48895
49055
|
{
|
|
48896
|
-
|
|
48897
|
-
|
|
48898
|
-
|
|
49056
|
+
href: link.href,
|
|
49057
|
+
className: "flex w-full items-center px-2 py-4 text-left text-sm font-medium",
|
|
49058
|
+
children: link.title
|
|
48899
49059
|
}
|
|
48900
|
-
)
|
|
48901
|
-
|
|
48902
|
-
|
|
48903
|
-
|
|
48904
|
-
|
|
48905
|
-
|
|
48906
|
-
|
|
48907
|
-
index
|
|
48908
|
-
)) })
|
|
48909
|
-
] }),
|
|
48910
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
48911
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-xs tracking-widest text-muted-foreground uppercase", children: "By Use Case" }),
|
|
48912
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-2", children: platformCases?.map((useCase, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48913
|
-
Pressable,
|
|
49060
|
+
)
|
|
49061
|
+
},
|
|
49062
|
+
`${link.title}-${index}`
|
|
49063
|
+
);
|
|
49064
|
+
}) }),
|
|
49065
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
49066
|
+
"div",
|
|
48914
49067
|
{
|
|
48915
|
-
|
|
48916
|
-
|
|
48917
|
-
|
|
48918
|
-
|
|
48919
|
-
|
|
48920
|
-
|
|
48921
|
-
|
|
48922
|
-
|
|
48923
|
-
|
|
48924
|
-
|
|
48925
|
-
|
|
48926
|
-
|
|
48927
|
-
|
|
48928
|
-
},
|
|
48929
|
-
index
|
|
48930
|
-
)) })
|
|
48931
|
-
] })
|
|
48932
|
-
] }) })
|
|
48933
|
-
] }),
|
|
48934
|
-
/* @__PURE__ */ jsxRuntime.jsxs(AccordionItem, { value: "resources", className: "border-b-2 border-dashed", children: [
|
|
48935
|
-
/* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "px-2 py-4 text-left hover:no-underline", children: "Resources" }),
|
|
48936
|
-
/* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "px-2 pb-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: resources?.map((resource, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48937
|
-
Pressable,
|
|
48938
|
-
{
|
|
48939
|
-
href: resource.href,
|
|
48940
|
-
className: "group flex items-center gap-4 rounded-lg p-2 hover:bg-muted",
|
|
48941
|
-
children: [
|
|
48942
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "rounded-lg bg-muted p-2 shadow-sm", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
48943
|
-
DynamicIcon,
|
|
48944
|
-
{
|
|
48945
|
-
name: resource.icon,
|
|
48946
|
-
size: 16,
|
|
48947
|
-
className: "text-muted-foreground transition-all group-hover:text-foreground"
|
|
48948
|
-
}
|
|
48949
|
-
) }),
|
|
48950
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
|
|
48951
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium text-foreground", children: resource.title }),
|
|
48952
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs text-muted-foreground", children: resource.description })
|
|
48953
|
-
] })
|
|
48954
|
-
]
|
|
48955
|
-
},
|
|
48956
|
-
index
|
|
48957
|
-
)) }) })
|
|
48958
|
-
] })
|
|
48959
|
-
] }),
|
|
48960
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48961
|
-
Pressable,
|
|
48962
|
-
{
|
|
48963
|
-
href: "#",
|
|
48964
|
-
className: "w-full border-y-2 border-dashed px-2 py-4 text-left text-sm font-medium",
|
|
48965
|
-
children: "Developer"
|
|
48966
|
-
}
|
|
48967
|
-
),
|
|
48968
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mx-8 mt-auto flex flex-col gap-4 py-12", actionsClassName), children: renderAuthActions() })
|
|
48969
|
-
] })
|
|
48970
|
-
] }) })
|
|
49068
|
+
className: cn(
|
|
49069
|
+
"mx-8 mt-auto flex flex-col gap-4 py-12",
|
|
49070
|
+
actionsClassName
|
|
49071
|
+
),
|
|
49072
|
+
children: renderActions()
|
|
49073
|
+
}
|
|
49074
|
+
)
|
|
49075
|
+
]
|
|
49076
|
+
}
|
|
49077
|
+
)
|
|
49078
|
+
] })
|
|
49079
|
+
}
|
|
49080
|
+
)
|
|
48971
49081
|
}
|
|
48972
49082
|
);
|
|
48973
49083
|
};
|
|
@@ -49063,7 +49173,7 @@ var NavbarImagePreview = ({
|
|
|
49063
49173
|
if (navigationSlot) return navigationSlot;
|
|
49064
49174
|
if (!navigation || navigation.length === 0) return null;
|
|
49065
49175
|
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: navigation.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
49066
|
-
|
|
49176
|
+
DesktopMenuItem3,
|
|
49067
49177
|
{
|
|
49068
49178
|
item,
|
|
49069
49179
|
index,
|
|
@@ -49149,7 +49259,7 @@ var NavbarImagePreview = ({
|
|
|
49149
49259
|
}
|
|
49150
49260
|
);
|
|
49151
49261
|
};
|
|
49152
|
-
var
|
|
49262
|
+
var DesktopMenuItem3 = ({
|
|
49153
49263
|
item,
|
|
49154
49264
|
index,
|
|
49155
49265
|
optixFlowConfig
|
|
@@ -49425,7 +49535,7 @@ var NavbarDarkIcons = ({
|
|
|
49425
49535
|
if (navigationSlot) return navigationSlot;
|
|
49426
49536
|
if (!navigation || navigation.length === 0) return null;
|
|
49427
49537
|
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: navigation.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
49428
|
-
|
|
49538
|
+
DesktopMenuItem4,
|
|
49429
49539
|
{
|
|
49430
49540
|
item,
|
|
49431
49541
|
index
|
|
@@ -49480,326 +49590,7 @@ var NavbarDarkIcons = ({
|
|
|
49480
49590
|
] })
|
|
49481
49591
|
] }) }),
|
|
49482
49592
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
49483
|
-
MobileNavigationMenu3,
|
|
49484
|
-
{
|
|
49485
|
-
open,
|
|
49486
|
-
navigation: navigation ?? [],
|
|
49487
|
-
authActions,
|
|
49488
|
-
authActionsSlot
|
|
49489
|
-
}
|
|
49490
|
-
)
|
|
49491
|
-
]
|
|
49492
|
-
}
|
|
49493
|
-
);
|
|
49494
|
-
};
|
|
49495
|
-
var DesktopMenuItem3 = ({ item, index }) => {
|
|
49496
|
-
if (item.links) {
|
|
49497
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
49498
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-fit bg-transparent font-normal text-foreground focus:bg-transparent! data-[active=true]:bg-transparent!", children: item.title }),
|
|
49499
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "rounded-xl! p-0!", children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "w-[20rem] p-2.5", children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(MenuSubLink, { link }) }, `desktop-nav-sublink-${linkIndex}`)) }) })
|
|
49500
|
-
] }, `desktop-menu-item-${index}`);
|
|
49501
|
-
}
|
|
49502
|
-
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuItem, { value: `${index}`, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49503
|
-
NavigationMenuLink,
|
|
49504
|
-
{
|
|
49505
|
-
href: item.url,
|
|
49506
|
-
className: `${navigationMenuTriggerStyle()} h-fit bg-transparent font-normal text-foreground`,
|
|
49507
|
-
children: item.title
|
|
49508
|
-
}
|
|
49509
|
-
) }, `desktop-menu-item-${index}`);
|
|
49510
|
-
};
|
|
49511
|
-
var MenuSubLink = ({ link }) => {
|
|
49512
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
49513
|
-
Pressable,
|
|
49514
|
-
{
|
|
49515
|
-
href: link.url,
|
|
49516
|
-
className: "flex items-center gap-4 rounded-lg p-2 hover:bg-muted",
|
|
49517
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-center justify-between", children: [
|
|
49518
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2.5", children: [
|
|
49519
|
-
link.icon ? link.icon : link.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: link.iconName, size: 20, color: link.iconColor }) : null,
|
|
49520
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1.5", children: [
|
|
49521
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm leading-none text-foreground", children: link.label }),
|
|
49522
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm leading-[1.2] text-muted-foreground/80", children: link.description })
|
|
49523
|
-
] })
|
|
49524
|
-
] }),
|
|
49525
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
49526
|
-
DynamicIcon,
|
|
49527
|
-
{
|
|
49528
|
-
name: "lucide/chevron-right",
|
|
49529
|
-
size: 14,
|
|
49530
|
-
className: "stroke-muted-foreground opacity-100"
|
|
49531
|
-
}
|
|
49532
|
-
)
|
|
49533
|
-
] })
|
|
49534
|
-
}
|
|
49535
|
-
);
|
|
49536
|
-
};
|
|
49537
|
-
var MobileNavigationMenu3 = ({
|
|
49538
|
-
open,
|
|
49539
|
-
navigation,
|
|
49540
|
-
authActions,
|
|
49541
|
-
authActionsSlot
|
|
49542
|
-
}) => {
|
|
49543
|
-
const renderMobileAuthActions = () => {
|
|
49544
|
-
if (authActionsSlot) return authActionsSlot;
|
|
49545
|
-
if (!authActions || authActions.length === 0) return null;
|
|
49546
|
-
return authActions.map((action, index) => {
|
|
49547
|
-
const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
|
|
49548
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
49549
|
-
Pressable,
|
|
49550
|
-
{
|
|
49551
|
-
asButton: true,
|
|
49552
|
-
className: cn("w-full", actionClassName),
|
|
49553
|
-
...pressableProps,
|
|
49554
|
-
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
49555
|
-
icon,
|
|
49556
|
-
label,
|
|
49557
|
-
iconAfter
|
|
49558
|
-
] })
|
|
49559
|
-
},
|
|
49560
|
-
index
|
|
49561
|
-
);
|
|
49562
|
-
});
|
|
49563
|
-
};
|
|
49564
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Sheet, { open, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49565
|
-
SheetContent,
|
|
49566
|
-
{
|
|
49567
|
-
"aria-describedby": void 0,
|
|
49568
|
-
side: "top",
|
|
49569
|
-
className: "dark inset-0 z-998 h-dvh w-full bg-background pt-16 [&>button]:hidden",
|
|
49570
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "container pb-12", children: [
|
|
49571
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute -m-px h-px w-px overflow-hidden border-0 mask-clip-border p-0 text-nowrap whitespace-nowrap", children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { className: "text-primary", children: "Mobile Navigation" }) }),
|
|
49572
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col justify-between gap-20", children: [
|
|
49573
|
-
/* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
|
|
49574
|
-
(item, index) => renderMobileMenuItem3(item, index)
|
|
49575
|
-
) }),
|
|
49576
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 pb-20", children: renderMobileAuthActions() })
|
|
49577
|
-
] })
|
|
49578
|
-
] }) })
|
|
49579
|
-
}
|
|
49580
|
-
) });
|
|
49581
|
-
};
|
|
49582
|
-
var renderMobileMenuItem3 = (item, index) => {
|
|
49583
|
-
if (item.links) {
|
|
49584
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(AccordionItem, { value: `nav-${index}`, children: [
|
|
49585
|
-
/* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center p-0 text-base leading-[3.75] font-normal text-muted-foreground hover:no-underline", children: item.title }),
|
|
49586
|
-
/* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { children: item.links.map((subItem, subIndex) => /* @__PURE__ */ jsxRuntime.jsx(MenuSubLink, { link: subItem }, `sub-link-${index}-${subIndex}`)) })
|
|
49587
|
-
] }, `nav-item-${index}`);
|
|
49588
|
-
}
|
|
49589
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
49590
|
-
Pressable,
|
|
49591
|
-
{
|
|
49592
|
-
href: item.url,
|
|
49593
|
-
className: "flex h-15 items-center border-b p-0 text-left text-base leading-[3.75] font-normal text-muted-foreground ring-ring/10 outline-ring/50 transition-all focus-visible:ring-4 focus-visible:outline-1 nth-last-1:border-0",
|
|
49594
|
-
children: item.title
|
|
49595
|
-
},
|
|
49596
|
-
`nav-link-${index}`
|
|
49597
|
-
);
|
|
49598
|
-
};
|
|
49599
|
-
var GithubStars = ({ repoUrl }) => {
|
|
49600
|
-
const [stargazersCount, setStargazersCount] = React11.useState("");
|
|
49601
|
-
const formatStargazers = (count) => {
|
|
49602
|
-
if (count === "") return "";
|
|
49603
|
-
if (count < 1e3) return count.toString();
|
|
49604
|
-
return `${Math.round(count / 1e3)}k`;
|
|
49605
|
-
};
|
|
49606
|
-
React11.useEffect(() => {
|
|
49607
|
-
const getStars = async () => {
|
|
49608
|
-
try {
|
|
49609
|
-
const parts = repoUrl.split("github.com/");
|
|
49610
|
-
if (parts.length < 2) return;
|
|
49611
|
-
const [owner, repo] = parts[1].split("/");
|
|
49612
|
-
const githubApiEndpoint = `https://api.github.com/repos/${owner}/${repo}`;
|
|
49613
|
-
const response = await fetch(githubApiEndpoint);
|
|
49614
|
-
const json = await response.json();
|
|
49615
|
-
const formattedCount = formatStargazers(json.stargazers_count);
|
|
49616
|
-
setStargazersCount(formattedCount);
|
|
49617
|
-
} catch (error) {
|
|
49618
|
-
if (error instanceof Error) {
|
|
49619
|
-
console.error(error.message);
|
|
49620
|
-
}
|
|
49621
|
-
}
|
|
49622
|
-
};
|
|
49623
|
-
getStars();
|
|
49624
|
-
}, [repoUrl]);
|
|
49625
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49626
|
-
Pressable,
|
|
49627
|
-
{
|
|
49628
|
-
variant: "ghost",
|
|
49629
|
-
asButton: true,
|
|
49630
|
-
className: "flex items-center gap-1.5 bg-muted text-foreground",
|
|
49631
|
-
href: repoUrl,
|
|
49632
|
-
children: [
|
|
49633
|
-
/* @__PURE__ */ jsxRuntime.jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", children: /* @__PURE__ */ jsxRuntime.jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49634
|
-
"g",
|
|
49635
|
-
{
|
|
49636
|
-
transform: "translate(-140.000000, -7559.000000)",
|
|
49637
|
-
fill: "currentColor",
|
|
49638
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("g", { transform: "translate(56.000000, 160.000000)", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M94,7399 C99.523,7399 104,7403.59 104,7409.253 C104,7413.782 101.138,7417.624 97.167,7418.981 C96.66,7419.082 96.48,7418.762 96.48,7418.489 C96.48,7418.151 96.492,7417.047 96.492,7415.675 C96.492,7414.719 96.172,7414.095 95.813,7413.777 C98.04,7413.523 100.38,7412.656 100.38,7408.718 C100.38,7407.598 99.992,7406.684 99.35,7405.966 C99.454,7405.707 99.797,7404.664 99.252,7403.252 C99.252,7403.252 98.414,7402.977 96.505,7404.303 C95.706,7404.076 94.85,7403.962 94,7403.958 C93.15,7403.962 92.295,7404.076 91.497,7404.303 C89.586,7402.977 88.746,7403.252 88.746,7403.252 C88.203,7404.664 88.546,7405.707 88.649,7405.966 C88.01,7406.684 87.619,7407.598 87.619,7408.718 C87.619,7412.646 89.954,7413.526 92.175,7413.785 C91.889,7414.041 91.63,7414.493 91.54,7415.156 C90.97,7415.418 89.522,7415.871 88.63,7414.304 C88.63,7414.304 88.101,7413.319 87.097,7413.247 C87.097,7413.247 86.122,7413.234 87.029,7413.87 C87.029,7413.87 87.684,7414.185 88.139,7415.37 C88.139,7415.37 88.726,7417.2 91.508,7416.58 C91.513,7417.437 91.522,7418.245 91.522,7418.489 C91.522,7418.76 91.338,7419.077 90.839,7418.982 C86.865,7417.627 84,7413.783 84,7409.253 C84,7403.59 88.478,7399 94,7399" }) })
|
|
49639
|
-
}
|
|
49640
|
-
) }) }),
|
|
49641
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { children: stargazersCount })
|
|
49642
|
-
]
|
|
49643
|
-
}
|
|
49644
|
-
);
|
|
49645
|
-
};
|
|
49646
|
-
var MOBILE_BREAKPOINT4 = 1280;
|
|
49647
|
-
var NavbarAnimatedPreview = ({
|
|
49648
|
-
className,
|
|
49649
|
-
containerClassName,
|
|
49650
|
-
navClassName,
|
|
49651
|
-
navigationMenuClassName,
|
|
49652
|
-
actionsClassName,
|
|
49653
|
-
logo = {
|
|
49654
|
-
url: "/",
|
|
49655
|
-
src: logoPlaceholders.logoMark
|
|
49656
|
-
},
|
|
49657
|
-
logoSlot,
|
|
49658
|
-
logoClassName,
|
|
49659
|
-
navigation,
|
|
49660
|
-
navigationSlot,
|
|
49661
|
-
authActions,
|
|
49662
|
-
authActionsSlot,
|
|
49663
|
-
background = "white",
|
|
49664
|
-
spacing = "none",
|
|
49665
|
-
pattern,
|
|
49666
|
-
patternOpacity,
|
|
49667
|
-
optixFlowConfig
|
|
49668
|
-
}) => {
|
|
49669
|
-
const [open, setOpen] = React11.useState(false);
|
|
49670
|
-
React11.useEffect(() => {
|
|
49671
|
-
if (typeof window === "undefined") return;
|
|
49672
|
-
const handleResize = () => {
|
|
49673
|
-
if (window.innerWidth > MOBILE_BREAKPOINT4) {
|
|
49674
|
-
setOpen(false);
|
|
49675
|
-
}
|
|
49676
|
-
};
|
|
49677
|
-
handleResize();
|
|
49678
|
-
window.addEventListener("resize", handleResize);
|
|
49679
|
-
return () => window.removeEventListener("resize", handleResize);
|
|
49680
|
-
}, []);
|
|
49681
|
-
React11.useEffect(() => {
|
|
49682
|
-
if (typeof document === "undefined") return;
|
|
49683
|
-
document.body.style.overflow = open ? "hidden" : "auto";
|
|
49684
|
-
return () => {
|
|
49685
|
-
document.body.style.overflow = "auto";
|
|
49686
|
-
};
|
|
49687
|
-
}, [open]);
|
|
49688
|
-
const handleMobileMenu = () => {
|
|
49689
|
-
setOpen(!open);
|
|
49690
|
-
};
|
|
49691
|
-
const renderLogo = () => {
|
|
49692
|
-
if (logoSlot) return logoSlot;
|
|
49693
|
-
if (!logo) return null;
|
|
49694
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49695
|
-
Pressable,
|
|
49696
|
-
{
|
|
49697
|
-
href: logo.url || "/",
|
|
49698
|
-
className: cn(
|
|
49699
|
-
"flex max-h-8 items-center gap-2 text-lg font-semibold tracking-tighter",
|
|
49700
|
-
logoClassName
|
|
49701
|
-
),
|
|
49702
|
-
children: [
|
|
49703
|
-
logo.src && /* @__PURE__ */ jsxRuntime.jsx(
|
|
49704
|
-
img.Img,
|
|
49705
|
-
{
|
|
49706
|
-
src: logo.src,
|
|
49707
|
-
alt: logo.alt || "Logo",
|
|
49708
|
-
className: cn("inline-block size-6", logo.className),
|
|
49709
|
-
optixFlowConfig
|
|
49710
|
-
}
|
|
49711
|
-
),
|
|
49712
|
-
logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden md:inline-block", children: logo.title }) : logo.title)
|
|
49713
|
-
]
|
|
49714
|
-
}
|
|
49715
|
-
);
|
|
49716
|
-
};
|
|
49717
|
-
const renderAuthActions = () => {
|
|
49718
|
-
if (authActionsSlot) return authActionsSlot;
|
|
49719
|
-
if (!authActions || authActions.length === 0) return null;
|
|
49720
|
-
return authActions.map((action, index) => {
|
|
49721
|
-
const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
|
|
49722
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
49723
|
-
Pressable,
|
|
49724
|
-
{
|
|
49725
|
-
asButton: true,
|
|
49726
|
-
className: actionClassName,
|
|
49727
|
-
...pressableProps,
|
|
49728
|
-
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
49729
|
-
icon,
|
|
49730
|
-
label,
|
|
49731
|
-
iconAfter ?? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 })
|
|
49732
|
-
] })
|
|
49733
|
-
},
|
|
49734
|
-
index
|
|
49735
|
-
);
|
|
49736
|
-
});
|
|
49737
|
-
};
|
|
49738
|
-
const renderNavigation = () => {
|
|
49739
|
-
if (navigationSlot) return navigationSlot;
|
|
49740
|
-
if (!navigation || navigation.length === 0) return null;
|
|
49741
|
-
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: navigation.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
49742
|
-
DesktopMenuItem4,
|
|
49743
|
-
{
|
|
49744
|
-
item,
|
|
49745
|
-
index,
|
|
49746
|
-
optixFlowConfig
|
|
49747
|
-
},
|
|
49748
|
-
`desktop-link-${index}`
|
|
49749
|
-
)) });
|
|
49750
|
-
};
|
|
49751
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49752
|
-
Section,
|
|
49753
|
-
{
|
|
49754
|
-
background,
|
|
49755
|
-
spacing,
|
|
49756
|
-
className: cn(
|
|
49757
|
-
"pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
|
|
49758
|
-
className
|
|
49759
|
-
),
|
|
49760
|
-
pattern,
|
|
49761
|
-
patternOpacity,
|
|
49762
|
-
children: [
|
|
49763
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: cn(
|
|
49764
|
-
"h-20 max-w-full after:absolute after:inset-0 after:z-998 after:block after:size-full after:bg-background after:content-[''] [&>div:last-child>div]:mt-0 [&>div:last-child>div]:animate-none [&>div:last-child>div]:rounded-none [&>div:last-child>div]:border-0 [&>div:last-child>div]:shadow-[0px_-1px_0px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_rgba(17,26,37,0.05),0px_2px_5px_0px_rgba(16,25,36,0.1),0px_5px_20px_0px_rgba(16,25,36,0.1)]!",
|
|
49765
|
-
navigationMenuClassName
|
|
49766
|
-
), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(
|
|
49767
|
-
"relative z-999 container grid w-full grid-cols-2 items-center justify-between gap-8 xl:grid-cols-3",
|
|
49768
|
-
containerClassName
|
|
49769
|
-
), children: [
|
|
49770
|
-
renderLogo(),
|
|
49771
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("hidden xl:flex", navClassName), children: renderNavigation() }),
|
|
49772
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("justify-self-end", actionsClassName), children: [
|
|
49773
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden xl:block", children: renderAuthActions() }),
|
|
49774
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "xl:hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49775
|
-
Pressable,
|
|
49776
|
-
{
|
|
49777
|
-
className: "size-11",
|
|
49778
|
-
variant: "ghost",
|
|
49779
|
-
size: "icon",
|
|
49780
|
-
asButton: true,
|
|
49781
|
-
onClick: handleMobileMenu,
|
|
49782
|
-
children: open ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
49783
|
-
DynamicIcon,
|
|
49784
|
-
{
|
|
49785
|
-
name: "lucide/x",
|
|
49786
|
-
size: 22,
|
|
49787
|
-
className: "stroke-foreground"
|
|
49788
|
-
}
|
|
49789
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
49790
|
-
DynamicIcon,
|
|
49791
|
-
{
|
|
49792
|
-
name: "lucide/menu",
|
|
49793
|
-
size: 22,
|
|
49794
|
-
className: "stroke-foreground"
|
|
49795
|
-
}
|
|
49796
|
-
)
|
|
49797
|
-
}
|
|
49798
|
-
) })
|
|
49799
|
-
] })
|
|
49800
|
-
] }) }),
|
|
49801
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
49802
|
-
MobileNavigationMenu4,
|
|
49593
|
+
MobileNavigationMenu3,
|
|
49803
49594
|
{
|
|
49804
49595
|
open,
|
|
49805
49596
|
navigation: navigation ?? [],
|
|
@@ -49811,51 +49602,382 @@ var NavbarAnimatedPreview = ({
|
|
|
49811
49602
|
}
|
|
49812
49603
|
);
|
|
49813
49604
|
};
|
|
49814
|
-
var DesktopMenuItem4 = ({
|
|
49815
|
-
item
|
|
49816
|
-
index,
|
|
49817
|
-
optixFlowConfig
|
|
49818
|
-
}) => {
|
|
49819
|
-
if (item.links || item.featuredLinks || item.groupLinks) {
|
|
49605
|
+
var DesktopMenuItem4 = ({ item, index }) => {
|
|
49606
|
+
if (item.links) {
|
|
49820
49607
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
49821
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-fit bg-transparent font-normal text-foreground
|
|
49822
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "
|
|
49823
|
-
|
|
49824
|
-
|
|
49608
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-fit bg-transparent font-normal text-foreground focus:bg-transparent! data-[active=true]:bg-transparent!", children: item.title }),
|
|
49609
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "rounded-xl! p-0!", children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "w-[20rem] p-2.5", children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(MenuSubLink, { link }) }, `desktop-nav-sublink-${linkIndex}`)) }) })
|
|
49610
|
+
] }, `desktop-menu-item-${index}`);
|
|
49611
|
+
}
|
|
49612
|
+
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuItem, { value: `${index}`, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49613
|
+
NavigationMenuLink,
|
|
49614
|
+
{
|
|
49615
|
+
href: item.url,
|
|
49616
|
+
className: `${navigationMenuTriggerStyle()} h-fit bg-transparent font-normal text-foreground`,
|
|
49617
|
+
children: item.title
|
|
49618
|
+
}
|
|
49619
|
+
) }, `desktop-menu-item-${index}`);
|
|
49620
|
+
};
|
|
49621
|
+
var MenuSubLink = ({ link }) => {
|
|
49622
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
49623
|
+
Pressable,
|
|
49624
|
+
{
|
|
49625
|
+
href: link.url,
|
|
49626
|
+
className: "flex items-center gap-4 rounded-lg p-2 hover:bg-muted",
|
|
49627
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-center justify-between", children: [
|
|
49628
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2.5", children: [
|
|
49629
|
+
link.icon ? link.icon : link.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: link.iconName, size: 20, color: link.iconColor }) : null,
|
|
49630
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1.5", children: [
|
|
49631
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm leading-none text-foreground", children: link.label }),
|
|
49632
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm leading-[1.2] text-muted-foreground/80", children: link.description })
|
|
49633
|
+
] })
|
|
49634
|
+
] }),
|
|
49635
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
49636
|
+
DynamicIcon,
|
|
49825
49637
|
{
|
|
49826
|
-
|
|
49827
|
-
|
|
49638
|
+
name: "lucide/chevron-right",
|
|
49639
|
+
size: 14,
|
|
49640
|
+
className: "stroke-muted-foreground opacity-100"
|
|
49828
49641
|
}
|
|
49829
|
-
)
|
|
49830
|
-
|
|
49831
|
-
|
|
49642
|
+
)
|
|
49643
|
+
] })
|
|
49644
|
+
}
|
|
49645
|
+
);
|
|
49646
|
+
};
|
|
49647
|
+
var MobileNavigationMenu3 = ({
|
|
49648
|
+
open,
|
|
49649
|
+
navigation,
|
|
49650
|
+
authActions,
|
|
49651
|
+
authActionsSlot
|
|
49652
|
+
}) => {
|
|
49653
|
+
const renderMobileAuthActions = () => {
|
|
49654
|
+
if (authActionsSlot) return authActionsSlot;
|
|
49655
|
+
if (!authActions || authActions.length === 0) return null;
|
|
49656
|
+
return authActions.map((action, index) => {
|
|
49657
|
+
const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
|
|
49658
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
49659
|
+
Pressable,
|
|
49660
|
+
{
|
|
49661
|
+
asButton: true,
|
|
49662
|
+
className: cn("w-full", actionClassName),
|
|
49663
|
+
...pressableProps,
|
|
49664
|
+
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
49665
|
+
icon,
|
|
49666
|
+
label,
|
|
49667
|
+
iconAfter
|
|
49668
|
+
] })
|
|
49669
|
+
},
|
|
49670
|
+
index
|
|
49671
|
+
);
|
|
49672
|
+
});
|
|
49673
|
+
};
|
|
49674
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Sheet, { open, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49675
|
+
SheetContent,
|
|
49676
|
+
{
|
|
49677
|
+
"aria-describedby": void 0,
|
|
49678
|
+
side: "top",
|
|
49679
|
+
className: "dark inset-0 z-998 h-dvh w-full bg-background pt-16 [&>button]:hidden",
|
|
49680
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "container pb-12", children: [
|
|
49681
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute -m-px h-px w-px overflow-hidden border-0 mask-clip-border p-0 text-nowrap whitespace-nowrap", children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { className: "text-primary", children: "Mobile Navigation" }) }),
|
|
49682
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col justify-between gap-20", children: [
|
|
49683
|
+
/* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
|
|
49684
|
+
(item, index) => renderMobileMenuItem3(item, index)
|
|
49685
|
+
) }),
|
|
49686
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 pb-20", children: renderMobileAuthActions() })
|
|
49687
|
+
] })
|
|
49688
|
+
] }) })
|
|
49689
|
+
}
|
|
49690
|
+
) });
|
|
49691
|
+
};
|
|
49692
|
+
var renderMobileMenuItem3 = (item, index) => {
|
|
49693
|
+
if (item.links) {
|
|
49694
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(AccordionItem, { value: `nav-${index}`, children: [
|
|
49695
|
+
/* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center p-0 text-base leading-[3.75] font-normal text-muted-foreground hover:no-underline", children: item.title }),
|
|
49696
|
+
/* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { children: item.links.map((subItem, subIndex) => /* @__PURE__ */ jsxRuntime.jsx(MenuSubLink, { link: subItem }, `sub-link-${index}-${subIndex}`)) })
|
|
49697
|
+
] }, `nav-item-${index}`);
|
|
49698
|
+
}
|
|
49699
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
49700
|
+
Pressable,
|
|
49701
|
+
{
|
|
49702
|
+
href: item.url,
|
|
49703
|
+
className: "flex h-15 items-center border-b p-0 text-left text-base leading-[3.75] font-normal text-muted-foreground ring-ring/10 outline-ring/50 transition-all focus-visible:ring-4 focus-visible:outline-1 nth-last-1:border-0",
|
|
49704
|
+
children: item.title
|
|
49705
|
+
},
|
|
49706
|
+
`nav-link-${index}`
|
|
49707
|
+
);
|
|
49708
|
+
};
|
|
49709
|
+
var GithubStars = ({ repoUrl }) => {
|
|
49710
|
+
const [stargazersCount, setStargazersCount] = React11.useState("");
|
|
49711
|
+
const formatStargazers = (count) => {
|
|
49712
|
+
if (count === "") return "";
|
|
49713
|
+
if (count < 1e3) return count.toString();
|
|
49714
|
+
return `${Math.round(count / 1e3)}k`;
|
|
49715
|
+
};
|
|
49716
|
+
React11.useEffect(() => {
|
|
49717
|
+
const getStars = async () => {
|
|
49718
|
+
try {
|
|
49719
|
+
const parts = repoUrl.split("github.com/");
|
|
49720
|
+
if (parts.length < 2) return;
|
|
49721
|
+
const [owner, repo] = parts[1].split("/");
|
|
49722
|
+
const githubApiEndpoint = `https://api.github.com/repos/${owner}/${repo}`;
|
|
49723
|
+
const response = await fetch(githubApiEndpoint);
|
|
49724
|
+
const json = await response.json();
|
|
49725
|
+
const formattedCount = formatStargazers(json.stargazers_count);
|
|
49726
|
+
setStargazersCount(formattedCount);
|
|
49727
|
+
} catch (error) {
|
|
49728
|
+
if (error instanceof Error) {
|
|
49729
|
+
console.error(error.message);
|
|
49730
|
+
}
|
|
49731
|
+
}
|
|
49732
|
+
};
|
|
49733
|
+
getStars();
|
|
49734
|
+
}, [repoUrl]);
|
|
49735
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49736
|
+
Pressable,
|
|
49737
|
+
{
|
|
49738
|
+
variant: "ghost",
|
|
49739
|
+
asButton: true,
|
|
49740
|
+
className: "flex items-center gap-1.5 bg-muted text-foreground",
|
|
49741
|
+
href: repoUrl,
|
|
49742
|
+
children: [
|
|
49743
|
+
/* @__PURE__ */ jsxRuntime.jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", children: /* @__PURE__ */ jsxRuntime.jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49744
|
+
"g",
|
|
49832
49745
|
{
|
|
49833
|
-
|
|
49834
|
-
|
|
49835
|
-
|
|
49746
|
+
transform: "translate(-140.000000, -7559.000000)",
|
|
49747
|
+
fill: "currentColor",
|
|
49748
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("g", { transform: "translate(56.000000, 160.000000)", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M94,7399 C99.523,7399 104,7403.59 104,7409.253 C104,7413.782 101.138,7417.624 97.167,7418.981 C96.66,7419.082 96.48,7418.762 96.48,7418.489 C96.48,7418.151 96.492,7417.047 96.492,7415.675 C96.492,7414.719 96.172,7414.095 95.813,7413.777 C98.04,7413.523 100.38,7412.656 100.38,7408.718 C100.38,7407.598 99.992,7406.684 99.35,7405.966 C99.454,7405.707 99.797,7404.664 99.252,7403.252 C99.252,7403.252 98.414,7402.977 96.505,7404.303 C95.706,7404.076 94.85,7403.962 94,7403.958 C93.15,7403.962 92.295,7404.076 91.497,7404.303 C89.586,7402.977 88.746,7403.252 88.746,7403.252 C88.203,7404.664 88.546,7405.707 88.649,7405.966 C88.01,7406.684 87.619,7407.598 87.619,7408.718 C87.619,7412.646 89.954,7413.526 92.175,7413.785 C91.889,7414.041 91.63,7414.493 91.54,7415.156 C90.97,7415.418 89.522,7415.871 88.63,7414.304 C88.63,7414.304 88.101,7413.319 87.097,7413.247 C87.097,7413.247 86.122,7413.234 87.029,7413.87 C87.029,7413.87 87.684,7414.185 88.139,7415.37 C88.139,7415.37 88.726,7417.2 91.508,7416.58 C91.513,7417.437 91.522,7418.245 91.522,7418.489 C91.522,7418.76 91.338,7419.077 90.839,7418.982 C86.865,7417.627 84,7413.783 84,7409.253 C84,7403.59 88.478,7399 94,7399" }) })
|
|
49836
49749
|
}
|
|
49750
|
+
) }) }),
|
|
49751
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: stargazersCount })
|
|
49752
|
+
]
|
|
49753
|
+
}
|
|
49754
|
+
);
|
|
49755
|
+
};
|
|
49756
|
+
var MOBILE_BREAKPOINT4 = 1280;
|
|
49757
|
+
var NavbarAnimatedPreview = ({
|
|
49758
|
+
className,
|
|
49759
|
+
containerClassName,
|
|
49760
|
+
navClassName,
|
|
49761
|
+
navigationMenuClassName,
|
|
49762
|
+
actionsClassName,
|
|
49763
|
+
logo = {
|
|
49764
|
+
url: "/",
|
|
49765
|
+
src: logoPlaceholders.logoMark
|
|
49766
|
+
},
|
|
49767
|
+
logoSlot,
|
|
49768
|
+
logoClassName,
|
|
49769
|
+
menuLinks,
|
|
49770
|
+
navigationSlot,
|
|
49771
|
+
actions,
|
|
49772
|
+
actionsSlot,
|
|
49773
|
+
background = "white",
|
|
49774
|
+
spacing = "none",
|
|
49775
|
+
pattern,
|
|
49776
|
+
patternOpacity,
|
|
49777
|
+
optixFlowConfig
|
|
49778
|
+
}) => {
|
|
49779
|
+
const [open, setOpen] = React11.useState(false);
|
|
49780
|
+
React11.useEffect(() => {
|
|
49781
|
+
if (typeof window === "undefined") return;
|
|
49782
|
+
const handleResize = () => {
|
|
49783
|
+
if (window.innerWidth > MOBILE_BREAKPOINT4) {
|
|
49784
|
+
setOpen(false);
|
|
49785
|
+
}
|
|
49786
|
+
};
|
|
49787
|
+
handleResize();
|
|
49788
|
+
window.addEventListener("resize", handleResize);
|
|
49789
|
+
return () => window.removeEventListener("resize", handleResize);
|
|
49790
|
+
}, []);
|
|
49791
|
+
React11.useEffect(() => {
|
|
49792
|
+
if (typeof document === "undefined") return;
|
|
49793
|
+
document.body.style.overflow = open ? "hidden" : "auto";
|
|
49794
|
+
return () => {
|
|
49795
|
+
document.body.style.overflow = "auto";
|
|
49796
|
+
};
|
|
49797
|
+
}, [open]);
|
|
49798
|
+
const handleMobileMenu = () => {
|
|
49799
|
+
setOpen(!open);
|
|
49800
|
+
};
|
|
49801
|
+
const renderLogo = () => {
|
|
49802
|
+
if (logoSlot) return logoSlot;
|
|
49803
|
+
if (!logo) return null;
|
|
49804
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49805
|
+
Pressable,
|
|
49806
|
+
{
|
|
49807
|
+
href: logo.url || "/",
|
|
49808
|
+
className: cn(
|
|
49809
|
+
"flex max-h-8 items-center gap-2 text-lg font-semibold tracking-tighter",
|
|
49810
|
+
logoClassName
|
|
49837
49811
|
),
|
|
49838
|
-
|
|
49839
|
-
|
|
49812
|
+
children: [
|
|
49813
|
+
logo.src && /* @__PURE__ */ jsxRuntime.jsx(
|
|
49814
|
+
img.Img,
|
|
49815
|
+
{
|
|
49816
|
+
src: logo.src,
|
|
49817
|
+
alt: logo.alt || "Logo",
|
|
49818
|
+
className: cn("inline-block size-6", logo.className),
|
|
49819
|
+
optixFlowConfig
|
|
49820
|
+
}
|
|
49821
|
+
),
|
|
49822
|
+
logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden md:inline-block", children: logo.title }) : logo.title)
|
|
49823
|
+
]
|
|
49824
|
+
}
|
|
49825
|
+
);
|
|
49826
|
+
};
|
|
49827
|
+
const renderActions = () => {
|
|
49828
|
+
if (actionsSlot) return actionsSlot;
|
|
49829
|
+
if (!actions || actions.length === 0) return null;
|
|
49830
|
+
return actions.map((action, index) => {
|
|
49831
|
+
const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
|
|
49832
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
49833
|
+
Pressable,
|
|
49834
|
+
{
|
|
49835
|
+
asButton: true,
|
|
49836
|
+
className: actionClassName,
|
|
49837
|
+
...pressableProps,
|
|
49838
|
+
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
49839
|
+
icon,
|
|
49840
|
+
label,
|
|
49841
|
+
iconAfter ?? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 })
|
|
49842
|
+
] })
|
|
49843
|
+
},
|
|
49844
|
+
index
|
|
49845
|
+
);
|
|
49846
|
+
});
|
|
49847
|
+
};
|
|
49848
|
+
const renderNavigation = () => {
|
|
49849
|
+
if (navigationSlot) return navigationSlot;
|
|
49850
|
+
if (!menuLinks || menuLinks.length === 0) return null;
|
|
49851
|
+
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: menuLinks.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
49852
|
+
DesktopMenuItem5,
|
|
49853
|
+
{
|
|
49854
|
+
item,
|
|
49855
|
+
index,
|
|
49856
|
+
optixFlowConfig
|
|
49857
|
+
},
|
|
49858
|
+
`desktop-link-${index}`
|
|
49859
|
+
)) });
|
|
49860
|
+
};
|
|
49861
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
49862
|
+
Section,
|
|
49863
|
+
{
|
|
49864
|
+
background,
|
|
49865
|
+
spacing,
|
|
49866
|
+
className: cn(
|
|
49867
|
+
"pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
|
|
49868
|
+
className
|
|
49869
|
+
),
|
|
49870
|
+
pattern,
|
|
49871
|
+
patternOpacity,
|
|
49872
|
+
children: [
|
|
49873
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: cn(
|
|
49874
|
+
"h-20 max-w-full after:absolute after:inset-0 after:z-998 after:block after:size-full after:bg-background after:content-[''] [&>div:last-child>div]:mt-0 [&>div:last-child>div]:animate-none [&>div:last-child>div]:rounded-none [&>div:last-child>div]:border-0 [&>div:last-child>div]:shadow-[0px_-1px_0px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_rgba(17,26,37,0.05),0px_2px_5px_0px_rgba(16,25,36,0.1),0px_5px_20px_0px_rgba(16,25,36,0.1)]!",
|
|
49875
|
+
navigationMenuClassName
|
|
49876
|
+
), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(
|
|
49877
|
+
"relative z-999 container grid w-full grid-cols-2 items-center justify-between gap-8 xl:grid-cols-3",
|
|
49878
|
+
containerClassName
|
|
49879
|
+
), children: [
|
|
49880
|
+
renderLogo(),
|
|
49881
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("hidden xl:flex", navClassName), children: renderNavigation() }),
|
|
49882
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("justify-self-end", actionsClassName), children: [
|
|
49883
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden xl:block", children: renderActions() }),
|
|
49884
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "xl:hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49885
|
+
Pressable,
|
|
49886
|
+
{
|
|
49887
|
+
className: "size-11",
|
|
49888
|
+
variant: "ghost",
|
|
49889
|
+
size: "icon",
|
|
49890
|
+
asButton: true,
|
|
49891
|
+
onClick: handleMobileMenu,
|
|
49892
|
+
children: open ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
49893
|
+
DynamicIcon,
|
|
49894
|
+
{
|
|
49895
|
+
name: "lucide/x",
|
|
49896
|
+
size: 22,
|
|
49897
|
+
className: "stroke-foreground"
|
|
49898
|
+
}
|
|
49899
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
49900
|
+
DynamicIcon,
|
|
49901
|
+
{
|
|
49902
|
+
name: "lucide/menu",
|
|
49903
|
+
size: 22,
|
|
49904
|
+
className: "stroke-foreground"
|
|
49905
|
+
}
|
|
49906
|
+
)
|
|
49907
|
+
}
|
|
49908
|
+
) })
|
|
49909
|
+
] })
|
|
49910
|
+
] }) }),
|
|
49911
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
49912
|
+
MobileNavigationMenu4,
|
|
49840
49913
|
{
|
|
49841
|
-
|
|
49842
|
-
|
|
49843
|
-
|
|
49914
|
+
open,
|
|
49915
|
+
menuLinks: menuLinks ?? [],
|
|
49916
|
+
actions,
|
|
49917
|
+
actionsSlot
|
|
49844
49918
|
}
|
|
49845
49919
|
)
|
|
49846
|
-
]
|
|
49920
|
+
]
|
|
49921
|
+
}
|
|
49922
|
+
);
|
|
49923
|
+
};
|
|
49924
|
+
var DesktopMenuItem5 = ({
|
|
49925
|
+
item,
|
|
49926
|
+
index,
|
|
49927
|
+
optixFlowConfig
|
|
49928
|
+
}) => {
|
|
49929
|
+
const hasDropdown = Boolean(
|
|
49930
|
+
item.links?.length || item.featuredLinks?.length || item.groupLinks?.length
|
|
49931
|
+
);
|
|
49932
|
+
if (hasDropdown) {
|
|
49933
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
49934
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "bg-transparent px-0 hover:bg-transparent focus:bg-transparent data-[state=open]:bg-transparent h-fit font-normal text-foreground/60", children: item.title }),
|
|
49935
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "hidden rounded-xl! border-0! p-0! xl:block", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-dvw animate-[fade-in-slide-down_0.35s_cubic-bezier(0.33,1,0.68,1)_forwards] px-8 pt-6 pb-12", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container", children: renderDropdownContent2(item, optixFlowConfig) }) }) })
|
|
49847
49936
|
] }, `desktop-menu-item-${index}`);
|
|
49848
49937
|
}
|
|
49849
49938
|
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuItem, { value: `${index}`, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49850
49939
|
NavigationMenuLink,
|
|
49851
49940
|
{
|
|
49852
49941
|
href: item.url,
|
|
49853
|
-
className: `${navigationMenuTriggerStyle()}
|
|
49942
|
+
className: `${navigationMenuTriggerStyle()} bg-transparent px-0 hover:bg-transparent focus:bg-transparent h-fit font-normal text-foreground/60`,
|
|
49854
49943
|
children: item.title
|
|
49855
49944
|
}
|
|
49856
49945
|
) }, `desktop-menu-item-${index}`);
|
|
49857
49946
|
};
|
|
49858
|
-
var
|
|
49947
|
+
var renderDropdownContent2 = (item, optixFlowConfig) => {
|
|
49948
|
+
const layout = item.layout || "animated-image-preview";
|
|
49949
|
+
switch (layout) {
|
|
49950
|
+
case "animated-image-preview":
|
|
49951
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
49952
|
+
AnimatedImagePreviewDropdown,
|
|
49953
|
+
{
|
|
49954
|
+
links: item.links,
|
|
49955
|
+
optixFlowConfig
|
|
49956
|
+
}
|
|
49957
|
+
);
|
|
49958
|
+
case "featured-cards-grid":
|
|
49959
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
49960
|
+
FeaturedCardsGridDropdown,
|
|
49961
|
+
{
|
|
49962
|
+
featuredLinks: item.featuredLinks,
|
|
49963
|
+
links: item.links,
|
|
49964
|
+
optixFlowConfig
|
|
49965
|
+
}
|
|
49966
|
+
);
|
|
49967
|
+
case "grouped-links-image":
|
|
49968
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
49969
|
+
GroupedLinksImageDropdown,
|
|
49970
|
+
{
|
|
49971
|
+
groupLinks: item.groupLinks,
|
|
49972
|
+
imageLink: item.imageLink,
|
|
49973
|
+
optixFlowConfig
|
|
49974
|
+
}
|
|
49975
|
+
);
|
|
49976
|
+
default:
|
|
49977
|
+
return null;
|
|
49978
|
+
}
|
|
49979
|
+
};
|
|
49980
|
+
var AnimatedImagePreviewDropdown = ({ links, optixFlowConfig }) => {
|
|
49859
49981
|
const linksRef = React11.useRef([]);
|
|
49860
49982
|
const imageRefs = React11.useRef([]);
|
|
49861
49983
|
const updateImageClasses = (activeIndex) => {
|
|
@@ -49918,7 +50040,7 @@ var DropdownMenu1 = ({ links, optixFlowConfig }) => {
|
|
|
49918
50040
|
)) })
|
|
49919
50041
|
] });
|
|
49920
50042
|
};
|
|
49921
|
-
var
|
|
50043
|
+
var FeaturedCardsGridDropdown = ({
|
|
49922
50044
|
links,
|
|
49923
50045
|
featuredLinks,
|
|
49924
50046
|
optixFlowConfig
|
|
@@ -49936,7 +50058,7 @@ var DropdownMenu2 = ({
|
|
|
49936
50058
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-4 pt-8", children: links?.map((link, index) => /* @__PURE__ */ jsxRuntime.jsx(NavLink, { link }, `default-nav-link-${index}`)) })
|
|
49937
50059
|
] });
|
|
49938
50060
|
};
|
|
49939
|
-
var
|
|
50061
|
+
var GroupedLinksImageDropdown = ({
|
|
49940
50062
|
groupLinks,
|
|
49941
50063
|
imageLink,
|
|
49942
50064
|
optixFlowConfig
|
|
@@ -50082,14 +50204,14 @@ var NavLink = React11.forwardRef(
|
|
|
50082
50204
|
NavLink.displayName = "NavLink";
|
|
50083
50205
|
var MobileNavigationMenu4 = ({
|
|
50084
50206
|
open,
|
|
50085
|
-
|
|
50086
|
-
|
|
50087
|
-
|
|
50207
|
+
menuLinks,
|
|
50208
|
+
actions,
|
|
50209
|
+
actionsSlot
|
|
50088
50210
|
}) => {
|
|
50089
|
-
const
|
|
50090
|
-
if (
|
|
50091
|
-
if (!
|
|
50092
|
-
return
|
|
50211
|
+
const renderMobileActions = () => {
|
|
50212
|
+
if (actionsSlot) return actionsSlot;
|
|
50213
|
+
if (!actions || actions.length === 0) return null;
|
|
50214
|
+
return actions.map((action, index) => {
|
|
50093
50215
|
const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
|
|
50094
50216
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
50095
50217
|
Pressable,
|
|
@@ -50116,10 +50238,10 @@ var MobileNavigationMenu4 = ({
|
|
|
50116
50238
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "container py-8", children: [
|
|
50117
50239
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute -m-px h-px w-px overflow-hidden border-0 mask-clip-border p-0 text-nowrap whitespace-nowrap", children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { className: "text-primary", children: "Mobile Navigation" }) }),
|
|
50118
50240
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-full flex-col gap-6", children: [
|
|
50119
|
-
/* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children:
|
|
50241
|
+
/* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map(
|
|
50120
50242
|
(item, index) => renderMobileMenuItem4(item, index)
|
|
50121
50243
|
) }),
|
|
50122
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children:
|
|
50244
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children: renderMobileActions() })
|
|
50123
50245
|
] })
|
|
50124
50246
|
] }) })
|
|
50125
50247
|
}
|
|
@@ -50234,7 +50356,7 @@ var NavbarMultiColumnGroups = ({
|
|
|
50234
50356
|
if (navigationSlot) return navigationSlot;
|
|
50235
50357
|
if (!navigation || navigation.length === 0) return null;
|
|
50236
50358
|
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: navigation.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
50237
|
-
|
|
50359
|
+
DesktopMenuItem6,
|
|
50238
50360
|
{
|
|
50239
50361
|
item,
|
|
50240
50362
|
index
|
|
@@ -50319,7 +50441,7 @@ var NavbarMultiColumnGroups = ({
|
|
|
50319
50441
|
}
|
|
50320
50442
|
);
|
|
50321
50443
|
};
|
|
50322
|
-
var
|
|
50444
|
+
var DesktopMenuItem6 = ({ item, index }) => {
|
|
50323
50445
|
if (item.groups) {
|
|
50324
50446
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
50325
50447
|
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-fit bg-transparent px-2.5 font-normal text-muted-foreground", children: item.title }),
|
|
@@ -86915,10 +87037,27 @@ var BLOCK_REGISTRY = {
|
|
|
86915
87037
|
props: "NavbarMegaMenuProps",
|
|
86916
87038
|
exampleUsage: `<NavbarMegaMenu
|
|
86917
87039
|
logo={{ src: "/logo.svg", alt: "Company" }}
|
|
86918
|
-
|
|
86919
|
-
|
|
86920
|
-
|
|
86921
|
-
|
|
87040
|
+
menuLinks={[
|
|
87041
|
+
{
|
|
87042
|
+
title: "Platform",
|
|
87043
|
+
dropdownItems: [
|
|
87044
|
+
{ title: "Analytics", href: "/analytics", icon: "lucide/bar-chart", description: "Track your metrics" },
|
|
87045
|
+
{ title: "Automation", href: "/automation", icon: "lucide/workflow", description: "Automate workflows" }
|
|
87046
|
+
]
|
|
87047
|
+
},
|
|
87048
|
+
{
|
|
87049
|
+
title: "Resources",
|
|
87050
|
+
dropdownItems: [
|
|
87051
|
+
{ title: "Blog", href: "/blog", icon: "lucide/newspaper", description: "Latest updates" },
|
|
87052
|
+
{ title: "Guides", href: "/guides", icon: "lucide/book-open", description: "How-tos and playbooks" }
|
|
87053
|
+
]
|
|
87054
|
+
},
|
|
87055
|
+
{ title: "Pricing", href: "/pricing" }
|
|
87056
|
+
]}
|
|
87057
|
+
actions={[
|
|
87058
|
+
{ label: "Sign in", href: "/login", variant: "ghost" },
|
|
87059
|
+
{ label: "Get started", href: "/signup", variant: "default" }
|
|
87060
|
+
]}
|
|
86922
87061
|
/>`.trim()
|
|
86923
87062
|
},
|
|
86924
87063
|
"navbar-enterprise-mega": {
|
|
@@ -87022,9 +87161,27 @@ var BLOCK_REGISTRY = {
|
|
|
87022
87161
|
props: "NavbarPlatformResourcesProps",
|
|
87023
87162
|
exampleUsage: `<NavbarPlatformResources
|
|
87024
87163
|
logo={{ src: "/logo.svg", alt: "Platform" }}
|
|
87025
|
-
|
|
87026
|
-
|
|
87027
|
-
|
|
87164
|
+
menuLinks={[
|
|
87165
|
+
{
|
|
87166
|
+
title: "Platform",
|
|
87167
|
+
dropdownItems: [
|
|
87168
|
+
{ title: "Analytics", href: "/analytics", icon: "lucide/bar-chart", description: "Track metrics" },
|
|
87169
|
+
{ title: "Automation", href: "/automation", icon: "lucide/workflow", description: "Automate workflows" }
|
|
87170
|
+
]
|
|
87171
|
+
},
|
|
87172
|
+
{
|
|
87173
|
+
title: "Resources",
|
|
87174
|
+
dropdownItems: [
|
|
87175
|
+
{ title: "Documentation", href: "/docs", icon: "lucide/book" },
|
|
87176
|
+
{ title: "Guides", href: "/guides", icon: "lucide/book-open", description: "Best practices" }
|
|
87177
|
+
]
|
|
87178
|
+
},
|
|
87179
|
+
{ title: "Pricing", href: "/pricing" }
|
|
87180
|
+
]}
|
|
87181
|
+
actions={[
|
|
87182
|
+
{ label: "Sign in", href: "/login", variant: "ghost" },
|
|
87183
|
+
{ label: "Get started", href: "/signup", variant: "default" }
|
|
87184
|
+
]}
|
|
87028
87185
|
/>`.trim()
|
|
87029
87186
|
},
|
|
87030
87187
|
"navbar-image-preview": {
|