@opensite/ui 0.9.7 → 0.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/registry.cjs CHANGED
@@ -58393,7 +58393,7 @@ var DesktopMenuItem2 = ({
58393
58393
  if (hasDropdown) {
58394
58394
  return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
58395
58395
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal hover:bg-muted focus:bg-muted data-[state=open]:bg-muted/50", children: item.label }),
58396
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "!rounded-xl !border-0 !p-0 overflow-visible", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-dvw max-w-screen-2xl px-8 pt-6 pb-12", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container mx-auto", children: renderDropdownContent(
58396
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "!rounded-xl !border-0 !p-0", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-screen", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto max-w-7xl px-6 py-8", children: renderDropdownContent(
58397
58397
  { ...item, layout: effectiveLayout },
58398
58398
  optixFlowConfig
58399
58399
  ) }) }) })
@@ -58466,50 +58466,50 @@ var SolutionsMenu = ({
58466
58466
  platformItems,
58467
58467
  featuredHeroCard,
58468
58468
  optixFlowConfig
58469
- }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid max-w-full gap-8 sm:grid-cols-2", children: [
58469
+ }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-6 sm:grid-cols-2", children: [
58470
58470
  featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx(
58471
58471
  Pressable,
58472
58472
  {
58473
58473
  href: featuredHeroCard.href,
58474
58474
  className: cn(
58475
- "group relative flex h-full flex-row overflow-hidden rounded-lg px-0 pt-8 text-primary-foreground lg:rounded-xl lg:px-6",
58475
+ "group relative flex h-full overflow-hidden rounded-lg text-primary-foreground",
58476
58476
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
58477
58477
  ),
58478
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex w-full flex-col space-y-8 text-left md:space-y-6 lg:w-full lg:flex-row lg:justify-between lg:space-y-0 lg:space-x-6 xl:space-x-8", children: [
58479
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex flex-col px-6 lg:mb-6 lg:px-0 lg:flex-1", children: [
58480
- featuredHeroCard.subtitle && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-4 text-xs font-medium tracking-wider uppercase md:mb-6", children: featuredHeroCard.subtitle }),
58481
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto flex items-center space-x-1 text-base font-semibold", children: [
58478
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full flex-col items-start gap-4 p-6 lg:flex-row lg:items-center lg:gap-6", children: [
58479
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col justify-center", children: [
58480
+ featuredHeroCard.subtitle && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-3 text-xs font-medium tracking-wider uppercase", children: featuredHeroCard.subtitle }),
58481
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
58482
58482
  featuredHeroCard.title,
58483
58483
  /* @__PURE__ */ jsxRuntime.jsx(
58484
58484
  DynamicIcon,
58485
58485
  {
58486
58486
  name: "lucide/arrow-right",
58487
58487
  size: 18,
58488
- className: "ml-1 transition-transform group-hover:translate-x-1"
58488
+ className: "transition-transform group-hover:translate-x-1"
58489
58489
  }
58490
58490
  )
58491
58491
  ] }),
58492
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-3 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
58492
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
58493
58493
  ] }),
58494
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-2/1 overflow-clip rounded-t pl-6 lg:max-w-64 lg:shrink-0 lg:pl-0 xl:max-w-72", children: /* @__PURE__ */ jsxRuntime.jsx(
58494
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative w-full shrink-0 overflow-hidden rounded lg:w-48 xl:w-56", children: /* @__PURE__ */ jsxRuntime.jsx(
58495
58495
  img.Img,
58496
58496
  {
58497
58497
  src: featuredHeroCard.image,
58498
58498
  alt: featuredHeroCard.title,
58499
- className: "aspect-2/1 h-full w-full translate-y-px object-cover object-center",
58499
+ className: "aspect-video w-full object-cover",
58500
58500
  optixFlowConfig
58501
58501
  }
58502
58502
  ) })
58503
58503
  ] })
58504
58504
  }
58505
58505
  ),
58506
- platformItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "order-last mt-3 sm:order-0 sm:mt-0 sm:py-2 md:p-6", children: [
58507
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-left leading-none md:col-span-2 lg:col-span-4 lg:mb-6", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Developer Platform" }) }),
58508
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid w-full gap-4 lg:grid-cols-2", children: platformItems.map((technology) => /* @__PURE__ */ jsxRuntime.jsxs(
58506
+ platformItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
58507
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Developer Platform" }) }),
58508
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-3 lg:grid-cols-2", children: platformItems.map((technology) => /* @__PURE__ */ jsxRuntime.jsxs(
58509
58509
  NavigationMenuLink,
58510
58510
  {
58511
58511
  href: technology.href,
58512
- className: "group flex w-full flex-row items-center gap-4 hover:bg-muted rounded-lg p-2 -ml-2",
58512
+ className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 hover:bg-muted",
58513
58513
  children: [
58514
58514
  /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: technology.icon, size: 16 }),
58515
58515
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 text-sm font-medium", children: technology.title }),
@@ -58526,25 +58526,25 @@ var SolutionsMenu = ({
58526
58526
  technology.id
58527
58527
  )) })
58528
58528
  ] }),
58529
- solutionCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-full grid w-full grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-4 lg:gap-8", children: solutionCards.map((solution) => /* @__PURE__ */ jsxRuntime.jsxs(
58529
+ solutionCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-full mt-2 grid gap-4 md:grid-cols-2 lg:grid-cols-4", children: solutionCards.map((solution) => /* @__PURE__ */ jsxRuntime.jsxs(
58530
58530
  "div",
58531
58531
  {
58532
- className: "flex flex-col rounded-md border border-border p-5",
58532
+ className: "flex flex-col rounded-lg border border-border p-4",
58533
58533
  children: [
58534
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-border pb-4", children: /* @__PURE__ */ jsxRuntime.jsxs(
58534
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-border pb-3", children: /* @__PURE__ */ jsxRuntime.jsxs(
58535
58535
  Pressable,
58536
58536
  {
58537
58537
  href: solution.href,
58538
58538
  className: "group flex flex-col text-left",
58539
58539
  children: [
58540
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center", children: [
58540
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1", children: [
58541
58541
  /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-sm font-medium", children: solution.title }),
58542
58542
  /* @__PURE__ */ jsxRuntime.jsx(
58543
58543
  DynamicIcon,
58544
58544
  {
58545
58545
  name: "lucide/arrow-right",
58546
58546
  size: 16,
58547
- className: "ml-1 transition-transform group-hover:translate-x-1"
58547
+ className: "transition-transform group-hover:translate-x-1"
58548
58548
  }
58549
58549
  )
58550
58550
  ] }),
@@ -58552,11 +58552,11 @@ var SolutionsMenu = ({
58552
58552
  ]
58553
58553
  }
58554
58554
  ) }),
58555
- /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "mt-6 grid w-full gap-y-4", children: solution.subpages.map((subpage) => /* @__PURE__ */ jsxRuntime.jsxs(
58555
+ /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "mt-4 grid gap-3", children: solution.subpages.map((subpage) => /* @__PURE__ */ jsxRuntime.jsxs(
58556
58556
  NavigationMenuLink,
58557
58557
  {
58558
58558
  href: subpage.href,
58559
- className: "group flex w-full flex-row items-center space-x-4 text-left hover:bg-muted rounded-lg p-2 -ml-2 lg:space-x-4 lg:border-0",
58559
+ className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 text-left hover:bg-muted",
58560
58560
  children: [
58561
58561
  /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: subpage.icon, size: 16 }),
58562
58562
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 text-sm font-medium", children: subpage.title }),
@@ -58581,51 +58581,51 @@ var ProductsMenu = ({
58581
58581
  productCategories,
58582
58582
  featuredHeroCard,
58583
58583
  optixFlowConfig
58584
- }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid max-w-full gap-y-12 lg:flex lg:space-x-8", children: [
58585
- featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:max-w-[24rem]", children: /* @__PURE__ */ jsxRuntime.jsx(
58584
+ }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-8 lg:flex-row", children: [
58585
+ featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:w-80", children: /* @__PURE__ */ jsxRuntime.jsxs(
58586
58586
  Pressable,
58587
58587
  {
58588
58588
  href: featuredHeroCard.href,
58589
58589
  className: cn(
58590
- "group relative flex h-full flex-row overflow-hidden rounded-lg px-0 text-primary-foreground lg:rounded-xl",
58590
+ "group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
58591
58591
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
58592
58592
  ),
58593
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full flex-col text-left", children: [
58594
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex aspect-2/1 max-h-48 w-full flex-1 justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
58593
+ children: [
58594
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-video w-full overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
58595
58595
  img.Img,
58596
58596
  {
58597
58597
  src: featuredHeroCard.image,
58598
58598
  alt: featuredHeroCard.title,
58599
- className: "h-full w-full object-cover object-center",
58599
+ className: "h-full w-full object-cover",
58600
58600
  optixFlowConfig
58601
58601
  }
58602
58602
  ) }),
58603
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-20 flex flex-col rounded-b-xl bg-primary p-6", children: [
58604
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-1 text-base font-semibold", children: [
58603
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-6", children: [
58604
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
58605
58605
  featuredHeroCard.title,
58606
58606
  /* @__PURE__ */ jsxRuntime.jsx(
58607
58607
  DynamicIcon,
58608
58608
  {
58609
58609
  name: "lucide/arrow-right",
58610
58610
  size: 18,
58611
- className: "ml-1 transition-transform group-hover:translate-x-1"
58611
+ className: "transition-transform group-hover:translate-x-1"
58612
58612
  }
58613
58613
  )
58614
58614
  ] }),
58615
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-3 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
58615
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
58616
58616
  ] })
58617
- ] })
58617
+ ]
58618
58618
  }
58619
58619
  ) }),
58620
- productCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid w-full gap-y-12 overflow-hidden lg:gap-y-6", children: productCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid w-full gap-y-2 lg:gap-y-6", children: [
58621
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-border text-left lg:border-b lg:pb-3", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: category.title }) }),
58622
- /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid w-full auto-cols-fr md:grid-cols-3 md:gap-x-5 lg:gap-y-7", children: category.products.map((product) => /* @__PURE__ */ jsxRuntime.jsxs(
58620
+ productCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-1 flex-col gap-8", children: productCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4", children: [
58621
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-border pb-2 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: category.title }) }),
58622
+ /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid gap-4 md:grid-cols-2 lg:grid-cols-3", children: category.products.map((product) => /* @__PURE__ */ jsxRuntime.jsxs(
58623
58623
  NavigationMenuLink,
58624
58624
  {
58625
58625
  href: product.href,
58626
- className: "group flex w-full flex-row items-center space-x-4 border-b border-border py-5 text-left hover:bg-muted rounded-lg px-2 -ml-2 sm:py-7 lg:border-0 lg:py-2",
58626
+ className: "group -ml-2 flex items-center gap-4 rounded-lg p-2 text-left hover:bg-muted",
58627
58627
  children: [
58628
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex aspect-square w-16 shrink-0 items-center justify-center overflow-clip rounded md:size-16", children: /* @__PURE__ */ jsxRuntime.jsx(
58628
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex size-14 shrink-0 items-center justify-center overflow-hidden rounded", children: /* @__PURE__ */ jsxRuntime.jsx(
58629
58629
  img.Img,
58630
58630
  {
58631
58631
  src: product.image,
@@ -58636,7 +58636,7 @@ var ProductsMenu = ({
58636
58636
  ) }),
58637
58637
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
58638
58638
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: product.title }),
58639
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: product.description })
58639
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: product.description })
58640
58640
  ] }),
58641
58641
  /* @__PURE__ */ jsxRuntime.jsx(
58642
58642
  DynamicIcon,
@@ -58657,55 +58657,55 @@ var GlobalMenu = ({
58657
58657
  regions,
58658
58658
  featuredHeroCard,
58659
58659
  optixFlowConfig
58660
- }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-full overflow-hidden", children: [
58661
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-6 lg:flex lg:space-y-0 lg:space-x-8", children: [
58662
- featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:max-w-[18rem]", children: /* @__PURE__ */ jsxRuntime.jsx(
58660
+ }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
58661
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 lg:flex-row", children: [
58662
+ featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:w-72", children: /* @__PURE__ */ jsxRuntime.jsxs(
58663
58663
  Pressable,
58664
58664
  {
58665
58665
  href: featuredHeroCard.href,
58666
58666
  className: cn(
58667
- "group relative flex h-full flex-row overflow-hidden rounded-lg p-0 text-primary-foreground lg:rounded-xl",
58667
+ "group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
58668
58668
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
58669
58669
  ),
58670
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left lg:flex-col", children: [
58671
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex aspect-4/3 max-h-48 w-full flex-1 justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
58670
+ children: [
58671
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-[4/3] w-full overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
58672
58672
  img.Img,
58673
58673
  {
58674
58674
  src: featuredHeroCard.image,
58675
58675
  alt: featuredHeroCard.title,
58676
- className: "h-full w-full object-cover object-center",
58676
+ className: "h-full w-full object-cover",
58677
58677
  optixFlowConfig
58678
58678
  }
58679
58679
  ) }),
58680
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-20 flex flex-col rounded-b-xl bg-primary p-6", children: [
58681
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-1 text-base font-semibold", children: [
58680
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-6", children: [
58681
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
58682
58682
  featuredHeroCard.title,
58683
58683
  /* @__PURE__ */ jsxRuntime.jsx(
58684
58684
  DynamicIcon,
58685
58685
  {
58686
58686
  name: "lucide/arrow-right",
58687
58687
  size: 18,
58688
- className: "ml-1 transition-transform group-hover:translate-x-1"
58688
+ className: "transition-transform group-hover:translate-x-1"
58689
58689
  }
58690
58690
  )
58691
58691
  ] }),
58692
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-3 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
58692
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
58693
58693
  ] })
58694
- ] })
58694
+ ]
58695
58695
  }
58696
58696
  ) }),
58697
- featureCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid w-full gap-y-12 overflow-hidden lg:gap-y-6", children: featureCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid w-full gap-y-2 lg:gap-y-6", children: [
58698
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-border text-left lg:border-b lg:pb-3", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: category.title }) }),
58699
- /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid w-full auto-cols-fr md:grid-cols-3 md:gap-x-6 lg:gap-y-6", children: category.features.map((feature) => /* @__PURE__ */ jsxRuntime.jsxs(
58697
+ featureCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-1 flex-col gap-8", children: featureCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4", children: [
58698
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-border pb-2 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: category.title }) }),
58699
+ /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid gap-4 md:grid-cols-2 lg:grid-cols-3", children: category.features.map((feature) => /* @__PURE__ */ jsxRuntime.jsxs(
58700
58700
  NavigationMenuLink,
58701
58701
  {
58702
58702
  href: feature.href,
58703
- className: "group flex w-full flex-row items-center space-x-4 border-b border-border py-5 text-left hover:bg-muted rounded-lg px-2 -ml-2 sm:py-7 lg:border-0 lg:py-0",
58703
+ className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 text-left hover:bg-muted",
58704
58704
  children: [
58705
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex aspect-square size-9 shrink-0 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: feature.icon, size: 20 }) }),
58705
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-9 shrink-0 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: feature.icon, size: 20 }) }),
58706
58706
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
58707
58707
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: feature.title }),
58708
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: feature.description })
58708
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: feature.description })
58709
58709
  ] }),
58710
58710
  /* @__PURE__ */ jsxRuntime.jsx(
58711
58711
  DynamicIcon,
@@ -58722,18 +58722,18 @@ var GlobalMenu = ({
58722
58722
  ] }, category.title)) })
58723
58723
  ] }),
58724
58724
  regions.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8", children: [
58725
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-6 border-border pb-1 text-left lg:border-b", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Popular Locations" }) }),
58726
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid w-full gap-6 md:grid-cols-3 lg:grid-cols-4", children: regions.map((region) => /* @__PURE__ */ jsxRuntime.jsxs(
58725
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 border-b border-border pb-2 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Popular Locations" }) }),
58726
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-6 md:grid-cols-3 lg:grid-cols-4", children: regions.map((region) => /* @__PURE__ */ jsxRuntime.jsxs(
58727
58727
  "div",
58728
58728
  {
58729
- className: "flex w-full flex-col space-y-6 rounded-md border border-border p-6 lg:border-0 lg:p-0",
58729
+ className: "flex flex-col gap-4",
58730
58730
  children: [
58731
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-left text-xs text-muted-foreground", children: region.title }),
58732
- /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid w-full gap-y-3 border-t border-border pt-6 lg:border-0 lg:pt-0", children: region.locations.map((location) => /* @__PURE__ */ jsxRuntime.jsxs(
58731
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-left text-xs font-medium text-muted-foreground", children: region.title }),
58732
+ /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid gap-2", children: region.locations.map((location) => /* @__PURE__ */ jsxRuntime.jsxs(
58733
58733
  NavigationMenuLink,
58734
58734
  {
58735
58735
  href: location.href,
58736
- className: "group flex w-full flex-row items-center space-x-4 text-left hover:bg-muted rounded-lg p-2 -ml-2 lg:space-x-4 lg:border-0 lg:py-0",
58736
+ className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 text-left hover:bg-muted",
58737
58737
  children: [
58738
58738
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-4 shrink-0 items-center justify-center", children: location.icon }),
58739
58739
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 min-w-0 text-sm font-medium", children: location.title }),
@@ -58759,63 +58759,57 @@ var PartnersMenu = ({
58759
58759
  partnerCards,
58760
58760
  featuredHeroCard,
58761
58761
  optixFlowConfig
58762
- }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid max-w-full gap-y-6 md:grid-cols-2 md:gap-x-6 lg:grid-cols-4", children: [
58763
- featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "md:col-span-2", children: /* @__PURE__ */ jsxRuntime.jsx(
58762
+ }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-6 md:grid-cols-2 lg:grid-cols-[2fr_1fr]", children: [
58763
+ featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(
58764
58764
  Pressable,
58765
58765
  {
58766
58766
  href: featuredHeroCard.href,
58767
58767
  className: cn(
58768
- "group relative flex h-full flex-row overflow-hidden rounded-lg p-0 text-primary-foreground lg:rounded-xl",
58768
+ "group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
58769
58769
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
58770
58770
  ),
58771
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left", children: [
58772
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-20 flex flex-col px-6 pt-6 pb-56 md:pt-40 md:pb-6", children: [
58773
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto flex items-center space-x-1 text-base font-semibold", children: [
58771
+ children: [
58772
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-video w-full overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
58773
+ img.Img,
58774
+ {
58775
+ src: featuredHeroCard.image,
58776
+ alt: featuredHeroCard.title,
58777
+ className: cn(
58778
+ "h-full w-full object-cover",
58779
+ featuredHeroCard.imagePosition === "background" && "invert"
58780
+ ),
58781
+ optixFlowConfig
58782
+ }
58783
+ ) }),
58784
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-6", children: [
58785
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
58774
58786
  featuredHeroCard.title,
58775
58787
  /* @__PURE__ */ jsxRuntime.jsx(
58776
58788
  DynamicIcon,
58777
58789
  {
58778
58790
  name: "lucide/arrow-right",
58779
58791
  size: 18,
58780
- className: "ml-1 transition-transform group-hover:translate-x-1"
58792
+ className: "transition-transform group-hover:translate-x-1"
58781
58793
  }
58782
58794
  )
58783
58795
  ] }),
58784
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-3 text-sm leading-relaxed", children: featuredHeroCard.description })
58785
- ] }),
58786
- /* @__PURE__ */ jsxRuntime.jsx(
58787
- "div",
58788
- {
58789
- className: cn(
58790
- "absolute inset-0 top-[32%] md:top-0",
58791
- featuredHeroCard.imagePosition === "background" && "bg-accent invert"
58792
- ),
58793
- children: /* @__PURE__ */ jsxRuntime.jsx(
58794
- img.Img,
58795
- {
58796
- src: featuredHeroCard.image,
58797
- alt: featuredHeroCard.title,
58798
- className: "object-fit h-full w-full object-top-right opacity-100 md:h-2/3 md:object-top",
58799
- optixFlowConfig
58800
- }
58801
- )
58802
- }
58803
- )
58804
- ] })
58796
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm leading-relaxed", children: featuredHeroCard.description })
58797
+ ] })
58798
+ ]
58805
58799
  }
58806
58800
  ) }),
58807
- partnerCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid w-full gap-4 md:col-span-2 lg:col-span-2", children: partnerCards.map((card) => /* @__PURE__ */ jsxRuntime.jsx(
58801
+ partnerCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-4", children: partnerCards.map((card) => /* @__PURE__ */ jsxRuntime.jsxs(
58808
58802
  NavigationMenuLink,
58809
58803
  {
58810
58804
  href: card.href,
58811
- className: "group flex w-full flex-row items-center rounded-lg border border-border hover:bg-muted lg:rounded-xl",
58812
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-start p-6 text-left", children: [
58805
+ className: "group flex items-start gap-4 rounded-lg border border-border p-4 hover:bg-muted",
58806
+ children: [
58813
58807
  /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: card.icon, size: 32, className: "shrink-0" }),
58814
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ml-4 flex-1 min-w-0", children: [
58815
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-auto mb-1 text-sm font-bold", children: card.title }),
58816
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: card.description })
58808
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
58809
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-bold", children: card.title }),
58810
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: card.description })
58817
58811
  ] })
58818
- ] })
58812
+ ]
58819
58813
  },
58820
58814
  card.title
58821
58815
  )) })
@@ -58824,74 +58818,73 @@ var ResourcesMenu = ({
58824
58818
  resourceItems,
58825
58819
  topicGroups,
58826
58820
  featuredHeroCard
58827
- }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid max-w-full gap-8 lg:grid-cols-3", children: [
58828
- featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "lg:col-span-1", children: /* @__PURE__ */ jsxRuntime.jsx(
58821
+ }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-6 lg:grid-cols-[280px_1fr_200px]", children: [
58822
+ featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(
58829
58823
  Pressable,
58830
58824
  {
58831
58825
  href: featuredHeroCard.href,
58832
58826
  className: cn(
58833
- "group relative flex h-full flex-row overflow-hidden rounded-lg p-0 text-primary-foreground lg:rounded-xl",
58827
+ "group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
58834
58828
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
58835
58829
  ),
58836
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left", children: [
58837
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-20 flex flex-col px-6 pt-6 pb-56 md:pt-40 md:pb-6", children: [
58838
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto flex items-center space-x-1 text-base font-semibold", children: [
58830
+ children: [
58831
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-[4/3] w-full overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
58832
+ img.Img,
58833
+ {
58834
+ src: featuredHeroCard.image,
58835
+ alt: featuredHeroCard.title,
58836
+ className: "h-full w-full object-cover invert"
58837
+ }
58838
+ ) }),
58839
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-6", children: [
58840
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
58839
58841
  featuredHeroCard.title,
58840
58842
  /* @__PURE__ */ jsxRuntime.jsx(
58841
58843
  DynamicIcon,
58842
58844
  {
58843
58845
  name: "lucide/arrow-right",
58844
58846
  size: 18,
58845
- className: "ml-1 transition-transform group-hover:translate-x-1"
58847
+ className: "transition-transform group-hover:translate-x-1"
58846
58848
  }
58847
58849
  )
58848
58850
  ] }),
58849
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-3 text-sm leading-relaxed", children: featuredHeroCard.description })
58850
- ] }),
58851
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0", children: /* @__PURE__ */ jsxRuntime.jsx(
58852
- img.Img,
58853
- {
58854
- src: featuredHeroCard.image,
58855
- alt: featuredHeroCard.title,
58856
- className: "h-full w-full object-cover object-center invert"
58857
- }
58858
- ) }),
58859
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-x-0 top-0 z-10 h-[60%] bg-[linear-gradient(hsl(var(--color-primary))_50%,transparent)] md:top-auto md:bottom-[-10%] md:h-[50%] md:bg-[linear-gradient(transparent,hsl(var(--color-primary))_50%)]" })
58860
- ] })
58851
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm leading-relaxed", children: featuredHeroCard.description })
58852
+ ] })
58853
+ ]
58861
58854
  }
58862
58855
  ) }),
58863
- resourceItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(featuredHeroCard ? "lg:col-span-1" : "lg:col-span-2", "overflow-hidden"), children: [
58864
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-6 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Resources" }) }),
58865
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid w-full gap-4 md:grid-cols-2 lg:grid-cols-2", children: resourceItems.map((resource) => /* @__PURE__ */ jsxRuntime.jsxs(
58856
+ resourceItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
58857
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Resources" }) }),
58858
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-3 md:grid-cols-2", children: resourceItems.map((resource) => /* @__PURE__ */ jsxRuntime.jsxs(
58866
58859
  NavigationMenuLink,
58867
58860
  {
58868
58861
  href: resource.href,
58869
- className: "group flex w-full flex-row items-start gap-4 rounded-lg border border-border p-4 hover:bg-muted",
58862
+ className: "group -ml-2 flex items-start gap-3 rounded-lg border border-border p-3 hover:bg-muted",
58870
58863
  children: [
58871
58864
  /* @__PURE__ */ jsxRuntime.jsx(
58872
58865
  DynamicIcon,
58873
58866
  {
58874
58867
  name: resource.icon,
58875
58868
  size: 20,
58876
- className: "mt-1 shrink-0"
58869
+ className: "mt-0.5 shrink-0"
58877
58870
  }
58878
58871
  ),
58879
58872
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
58880
58873
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: resource.title }),
58881
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: resource.description })
58874
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: resource.description })
58882
58875
  ] })
58883
58876
  ]
58884
58877
  },
58885
58878
  resource.id
58886
58879
  )) })
58887
58880
  ] }),
58888
- topicGroups.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "lg:col-span-1", children: topicGroups.map((group) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-8 last:mb-0", children: [
58889
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: group.title }) }),
58890
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: group.topics.map((topic) => /* @__PURE__ */ jsxRuntime.jsxs(
58881
+ topicGroups.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { children: topicGroups.map((group) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-6 last:mb-0", children: [
58882
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3 text-left", children: /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: group.title }) }),
58883
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2", children: group.topics.map((topic) => /* @__PURE__ */ jsxRuntime.jsxs(
58891
58884
  NavigationMenuLink,
58892
58885
  {
58893
58886
  href: topic.href,
58894
- className: "group flex flex-row items-center gap-3 hover:bg-muted rounded-lg p-2 -ml-2",
58887
+ className: "group -ml-2 flex items-center gap-2 rounded-lg p-2 hover:bg-muted",
58895
58888
  children: [
58896
58889
  /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: topic.icon, size: 16, className: "shrink-0" }),
58897
58890
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 text-sm font-medium", children: topic.title })