@opensite/ui 3.6.8 → 3.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.
@@ -386,10 +386,53 @@ var Section = React.forwardRef(
386
386
  }
387
387
  );
388
388
  Section.displayName = "Section";
389
+ var SIZE_CLASSES = {
390
+ sm: "max-h-6 sm:max-h-7",
391
+ md: "max-h-8 sm:max-h-9 lg:max-h-10",
392
+ lg: "max-h-10 sm:max-h-12 lg:max-h-14",
393
+ xl: "max-h-12 sm:max-h-14 lg:max-h-16"
394
+ };
395
+ var BrandLogo = ({
396
+ logo,
397
+ logoSlot,
398
+ logoClassName,
399
+ size = "md",
400
+ optixFlowConfig
401
+ }) => {
402
+ if (logoSlot) return /* @__PURE__ */ jsx(Fragment, { children: logoSlot });
403
+ if (!logo || !logo.src) return null;
404
+ const imgElement = /* @__PURE__ */ jsx(
405
+ Img,
406
+ {
407
+ src: logo.src,
408
+ className: cn(
409
+ "w-auto object-contain",
410
+ SIZE_CLASSES[size],
411
+ logo.className
412
+ ),
413
+ alt: logo.alt || "Logo",
414
+ optixFlowConfig,
415
+ loading: "eager"
416
+ }
417
+ );
418
+ if (logo.url) {
419
+ return /* @__PURE__ */ jsx(
420
+ Pressable,
421
+ {
422
+ href: logo.url,
423
+ className: cn("flex items-center", logoClassName),
424
+ children: imgElement
425
+ }
426
+ );
427
+ }
428
+ return /* @__PURE__ */ jsx("div", { className: cn("flex items-center", logoClassName), children: imgElement });
429
+ };
430
+ var brand_logo_default = BrandLogo;
389
431
  function HeroLogoCenteredScreenshot({
390
432
  sectionId = "hero-logo-centered-screenshot",
391
433
  logo,
392
434
  logoSlot,
435
+ logoClassName,
393
436
  heading,
394
437
  description,
395
438
  action,
@@ -408,20 +451,6 @@ function HeroLogoCenteredScreenshot({
408
451
  imageClassName,
409
452
  optixFlowConfig
410
453
  }) {
411
- const renderLogo = useMemo(() => {
412
- if (logoSlot) return logoSlot;
413
- if (!logo) return null;
414
- const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
415
- return /* @__PURE__ */ jsx(
416
- Img,
417
- {
418
- src: logoSrc,
419
- alt: logo.alt,
420
- className: cn("h-10 md:h-16 object-contain", logo.className),
421
- optixFlowConfig
422
- }
423
- );
424
- }, [logoSlot, logo, optixFlowConfig]);
425
454
  const renderAction = useMemo(() => {
426
455
  if (actionSlot) return actionSlot;
427
456
  if (!action) return null;
@@ -464,9 +493,10 @@ function HeroLogoCenteredScreenshot({
464
493
  spacing,
465
494
  pattern,
466
495
  patternOpacity,
467
- className: cn(className),
468
- children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs("div", { className: cn("container max-w-7xl", containerClassName), children: [
469
- /* @__PURE__ */ jsx("div", { className: "mx-auto flex max-w-5xl flex-col items-center", children: /* @__PURE__ */ jsxs(
496
+ className,
497
+ containerClassName,
498
+ children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
499
+ /* @__PURE__ */ jsx("div", { className: "mx-auto flex max-w-full md:max-w-5xl flex-col items-center", children: /* @__PURE__ */ jsxs(
470
500
  "div",
471
501
  {
472
502
  className: cn(
@@ -474,7 +504,7 @@ function HeroLogoCenteredScreenshot({
474
504
  contentClassName
475
505
  ),
476
506
  children: [
477
- renderLogo,
507
+ (logo || logoSlot) && /* @__PURE__ */ jsx("div", { className: cn("flex justify-center", logoClassName), children: /* @__PURE__ */ jsx(brand_logo_default, { logo, logoSlot, size: "lg" }) }),
478
508
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-center items-center w-full text-balance", children: [
479
509
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
480
510
  "h1",
@@ -485,33 +515,24 @@ function HeroLogoCenteredScreenshot({
485
515
  ),
486
516
  children: heading
487
517
  }
488
- ) : /* @__PURE__ */ jsx(
489
- "h1",
490
- {
491
- className: cn(
492
- "mb-4 text-3xl font-medium lg:text-5xl",
493
- headingClassName
494
- ),
495
- children: heading
496
- }
497
- )),
518
+ ) : heading),
498
519
  description && (typeof description === "string" ? /* @__PURE__ */ jsx(
499
520
  "p",
500
521
  {
501
522
  className: cn(
502
- "max-w-3xl lg:text-xl",
523
+ "max-w-full md:max-w-3xl lg:text-xl",
503
524
  descriptionClassName
504
525
  ),
505
526
  children: description
506
527
  }
507
- ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
528
+ ) : description)
508
529
  ] }),
509
530
  renderAction
510
531
  ]
511
532
  }
512
533
  ) }),
513
534
  renderImage
514
- ] }) })
535
+ ] })
515
536
  }
516
537
  );
517
538
  }
@@ -589,8 +589,6 @@ function HeroMentorshipVideoSplit({
589
589
  pressable.Pressable,
590
590
  {
591
591
  onClick: () => setIsVideoOpen(true),
592
- asButton: true,
593
- variant: "ghost",
594
592
  className: cn(
595
593
  "group relative flex overflow-hidden rounded-lg p-0",
596
594
  videoAspectRatio === "vertical" ? "h-36 w-20" : "h-20 w-36"
@@ -566,8 +566,6 @@ function HeroMentorshipVideoSplit({
566
566
  Pressable,
567
567
  {
568
568
  onClick: () => setIsVideoOpen(true),
569
- asButton: true,
570
- variant: "ghost",
571
569
  className: cn(
572
570
  "group relative flex overflow-hidden rounded-lg p-0",
573
571
  videoAspectRatio === "vertical" ? "h-36 w-20" : "h-20 w-36"
@@ -492,7 +492,7 @@ function HeroPatternBadgeLogos({
492
492
  alt,
493
493
  className: cn(
494
494
  imgClassName,
495
- "w-full h-10 object-contain dark:hidden"
495
+ "w-full h-8 object-contain dark:hidden"
496
496
  ),
497
497
  optixFlowConfig
498
498
  }
@@ -504,7 +504,7 @@ function HeroPatternBadgeLogos({
504
504
  alt,
505
505
  className: cn(
506
506
  imgClassName,
507
- "w-full h-10 object-contain hidden dark:block"
507
+ "w-full h-8 object-contain hidden dark:block"
508
508
  ),
509
509
  optixFlowConfig
510
510
  }
@@ -514,7 +514,7 @@ function HeroPatternBadgeLogos({
514
514
  {
515
515
  src,
516
516
  alt,
517
- className: cn("w-full h-10 object-contain", imgClassName),
517
+ className: cn("w-full h-8 object-contain", imgClassName),
518
518
  optixFlowConfig
519
519
  }
520
520
  );
@@ -525,7 +525,7 @@ function HeroPatternBadgeLogos({
525
525
  "div",
526
526
  {
527
527
  className: cn(
528
- "w-auto max-h-10 h-10 flex items-center justify-center",
528
+ "w-auto max-h-8 h-8 flex items-center justify-center",
529
529
  logoClassName
530
530
  ),
531
531
  children: imgElement
@@ -563,7 +563,7 @@ function HeroPatternBadgeLogos({
563
563
  ),
564
564
  children: heading
565
565
  }
566
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
566
+ ) : heading),
567
567
  description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
568
568
  "p",
569
569
  {
@@ -573,7 +573,7 @@ function HeroPatternBadgeLogos({
573
573
  ),
574
574
  children: description
575
575
  }
576
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
576
+ ) : description)
577
577
  ] }),
578
578
  (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsxRuntime.jsx(
579
579
  "div",
@@ -486,7 +486,7 @@ function HeroPatternBadgeLogos({
486
486
  alt,
487
487
  className: cn(
488
488
  imgClassName,
489
- "w-full h-10 object-contain dark:hidden"
489
+ "w-full h-8 object-contain dark:hidden"
490
490
  ),
491
491
  optixFlowConfig
492
492
  }
@@ -498,7 +498,7 @@ function HeroPatternBadgeLogos({
498
498
  alt,
499
499
  className: cn(
500
500
  imgClassName,
501
- "w-full h-10 object-contain hidden dark:block"
501
+ "w-full h-8 object-contain hidden dark:block"
502
502
  ),
503
503
  optixFlowConfig
504
504
  }
@@ -508,7 +508,7 @@ function HeroPatternBadgeLogos({
508
508
  {
509
509
  src,
510
510
  alt,
511
- className: cn("w-full h-10 object-contain", imgClassName),
511
+ className: cn("w-full h-8 object-contain", imgClassName),
512
512
  optixFlowConfig
513
513
  }
514
514
  );
@@ -519,7 +519,7 @@ function HeroPatternBadgeLogos({
519
519
  "div",
520
520
  {
521
521
  className: cn(
522
- "w-auto max-h-10 h-10 flex items-center justify-center",
522
+ "w-auto max-h-8 h-8 flex items-center justify-center",
523
523
  logoClassName
524
524
  ),
525
525
  children: imgElement
@@ -557,7 +557,7 @@ function HeroPatternBadgeLogos({
557
557
  ),
558
558
  children: heading
559
559
  }
560
- ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
560
+ ) : heading),
561
561
  description && (typeof description === "string" ? /* @__PURE__ */ jsx(
562
562
  "p",
563
563
  {
@@ -567,7 +567,7 @@ function HeroPatternBadgeLogos({
567
567
  ),
568
568
  children: description
569
569
  }
570
- ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
570
+ ) : description)
571
571
  ] }),
572
572
  (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx(
573
573
  "div",
@@ -560,7 +560,7 @@ function HeroPresentationPlatformVideo({
560
560
  _type: "text",
561
561
  as: "h1",
562
562
  className: cn(
563
- "text-5xl font-medium md:text-6xl lg:text-7xl",
563
+ "text-5xl font-medium md:text-6xl lg:text-7xl text-pretty",
564
564
  headingClassName
565
565
  ),
566
566
  children: heading
@@ -574,7 +574,10 @@ function HeroPresentationPlatformVideo({
574
574
  items.push({
575
575
  _type: "text",
576
576
  as: "p",
577
- className: cn("my-0 md:my-8 md:text-xl", descriptionClassName),
577
+ className: cn(
578
+ "my-0 md:my-8 md:text-xl text-balance",
579
+ descriptionClassName
580
+ ),
578
581
  children: description
579
582
  });
580
583
  } else {
@@ -539,7 +539,7 @@ function HeroPresentationPlatformVideo({
539
539
  _type: "text",
540
540
  as: "h1",
541
541
  className: cn(
542
- "text-5xl font-medium md:text-6xl lg:text-7xl",
542
+ "text-5xl font-medium md:text-6xl lg:text-7xl text-pretty",
543
543
  headingClassName
544
544
  ),
545
545
  children: heading
@@ -553,7 +553,10 @@ function HeroPresentationPlatformVideo({
553
553
  items.push({
554
554
  _type: "text",
555
555
  as: "p",
556
- className: cn("my-0 md:my-8 md:text-xl", descriptionClassName),
556
+ className: cn(
557
+ "my-0 md:my-8 md:text-xl text-balance",
558
+ descriptionClassName
559
+ ),
557
560
  children: description
558
561
  });
559
562
  } else {
@@ -625,8 +625,8 @@ function HeroVideoBackgroundDark({
625
625
  "div",
626
626
  {
627
627
  className: cn(
628
- "relative z-10 mx-auto flex size-full",
629
- "md:max-w-3xl lg:max-w-4xl flex-col justify-center",
628
+ "relative z-10 mx-auto flex flex-col justify-center",
629
+ "size-full max-w-full md:max-w-md lg:max-w-4xl",
630
630
  "gap-4 md:gap-6 items-center text-center px-4 md:px-6",
631
631
  contentClassName
632
632
  ),
@@ -637,7 +637,7 @@ function HeroVideoBackgroundDark({
637
637
  {
638
638
  className: cn(
639
639
  "font-bold text-5xl md:text-6xl lg:text-8xl",
640
- "text-balance text-white text-shadow-lg",
640
+ "text-pretty text-white text-shadow-lg",
641
641
  headingClassName
642
642
  ),
643
643
  children: heading
@@ -619,8 +619,8 @@ function HeroVideoBackgroundDark({
619
619
  "div",
620
620
  {
621
621
  className: cn(
622
- "relative z-10 mx-auto flex size-full",
623
- "md:max-w-3xl lg:max-w-4xl flex-col justify-center",
622
+ "relative z-10 mx-auto flex flex-col justify-center",
623
+ "size-full max-w-full md:max-w-md lg:max-w-4xl",
624
624
  "gap-4 md:gap-6 items-center text-center px-4 md:px-6",
625
625
  contentClassName
626
626
  ),
@@ -631,7 +631,7 @@ function HeroVideoBackgroundDark({
631
631
  {
632
632
  className: cn(
633
633
  "font-bold text-5xl md:text-6xl lg:text-8xl",
634
- "text-balance text-white text-shadow-lg",
634
+ "text-pretty text-white text-shadow-lg",
635
635
  headingClassName
636
636
  ),
637
637
  children: heading
package/dist/registry.cjs CHANGED
@@ -50870,7 +50870,7 @@ function HeroPatternBadgeLogos({
50870
50870
  alt,
50871
50871
  className: cn(
50872
50872
  imgClassName,
50873
- "w-full h-10 object-contain dark:hidden"
50873
+ "w-full h-8 object-contain dark:hidden"
50874
50874
  ),
50875
50875
  optixFlowConfig
50876
50876
  }
@@ -50882,7 +50882,7 @@ function HeroPatternBadgeLogos({
50882
50882
  alt,
50883
50883
  className: cn(
50884
50884
  imgClassName,
50885
- "w-full h-10 object-contain hidden dark:block"
50885
+ "w-full h-8 object-contain hidden dark:block"
50886
50886
  ),
50887
50887
  optixFlowConfig
50888
50888
  }
@@ -50892,7 +50892,7 @@ function HeroPatternBadgeLogos({
50892
50892
  {
50893
50893
  src,
50894
50894
  alt,
50895
- className: cn("w-full h-10 object-contain", imgClassName),
50895
+ className: cn("w-full h-8 object-contain", imgClassName),
50896
50896
  optixFlowConfig
50897
50897
  }
50898
50898
  );
@@ -50903,7 +50903,7 @@ function HeroPatternBadgeLogos({
50903
50903
  "div",
50904
50904
  {
50905
50905
  className: cn(
50906
- "w-auto max-h-10 h-10 flex items-center justify-center",
50906
+ "w-auto max-h-8 h-8 flex items-center justify-center",
50907
50907
  logoClassName
50908
50908
  ),
50909
50909
  children: imgElement
@@ -50941,7 +50941,7 @@ function HeroPatternBadgeLogos({
50941
50941
  ),
50942
50942
  children: heading
50943
50943
  }
50944
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
50944
+ ) : heading),
50945
50945
  description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
50946
50946
  "p",
50947
50947
  {
@@ -50951,7 +50951,7 @@ function HeroPatternBadgeLogos({
50951
50951
  ),
50952
50952
  children: description
50953
50953
  }
50954
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
50954
+ ) : description)
50955
50955
  ] }),
50956
50956
  (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsxRuntime.jsx(
50957
50957
  "div",
@@ -50986,6 +50986,7 @@ function HeroLogoCenteredScreenshot({
50986
50986
  sectionId = "hero-logo-centered-screenshot",
50987
50987
  logo,
50988
50988
  logoSlot: logoSlot2,
50989
+ logoClassName,
50989
50990
  heading,
50990
50991
  description,
50991
50992
  action,
@@ -51004,20 +51005,6 @@ function HeroLogoCenteredScreenshot({
51004
51005
  imageClassName,
51005
51006
  optixFlowConfig
51006
51007
  }) {
51007
- const renderLogo = React30.useMemo(() => {
51008
- if (logoSlot2) return logoSlot2;
51009
- if (!logo) return null;
51010
- const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
51011
- return /* @__PURE__ */ jsxRuntime.jsx(
51012
- img$1.Img,
51013
- {
51014
- src: logoSrc,
51015
- alt: logo.alt,
51016
- className: cn("h-10 md:h-16 object-contain", logo.className),
51017
- optixFlowConfig
51018
- }
51019
- );
51020
- }, [logoSlot2, logo, optixFlowConfig]);
51021
51008
  const renderAction = React30.useMemo(() => {
51022
51009
  if (actionSlot) return actionSlot;
51023
51010
  if (!action) return null;
@@ -51060,9 +51047,10 @@ function HeroLogoCenteredScreenshot({
51060
51047
  spacing,
51061
51048
  pattern,
51062
51049
  patternOpacity,
51063
- className: cn(className),
51064
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("container max-w-7xl", containerClassName), children: [
51065
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto flex max-w-5xl flex-col items-center", children: /* @__PURE__ */ jsxRuntime.jsxs(
51050
+ className,
51051
+ containerClassName,
51052
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
51053
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto flex max-w-full md:max-w-5xl flex-col items-center", children: /* @__PURE__ */ jsxRuntime.jsxs(
51066
51054
  "div",
51067
51055
  {
51068
51056
  className: cn(
@@ -51070,7 +51058,7 @@ function HeroLogoCenteredScreenshot({
51070
51058
  contentClassName
51071
51059
  ),
51072
51060
  children: [
51073
- renderLogo,
51061
+ (logo || logoSlot2) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex justify-center", logoClassName), children: /* @__PURE__ */ jsxRuntime.jsx(brand_logo_default, { logo, logoSlot: logoSlot2, size: "lg" }) }),
51074
51062
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col justify-center items-center w-full text-balance", children: [
51075
51063
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
51076
51064
  "h1",
@@ -51081,33 +51069,24 @@ function HeroLogoCenteredScreenshot({
51081
51069
  ),
51082
51070
  children: heading
51083
51071
  }
51084
- ) : /* @__PURE__ */ jsxRuntime.jsx(
51085
- "h1",
51086
- {
51087
- className: cn(
51088
- "mb-4 text-3xl font-medium lg:text-5xl",
51089
- headingClassName
51090
- ),
51091
- children: heading
51092
- }
51093
- )),
51072
+ ) : heading),
51094
51073
  description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
51095
51074
  "p",
51096
51075
  {
51097
51076
  className: cn(
51098
- "max-w-3xl lg:text-xl",
51077
+ "max-w-full md:max-w-3xl lg:text-xl",
51099
51078
  descriptionClassName
51100
51079
  ),
51101
51080
  children: description
51102
51081
  }
51103
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
51082
+ ) : description)
51104
51083
  ] }),
51105
51084
  renderAction
51106
51085
  ]
51107
51086
  }
51108
51087
  ) }),
51109
51088
  renderImage
51110
- ] }) })
51089
+ ] })
51111
51090
  }
51112
51091
  );
51113
51092
  }
@@ -52933,8 +52912,8 @@ function HeroVideoBackgroundDark({
52933
52912
  "div",
52934
52913
  {
52935
52914
  className: cn(
52936
- "relative z-10 mx-auto flex size-full",
52937
- "md:max-w-3xl lg:max-w-4xl flex-col justify-center",
52915
+ "relative z-10 mx-auto flex flex-col justify-center",
52916
+ "size-full max-w-full md:max-w-md lg:max-w-4xl",
52938
52917
  "gap-4 md:gap-6 items-center text-center px-4 md:px-6",
52939
52918
  contentClassName
52940
52919
  ),
@@ -52945,7 +52924,7 @@ function HeroVideoBackgroundDark({
52945
52924
  {
52946
52925
  className: cn(
52947
52926
  "font-bold text-5xl md:text-6xl lg:text-8xl",
52948
- "text-balance text-white text-shadow-lg",
52927
+ "text-pretty text-white text-shadow-lg",
52949
52928
  headingClassName
52950
52929
  ),
52951
52930
  children: heading
@@ -53202,7 +53181,16 @@ function HeroDashedBorderFeatures({
53202
53181
  ),
53203
53182
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mx-auto max-w-3xl", children: [
53204
53183
  renderAnnouncement,
53205
- (logo || logoSlot2) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("my-6 flex justify-center", logoClassName), children: /* @__PURE__ */ jsxRuntime.jsx(BrandLogo, { logo, logoSlot: logoSlot2, size: "lg" }) }),
53184
+ (logo || logoSlot2) && /* @__PURE__ */ jsxRuntime.jsx(
53185
+ "div",
53186
+ {
53187
+ className: cn(
53188
+ "mt-8 md:mt-16 mb-0 flex justify-center",
53189
+ logoClassName
53190
+ ),
53191
+ children: /* @__PURE__ */ jsxRuntime.jsx(BrandLogo, { logo, logoSlot: logoSlot2, size: "lg" })
53192
+ }
53193
+ ),
53206
53194
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
53207
53195
  "h1",
53208
53196
  {
@@ -53375,7 +53363,7 @@ function HeroDesignCarouselPortfolio({
53375
53363
  "div",
53376
53364
  {
53377
53365
  className: cn(
53378
- "flex flex-col gap-10 pt-12 pb-8 lg:pt-24 lg:pb-12",
53366
+ "flex flex-col gap-10 pt-12 pb-8 lg:pt-12 lg:pb-12",
53379
53367
  contentClassName
53380
53368
  ),
53381
53369
  children: [
@@ -53845,17 +53833,17 @@ function HeroFullscreenBackgroundImage({
53845
53833
  ),
53846
53834
  children: heading
53847
53835
  }
53848
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
53836
+ ) : heading),
53849
53837
  description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
53850
53838
  "p",
53851
53839
  {
53852
53840
  className: cn(
53853
- "text-center text-base text-balance text-white text-shadow-lg",
53841
+ "text-center text-base text-balance text-white text-shadow-lg max-w-full md:max-w-sm",
53854
53842
  descriptionClassName
53855
53843
  ),
53856
53844
  children: description
53857
53845
  }
53858
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
53846
+ ) : description),
53859
53847
  /* @__PURE__ */ jsxRuntime.jsx(
53860
53848
  BlockActions,
53861
53849
  {
@@ -54755,7 +54743,7 @@ function HeroPresentationPlatformVideo({
54755
54743
  _type: "text",
54756
54744
  as: "h1",
54757
54745
  className: cn(
54758
- "text-5xl font-medium md:text-6xl lg:text-7xl",
54746
+ "text-5xl font-medium md:text-6xl lg:text-7xl text-pretty",
54759
54747
  headingClassName
54760
54748
  ),
54761
54749
  children: heading
@@ -54769,7 +54757,10 @@ function HeroPresentationPlatformVideo({
54769
54757
  items.push({
54770
54758
  _type: "text",
54771
54759
  as: "p",
54772
- className: cn("my-0 md:my-8 md:text-xl", descriptionClassName),
54760
+ className: cn(
54761
+ "my-0 md:my-8 md:text-xl text-balance",
54762
+ descriptionClassName
54763
+ ),
54773
54764
  children: description
54774
54765
  });
54775
54766
  } else {
@@ -58497,8 +58488,6 @@ function HeroMentorshipVideoSplit({
58497
58488
  pressable.Pressable,
58498
58489
  {
58499
58490
  onClick: () => setIsVideoOpen(true),
58500
- asButton: true,
58501
- variant: "ghost",
58502
58491
  className: cn(
58503
58492
  "group relative flex overflow-hidden rounded-lg p-0",
58504
58493
  videoAspectRatio === "vertical" ? "h-36 w-20" : "h-20 w-36"
@@ -61227,6 +61216,8 @@ function HeroEventRegistration({
61227
61216
  imageClassName,
61228
61217
  optixFlowConfig,
61229
61218
  logo,
61219
+ logoSlot: logoSlot2,
61220
+ logoClassName,
61230
61221
  directionConfig = { desktop: "mediaRight", mobile: "mediaTop" }
61231
61222
  }) {
61232
61223
  const renderBadge = React30.useMemo(() => {
@@ -61384,13 +61375,11 @@ function HeroEventRegistration({
61384
61375
  ),
61385
61376
  children: [
61386
61377
  renderBadge,
61387
- logo && /* @__PURE__ */ jsxRuntime.jsx(
61388
- img$1.Img,
61378
+ (logo || logoSlot2) && /* @__PURE__ */ jsxRuntime.jsx(
61379
+ "div",
61389
61380
  {
61390
- src: logo.src,
61391
- alt: logo.alt,
61392
- className: "w-auto max-w-full h-12 md:h-14 object-contain my-4",
61393
- optixFlowConfig
61381
+ className: cn("mb-1 mt-4 flex justify-start", logoClassName),
61382
+ children: /* @__PURE__ */ jsxRuntime.jsx(brand_logo_default, { logo, logoSlot: logoSlot2, size: "lg" })
61394
61383
  }
61395
61384
  ),
61396
61385
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(