@opensite/ui 1.6.9 → 1.7.0

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.
Files changed (31) hide show
  1. package/dist/hero-billing-platform-logos.cjs +77 -52
  2. package/dist/hero-billing-platform-logos.js +77 -51
  3. package/dist/hero-conversion-video-play.cjs +240 -78
  4. package/dist/hero-conversion-video-play.js +233 -75
  5. package/dist/hero-customer-support-layered.cjs +1 -1
  6. package/dist/hero-customer-support-layered.js +1 -1
  7. package/dist/hero-dashed-border-features.cjs +33 -24
  8. package/dist/hero-dashed-border-features.js +33 -24
  9. package/dist/hero-design-showcase-logos.cjs +102 -38
  10. package/dist/hero-design-showcase-logos.js +102 -38
  11. package/dist/hero-grid-pattern-solutions.cjs +187 -49
  12. package/dist/hero-grid-pattern-solutions.d.cts +1 -4
  13. package/dist/hero-grid-pattern-solutions.d.ts +1 -4
  14. package/dist/hero-grid-pattern-solutions.js +188 -50
  15. package/dist/hero-marketplace-scattered-images.cjs +120 -79
  16. package/dist/hero-marketplace-scattered-images.js +120 -79
  17. package/dist/hero-mentorship-video-split.cjs +32 -13
  18. package/dist/hero-mentorship-video-split.js +32 -13
  19. package/dist/hero-premium-split-avatars.cjs +2 -2
  20. package/dist/hero-premium-split-avatars.js +2 -2
  21. package/dist/hero-productivity-launcher-video.cjs +45 -143
  22. package/dist/hero-productivity-launcher-video.d.cts +5 -23
  23. package/dist/hero-productivity-launcher-video.d.ts +5 -23
  24. package/dist/hero-productivity-launcher-video.js +45 -143
  25. package/dist/hero-split-spiral-shapes.cjs +47 -38
  26. package/dist/hero-split-spiral-shapes.js +47 -38
  27. package/dist/hero-task-timer-animated.cjs +59 -59
  28. package/dist/hero-task-timer-animated.js +59 -59
  29. package/dist/registry.cjs +772 -439
  30. package/dist/registry.js +772 -439
  31. package/package.json +1 -1
package/dist/registry.js CHANGED
@@ -51852,44 +51852,53 @@ function HeroSplitSpiralShapes({
51852
51852
  const renderImages = useMemo(() => {
51853
51853
  if (imagesSlot) return imagesSlot;
51854
51854
  if (!images || images.length === 0) return null;
51855
- return /* @__PURE__ */ jsxs("div", { className: cn("relative aspect-3/4", imagesClassName), children: [
51856
- images[0] && /* @__PURE__ */ jsx("div", { className: "absolute top-[10%] left-[8%] w-[38%] overflow-hidden rounded-lg shadow-xl", children: /* @__PURE__ */ jsx("div", { className: "aspect-5/6", children: /* @__PURE__ */ jsx(
51857
- Img,
51858
- {
51859
- src: images[0].src,
51860
- alt: images[0].alt,
51861
- className: cn(
51862
- "h-full w-full object-cover",
51863
- images[0].className
51864
- ),
51865
- optixFlowConfig
51866
- }
51867
- ) }) }),
51868
- images[1] && /* @__PURE__ */ jsx("div", { className: "absolute top-[20%] right-[12%] w-[20%] overflow-hidden rounded-lg shadow-xl", children: /* @__PURE__ */ jsx("div", { className: "aspect-square", children: /* @__PURE__ */ jsx(
51869
- Img,
51870
- {
51871
- src: images[1].src,
51872
- alt: images[1].alt,
51873
- className: cn(
51874
- "h-full w-full object-cover",
51875
- images[1].className
51876
- ),
51877
- optixFlowConfig
51878
- }
51879
- ) }) }),
51880
- images[2] && /* @__PURE__ */ jsx("div", { className: "absolute right-[24%] bottom-[24%] w-[38%] overflow-hidden rounded-lg shadow-xl", children: /* @__PURE__ */ jsx("div", { className: "aspect-video", children: /* @__PURE__ */ jsx(
51881
- Img,
51882
- {
51883
- src: images[2].src,
51884
- alt: images[2].alt,
51885
- className: cn(
51886
- "h-full w-full object-cover",
51887
- images[2].className
51888
- ),
51889
- optixFlowConfig
51890
- }
51891
- ) }) })
51892
- ] });
51855
+ return /* @__PURE__ */ jsxs(
51856
+ "div",
51857
+ {
51858
+ className: cn(
51859
+ "grid grid-cols-2 gap-4 md:relative md:block md:aspect-3/4",
51860
+ imagesClassName
51861
+ ),
51862
+ children: [
51863
+ images[0] && /* @__PURE__ */ jsx("div", { className: "col-span-2 overflow-hidden rounded-lg shadow-xl md:absolute md:top-[5%] md:left-[2%] md:w-[55%]", children: /* @__PURE__ */ jsx("div", { className: "aspect-5/6", children: /* @__PURE__ */ jsx(
51864
+ Img,
51865
+ {
51866
+ src: images[0].src,
51867
+ alt: images[0].alt,
51868
+ className: cn(
51869
+ "h-full w-full object-cover",
51870
+ images[0].className
51871
+ ),
51872
+ optixFlowConfig
51873
+ }
51874
+ ) }) }),
51875
+ images[1] && /* @__PURE__ */ jsx("div", { className: "overflow-hidden rounded-lg shadow-xl md:absolute md:top-[12%] md:right-[5%] md:w-[35%]", children: /* @__PURE__ */ jsx("div", { className: "aspect-square", children: /* @__PURE__ */ jsx(
51876
+ Img,
51877
+ {
51878
+ src: images[1].src,
51879
+ alt: images[1].alt,
51880
+ className: cn(
51881
+ "h-full w-full object-cover",
51882
+ images[1].className
51883
+ ),
51884
+ optixFlowConfig
51885
+ }
51886
+ ) }) }),
51887
+ images[2] && /* @__PURE__ */ jsx("div", { className: "overflow-hidden rounded-lg shadow-xl md:absolute md:right-[10%] md:bottom-[15%] md:w-[55%]", children: /* @__PURE__ */ jsx("div", { className: "aspect-video", children: /* @__PURE__ */ jsx(
51888
+ Img,
51889
+ {
51890
+ src: images[2].src,
51891
+ alt: images[2].alt,
51892
+ className: cn(
51893
+ "h-full w-full object-cover",
51894
+ images[2].className
51895
+ ),
51896
+ optixFlowConfig
51897
+ }
51898
+ ) }) })
51899
+ ]
51900
+ }
51901
+ );
51893
51902
  }, [imagesSlot, images, imagesClassName, optixFlowConfig]);
51894
51903
  return /* @__PURE__ */ jsx(
51895
51904
  Section,
@@ -52292,7 +52301,7 @@ function HeroMarketplaceScatteredImages({
52292
52301
  action,
52293
52302
  actionSlot,
52294
52303
  tagline,
52295
- taglineIcon = "lucide/globe",
52304
+ taglineIcon,
52296
52305
  taglineSlot,
52297
52306
  images,
52298
52307
  imagesSlot,
@@ -52312,7 +52321,14 @@ function HeroMarketplaceScatteredImages({
52312
52321
  const renderAction = useMemo(() => {
52313
52322
  if (actionSlot) return actionSlot;
52314
52323
  if (!action) return null;
52315
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
52324
+ const {
52325
+ label,
52326
+ icon,
52327
+ iconAfter,
52328
+ children,
52329
+ className: actionClassName,
52330
+ ...pressableProps
52331
+ } = action;
52316
52332
  return /* @__PURE__ */ jsx(Pressable, { asButton: true, className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
52317
52333
  icon,
52318
52334
  label,
@@ -52321,6 +52337,7 @@ function HeroMarketplaceScatteredImages({
52321
52337
  }, [actionSlot, action]);
52322
52338
  const renderTagline = useMemo(() => {
52323
52339
  if (taglineSlot) return taglineSlot;
52340
+ if (!tagline || !taglineIcon) return null;
52324
52341
  return /* @__PURE__ */ jsxs("div", { className: "mt-7 flex items-start justify-center gap-2 font-medium md:text-xl", children: [
52325
52342
  /* @__PURE__ */ jsx(DynamicIcon, { name: taglineIcon, size: 20, className: "mt-0.5" }),
52326
52343
  tagline
@@ -52345,50 +52362,74 @@ function HeroMarketplaceScatteredImages({
52345
52362
  const renderImages = useMemo(() => {
52346
52363
  if (imagesSlot) return imagesSlot;
52347
52364
  if (!images || images.length === 0) return null;
52348
- return /* @__PURE__ */ jsx("div", { className: cn("mx-auto mt-14 max-w-7xl overflow-hidden py-8", imagesClassName), children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-3 md:grid-cols-3", children: columns.map((colImages, colIndex) => /* @__PURE__ */ jsx("div", { className: "grid gap-3", children: colImages.map((image, imgIndex) => {
52349
- const height = heightPatterns[colIndex][imgIndex % heightPatterns[colIndex].length];
52350
- const direction = colIndex % 2 === 0 ? "up" : "down";
52351
- return /* @__PURE__ */ jsx(
52352
- motion.div,
52353
- {
52354
- initial: {
52355
- opacity: 0,
52356
- scale: 0.9,
52357
- y: direction === "up" ? 50 : -50
52358
- },
52359
- whileInView: {
52360
- opacity: 1,
52361
- scale: 1,
52362
- y: 0
52363
- },
52364
- transition: {
52365
- duration: 0.5,
52366
- delay: imgIndex * 0.1
52365
+ return /* @__PURE__ */ jsx(
52366
+ "div",
52367
+ {
52368
+ className: cn(
52369
+ "mx-auto max-w-7xl overflow-hidden py-8",
52370
+ imagesClassName
52371
+ ),
52372
+ children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-3 md:grid-cols-3", children: columns.map((colImages, colIndex) => /* @__PURE__ */ jsx(
52373
+ "div",
52374
+ {
52375
+ className: cn(
52376
+ "grid gap-3",
52377
+ colIndex === 2 && "hidden md:grid"
52378
+ ),
52379
+ children: colImages.map((image, imgIndex) => {
52380
+ const height = heightPatterns[colIndex][imgIndex % heightPatterns[colIndex].length];
52381
+ const direction = colIndex % 2 === 0 ? "up" : "down";
52382
+ return /* @__PURE__ */ jsx(
52383
+ motion.div,
52384
+ {
52385
+ initial: {
52386
+ opacity: 0,
52387
+ scale: 0.9,
52388
+ y: direction === "up" ? 50 : -50
52389
+ },
52390
+ whileInView: {
52391
+ opacity: 1,
52392
+ scale: 1,
52393
+ y: 0
52394
+ },
52395
+ transition: {
52396
+ duration: 0.5,
52397
+ delay: imgIndex * 0.1
52398
+ },
52399
+ viewport: { once: true },
52400
+ className: cn("w-full overflow-hidden rounded-2xl"),
52401
+ style: { height },
52402
+ children: /* @__PURE__ */ jsx(
52403
+ Img,
52404
+ {
52405
+ src: image.src,
52406
+ alt: image.alt,
52407
+ className: cn(
52408
+ "h-full w-full rounded-2xl object-cover",
52409
+ image.className
52410
+ ),
52411
+ loading: "lazy",
52412
+ optixFlowConfig
52413
+ }
52414
+ )
52415
+ },
52416
+ imgIndex
52417
+ );
52418
+ })
52367
52419
  },
52368
- viewport: { once: true },
52369
- className: cn(
52370
- "w-full overflow-hidden rounded-2xl",
52371
- getNestedCardBg(background)
52372
- ),
52373
- style: { height },
52374
- children: /* @__PURE__ */ jsx(
52375
- Img,
52376
- {
52377
- src: image.src,
52378
- alt: image.alt,
52379
- className: cn(
52380
- "h-full w-full rounded-2xl object-cover",
52381
- image.className
52382
- ),
52383
- loading: "lazy",
52384
- optixFlowConfig
52385
- }
52386
- )
52387
- },
52388
- imgIndex
52389
- );
52390
- }) }, colIndex)) }) });
52391
- }, [imagesSlot, images, imagesClassName, optixFlowConfig, columns, heightPatterns, background]);
52420
+ colIndex
52421
+ )) })
52422
+ }
52423
+ );
52424
+ }, [
52425
+ imagesSlot,
52426
+ images,
52427
+ imagesClassName,
52428
+ optixFlowConfig,
52429
+ columns,
52430
+ heightPatterns,
52431
+ background
52432
+ ]);
52392
52433
  return /* @__PURE__ */ jsx(
52393
52434
  Section,
52394
52435
  {
@@ -52398,14 +52439,49 @@ function HeroMarketplaceScatteredImages({
52398
52439
  patternOpacity,
52399
52440
  className: cn("relative flex items-center justify-center", className),
52400
52441
  containerClassName,
52401
- children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
52402
- /* @__PURE__ */ jsxs("div", { className: cn("relative mx-auto max-w-xl py-10 text-center", contentClassName), children: [
52403
- showGridPattern && /* @__PURE__ */ jsx("div", { className: "absolute inset-0 -z-10 h-full w-full bg-[linear-gradient(to_right,hsl(var(--muted))_1px,transparent_1px),linear-gradient(to_bottom,hsl(var(--muted))_1px,transparent_1px)] mask-[radial-gradient(ellipse_50%_100%_at_50%_50%,#000_60%,transparent_100%)] bg-size-[64px_64px]" }),
52404
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h1", { className: cn("mb-3 text-4xl lg:text-7xl", headingClassName), children: heading }) : /* @__PURE__ */ jsx("h1", { className: cn("mb-3 text-4xl lg:text-7xl", headingClassName), children: heading })),
52405
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mb-5 text-sm md:text-base text-muted-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
52406
- renderAction,
52407
- renderTagline
52408
- ] }),
52442
+ children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6 items-center", children: [
52443
+ /* @__PURE__ */ jsxs(
52444
+ "div",
52445
+ {
52446
+ className: cn(
52447
+ "relative mx-auto max-w-xl py-10 text-center flex flex-col gap-6 items-center",
52448
+ contentClassName
52449
+ ),
52450
+ children: [
52451
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
52452
+ "h1",
52453
+ {
52454
+ className: cn(
52455
+ "mb-3 text-4xl lg:text-7xl text-balance",
52456
+ headingClassName
52457
+ ),
52458
+ children: heading
52459
+ }
52460
+ ) : /* @__PURE__ */ jsx(
52461
+ "h1",
52462
+ {
52463
+ className: cn(
52464
+ "mb-3 text-4xl lg:text-7xl text-balance",
52465
+ headingClassName
52466
+ ),
52467
+ children: heading
52468
+ }
52469
+ )),
52470
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
52471
+ "p",
52472
+ {
52473
+ className: cn(
52474
+ "mb-5 text-sm md:text-base text-balance",
52475
+ descriptionClassName
52476
+ ),
52477
+ children: description
52478
+ }
52479
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
52480
+ renderAction,
52481
+ renderTagline
52482
+ ]
52483
+ }
52484
+ ),
52409
52485
  renderImages
52410
52486
  ] })
52411
52487
  }
@@ -52741,30 +52817,39 @@ function HeroDashedBorderFeatures({
52741
52817
  const renderActions = useMemo(() => {
52742
52818
  if (actionsSlot) return actionsSlot;
52743
52819
  if (!actions || actions.length === 0) return null;
52744
- return /* @__PURE__ */ jsx("div", { className: cn("flex flex-col md:flex-row gap-4", actionsClassName), children: actions.map((action, index) => {
52745
- const {
52746
- label,
52747
- icon,
52748
- iconAfter,
52749
- children,
52750
- className: actionClassName,
52751
- ...pressableProps
52752
- } = action;
52753
- return /* @__PURE__ */ jsx(
52754
- Pressable,
52755
- {
52756
- asButton: true,
52757
- className: actionClassName,
52758
- ...pressableProps,
52759
- children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
52760
- icon,
52820
+ return /* @__PURE__ */ jsx(
52821
+ "div",
52822
+ {
52823
+ className: cn(
52824
+ "flex flex-col items-center justify-center mt-4 md:flex-row gap-4",
52825
+ actionsClassName
52826
+ ),
52827
+ children: actions.map((action, index) => {
52828
+ const {
52761
52829
  label,
52762
- iconAfter
52763
- ] })
52764
- },
52765
- index
52766
- );
52767
- }) });
52830
+ icon,
52831
+ iconAfter,
52832
+ children,
52833
+ className: actionClassName,
52834
+ ...pressableProps
52835
+ } = action;
52836
+ return /* @__PURE__ */ jsx(
52837
+ Pressable,
52838
+ {
52839
+ asButton: true,
52840
+ className: actionClassName,
52841
+ ...pressableProps,
52842
+ children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
52843
+ icon,
52844
+ label,
52845
+ iconAfter
52846
+ ] })
52847
+ },
52848
+ index
52849
+ );
52850
+ })
52851
+ }
52852
+ );
52768
52853
  }, [actionsSlot, actions, actionsClassName]);
52769
52854
  const renderFeatures = useMemo(() => {
52770
52855
  if (featuresSlot) return featuresSlot;
@@ -52819,7 +52904,7 @@ function HeroDashedBorderFeatures({
52819
52904
  "p",
52820
52905
  {
52821
52906
  className: cn(
52822
- "mx-auto mb-6 max-w-2xl text-center lg:text-xl text-balance",
52907
+ "mx-auto mb-8 max-w-2xl text-center lg:text-xl text-balance",
52823
52908
  descriptionClassName
52824
52909
  ),
52825
52910
  children: description
@@ -53172,12 +53257,12 @@ function HeroPremiumSplitAvatars({
53172
53257
  patternOpacity,
53173
53258
  className: cn("relative flex items-center justify-center", className),
53174
53259
  containerClassName,
53175
- children: /* @__PURE__ */ jsxs("div", { className: "relative flex w-full flex-col md:flex-row", children: [
53260
+ children: /* @__PURE__ */ jsxs("div", { className: "relative flex w-full flex-col md:flex-row gap-8 md:gap-20", children: [
53176
53261
  /* @__PURE__ */ jsx("div", { className: "flex w-full items-center justify-center lg:w-1/2", children: /* @__PURE__ */ jsxs(
53177
53262
  "div",
53178
53263
  {
53179
53264
  className: cn(
53180
- "my-10 flex w-[500px] flex-col gap-24",
53265
+ "my-10 flex w-full flex-col gap-6 md:gap-24",
53181
53266
  contentClassName
53182
53267
  ),
53183
53268
  children: [
@@ -53592,7 +53677,7 @@ function HeroTaskTimerAnimated({
53592
53677
  const renderActions = useMemo(() => {
53593
53678
  if (actionsSlot) return actionsSlot;
53594
53679
  if (!actions || actions.length === 0) return null;
53595
- return /* @__PURE__ */ jsx("div", { className: "flex flex-col items-start gap-4 sm:flex-row sm:items-center", children: actions.map((action, index) => {
53680
+ return /* @__PURE__ */ jsx("div", { className: "flex flex-col items-start mt-6 md:mt-8 gap-4 sm:flex-row sm:items-center", children: actions.map((action, index) => {
53596
53681
  const {
53597
53682
  label,
53598
53683
  icon,
@@ -53620,32 +53705,41 @@ function HeroTaskTimerAnimated({
53620
53705
  const renderImages = useMemo(() => {
53621
53706
  if (imagesSlot) return imagesSlot;
53622
53707
  if (!images || images.length < 2) return null;
53623
- return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-10 lg:flex-row", imagesClassName), children: [
53624
- /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-10 lg:w-[60%]", children: /* @__PURE__ */ jsx("div", { className: "overflow-hidden rounded-lg", children: /* @__PURE__ */ jsx(AspectRatio, { ratio: 1.916786227 / 1, children: /* @__PURE__ */ jsx(
53625
- Img,
53626
- {
53627
- src: images[0].src,
53628
- alt: images[0].alt,
53629
- className: cn(
53630
- "block size-full object-cover object-top-left",
53631
- images[0].className
53632
- ),
53633
- optixFlowConfig
53634
- }
53635
- ) }) }) }),
53636
- /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-10 lg:w-[40%]", children: /* @__PURE__ */ jsx("div", { className: "overflow-hidden rounded-lg", children: /* @__PURE__ */ jsx(AspectRatio, { ratio: 1.916786227 / 1, children: /* @__PURE__ */ jsx(
53637
- Img,
53638
- {
53639
- src: images[1].src,
53640
- alt: images[1].alt,
53641
- className: cn(
53642
- "block size-full object-cover object-top-left",
53643
- images[1].className
53644
- ),
53645
- optixFlowConfig
53646
- }
53647
- ) }) }) })
53648
- ] });
53708
+ return /* @__PURE__ */ jsxs(
53709
+ "div",
53710
+ {
53711
+ className: cn(
53712
+ "flex flex-col mt-6 gap-6 md:gap-10 lg:flex-row",
53713
+ imagesClassName
53714
+ ),
53715
+ children: [
53716
+ /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-10 w-full lg:w-[60%]", children: /* @__PURE__ */ jsx("div", { className: "overflow-hidden rounded-lg shadow-xl", children: /* @__PURE__ */ jsx(AspectRatio, { ratio: 1.916786227 / 1, children: /* @__PURE__ */ jsx(
53717
+ Img,
53718
+ {
53719
+ src: images[0].src,
53720
+ alt: images[0].alt,
53721
+ className: cn(
53722
+ "block size-full object-cover object-center",
53723
+ images[0].className
53724
+ ),
53725
+ optixFlowConfig
53726
+ }
53727
+ ) }) }) }),
53728
+ /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-10 w-full lg:w-[40%]", children: /* @__PURE__ */ jsx("div", { className: "overflow-hidden rounded-lg shadow-xl", children: /* @__PURE__ */ jsx(AspectRatio, { ratio: 1.916786227 / 1, children: /* @__PURE__ */ jsx(
53729
+ Img,
53730
+ {
53731
+ src: images[1].src,
53732
+ alt: images[1].alt,
53733
+ className: cn(
53734
+ "block size-full object-cover object-center",
53735
+ images[1].className
53736
+ ),
53737
+ optixFlowConfig
53738
+ }
53739
+ ) }) }) })
53740
+ ]
53741
+ }
53742
+ );
53649
53743
  }, [imagesSlot, images, imagesClassName, optixFlowConfig]);
53650
53744
  return /* @__PURE__ */ jsx(
53651
53745
  Section,
@@ -53657,38 +53751,29 @@ function HeroTaskTimerAnimated({
53657
53751
  className,
53658
53752
  containerClassName,
53659
53753
  children: /* @__PURE__ */ jsxs("div", { className: "relative flex flex-col gap-6 md:gap-16", children: [
53660
- /* @__PURE__ */ jsxs(
53661
- "div",
53662
- {
53663
- className: cn(
53664
- "flex flex-col gap-10 lg:w-[80%] lg:self-center",
53665
- headerClassName
53666
- ),
53667
- children: [
53668
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
53669
- "h1",
53670
- {
53671
- className: cn(
53672
- "max-w-2xl text-6xl font-bold tracking-tight md:text-7xl lg:text-8xl text-balance",
53673
- headingClassName
53674
- ),
53675
- children: heading
53676
- }
53677
- ) : /* @__PURE__ */ jsx(
53678
- "h1",
53679
- {
53680
- className: cn(
53681
- "max-w-2xl text-6xl font-bold tracking-tight md:text-7xl lg:text-8xl text-balance",
53682
- headingClassName
53683
- ),
53684
- children: heading
53685
- }
53686
- )),
53687
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-lg text-balance", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
53688
- renderActions
53689
- ]
53690
- }
53691
- ),
53754
+ /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-4 w-full", headerClassName), children: [
53755
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
53756
+ "h1",
53757
+ {
53758
+ className: cn(
53759
+ "max-w-2xl text-6xl font-bold tracking-tight md:text-7xl lg:text-8xl text-balance",
53760
+ headingClassName
53761
+ ),
53762
+ children: heading
53763
+ }
53764
+ ) : /* @__PURE__ */ jsx(
53765
+ "h1",
53766
+ {
53767
+ className: cn(
53768
+ "max-w-2xl text-6xl font-bold tracking-tight md:text-7xl lg:text-8xl text-balance",
53769
+ headingClassName
53770
+ ),
53771
+ children: heading
53772
+ }
53773
+ )),
53774
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-lg text-balance", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
53775
+ renderActions
53776
+ ] }),
53692
53777
  renderImages
53693
53778
  ] })
53694
53779
  }
@@ -54092,7 +54177,7 @@ function HeroPresentationPlatformVideo({
54092
54177
  }
54093
54178
  function HeroGridPatternSolutions({
54094
54179
  badgeText,
54095
- badgeHref = "#",
54180
+ badgeHref,
54096
54181
  badgeSlot,
54097
54182
  heading,
54098
54183
  description,
@@ -54100,7 +54185,6 @@ function HeroGridPatternSolutions({
54100
54185
  actionsSlot,
54101
54186
  images,
54102
54187
  imagesSlot,
54103
- showGridPattern = true,
54104
54188
  background,
54105
54189
  spacing = "py-32 md:py-32",
54106
54190
  pattern,
@@ -54114,56 +54198,114 @@ function HeroGridPatternSolutions({
54114
54198
  imagesClassName,
54115
54199
  optixFlowConfig
54116
54200
  }) {
54201
+ const [lightboxOpen, setLightboxOpen] = useState(false);
54202
+ const [lightboxIndex, setLightboxIndex] = useState(0);
54203
+ const lightboxItems = useMemo(
54204
+ () => (images ?? []).map((img, index) => ({
54205
+ id: `hero-grid-image-${index}`,
54206
+ type: "image",
54207
+ src: img.src,
54208
+ alt: img.alt,
54209
+ download: true,
54210
+ share: true
54211
+ })),
54212
+ [images]
54213
+ );
54214
+ const handleImageClick = useCallback((index) => {
54215
+ setLightboxIndex(index);
54216
+ setLightboxOpen(true);
54217
+ }, []);
54218
+ const handleLightboxClose = useCallback(() => {
54219
+ setLightboxOpen(false);
54220
+ }, []);
54117
54221
  const renderBadge = useMemo(() => {
54118
54222
  if (badgeSlot) return badgeSlot;
54119
- return /* @__PURE__ */ jsxs(
54120
- Pressable,
54121
- {
54122
- href: badgeHref,
54123
- className: "mx-auto mb-4 flex w-fit items-center gap-2 rounded-full px-4 py-2 text-sm bg-card",
54124
- children: [
54125
- badgeText,
54126
- /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-right", size: 16 })
54127
- ]
54128
- }
54129
- );
54223
+ if (!badgeText) return null;
54224
+ return /* @__PURE__ */ jsx(Pressable, { href: badgeHref, children: /* @__PURE__ */ jsxs(Badge, { className: "px-2", children: [
54225
+ badgeText,
54226
+ /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-right" })
54227
+ ] }) });
54130
54228
  }, [badgeSlot, badgeHref, badgeText]);
54131
54229
  const renderActions = useMemo(() => {
54132
54230
  if (actionsSlot) return actionsSlot;
54133
54231
  if (!actions || actions.length === 0) return null;
54134
- return /* @__PURE__ */ jsx("div", { className: cn("flex flex-col justify-center gap-x-2 gap-y-3 sm:flex-row", actionsClassName), children: actions.map((action, index) => {
54135
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
54136
- return /* @__PURE__ */ jsx(
54137
- Pressable,
54138
- {
54139
- asButton: true,
54140
- className: actionClassName,
54141
- ...pressableProps,
54142
- children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
54143
- icon,
54232
+ return /* @__PURE__ */ jsx(
54233
+ "div",
54234
+ {
54235
+ className: cn(
54236
+ "flex flex-col justify-center gap-x-2 gap-y-3 sm:flex-row",
54237
+ actionsClassName
54238
+ ),
54239
+ children: actions.map((action, index) => {
54240
+ const {
54144
54241
  label,
54145
- iconAfter
54146
- ] })
54147
- },
54148
- index
54149
- );
54150
- }) });
54242
+ icon,
54243
+ iconAfter,
54244
+ children,
54245
+ className: actionClassName,
54246
+ ...pressableProps
54247
+ } = action;
54248
+ return /* @__PURE__ */ jsx(
54249
+ Pressable,
54250
+ {
54251
+ asButton: true,
54252
+ className: actionClassName,
54253
+ ...pressableProps,
54254
+ children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
54255
+ icon,
54256
+ label,
54257
+ iconAfter
54258
+ ] })
54259
+ },
54260
+ index
54261
+ );
54262
+ })
54263
+ }
54264
+ );
54151
54265
  }, [actionsSlot, actions, actionsClassName]);
54152
54266
  const renderImages = useMemo(() => {
54153
54267
  if (imagesSlot) return imagesSlot;
54154
54268
  if (!images || images.length === 0) return null;
54155
- return /* @__PURE__ */ jsx("div", { className: cn("mt-20 grid gap-6 md:grid-cols-10", imagesClassName), children: images.map((image, index) => /* @__PURE__ */ jsx(
54156
- Img,
54269
+ return /* @__PURE__ */ jsx(
54270
+ "div",
54157
54271
  {
54158
- src: image.src,
54159
- alt: image.alt,
54160
- className: cn("h-full max-h-[500px] w-full rounded-xl object-cover", image.className),
54161
- optixFlowConfig
54162
- },
54163
- index
54164
- )) });
54165
- }, [imagesSlot, images, imagesClassName, optixFlowConfig]);
54166
- return /* @__PURE__ */ jsx(
54272
+ className: cn(
54273
+ "mt-8 md:mt-20 grid grid-cols-2 gap-4 md:flex md:flex-row md:items-center md:justify-center md:gap-6",
54274
+ imagesClassName
54275
+ ),
54276
+ children: images.map((image, index) => /* @__PURE__ */ jsx(
54277
+ "div",
54278
+ {
54279
+ className: "cursor-pointer overflow-hidden rounded-xl transition-transform hover:scale-[1.02] hover:shadow-lg",
54280
+ onClick: () => handleImageClick(index),
54281
+ role: "button",
54282
+ tabIndex: 0,
54283
+ onKeyDown: (e) => {
54284
+ if (e.key === "Enter" || e.key === " ") {
54285
+ e.preventDefault();
54286
+ handleImageClick(index);
54287
+ }
54288
+ },
54289
+ "aria-label": `View ${image.alt} in lightbox`,
54290
+ children: /* @__PURE__ */ jsx(
54291
+ Img,
54292
+ {
54293
+ src: image.src,
54294
+ alt: image.alt,
54295
+ className: cn(
54296
+ "h-full max-h-[200px] max-w-[200px] w-full rounded-xl object-cover shadow-xl",
54297
+ image.className
54298
+ ),
54299
+ optixFlowConfig
54300
+ }
54301
+ )
54302
+ },
54303
+ index
54304
+ ))
54305
+ }
54306
+ );
54307
+ }, [imagesSlot, images, imagesClassName, optixFlowConfig, handleImageClick]);
54308
+ return /* @__PURE__ */ jsxs(
54167
54309
  Section,
54168
54310
  {
54169
54311
  background,
@@ -54172,18 +54314,65 @@ function HeroGridPatternSolutions({
54172
54314
  patternOpacity,
54173
54315
  className: cn("relative flex items-center justify-center", className),
54174
54316
  containerClassName,
54175
- children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
54176
- /* @__PURE__ */ jsxs("div", { className: "relative overflow-hidden", children: [
54177
- showGridPattern && /* @__PURE__ */ jsx("div", { className: "absolute inset-0 -top-1 -left-1 -z-10 h-full w-full bg-[linear-gradient(to_right,hsl(var(--muted-foreground))_1px,transparent_1px),linear-gradient(to_bottom,hsl(var(--muted-foreground))_1px,transparent_1px)] mask-[radial-gradient(ellipse_50%_100%_at_50%_50%,transparent_60%,#000_100%)] bg-size-[92px_92px] opacity-15" }),
54178
- /* @__PURE__ */ jsxs("div", { className: cn("mx-auto max-w-4xl", contentClassName), children: [
54317
+ children: [
54318
+ /* @__PURE__ */ jsxs("div", { className: "relative", children: [
54319
+ /* @__PURE__ */ jsx("div", { className: "relative overflow-hidden", children: /* @__PURE__ */ jsxs("div", { className: cn("mx-auto max-w-4xl", contentClassName), children: [
54179
54320
  renderBadge,
54180
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h1", { className: cn("my-4 mb-6 text-center text-3xl font-semibold lg:text-8xl", headingClassName), children: heading }) : /* @__PURE__ */ jsx("h1", { className: cn("my-4 mb-6 text-center text-3xl font-semibold lg:text-8xl", headingClassName), children: heading })),
54181
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mx-auto mb-8 max-w-2xl text-center lg:text-xl text-muted-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
54321
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
54322
+ "h1",
54323
+ {
54324
+ className: cn(
54325
+ "my-4 mb-6 text-center text-3xl font-semibold lg:text-8xl text-balance",
54326
+ headingClassName
54327
+ ),
54328
+ children: heading
54329
+ }
54330
+ ) : /* @__PURE__ */ jsx(
54331
+ "h1",
54332
+ {
54333
+ className: cn(
54334
+ "my-4 mb-6 text-center text-3xl font-semibold lg:text-8xl text-balance",
54335
+ headingClassName
54336
+ ),
54337
+ children: heading
54338
+ }
54339
+ )),
54340
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
54341
+ "p",
54342
+ {
54343
+ className: cn(
54344
+ "mx-auto mb-8 max-w-2xl text-center lg:text-xl text-balance",
54345
+ descriptionClassName
54346
+ ),
54347
+ children: description
54348
+ }
54349
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
54182
54350
  renderActions
54183
- ] })
54351
+ ] }) }),
54352
+ renderImages
54184
54353
  ] }),
54185
- renderImages
54186
- ] })
54354
+ lightboxOpen && /* @__PURE__ */ jsx(
54355
+ Lightbox,
54356
+ {
54357
+ items: lightboxItems,
54358
+ initialIndex: lightboxIndex,
54359
+ layout: "horizontal",
54360
+ controls: {
54361
+ navigation: true,
54362
+ thumbnails: true,
54363
+ download: true,
54364
+ share: true,
54365
+ fullscreen: true,
54366
+ captions: true,
54367
+ counter: true
54368
+ },
54369
+ onClose: handleLightboxClose,
54370
+ enableKeyboardShortcuts: true,
54371
+ closeOnEscape: true,
54372
+ closeOnBackdropClick: true
54373
+ }
54374
+ )
54375
+ ]
54187
54376
  }
54188
54377
  );
54189
54378
  }
@@ -54285,7 +54474,14 @@ function HeroBillingPlatformLogos({
54285
54474
  if (actionsSlot) return actionsSlot;
54286
54475
  if (!actions || actions.length === 0) return null;
54287
54476
  return actions.map((action, index) => {
54288
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
54477
+ const {
54478
+ label,
54479
+ icon,
54480
+ iconAfter,
54481
+ children,
54482
+ className: actionClassName,
54483
+ ...pressableProps
54484
+ } = action;
54289
54485
  if (index === 1) {
54290
54486
  return /* @__PURE__ */ jsx(
54291
54487
  Pressable,
@@ -54302,19 +54498,11 @@ function HeroBillingPlatformLogos({
54302
54498
  index
54303
54499
  );
54304
54500
  }
54305
- return /* @__PURE__ */ jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsx(
54306
- Pressable,
54307
- {
54308
- asButton: true,
54309
- className: actionClassName,
54310
- ...pressableProps,
54311
- children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
54312
- icon,
54313
- label,
54314
- iconAfter
54315
- ] })
54316
- }
54317
- ) }, index);
54501
+ return /* @__PURE__ */ jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsx(Pressable, { asButton: true, className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
54502
+ icon,
54503
+ label,
54504
+ iconAfter
54505
+ ] }) }) }, index);
54318
54506
  });
54319
54507
  }, [actionsSlot, actions]);
54320
54508
  return /* @__PURE__ */ jsxs(
@@ -54324,14 +54512,32 @@ function HeroBillingPlatformLogos({
54324
54512
  spacing,
54325
54513
  pattern,
54326
54514
  patternOpacity,
54327
- className: cn("relative flex items-center justify-center dark font-sans", className),
54515
+ className,
54328
54516
  containerClassName,
54329
54517
  children: [
54330
54518
  /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 items-center justify-center gap-12 lg:grid-cols-[minmax(33.75rem,1fr)_1.5fr] lg:gap-8", children: [
54331
54519
  /* @__PURE__ */ jsx("div", { className: contentClassName, children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-3", children: [
54332
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h1", { className: cn("text-4xl leading-tight md:text-5xl lg:text-[3.5rem]", headingClassName), children: heading }) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
54520
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
54521
+ "h1",
54522
+ {
54523
+ className: cn(
54524
+ "text-4xl leading-tight md:text-5xl lg:text-[3.5rem]",
54525
+ headingClassName
54526
+ ),
54527
+ children: heading
54528
+ }
54529
+ ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
54333
54530
  description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mb-5 text-lg", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
54334
- (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("div", { className: cn("flex flex-col items-center gap-4 lg:flex-row", actionsClassName), children: renderActions }) })
54531
+ (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
54532
+ "div",
54533
+ {
54534
+ className: cn(
54535
+ "flex flex-col items-center gap-4 lg:flex-row",
54536
+ actionsClassName
54537
+ ),
54538
+ children: renderActions
54539
+ }
54540
+ ) })
54335
54541
  ] }) }),
54336
54542
  imagesSlot ? imagesSlot : mainImage ? /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("div", { className: "relative mr-auto ml-auto aspect-[1.28581291/1] w-full max-w-149 lg:mr-0 lg:ml-auto", children: [
54337
54543
  /* @__PURE__ */ jsx("div", { className: "relative mx-auto aspect-[1.020365896/1] h-full w-[79.35%] max-w-118.25 overflow-hidden rounded-3xl", children: /* @__PURE__ */ jsx(
@@ -54339,7 +54545,10 @@ function HeroBillingPlatformLogos({
54339
54545
  {
54340
54546
  src: mainImage.src,
54341
54547
  alt: mainImage.alt,
54342
- className: cn("relative z-10 w-full object-cover", mainImage.className),
54548
+ className: cn(
54549
+ "relative z-10 w-full object-cover",
54550
+ mainImage.className
54551
+ ),
54343
54552
  optixFlowConfig
54344
54553
  }
54345
54554
  ) }),
@@ -54348,7 +54557,10 @@ function HeroBillingPlatformLogos({
54348
54557
  {
54349
54558
  src: overlayImages[0].src,
54350
54559
  alt: overlayImages[0].alt,
54351
- className: cn("size-full object-cover", overlayImages[0].className),
54560
+ className: cn(
54561
+ "size-full object-cover",
54562
+ overlayImages[0].className
54563
+ ),
54352
54564
  optixFlowConfig
54353
54565
  }
54354
54566
  ) }),
@@ -54357,7 +54569,10 @@ function HeroBillingPlatformLogos({
54357
54569
  {
54358
54570
  src: overlayImages[1].src,
54359
54571
  alt: overlayImages[1].alt,
54360
- className: cn("size-full object-cover", overlayImages[1].className),
54572
+ className: cn(
54573
+ "size-full object-cover",
54574
+ overlayImages[1].className
54575
+ ),
54361
54576
  optixFlowConfig
54362
54577
  }
54363
54578
  ) }),
@@ -54366,43 +54581,44 @@ function HeroBillingPlatformLogos({
54366
54581
  {
54367
54582
  src: overlayImages[2].src,
54368
54583
  alt: overlayImages[2].alt,
54369
- className: cn("size-full object-cover", overlayImages[2].className),
54584
+ className: cn(
54585
+ "size-full object-cover",
54586
+ overlayImages[2].className
54587
+ ),
54370
54588
  optixFlowConfig
54371
54589
  }
54372
54590
  ) })
54373
54591
  ] }) }) : null
54374
54592
  ] }) }),
54375
- /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col items-center justify-center gap-8 pt-28", logosClassName), children: [
54376
- logosTagline && (typeof logosTagline === "string" ? /* @__PURE__ */ jsx("p", { className: "px-5 text-center font-mono text-sm font-medium uppercase", children: logosTagline }) : /* @__PURE__ */ jsx("div", { children: logosTagline })),
54377
- logosSlot ? logosSlot : logos && logos.length > 0 ? /* @__PURE__ */ jsx(
54378
- Carousel,
54379
- {
54380
- opts: {
54381
- loop: true,
54382
- align: "center"
54383
- },
54384
- plugins: [
54385
- AutoScroll3({
54386
- speed: 1
54387
- }),
54388
- Autoplay({
54389
- playOnInit: true,
54390
- delay: 1e3
54391
- })
54392
- ],
54393
- className: "relative w-full max-w-(--breakpoint-2xl) overflow-hidden",
54394
- children: /* @__PURE__ */ jsx(CarouselContent, { className: "items-center", children: logos.map((logo, index) => /* @__PURE__ */ jsx(CarouselItem, { className: "w-fit basis-auto px-7", children: /* @__PURE__ */ jsx(
54395
- Img,
54396
- {
54397
- src: typeof logo.src === "string" ? logo.src : logo.src.light,
54398
- alt: logo.alt,
54399
- className: cn("h-8 w-full object-fill", logo.imgClassName),
54400
- optixFlowConfig
54593
+ /* @__PURE__ */ jsxs(
54594
+ "div",
54595
+ {
54596
+ className: cn(
54597
+ "flex flex-col items-center justify-center gap-8 pt-28",
54598
+ logosClassName
54599
+ ),
54600
+ children: [
54601
+ logosTagline && (typeof logosTagline === "string" ? /* @__PURE__ */ jsx("p", { className: "px-5 text-center font-mono text-sm font-medium uppercase", children: logosTagline }) : /* @__PURE__ */ jsx("div", { children: logosTagline })),
54602
+ logosSlot ? logosSlot : logos && logos.length > 0 ? /* @__PURE__ */ jsx(
54603
+ Carousel,
54604
+ {
54605
+ opts: { loop: true },
54606
+ plugins: [AutoScroll3({ playOnInit: true, speed: 1 })],
54607
+ className: "relative w-full max-w-(--breakpoint-2xl) overflow-hidden",
54608
+ children: /* @__PURE__ */ jsx(CarouselContent, { className: "items-center", children: [...logos, ...logos].map((logo, index) => /* @__PURE__ */ jsx(CarouselItem, { className: "w-fit basis-auto px-7", children: /* @__PURE__ */ jsx(
54609
+ Img,
54610
+ {
54611
+ src: typeof logo.src === "string" ? logo.src : logo.src.light,
54612
+ alt: logo.alt,
54613
+ className: cn("h-8 w-full object-fill", logo.imgClassName),
54614
+ optixFlowConfig
54615
+ }
54616
+ ) }, index)) })
54401
54617
  }
54402
- ) }, index)) })
54403
- }
54404
- ) : null
54405
- ] })
54618
+ ) : null
54619
+ ]
54620
+ }
54621
+ )
54406
54622
  ]
54407
54623
  }
54408
54624
  );
@@ -54677,64 +54893,42 @@ function HeroConversionVideoPlay({
54677
54893
  if (actionsSlot) return actionsSlot;
54678
54894
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [
54679
54895
  primaryAction && (() => {
54680
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = primaryAction;
54681
- return /* @__PURE__ */ jsxs(
54896
+ const {
54897
+ label,
54898
+ icon,
54899
+ iconAfter,
54900
+ children,
54901
+ className: actionClassName,
54902
+ ...pressableProps
54903
+ } = primaryAction;
54904
+ return /* @__PURE__ */ jsx(
54682
54905
  Pressable,
54683
54906
  {
54684
54907
  asButton: true,
54685
54908
  className: actionClassName,
54686
54909
  ...pressableProps,
54687
- children: [
54688
- /* @__PURE__ */ jsx("div", { className: "relative z-10 flex items-center gap-2.5", children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
54689
- icon,
54690
- /* @__PURE__ */ jsx("span", { children: label }),
54691
- iconAfter
54692
- ] }) }),
54693
- /* @__PURE__ */ jsx("div", { className: "absolute bottom-16 -left-16 aspect-square w-16 rounded-full bg-pink-400 transition-all duration-300 group-hover:bottom-1/2 group-hover:-left-5 group-hover:w-[110%] group-hover:translate-y-1/2" })
54694
- ]
54910
+ children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
54911
+ icon,
54912
+ /* @__PURE__ */ jsx("span", { children: label }),
54913
+ iconAfter
54914
+ ] })
54695
54915
  }
54696
- );
54697
- })(),
54698
- /* @__PURE__ */ jsxs(
54699
- Pressable,
54700
- {
54701
- href: "#",
54702
- onClick: () => setIsVideoOpen(true),
54703
- asButton: true,
54704
- variant: "ghost",
54705
- className: "flex h-fit w-fit items-center gap-2 text-lg font-semibold uppercase hover:bg-transparent",
54706
- children: [
54707
- /* @__PURE__ */ jsx("div", { className: "flex h-10 w-10 rounded-full bg-primary", children: /* @__PURE__ */ jsx(
54708
- DynamicIcon,
54709
- {
54710
- name: "lucide/play",
54711
- size: 16,
54712
- className: "m-auto fill-white stroke-white"
54713
- }
54714
- ) }),
54715
- /* @__PURE__ */ jsx("div", { children: videoButtonLabel })
54716
- ]
54717
- }
54718
- )
54719
- ] });
54720
- }, [actionsSlot, primaryAction, videoButtonLabel, setIsVideoOpen]);
54721
- const renderLogos = useMemo(() => {
54722
- if (logosSlot) return logosSlot;
54723
- if (!logos || logos.length === 0) return null;
54724
- return logos.map((logo, index) => {
54725
- const src = typeof logo.src === "string" ? logo.src : logo.src.light;
54726
- return /* @__PURE__ */ jsx(
54727
- Img,
54728
- {
54729
- src,
54730
- alt: logo.alt,
54731
- className: logo.className,
54732
- optixFlowConfig
54733
- },
54734
- index
54735
- );
54736
- });
54737
- }, [logosSlot, logos, optixFlowConfig]);
54916
+ );
54917
+ })(),
54918
+ videoUrl && /* @__PURE__ */ jsxs(
54919
+ Pressable,
54920
+ {
54921
+ onClick: () => setIsVideoOpen(true),
54922
+ asButton: true,
54923
+ variant: "link",
54924
+ children: [
54925
+ /* @__PURE__ */ jsx("div", { className: "flex h-10 w-10 rounded-full bg-primary text-primary-foreground", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/play" }) }),
54926
+ /* @__PURE__ */ jsx("div", { children: videoButtonLabel })
54927
+ ]
54928
+ }
54929
+ )
54930
+ ] });
54931
+ }, [actionsSlot, primaryAction, videoButtonLabel, setIsVideoOpen]);
54738
54932
  return /* @__PURE__ */ jsxs(Fragment, { children: [
54739
54933
  /* @__PURE__ */ jsx(
54740
54934
  Section,
@@ -54747,42 +54941,91 @@ function HeroConversionVideoPlay({
54747
54941
  containerClassName,
54748
54942
  children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
54749
54943
  /* @__PURE__ */ jsx("div", { className: "overflow-hidden border-b border-border", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-16 md:gap-24", children: [
54750
- /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col items-center gap-8", contentClassName), children: [
54751
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-7", children: [
54752
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h1", { className: cn("max-w-[920px] text-center text-4xl leading-tight font-semibold md:text-6xl lg:text-7xl", headingClassName), children: heading }) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
54753
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("max-w-[750px] text-center text-base leading-relaxed font-normal md:text-xl text-muted-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
54754
- ] }),
54755
- /* @__PURE__ */ jsx("div", { className: cn("flex flex-wrap items-center justify-center gap-8", actionsClassName), children: renderActions })
54756
- ] }),
54944
+ /* @__PURE__ */ jsxs(
54945
+ "div",
54946
+ {
54947
+ className: cn(
54948
+ "flex flex-col items-center gap-8",
54949
+ contentClassName
54950
+ ),
54951
+ children: [
54952
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-7", children: [
54953
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
54954
+ "h1",
54955
+ {
54956
+ className: cn(
54957
+ "max-w-[920px] text-center text-4xl leading-tight font-semibold md:text-6xl lg:text-7xl text-balance",
54958
+ headingClassName
54959
+ ),
54960
+ children: heading
54961
+ }
54962
+ ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
54963
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
54964
+ "p",
54965
+ {
54966
+ className: cn(
54967
+ "max-w-[750px] text-center text-base leading-relaxed font-normal md:text-xl text-balance",
54968
+ descriptionClassName
54969
+ ),
54970
+ children: description
54971
+ }
54972
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
54973
+ ] }),
54974
+ /* @__PURE__ */ jsx(
54975
+ "div",
54976
+ {
54977
+ className: cn(
54978
+ "flex flex-wrap items-center justify-center gap-8",
54979
+ actionsClassName
54980
+ ),
54981
+ children: renderActions
54982
+ }
54983
+ )
54984
+ ]
54985
+ }
54986
+ ),
54757
54987
  /* @__PURE__ */ jsx("div", { className: "w-full", children: imageSlot ? imageSlot : image ? /* @__PURE__ */ jsx("div", { className: cn("relative h-fit w-full", imageClassName), children: /* @__PURE__ */ jsx("div", { className: "relative z-20 w-full max-w-330 overflow-hidden rounded-t-xl md:rounded-t-3xl", children: /* @__PURE__ */ jsx(AspectRatio, { ratio: 2.095238095 / 1, children: /* @__PURE__ */ jsx(
54758
54988
  Img,
54759
54989
  {
54760
54990
  src: image.src,
54761
54991
  alt: image.alt,
54762
- className: cn("size-full object-cover object-center", image.className),
54992
+ className: cn(
54993
+ "size-full object-cover object-center",
54994
+ image.className
54995
+ ),
54763
54996
  optixFlowConfig
54764
54997
  }
54765
54998
  ) }) }) }) : null })
54766
54999
  ] }) }),
54767
55000
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-16 py-20", children: [
54768
- logosTagline && (typeof logosTagline === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-center text-xl font-medium text-accent-foreground"), children: logosTagline }) : logosTagline),
54769
- (logosSlot || logos && logos.length > 0) && /* @__PURE__ */ jsx("div", { className: "flex flex-wrap items-center justify-center gap-20", children: renderLogos })
55001
+ logosTagline && (typeof logosTagline === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-center text-xl font-medium "), children: logosTagline }) : logosTagline),
55002
+ logosSlot ? logosSlot : logos && logos.length > 0 ? /* @__PURE__ */ jsx(
55003
+ Carousel,
55004
+ {
55005
+ opts: { loop: true },
55006
+ plugins: [AutoScroll3({ playOnInit: true, speed: 1 })],
55007
+ className: "relative w-full max-w-(--breakpoint-2xl) overflow-hidden",
55008
+ children: /* @__PURE__ */ jsx(CarouselContent, { className: "items-center", children: [...logos, ...logos].map((logo, index) => /* @__PURE__ */ jsx(CarouselItem, { className: "w-fit basis-auto px-7", children: /* @__PURE__ */ jsx(
55009
+ Img,
55010
+ {
55011
+ src: typeof logo.src === "string" ? logo.src : logo.src.light,
55012
+ alt: logo.alt,
55013
+ className: cn(
55014
+ "h-8 w-full object-fill",
55015
+ logo.imgClassName
55016
+ ),
55017
+ optixFlowConfig
55018
+ }
55019
+ ) }, index)) })
55020
+ }
55021
+ ) : null
54770
55022
  ] })
54771
55023
  ] })
54772
55024
  }
54773
55025
  ),
54774
- /* @__PURE__ */ jsx(Dialog, { open: isVideoOpen, onOpenChange: setIsVideoOpen, children: /* @__PURE__ */ jsxs(DialogContent, { className: "sm:max-w-[800px]", children: [
55026
+ /* @__PURE__ */ jsx(Dialog, { open: isVideoOpen, onOpenChange: setIsVideoOpen, children: /* @__PURE__ */ jsxs(DialogContent, { className: "sm:max-w-200", children: [
54775
55027
  /* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: videoDialogTitle }) }),
54776
- /* @__PURE__ */ jsx("div", { className: "aspect-video", children: /* @__PURE__ */ jsx(
54777
- "iframe",
54778
- {
54779
- className: "h-full w-full",
54780
- src: videoUrl,
54781
- title: videoDialogTitle,
54782
- allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
54783
- allowFullScreen: true
54784
- }
54785
- ) })
55028
+ /* @__PURE__ */ jsx("div", { className: "aspect-video", children: /* @__PURE__ */ jsx("video", { controls: true, autoPlay: true, className: "h-full w-full rounded-lg", children: /* @__PURE__ */ jsx("source", { src: videoUrl, type: "video/mp4" }) }) })
54786
55029
  ] }) })
54787
55030
  ] });
54788
55031
  }
@@ -54813,42 +55056,70 @@ function HeroDesignShowcaseLogos({
54813
55056
  const renderActions = useMemo(() => {
54814
55057
  if (actionsSlot) return actionsSlot;
54815
55058
  if (!actions || actions.length === 0) return null;
54816
- return /* @__PURE__ */ jsx("div", { className: cn("mt-3 flex items-center justify-center gap-3", actionsClassName), children: actions.map((action, index) => {
54817
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
54818
- return /* @__PURE__ */ jsx(
54819
- Pressable,
54820
- {
54821
- asButton: true,
54822
- className: actionClassName,
54823
- ...pressableProps,
54824
- children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
55059
+ return /* @__PURE__ */ jsx(
55060
+ "div",
55061
+ {
55062
+ className: cn(
55063
+ "mt-6 md:mt-12 flex items-center justify-center gap-3",
55064
+ actionsClassName
55065
+ ),
55066
+ children: actions.map((action, index) => {
55067
+ const {
55068
+ label,
54825
55069
  icon,
54826
- label && /* @__PURE__ */ jsx("div", { children: label }),
54827
- iconAfter
54828
- ] })
54829
- },
54830
- index
54831
- );
54832
- }) });
55070
+ iconAfter,
55071
+ children,
55072
+ className: actionClassName,
55073
+ ...pressableProps
55074
+ } = action;
55075
+ return /* @__PURE__ */ jsx(
55076
+ Pressable,
55077
+ {
55078
+ asButton: true,
55079
+ className: actionClassName,
55080
+ ...pressableProps,
55081
+ children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
55082
+ icon,
55083
+ label && /* @__PURE__ */ jsx("div", { children: label }),
55084
+ iconAfter
55085
+ ] })
55086
+ },
55087
+ index
55088
+ );
55089
+ })
55090
+ }
55091
+ );
54833
55092
  }, [actionsSlot, actions, actionsClassName]);
54834
55093
  const renderLogos = useMemo(() => {
54835
55094
  if (logosSlot) return logosSlot;
54836
55095
  if (!logos || logos.length === 0) return null;
54837
55096
  return /* @__PURE__ */ jsxs("div", { className: "py-10 md:py-16", children: [
54838
55097
  logosLabel && (typeof logosLabel === "string" ? /* @__PURE__ */ jsx("p", { className: "text-center text-sm text-foreground/60", children: logosLabel }) : /* @__PURE__ */ jsx("div", { className: "text-center text-sm text-foreground/60", children: logosLabel })),
54839
- /* @__PURE__ */ jsx("div", { className: cn("mt-8 flex flex-wrap items-center justify-center gap-5 sm:flex-nowrap", logosClassName), children: logos.map((logo, index) => {
54840
- const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
54841
- return /* @__PURE__ */ jsx(
54842
- Img,
54843
- {
54844
- src: logoSrc,
54845
- alt: logo.alt,
54846
- className: cn("block h-3.5 w-auto opacity-50 md:h-5", logo.className),
54847
- optixFlowConfig
54848
- },
54849
- index
54850
- );
54851
- }) })
55098
+ /* @__PURE__ */ jsx(
55099
+ "div",
55100
+ {
55101
+ className: cn(
55102
+ "mt-8 flex flex-wrap items-center justify-center gap-5 sm:flex-nowrap",
55103
+ logosClassName
55104
+ ),
55105
+ children: logos.map((logo, index) => {
55106
+ const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
55107
+ return /* @__PURE__ */ jsx(
55108
+ Img,
55109
+ {
55110
+ src: logoSrc,
55111
+ alt: logo.alt,
55112
+ className: cn(
55113
+ "block h-3.5 w-auto opacity-50 md:h-5",
55114
+ logo.className
55115
+ ),
55116
+ optixFlowConfig
55117
+ },
55118
+ index
55119
+ );
55120
+ })
55121
+ }
55122
+ )
54852
55123
  ] });
54853
55124
  }, [logosSlot, logos, logosLabel, logosClassName, optixFlowConfig]);
54854
55125
  const renderShowcase = useMemo(() => {
@@ -54859,7 +55130,10 @@ function HeroDesignShowcaseLogos({
54859
55130
  {
54860
55131
  src: showcaseImage.src,
54861
55132
  alt: showcaseImage.alt,
54862
- className: cn("w-full object-cover object-top-left", showcaseImage.className),
55133
+ className: cn(
55134
+ "w-full object-cover object-top-left",
55135
+ showcaseImage.className
55136
+ ),
54863
55137
  optixFlowConfig
54864
55138
  }
54865
55139
  ) }) }) });
@@ -54874,14 +55148,47 @@ function HeroDesignShowcaseLogos({
54874
55148
  className: cn("relative flex items-center justify-center", className),
54875
55149
  containerClassName,
54876
55150
  children: [
54877
- /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col items-center gap-8", contentClassName), children: [
54878
- /* @__PURE__ */ jsxs("div", { className: "flex max-w-[920px] flex-col items-center gap-6", children: [
54879
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h1", { className: cn("mb-6 text-center text-[2.75rem] leading-tight font-semibold md:text-[3.5rem] lg:text-[4.375rem]", headingClassName), children: heading }) : /* @__PURE__ */ jsx("h1", { className: cn("mb-6 text-center text-[2.75rem] leading-tight font-semibold md:text-[3.5rem] lg:text-[4.375rem]", headingClassName), children: heading })),
54880
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-center text-xl text-muted-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
54881
- ] }),
54882
- /* @__PURE__ */ jsx("div", { children: renderActions }),
54883
- /* @__PURE__ */ jsx("div", { children: renderLogos })
54884
- ] }) }),
55151
+ /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs(
55152
+ "div",
55153
+ {
55154
+ className: cn("flex flex-col items-center gap-8", contentClassName),
55155
+ children: [
55156
+ /* @__PURE__ */ jsxs("div", { className: "flex max-w-[920px] flex-col items-center gap-6", children: [
55157
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
55158
+ "h1",
55159
+ {
55160
+ className: cn(
55161
+ "mb-6 text-center text-[2.75rem] leading-tight font-semibold md:text-[3.5rem] lg:text-[4.375rem] text-balance",
55162
+ headingClassName
55163
+ ),
55164
+ children: heading
55165
+ }
55166
+ ) : /* @__PURE__ */ jsx(
55167
+ "h1",
55168
+ {
55169
+ className: cn(
55170
+ "mb-6 text-center text-[2.75rem] leading-tight font-semibold md:text-[3.5rem] lg:text-[4.375rem] text-balance",
55171
+ headingClassName
55172
+ ),
55173
+ children: heading
55174
+ }
55175
+ )),
55176
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
55177
+ "p",
55178
+ {
55179
+ className: cn(
55180
+ "text-center text-xl text-balance",
55181
+ descriptionClassName
55182
+ ),
55183
+ children: description
55184
+ }
55185
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
55186
+ ] }),
55187
+ /* @__PURE__ */ jsx("div", { children: renderActions }),
55188
+ /* @__PURE__ */ jsx("div", { children: renderLogos })
55189
+ ]
55190
+ }
55191
+ ) }),
54885
55192
  renderShowcase
54886
55193
  ]
54887
55194
  }
@@ -54975,12 +55282,11 @@ function HeroProductivityLauncherVideo({
54975
55282
  actionsSlot,
54976
55283
  versionInfo,
54977
55284
  versionInfoSlot,
54978
- secondaryCta,
54979
- secondaryCtaSlot,
54980
55285
  videoSrc,
54981
55286
  videoSlot,
54982
55287
  background,
54983
- spacing = "py-32 md:py-32",
55288
+ spacing = "py-0 md:py-0",
55289
+ containerClassName = "mx-auto w-screen min-h-screen h-full max-w-screen relative z-10 px-0 sm:px-0 md:px-0 lg:px-0 flex flex-col items-center justify-center",
54984
55290
  pattern,
54985
55291
  patternOpacity,
54986
55292
  className,
@@ -54992,7 +55298,14 @@ function HeroProductivityLauncherVideo({
54992
55298
  if (actionsSlot) return actionsSlot;
54993
55299
  if (!actions || actions.length === 0) return null;
54994
55300
  return /* @__PURE__ */ jsx("div", { className: "flex flex-wrap items-center justify-center gap-4", children: actions.map((action, index) => {
54995
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
55301
+ const {
55302
+ label,
55303
+ icon,
55304
+ iconAfter,
55305
+ children,
55306
+ className: actionClassName,
55307
+ ...pressableProps
55308
+ } = action;
54996
55309
  return /* @__PURE__ */ jsx(
54997
55310
  Pressable,
54998
55311
  {
@@ -55012,40 +55325,15 @@ function HeroProductivityLauncherVideo({
55012
55325
  const renderVersionInfo = useMemo(() => {
55013
55326
  if (versionInfoSlot) return versionInfoSlot;
55014
55327
  if (!versionInfo) return null;
55015
- return /* @__PURE__ */ jsxs("div", { className: "flex gap-6 text-xs text-muted-foreground", children: [
55328
+ return /* @__PURE__ */ jsxs("div", { className: "flex gap-6 text-xs text-white", children: [
55016
55329
  versionInfo.version && /* @__PURE__ */ jsx("span", { children: versionInfo.version }),
55017
55330
  versionInfo.osRequirement && /* @__PURE__ */ jsx("span", { className: "relative before:absolute before:-left-3 before:content-['|']", children: versionInfo.osRequirement }),
55018
55331
  versionInfo.installMethod && /* @__PURE__ */ jsx("span", { className: "relative before:absolute before:-left-3 before:content-['|']", children: /* @__PURE__ */ jsx("button", { onClick: versionInfo.installAction, children: versionInfo.installMethod }) })
55019
55332
  ] });
55020
55333
  }, [versionInfoSlot, versionInfo]);
55021
- const renderSecondaryCta = useMemo(() => {
55022
- if (secondaryCtaSlot) return secondaryCtaSlot;
55023
- if (!secondaryCta) return null;
55024
- return /* @__PURE__ */ jsxs(
55025
- Pressable,
55026
- {
55027
- href: secondaryCta.href,
55028
- className: "group relative mt-10 flex h-8 items-center gap-3 overflow-hidden rounded-full border border-border/50 bg-background px-3 py-1 text-sm font-medium",
55029
- children: [
55030
- secondaryCta.primaryText && /* @__PURE__ */ jsx("span", { children: secondaryCta.primaryText }),
55031
- secondaryCta.secondaryText && /* @__PURE__ */ jsxs("span", { className: "flex items-center gap-1 text-muted-foreground", children: [
55032
- /* @__PURE__ */ jsx("span", { children: secondaryCta.secondaryText }),
55033
- /* @__PURE__ */ jsx(
55034
- DynamicIcon,
55035
- {
55036
- name: "lucide/arrow-right",
55037
- size: 16,
55038
- className: "stroke-muted-foreground"
55039
- }
55040
- )
55041
- ] })
55042
- ]
55043
- }
55044
- );
55045
- }, [secondaryCtaSlot, secondaryCta]);
55046
55334
  const renderVideo = useMemo(() => {
55047
55335
  if (videoSlot) return videoSlot;
55048
- return /* @__PURE__ */ jsx("div", { className: "absolute -top-24 z-10 h-full w-full before:absolute before:inset-0 before:size-full before:bg-[radial-gradient(circle_at_center,rgba(10,10,10,.3)_15%,rgba(10,10,10,1)_45%)] before:content-['']", children: /* @__PURE__ */ jsx(
55336
+ return /* @__PURE__ */ jsx("div", { className: "absolute top-0 z-10 h-full w-full inset-0", children: /* @__PURE__ */ jsx(
55049
55337
  "video",
55050
55338
  {
55051
55339
  src: videoSrc,
@@ -55053,7 +55341,7 @@ function HeroProductivityLauncherVideo({
55053
55341
  muted: true,
55054
55342
  autoPlay: true,
55055
55343
  controls: false,
55056
- className: "block size-full object-cover object-center bg-blend-saturation"
55344
+ className: "block size-full object-cover object-center brightness-50"
55057
55345
  }
55058
55346
  ) });
55059
55347
  }, [videoSlot, videoSrc]);
@@ -55064,19 +55352,45 @@ function HeroProductivityLauncherVideo({
55064
55352
  spacing,
55065
55353
  pattern,
55066
55354
  patternOpacity,
55067
- className: cn("relative flex items-center justify-center dark overflow-hidden bg-background py-12 font-sans md:py-20", className),
55068
- containerClassName: "px-6 sm:px-6 md:px-8 lg:px-8",
55355
+ className,
55356
+ containerClassName,
55069
55357
  children: [
55070
55358
  /* @__PURE__ */ jsx("div", { className: cn("relative z-20 max-w-204.5", contentClassName), children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center", children: [
55071
55359
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-8 px-4 pt-52 pb-32 md:pb-52", children: [
55072
- /* @__PURE__ */ jsx("div", { className: "max-w-100 sm:max-w-135", children: heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h1", { className: cn("text-center text-4xl leading-tight font-semibold [text-shadow:0_4px_4px_rgba(0,0,0,0.15)] sm:text-5xl md:text-[4rem]", headingClassName), children: heading }) : /* @__PURE__ */ jsx("h1", { className: cn("text-center text-4xl leading-tight font-semibold [text-shadow:0_4px_4px_rgba(0,0,0,0.15)] sm:text-5xl md:text-[4rem]", headingClassName), children: heading })) }),
55073
- /* @__PURE__ */ jsx("div", { className: "max-w-90 md:max-w-full", children: description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-center text-sm leading-normal tracking-tight text-balance text-muted-foreground [text-shadow:0_4px_4px_rgba(0,0,0,0.25)] md:text-lg", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })) })
55360
+ /* @__PURE__ */ jsx("div", { className: "max-w-100 sm:max-w-135", children: heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
55361
+ "h1",
55362
+ {
55363
+ className: cn(
55364
+ "text-center text-4xl leading-tight font-semibold text-shadow-xl sm:text-5xl md:text-6xl text-balance text-white",
55365
+ headingClassName
55366
+ ),
55367
+ children: heading
55368
+ }
55369
+ ) : /* @__PURE__ */ jsx(
55370
+ "h1",
55371
+ {
55372
+ className: cn(
55373
+ "text-center text-4xl leading-tight font-semibold text-shadow-xl sm:text-5xl md:text-6xl text-balance text-white",
55374
+ headingClassName
55375
+ ),
55376
+ children: heading
55377
+ }
55378
+ )) }),
55379
+ /* @__PURE__ */ jsx("div", { className: "max-w-90 md:max-w-full", children: description && (typeof description === "string" ? /* @__PURE__ */ jsx(
55380
+ "p",
55381
+ {
55382
+ className: cn(
55383
+ "text-center text-sm leading-normal tracking-tight text-balance md:text-lg text-white",
55384
+ descriptionClassName
55385
+ ),
55386
+ children: description
55387
+ }
55388
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })) })
55074
55389
  ] }),
55075
55390
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-4", children: [
55076
55391
  renderActions,
55077
55392
  renderVersionInfo
55078
- ] }),
55079
- renderSecondaryCta
55393
+ ] })
55080
55394
  ] }) }),
55081
55395
  renderVideo
55082
55396
  ]
@@ -56654,7 +56968,7 @@ function HeroMentorshipVideoSplit({
56654
56968
  if (!videoThumbnail) return null;
56655
56969
  const aspectRatio = videoAspectRatio === "vertical" ? 9 / 16 : 16 / 9;
56656
56970
  return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
56657
- videoLabel && (typeof videoLabel === "string" ? /* @__PURE__ */ jsx("p", { className: "text-xl", children: videoLabel }) : videoLabel),
56971
+ videoLabel && (typeof videoLabel === "string" ? /* @__PURE__ */ jsx("p", { className: "text-xs font-semibold uppercase opacity-75", children: videoLabel }) : videoLabel),
56658
56972
  /* @__PURE__ */ jsx(
56659
56973
  Pressable,
56660
56974
  {
@@ -56678,7 +56992,7 @@ function HeroMentorshipVideoSplit({
56678
56992
  optixFlowConfig
56679
56993
  }
56680
56994
  ),
56681
- /* @__PURE__ */ jsx("div", { className: "m-auto aspect-square z-10", children: /* @__PURE__ */ jsx(
56995
+ /* @__PURE__ */ jsx("div", { className: "m-auto aspect-square z-10 bg-card text-card-foreground p-2 rounded-xl shadow-xl", children: /* @__PURE__ */ jsx(
56682
56996
  DynamicIcon,
56683
56997
  {
56684
56998
  name: "lucide/play",
@@ -56690,7 +57004,14 @@ function HeroMentorshipVideoSplit({
56690
57004
  }
56691
57005
  )
56692
57006
  ] });
56693
- }, [videoSlot, videoThumbnail, videoLabel, videoAspectRatio, optixFlowConfig, setIsVideoOpen]);
57007
+ }, [
57008
+ videoSlot,
57009
+ videoThumbnail,
57010
+ videoLabel,
57011
+ videoAspectRatio,
57012
+ optixFlowConfig,
57013
+ setIsVideoOpen
57014
+ ]);
56694
57015
  const renderImage = useMemo(() => {
56695
57016
  if (imageSlot) return imageSlot;
56696
57017
  if (!image) return null;
@@ -56718,12 +57039,12 @@ function HeroMentorshipVideoSplit({
56718
57039
  patternOpacity,
56719
57040
  className: cn("relative flex items-center justify-center", className),
56720
57041
  containerClassName,
56721
- children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs("div", { className: "grid w-full grid-cols-1 gap-6 lg:grid-cols-2", children: [
57042
+ children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs("div", { className: "flex w-full flex-col-reverse md:flex-row gap-6 md:gap-20", children: [
56722
57043
  /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
56723
57044
  "div",
56724
57045
  {
56725
57046
  className: cn(
56726
- "flex h-full flex-col justify-between gap-4",
57047
+ "flex h-full flex-col justify-between gap-8",
56727
57048
  contentClassName
56728
57049
  ),
56729
57050
  children: [
@@ -56732,7 +57053,7 @@ function HeroMentorshipVideoSplit({
56732
57053
  "h1",
56733
57054
  {
56734
57055
  className: cn(
56735
- "text-4xl font-semibold lg:text-8xl text-balance text-shadow-xl text-center",
57056
+ "text-4xl font-semibold lg:text-8xl text-balance text-shadow-xl",
56736
57057
  headingClassName
56737
57058
  ),
56738
57059
  children: heading
@@ -56741,7 +57062,7 @@ function HeroMentorshipVideoSplit({
56741
57062
  "h1",
56742
57063
  {
56743
57064
  className: cn(
56744
- "text-4xl font-semibold lg:text-8xl text-balance text-shadow-xl text-center",
57065
+ "text-4xl font-semibold lg:text-8xl text-balance text-shadow-xl",
56745
57066
  headingClassName
56746
57067
  ),
56747
57068
  children: heading
@@ -56767,12 +57088,24 @@ function HeroMentorshipVideoSplit({
56767
57088
  ] }) })
56768
57089
  }
56769
57090
  ),
56770
- /* @__PURE__ */ jsx(Dialog, { open: isVideoOpen, onOpenChange: setIsVideoOpen, children: /* @__PURE__ */ jsxs(DialogContent, { className: cn(
56771
- videoAspectRatio === "vertical" ? "sm:max-w-100" : "sm:max-w-200"
56772
- ), children: [
56773
- /* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: videoTitle }) }),
56774
- /* @__PURE__ */ jsx("div", { className: videoAspectRatio === "vertical" ? "aspect-9/16" : "aspect-video", children: /* @__PURE__ */ jsx("video", { controls: true, autoPlay: true, className: "h-full w-full rounded-lg", children: /* @__PURE__ */ jsx("source", { src: videoUrl, type: "video/mp4" }) }) })
56775
- ] }) })
57091
+ /* @__PURE__ */ jsx(Dialog, { open: isVideoOpen, onOpenChange: setIsVideoOpen, children: /* @__PURE__ */ jsxs(
57092
+ DialogContent,
57093
+ {
57094
+ className: cn(
57095
+ videoAspectRatio === "vertical" ? "sm:max-w-100" : "sm:max-w-200"
57096
+ ),
57097
+ children: [
57098
+ /* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: videoTitle }) }),
57099
+ /* @__PURE__ */ jsx(
57100
+ "div",
57101
+ {
57102
+ className: videoAspectRatio === "vertical" ? "aspect-9/16" : "aspect-video",
57103
+ children: /* @__PURE__ */ jsx("video", { controls: true, autoPlay: true, className: "h-full w-full rounded-lg", children: /* @__PURE__ */ jsx("source", { src: videoUrl, type: "video/mp4" }) })
57104
+ }
57105
+ )
57106
+ ]
57107
+ }
57108
+ ) })
56776
57109
  ] });
56777
57110
  }
56778
57111
  function HeroBusinessOperationsMosaic({
@@ -57699,7 +58032,7 @@ function HeroCustomerSupportLayered({
57699
58032
  patternClassName,
57700
58033
  className,
57701
58034
  containerClassName,
57702
- children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 items-center gap-4 md:gap-20 md:grid-cols-2", children: [
58035
+ children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 items-center gap-8 md:gap-20 md:grid-cols-2", children: [
57703
58036
  /* @__PURE__ */ jsxs(
57704
58037
  "div",
57705
58038
  {