@opensite/ui 3.7.4 → 3.7.6
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/blog-featured-popular.cjs +13 -12
- package/dist/blog-featured-popular.d.cts +1 -1
- package/dist/blog-featured-popular.d.ts +1 -1
- package/dist/blog-featured-popular.js +13 -12
- package/dist/blog-horizontal-cards.cjs +22 -41
- package/dist/blog-horizontal-cards.d.cts +1 -1
- package/dist/blog-horizontal-cards.d.ts +1 -1
- package/dist/blog-horizontal-cards.js +22 -41
- package/dist/blog-related-articles.cjs +8 -7
- package/dist/blog-related-articles.js +8 -7
- package/dist/carousel-icon-tabs.cjs +6 -4
- package/dist/carousel-icon-tabs.d.cts +5 -1
- package/dist/carousel-icon-tabs.d.ts +5 -1
- package/dist/carousel-icon-tabs.js +6 -4
- package/dist/carousel-progress-slider.cjs +3 -2
- package/dist/carousel-progress-slider.js +3 -2
- package/dist/carousel-scale-focus.cjs +1 -1
- package/dist/carousel-scale-focus.js +1 -1
- package/dist/carousel-scrolling-feature-showcase.cjs +4 -2
- package/dist/carousel-scrolling-feature-showcase.js +4 -2
- package/dist/carousel-sidebar-resources.cjs +11 -15
- package/dist/carousel-sidebar-resources.d.cts +5 -1
- package/dist/carousel-sidebar-resources.d.ts +5 -1
- package/dist/carousel-sidebar-resources.js +11 -15
- package/dist/carousel-tabs-content.cjs +1 -1
- package/dist/carousel-tabs-content.js +1 -1
- package/dist/expandable-case-study-cards.cjs +3 -3
- package/dist/expandable-case-study-cards.js +3 -3
- package/dist/feature-animated-carousel.cjs +2 -1
- package/dist/feature-animated-carousel.js +2 -1
- package/dist/feature-bento-image-grid.cjs +8 -9
- package/dist/feature-bento-image-grid.js +8 -9
- package/dist/feature-image-overlay-badge.cjs +3 -40
- package/dist/feature-image-overlay-badge.js +3 -40
- package/dist/feature-integration-cards.cjs +4 -13
- package/dist/feature-integration-cards.js +4 -13
- package/dist/footer-newsletter-contact.cjs +4 -4
- package/dist/footer-newsletter-contact.js +4 -4
- package/dist/hero-adaptable-product-grid.cjs +2 -1
- package/dist/hero-adaptable-product-grid.js +2 -1
- package/dist/hero-ai-powered-carousel.cjs +2 -1
- package/dist/hero-ai-powered-carousel.js +2 -1
- package/dist/hero-architecture-fullscreen.cjs +3 -2
- package/dist/hero-architecture-fullscreen.js +3 -2
- package/dist/hero-badge-image-split.cjs +3 -2
- package/dist/hero-badge-image-split.js +3 -2
- package/dist/hero-badge-shadow-overlay.cjs +2 -1
- package/dist/hero-badge-shadow-overlay.js +2 -1
- package/dist/hero-billing-platform-logos.cjs +12 -8
- package/dist/hero-billing-platform-logos.js +12 -8
- package/dist/hero-business-carousel-dots.cjs +2 -1
- package/dist/hero-business-carousel-dots.js +2 -1
- package/dist/hero-centered-image-grid.cjs +4 -4
- package/dist/hero-centered-image-grid.js +4 -4
- package/dist/hero-conversation-intelligence.cjs +2 -1
- package/dist/hero-conversation-intelligence.js +2 -1
- package/dist/hero-crm-streamlined.cjs +2 -2
- package/dist/hero-crm-streamlined.js +2 -2
- package/dist/hero-design-carousel-portfolio.cjs +2 -1
- package/dist/hero-design-carousel-portfolio.js +2 -1
- package/dist/hero-ecommerce-product-showcase.cjs +8 -4
- package/dist/hero-ecommerce-product-showcase.js +8 -4
- package/dist/hero-event-registration.cjs +2 -1
- package/dist/hero-event-registration.js +2 -1
- package/dist/hero-gradient-avatars-rating.cjs +4 -2
- package/dist/hero-gradient-avatars-rating.js +4 -2
- package/dist/hero-mental-health-team.cjs +13 -18
- package/dist/hero-mental-health-team.js +13 -18
- package/dist/hero-mentorship-video-split.cjs +3 -10
- package/dist/hero-mentorship-video-split.js +3 -10
- package/dist/hero-pattern-logo-tech-stack.cjs +10 -6
- package/dist/hero-pattern-logo-tech-stack.js +10 -6
- package/dist/hero-product-showcase-floating.cjs +4 -2
- package/dist/hero-product-showcase-floating.js +4 -2
- package/dist/hero-saas-dashboard-preview.cjs +2 -1
- package/dist/hero-saas-dashboard-preview.js +2 -1
- package/dist/hero-software-growth-video-dialog.cjs +2 -1
- package/dist/hero-software-growth-video-dialog.js +2 -1
- package/dist/hero-split-icon-cards.cjs +7 -59
- package/dist/hero-split-icon-cards.js +7 -59
- package/dist/hero-task-timer-animated.cjs +155 -86
- package/dist/hero-task-timer-animated.d.cts +19 -18
- package/dist/hero-task-timer-animated.d.ts +19 -18
- package/dist/hero-task-timer-animated.js +156 -68
- package/dist/navbar-animated-preview.cjs +1 -1
- package/dist/navbar-animated-preview.js +1 -1
- package/dist/navbar-enterprise-mega.cjs +9 -3
- package/dist/navbar-enterprise-mega.d.cts +3 -0
- package/dist/navbar-enterprise-mega.d.ts +3 -0
- package/dist/navbar-enterprise-mega.js +9 -3
- package/dist/navbar-image-preview.cjs +10 -2
- package/dist/navbar-image-preview.d.cts +6 -6
- package/dist/navbar-image-preview.d.ts +6 -6
- package/dist/navbar-image-preview.js +10 -2
- package/dist/process-hover-cards.cjs +4 -2
- package/dist/process-hover-cards.js +4 -2
- package/dist/process-icon-timeline.cjs +1 -2
- package/dist/process-icon-timeline.d.cts +0 -4
- package/dist/process-icon-timeline.d.ts +0 -4
- package/dist/process-icon-timeline.js +1 -2
- package/dist/process-scroll-image.cjs +2 -2
- package/dist/process-scroll-image.js +2 -2
- package/dist/process-steps-grid.cjs +7 -5
- package/dist/process-steps-grid.js +7 -5
- package/dist/registry.cjs +405 -325
- package/dist/registry.js +405 -325
- package/dist/testimonials-animated-split.cjs +2 -1
- package/dist/testimonials-animated-split.js +2 -1
- package/dist/testimonials-carousel-image.cjs +4 -2
- package/dist/testimonials-carousel-image.js +4 -2
- package/dist/testimonials-company-logo.cjs +4 -2
- package/dist/testimonials-company-logo.js +4 -2
- package/dist/testimonials-scrolling-columns.cjs +4 -2
- package/dist/testimonials-scrolling-columns.js +4 -2
- package/package.json +1 -1
|
@@ -669,7 +669,8 @@ function HeroEcommerceProductShowcase({
|
|
|
669
669
|
"aspect-3/4 w-full object-cover",
|
|
670
670
|
images[0].className
|
|
671
671
|
),
|
|
672
|
-
optixFlowConfig
|
|
672
|
+
optixFlowConfig,
|
|
673
|
+
loading: "eager"
|
|
673
674
|
}
|
|
674
675
|
) }),
|
|
675
676
|
images[1] && /* @__PURE__ */ jsxRuntime.jsx("div", { className: imgClassWrapper, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -681,7 +682,8 @@ function HeroEcommerceProductShowcase({
|
|
|
681
682
|
"aspect-square w-full object-cover",
|
|
682
683
|
images[1].className
|
|
683
684
|
),
|
|
684
|
-
optixFlowConfig
|
|
685
|
+
optixFlowConfig,
|
|
686
|
+
loading: "eager"
|
|
685
687
|
}
|
|
686
688
|
) })
|
|
687
689
|
] }),
|
|
@@ -695,7 +697,8 @@ function HeroEcommerceProductShowcase({
|
|
|
695
697
|
"aspect-square w-full object-cover",
|
|
696
698
|
images[2].className
|
|
697
699
|
),
|
|
698
|
-
optixFlowConfig
|
|
700
|
+
optixFlowConfig,
|
|
701
|
+
loading: "eager"
|
|
699
702
|
}
|
|
700
703
|
) }),
|
|
701
704
|
images[3] && /* @__PURE__ */ jsxRuntime.jsx("div", { className: imgClassWrapper, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -707,7 +710,8 @@ function HeroEcommerceProductShowcase({
|
|
|
707
710
|
"aspect-3/4 w-full object-cover",
|
|
708
711
|
images[3].className
|
|
709
712
|
),
|
|
710
|
-
optixFlowConfig
|
|
713
|
+
optixFlowConfig,
|
|
714
|
+
loading: "eager"
|
|
711
715
|
}
|
|
712
716
|
) })
|
|
713
717
|
] })
|
|
@@ -648,7 +648,8 @@ function HeroEcommerceProductShowcase({
|
|
|
648
648
|
"aspect-3/4 w-full object-cover",
|
|
649
649
|
images[0].className
|
|
650
650
|
),
|
|
651
|
-
optixFlowConfig
|
|
651
|
+
optixFlowConfig,
|
|
652
|
+
loading: "eager"
|
|
652
653
|
}
|
|
653
654
|
) }),
|
|
654
655
|
images[1] && /* @__PURE__ */ jsx("div", { className: imgClassWrapper, children: /* @__PURE__ */ jsx(
|
|
@@ -660,7 +661,8 @@ function HeroEcommerceProductShowcase({
|
|
|
660
661
|
"aspect-square w-full object-cover",
|
|
661
662
|
images[1].className
|
|
662
663
|
),
|
|
663
|
-
optixFlowConfig
|
|
664
|
+
optixFlowConfig,
|
|
665
|
+
loading: "eager"
|
|
664
666
|
}
|
|
665
667
|
) })
|
|
666
668
|
] }),
|
|
@@ -674,7 +676,8 @@ function HeroEcommerceProductShowcase({
|
|
|
674
676
|
"aspect-square w-full object-cover",
|
|
675
677
|
images[2].className
|
|
676
678
|
),
|
|
677
|
-
optixFlowConfig
|
|
679
|
+
optixFlowConfig,
|
|
680
|
+
loading: "eager"
|
|
678
681
|
}
|
|
679
682
|
) }),
|
|
680
683
|
images[3] && /* @__PURE__ */ jsx("div", { className: imgClassWrapper, children: /* @__PURE__ */ jsx(
|
|
@@ -686,7 +689,8 @@ function HeroEcommerceProductShowcase({
|
|
|
686
689
|
"aspect-3/4 w-full object-cover",
|
|
687
690
|
images[3].className
|
|
688
691
|
),
|
|
689
|
-
optixFlowConfig
|
|
692
|
+
optixFlowConfig,
|
|
693
|
+
loading: "eager"
|
|
690
694
|
}
|
|
691
695
|
) })
|
|
692
696
|
] })
|
|
@@ -657,7 +657,8 @@ function HeroGradientAvatarsRating({
|
|
|
657
657
|
"h-full w-full object-cover transition-transform duration-300 hover:scale-105",
|
|
658
658
|
images[0].className
|
|
659
659
|
),
|
|
660
|
-
optixFlowConfig
|
|
660
|
+
optixFlowConfig,
|
|
661
|
+
loading: "eager"
|
|
661
662
|
}
|
|
662
663
|
)
|
|
663
664
|
}
|
|
@@ -677,7 +678,8 @@ function HeroGradientAvatarsRating({
|
|
|
677
678
|
"h-full w-full object-cover transition-transform duration-300 hover:scale-105",
|
|
678
679
|
images[1].className
|
|
679
680
|
),
|
|
680
|
-
optixFlowConfig
|
|
681
|
+
optixFlowConfig,
|
|
682
|
+
loading: "eager"
|
|
681
683
|
}
|
|
682
684
|
)
|
|
683
685
|
}
|
|
@@ -635,7 +635,8 @@ function HeroGradientAvatarsRating({
|
|
|
635
635
|
"h-full w-full object-cover transition-transform duration-300 hover:scale-105",
|
|
636
636
|
images[0].className
|
|
637
637
|
),
|
|
638
|
-
optixFlowConfig
|
|
638
|
+
optixFlowConfig,
|
|
639
|
+
loading: "eager"
|
|
639
640
|
}
|
|
640
641
|
)
|
|
641
642
|
}
|
|
@@ -655,7 +656,8 @@ function HeroGradientAvatarsRating({
|
|
|
655
656
|
"h-full w-full object-cover transition-transform duration-300 hover:scale-105",
|
|
656
657
|
images[1].className
|
|
657
658
|
),
|
|
658
|
-
optixFlowConfig
|
|
659
|
+
optixFlowConfig,
|
|
660
|
+
loading: "eager"
|
|
659
661
|
}
|
|
660
662
|
)
|
|
661
663
|
}
|
|
@@ -488,7 +488,7 @@ function HeroMentalHealthTeam({
|
|
|
488
488
|
pattern,
|
|
489
489
|
patternOpacity,
|
|
490
490
|
className,
|
|
491
|
-
spacing = "
|
|
491
|
+
spacing = "hero",
|
|
492
492
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
493
493
|
headerClassName,
|
|
494
494
|
headingClassName,
|
|
@@ -508,7 +508,8 @@ function HeroMentalHealthTeam({
|
|
|
508
508
|
"block h-full w-full object-cover object-center",
|
|
509
509
|
smallImages[0].className
|
|
510
510
|
),
|
|
511
|
-
optixFlowConfig
|
|
511
|
+
optixFlowConfig,
|
|
512
|
+
loading: "eager"
|
|
512
513
|
}
|
|
513
514
|
) }) }),
|
|
514
515
|
smallImages[1] && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-[2/3] row-[1/2] w-full md:col-[2/3] md:row-[1/2]", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full max-h-77.5 w-full overflow-hidden rounded-2xl", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -520,7 +521,8 @@ function HeroMentalHealthTeam({
|
|
|
520
521
|
"block h-full w-full object-cover object-center",
|
|
521
522
|
smallImages[1].className
|
|
522
523
|
),
|
|
523
|
-
optixFlowConfig
|
|
524
|
+
optixFlowConfig,
|
|
525
|
+
loading: "eager"
|
|
524
526
|
}
|
|
525
527
|
) }) })
|
|
526
528
|
] });
|
|
@@ -542,16 +544,17 @@ function HeroMentalHealthTeam({
|
|
|
542
544
|
src: avatarSrc,
|
|
543
545
|
alt: testimonial.avatar?.alt ?? "",
|
|
544
546
|
className: "h-full w-full object-cover object-center",
|
|
545
|
-
optixFlowConfig
|
|
547
|
+
optixFlowConfig,
|
|
548
|
+
loading: "eager"
|
|
546
549
|
}
|
|
547
550
|
) }),
|
|
548
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full w-full flex-col justify-between gap-2
|
|
551
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full w-full flex-col justify-between gap-2 opacity-70", children: [
|
|
549
552
|
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-lg font-medium", children: [
|
|
550
553
|
'"',
|
|
551
554
|
testimonial.quote,
|
|
552
555
|
'"'
|
|
553
556
|
] }),
|
|
554
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "", children: testimonial.author })
|
|
557
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm", children: testimonial.author })
|
|
555
558
|
] })
|
|
556
559
|
]
|
|
557
560
|
}
|
|
@@ -569,7 +572,8 @@ function HeroMentalHealthTeam({
|
|
|
569
572
|
"block h-full w-full object-cover object-center",
|
|
570
573
|
featureImage.className
|
|
571
574
|
),
|
|
572
|
-
optixFlowConfig
|
|
575
|
+
optixFlowConfig,
|
|
576
|
+
loading: "eager"
|
|
573
577
|
}
|
|
574
578
|
) }) });
|
|
575
579
|
}, [featureImageSlot, featureImage, optixFlowConfig]);
|
|
@@ -601,16 +605,7 @@ function HeroMentalHealthTeam({
|
|
|
601
605
|
),
|
|
602
606
|
children: heading
|
|
603
607
|
}
|
|
604
|
-
) :
|
|
605
|
-
"h1",
|
|
606
|
-
{
|
|
607
|
-
className: cn(
|
|
608
|
-
"text-center text-4xl leading-tight font-medium sm:text-5xl md:text-6xl text-balance",
|
|
609
|
-
headingClassName
|
|
610
|
-
),
|
|
611
|
-
children: heading
|
|
612
|
-
}
|
|
613
|
-
)),
|
|
608
|
+
) : heading),
|
|
614
609
|
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
615
610
|
"p",
|
|
616
611
|
{
|
|
@@ -620,7 +615,7 @@ function HeroMentalHealthTeam({
|
|
|
620
615
|
),
|
|
621
616
|
children: description
|
|
622
617
|
}
|
|
623
|
-
) :
|
|
618
|
+
) : description),
|
|
624
619
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
625
620
|
BlockActions,
|
|
626
621
|
{
|
|
@@ -482,7 +482,7 @@ function HeroMentalHealthTeam({
|
|
|
482
482
|
pattern,
|
|
483
483
|
patternOpacity,
|
|
484
484
|
className,
|
|
485
|
-
spacing = "
|
|
485
|
+
spacing = "hero",
|
|
486
486
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
487
487
|
headerClassName,
|
|
488
488
|
headingClassName,
|
|
@@ -502,7 +502,8 @@ function HeroMentalHealthTeam({
|
|
|
502
502
|
"block h-full w-full object-cover object-center",
|
|
503
503
|
smallImages[0].className
|
|
504
504
|
),
|
|
505
|
-
optixFlowConfig
|
|
505
|
+
optixFlowConfig,
|
|
506
|
+
loading: "eager"
|
|
506
507
|
}
|
|
507
508
|
) }) }),
|
|
508
509
|
smallImages[1] && /* @__PURE__ */ jsx("div", { className: "col-[2/3] row-[1/2] w-full md:col-[2/3] md:row-[1/2]", children: /* @__PURE__ */ jsx("div", { className: "h-full max-h-77.5 w-full overflow-hidden rounded-2xl", children: /* @__PURE__ */ jsx(
|
|
@@ -514,7 +515,8 @@ function HeroMentalHealthTeam({
|
|
|
514
515
|
"block h-full w-full object-cover object-center",
|
|
515
516
|
smallImages[1].className
|
|
516
517
|
),
|
|
517
|
-
optixFlowConfig
|
|
518
|
+
optixFlowConfig,
|
|
519
|
+
loading: "eager"
|
|
518
520
|
}
|
|
519
521
|
) }) })
|
|
520
522
|
] });
|
|
@@ -536,16 +538,17 @@ function HeroMentalHealthTeam({
|
|
|
536
538
|
src: avatarSrc,
|
|
537
539
|
alt: testimonial.avatar?.alt ?? "",
|
|
538
540
|
className: "h-full w-full object-cover object-center",
|
|
539
|
-
optixFlowConfig
|
|
541
|
+
optixFlowConfig,
|
|
542
|
+
loading: "eager"
|
|
540
543
|
}
|
|
541
544
|
) }),
|
|
542
|
-
/* @__PURE__ */ jsxs("div", { className: "flex h-full w-full flex-col justify-between gap-2
|
|
545
|
+
/* @__PURE__ */ jsxs("div", { className: "flex h-full w-full flex-col justify-between gap-2 opacity-70", children: [
|
|
543
546
|
/* @__PURE__ */ jsxs("p", { className: "text-lg font-medium", children: [
|
|
544
547
|
'"',
|
|
545
548
|
testimonial.quote,
|
|
546
549
|
'"'
|
|
547
550
|
] }),
|
|
548
|
-
/* @__PURE__ */ jsx("p", { className: "", children: testimonial.author })
|
|
551
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm", children: testimonial.author })
|
|
549
552
|
] })
|
|
550
553
|
]
|
|
551
554
|
}
|
|
@@ -563,7 +566,8 @@ function HeroMentalHealthTeam({
|
|
|
563
566
|
"block h-full w-full object-cover object-center",
|
|
564
567
|
featureImage.className
|
|
565
568
|
),
|
|
566
|
-
optixFlowConfig
|
|
569
|
+
optixFlowConfig,
|
|
570
|
+
loading: "eager"
|
|
567
571
|
}
|
|
568
572
|
) }) });
|
|
569
573
|
}, [featureImageSlot, featureImage, optixFlowConfig]);
|
|
@@ -595,16 +599,7 @@ function HeroMentalHealthTeam({
|
|
|
595
599
|
),
|
|
596
600
|
children: heading
|
|
597
601
|
}
|
|
598
|
-
) :
|
|
599
|
-
"h1",
|
|
600
|
-
{
|
|
601
|
-
className: cn(
|
|
602
|
-
"text-center text-4xl leading-tight font-medium sm:text-5xl md:text-6xl text-balance",
|
|
603
|
-
headingClassName
|
|
604
|
-
),
|
|
605
|
-
children: heading
|
|
606
|
-
}
|
|
607
|
-
)),
|
|
602
|
+
) : heading),
|
|
608
603
|
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
609
604
|
"p",
|
|
610
605
|
{
|
|
@@ -614,7 +609,7 @@ function HeroMentalHealthTeam({
|
|
|
614
609
|
),
|
|
615
610
|
children: description
|
|
616
611
|
}
|
|
617
|
-
) :
|
|
612
|
+
) : description),
|
|
618
613
|
/* @__PURE__ */ jsx(
|
|
619
614
|
BlockActions,
|
|
620
615
|
{
|
|
@@ -590,7 +590,7 @@ function HeroMentorshipVideoSplit({
|
|
|
590
590
|
{
|
|
591
591
|
onClick: () => setIsVideoOpen(true),
|
|
592
592
|
className: cn(
|
|
593
|
-
"group relative flex overflow-hidden rounded-lg p-0",
|
|
593
|
+
"group relative flex overflow-hidden rounded-lg p-0 cursor-pointer",
|
|
594
594
|
videoAspectRatio === "vertical" ? "h-36 w-20" : "h-20 w-36"
|
|
595
595
|
),
|
|
596
596
|
children: /* @__PURE__ */ jsxRuntime.jsxs(AspectRatio, { ratio: aspectRatio, className: "flex h-full w-full", children: [
|
|
@@ -606,14 +606,7 @@ function HeroMentorshipVideoSplit({
|
|
|
606
606
|
optixFlowConfig
|
|
607
607
|
}
|
|
608
608
|
),
|
|
609
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "m-auto aspect-square z-10 bg-card text-card-foreground p-2 rounded-xl
|
|
610
|
-
DynamicIcon,
|
|
611
|
-
{
|
|
612
|
-
name: "lucide/play",
|
|
613
|
-
size: 24,
|
|
614
|
-
className: "transition-transform group-hover:scale-125"
|
|
615
|
-
}
|
|
616
|
-
) })
|
|
609
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "m-auto aspect-square z-10 bg-card text-card-foreground p-2 rounded-xl ring-4 ring-card flex items-center justify-center opacity-80 hover:opacity-100 transition-all duration-500", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/play", size: 24 }) })
|
|
617
610
|
] })
|
|
618
611
|
}
|
|
619
612
|
)
|
|
@@ -678,7 +671,7 @@ function HeroMentorshipVideoSplit({
|
|
|
678
671
|
"p",
|
|
679
672
|
{
|
|
680
673
|
className: cn(
|
|
681
|
-
"text-lg font-
|
|
674
|
+
"text-lg font-normal md:text-xl text-pretty",
|
|
682
675
|
descriptionClassName
|
|
683
676
|
),
|
|
684
677
|
children: description
|
|
@@ -567,7 +567,7 @@ function HeroMentorshipVideoSplit({
|
|
|
567
567
|
{
|
|
568
568
|
onClick: () => setIsVideoOpen(true),
|
|
569
569
|
className: cn(
|
|
570
|
-
"group relative flex overflow-hidden rounded-lg p-0",
|
|
570
|
+
"group relative flex overflow-hidden rounded-lg p-0 cursor-pointer",
|
|
571
571
|
videoAspectRatio === "vertical" ? "h-36 w-20" : "h-20 w-36"
|
|
572
572
|
),
|
|
573
573
|
children: /* @__PURE__ */ jsxs(AspectRatio, { ratio: aspectRatio, className: "flex h-full w-full", children: [
|
|
@@ -583,14 +583,7 @@ function HeroMentorshipVideoSplit({
|
|
|
583
583
|
optixFlowConfig
|
|
584
584
|
}
|
|
585
585
|
),
|
|
586
|
-
/* @__PURE__ */ jsx("div", { className: "m-auto aspect-square z-10 bg-card text-card-foreground p-2 rounded-xl
|
|
587
|
-
DynamicIcon,
|
|
588
|
-
{
|
|
589
|
-
name: "lucide/play",
|
|
590
|
-
size: 24,
|
|
591
|
-
className: "transition-transform group-hover:scale-125"
|
|
592
|
-
}
|
|
593
|
-
) })
|
|
586
|
+
/* @__PURE__ */ jsx("div", { className: "m-auto aspect-square z-10 bg-card text-card-foreground p-2 rounded-xl ring-4 ring-card flex items-center justify-center opacity-80 hover:opacity-100 transition-all duration-500", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/play", size: 24 }) })
|
|
594
587
|
] })
|
|
595
588
|
}
|
|
596
589
|
)
|
|
@@ -655,7 +648,7 @@ function HeroMentorshipVideoSplit({
|
|
|
655
648
|
"p",
|
|
656
649
|
{
|
|
657
650
|
className: cn(
|
|
658
|
-
"text-lg font-
|
|
651
|
+
"text-lg font-normal md:text-xl text-pretty",
|
|
659
652
|
descriptionClassName
|
|
660
653
|
),
|
|
661
654
|
children: description
|
|
@@ -417,6 +417,10 @@ function HeroPatternLogoTechStack({
|
|
|
417
417
|
techLogosClassName,
|
|
418
418
|
optixFlowConfig
|
|
419
419
|
}) {
|
|
420
|
+
const logoOptixFlowConfig = React.useMemo(
|
|
421
|
+
() => optixFlowConfig ? { ...optixFlowConfig, objectFit: "contain" } : optixFlowConfig,
|
|
422
|
+
[optixFlowConfig]
|
|
423
|
+
);
|
|
420
424
|
const renderLogo = React.useMemo(() => {
|
|
421
425
|
if (logoSlot) return logoSlot;
|
|
422
426
|
if (!logo) return null;
|
|
@@ -427,10 +431,10 @@ function HeroPatternLogoTechStack({
|
|
|
427
431
|
src: logoSrc,
|
|
428
432
|
alt: logo.alt,
|
|
429
433
|
className: cn("h-16 w-auto object-contain", logo.imgClassName),
|
|
430
|
-
optixFlowConfig
|
|
434
|
+
optixFlowConfig: logoOptixFlowConfig
|
|
431
435
|
}
|
|
432
436
|
) });
|
|
433
|
-
}, [logoSlot, logo,
|
|
437
|
+
}, [logoSlot, logo, logoOptixFlowConfig]);
|
|
434
438
|
const renderActions = React.useMemo(() => {
|
|
435
439
|
if (actionsSlot) return actionsSlot;
|
|
436
440
|
if (!actions || actions.length === 0) return null;
|
|
@@ -487,7 +491,7 @@ function HeroPatternLogoTechStack({
|
|
|
487
491
|
{
|
|
488
492
|
href: techLogo.href,
|
|
489
493
|
className: cn(
|
|
490
|
-
"group flex
|
|
494
|
+
"group flex shrink-0 items-center justify-center overflow-visible",
|
|
491
495
|
techLogo.className
|
|
492
496
|
),
|
|
493
497
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -496,10 +500,10 @@ function HeroPatternLogoTechStack({
|
|
|
496
500
|
src: techLogoSrc,
|
|
497
501
|
alt: techLogo.alt,
|
|
498
502
|
className: cn(
|
|
499
|
-
"h-
|
|
503
|
+
"block h-6 max-h-6 w-auto max-w-none object-contain",
|
|
500
504
|
techLogo.imgClassName
|
|
501
505
|
),
|
|
502
|
-
optixFlowConfig
|
|
506
|
+
optixFlowConfig: logoOptixFlowConfig
|
|
503
507
|
}
|
|
504
508
|
)
|
|
505
509
|
},
|
|
@@ -514,7 +518,7 @@ function HeroPatternLogoTechStack({
|
|
|
514
518
|
techLogos,
|
|
515
519
|
techStackLabel,
|
|
516
520
|
techLogosClassName,
|
|
517
|
-
|
|
521
|
+
logoOptixFlowConfig
|
|
518
522
|
]);
|
|
519
523
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
520
524
|
Section,
|
|
@@ -411,6 +411,10 @@ function HeroPatternLogoTechStack({
|
|
|
411
411
|
techLogosClassName,
|
|
412
412
|
optixFlowConfig
|
|
413
413
|
}) {
|
|
414
|
+
const logoOptixFlowConfig = useMemo(
|
|
415
|
+
() => optixFlowConfig ? { ...optixFlowConfig, objectFit: "contain" } : optixFlowConfig,
|
|
416
|
+
[optixFlowConfig]
|
|
417
|
+
);
|
|
414
418
|
const renderLogo = useMemo(() => {
|
|
415
419
|
if (logoSlot) return logoSlot;
|
|
416
420
|
if (!logo) return null;
|
|
@@ -421,10 +425,10 @@ function HeroPatternLogoTechStack({
|
|
|
421
425
|
src: logoSrc,
|
|
422
426
|
alt: logo.alt,
|
|
423
427
|
className: cn("h-16 w-auto object-contain", logo.imgClassName),
|
|
424
|
-
optixFlowConfig
|
|
428
|
+
optixFlowConfig: logoOptixFlowConfig
|
|
425
429
|
}
|
|
426
430
|
) });
|
|
427
|
-
}, [logoSlot, logo,
|
|
431
|
+
}, [logoSlot, logo, logoOptixFlowConfig]);
|
|
428
432
|
const renderActions = useMemo(() => {
|
|
429
433
|
if (actionsSlot) return actionsSlot;
|
|
430
434
|
if (!actions || actions.length === 0) return null;
|
|
@@ -481,7 +485,7 @@ function HeroPatternLogoTechStack({
|
|
|
481
485
|
{
|
|
482
486
|
href: techLogo.href,
|
|
483
487
|
className: cn(
|
|
484
|
-
"group flex
|
|
488
|
+
"group flex shrink-0 items-center justify-center overflow-visible",
|
|
485
489
|
techLogo.className
|
|
486
490
|
),
|
|
487
491
|
children: /* @__PURE__ */ jsx(
|
|
@@ -490,10 +494,10 @@ function HeroPatternLogoTechStack({
|
|
|
490
494
|
src: techLogoSrc,
|
|
491
495
|
alt: techLogo.alt,
|
|
492
496
|
className: cn(
|
|
493
|
-
"h-
|
|
497
|
+
"block h-6 max-h-6 w-auto max-w-none object-contain",
|
|
494
498
|
techLogo.imgClassName
|
|
495
499
|
),
|
|
496
|
-
optixFlowConfig
|
|
500
|
+
optixFlowConfig: logoOptixFlowConfig
|
|
497
501
|
}
|
|
498
502
|
)
|
|
499
503
|
},
|
|
@@ -508,7 +512,7 @@ function HeroPatternLogoTechStack({
|
|
|
508
512
|
techLogos,
|
|
509
513
|
techStackLabel,
|
|
510
514
|
techLogosClassName,
|
|
511
|
-
|
|
515
|
+
logoOptixFlowConfig
|
|
512
516
|
]);
|
|
513
517
|
return /* @__PURE__ */ jsx(
|
|
514
518
|
Section,
|
|
@@ -670,7 +670,8 @@ function HeroProductShowcaseFloating({
|
|
|
670
670
|
"size-8 rounded-full border-2 border-background object-cover",
|
|
671
671
|
avatar.className
|
|
672
672
|
),
|
|
673
|
-
optixFlowConfig
|
|
673
|
+
optixFlowConfig,
|
|
674
|
+
loading: "eager"
|
|
674
675
|
},
|
|
675
676
|
idx
|
|
676
677
|
)) }),
|
|
@@ -693,7 +694,8 @@ function HeroProductShowcaseFloating({
|
|
|
693
694
|
"h-full w-full rounded-lg object-cover shadow-2xl",
|
|
694
695
|
productImage.className
|
|
695
696
|
),
|
|
696
|
-
optixFlowConfig
|
|
697
|
+
optixFlowConfig,
|
|
698
|
+
loading: "eager"
|
|
697
699
|
}
|
|
698
700
|
) }),
|
|
699
701
|
renderFloatingStat,
|
|
@@ -649,7 +649,8 @@ function HeroProductShowcaseFloating({
|
|
|
649
649
|
"size-8 rounded-full border-2 border-background object-cover",
|
|
650
650
|
avatar.className
|
|
651
651
|
),
|
|
652
|
-
optixFlowConfig
|
|
652
|
+
optixFlowConfig,
|
|
653
|
+
loading: "eager"
|
|
653
654
|
},
|
|
654
655
|
idx
|
|
655
656
|
)) }),
|
|
@@ -672,7 +673,8 @@ function HeroProductShowcaseFloating({
|
|
|
672
673
|
"h-full w-full rounded-lg object-cover shadow-2xl",
|
|
673
674
|
productImage.className
|
|
674
675
|
),
|
|
675
|
-
optixFlowConfig
|
|
676
|
+
optixFlowConfig,
|
|
677
|
+
loading: "eager"
|
|
676
678
|
}
|
|
677
679
|
) }),
|
|
678
680
|
renderFloatingStat,
|