@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.
@@ -1475,7 +1475,7 @@ var DesktopMenuItem = ({
1475
1475
  if (hasDropdown) {
1476
1476
  return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
1477
1477
  /* @__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 }),
1478
- /* @__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(
1478
+ /* @__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(
1479
1479
  { ...item, layout: effectiveLayout },
1480
1480
  optixFlowConfig
1481
1481
  ) }) }) })
@@ -1548,50 +1548,50 @@ var SolutionsMenu = ({
1548
1548
  platformItems,
1549
1549
  featuredHeroCard,
1550
1550
  optixFlowConfig
1551
- }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid max-w-full gap-8 sm:grid-cols-2", children: [
1551
+ }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-6 sm:grid-cols-2", children: [
1552
1552
  featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx(
1553
1553
  Pressable,
1554
1554
  {
1555
1555
  href: featuredHeroCard.href,
1556
1556
  className: cn(
1557
- "group relative flex h-full flex-row overflow-hidden rounded-lg px-0 pt-8 text-primary-foreground lg:rounded-xl lg:px-6",
1557
+ "group relative flex h-full overflow-hidden rounded-lg text-primary-foreground",
1558
1558
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
1559
1559
  ),
1560
- 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: [
1561
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex flex-col px-6 lg:mb-6 lg:px-0 lg:flex-1", children: [
1562
- featuredHeroCard.subtitle && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-4 text-xs font-medium tracking-wider uppercase md:mb-6", children: featuredHeroCard.subtitle }),
1563
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto flex items-center space-x-1 text-base font-semibold", children: [
1560
+ 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: [
1561
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col justify-center", children: [
1562
+ featuredHeroCard.subtitle && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-3 text-xs font-medium tracking-wider uppercase", children: featuredHeroCard.subtitle }),
1563
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
1564
1564
  featuredHeroCard.title,
1565
1565
  /* @__PURE__ */ jsxRuntime.jsx(
1566
1566
  DynamicIcon,
1567
1567
  {
1568
1568
  name: "lucide/arrow-right",
1569
1569
  size: 18,
1570
- className: "ml-1 transition-transform group-hover:translate-x-1"
1570
+ className: "transition-transform group-hover:translate-x-1"
1571
1571
  }
1572
1572
  )
1573
1573
  ] }),
1574
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-3 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
1574
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
1575
1575
  ] }),
1576
- /* @__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(
1576
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative w-full shrink-0 overflow-hidden rounded lg:w-48 xl:w-56", children: /* @__PURE__ */ jsxRuntime.jsx(
1577
1577
  img.Img,
1578
1578
  {
1579
1579
  src: featuredHeroCard.image,
1580
1580
  alt: featuredHeroCard.title,
1581
- className: "aspect-2/1 h-full w-full translate-y-px object-cover object-center",
1581
+ className: "aspect-video w-full object-cover",
1582
1582
  optixFlowConfig
1583
1583
  }
1584
1584
  ) })
1585
1585
  ] })
1586
1586
  }
1587
1587
  ),
1588
- 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: [
1589
- /* @__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" }) }),
1590
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid w-full gap-4 lg:grid-cols-2", children: platformItems.map((technology) => /* @__PURE__ */ jsxRuntime.jsxs(
1588
+ platformItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1589
+ /* @__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" }) }),
1590
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-3 lg:grid-cols-2", children: platformItems.map((technology) => /* @__PURE__ */ jsxRuntime.jsxs(
1591
1591
  NavigationMenuLink,
1592
1592
  {
1593
1593
  href: technology.href,
1594
- className: "group flex w-full flex-row items-center gap-4 hover:bg-muted rounded-lg p-2 -ml-2",
1594
+ className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 hover:bg-muted",
1595
1595
  children: [
1596
1596
  /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: technology.icon, size: 16 }),
1597
1597
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 text-sm font-medium", children: technology.title }),
@@ -1608,25 +1608,25 @@ var SolutionsMenu = ({
1608
1608
  technology.id
1609
1609
  )) })
1610
1610
  ] }),
1611
- 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(
1611
+ 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(
1612
1612
  "div",
1613
1613
  {
1614
- className: "flex flex-col rounded-md border border-border p-5",
1614
+ className: "flex flex-col rounded-lg border border-border p-4",
1615
1615
  children: [
1616
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-border pb-4", children: /* @__PURE__ */ jsxRuntime.jsxs(
1616
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-border pb-3", children: /* @__PURE__ */ jsxRuntime.jsxs(
1617
1617
  Pressable,
1618
1618
  {
1619
1619
  href: solution.href,
1620
1620
  className: "group flex flex-col text-left",
1621
1621
  children: [
1622
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center", children: [
1622
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1", children: [
1623
1623
  /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-sm font-medium", children: solution.title }),
1624
1624
  /* @__PURE__ */ jsxRuntime.jsx(
1625
1625
  DynamicIcon,
1626
1626
  {
1627
1627
  name: "lucide/arrow-right",
1628
1628
  size: 16,
1629
- className: "ml-1 transition-transform group-hover:translate-x-1"
1629
+ className: "transition-transform group-hover:translate-x-1"
1630
1630
  }
1631
1631
  )
1632
1632
  ] }),
@@ -1634,11 +1634,11 @@ var SolutionsMenu = ({
1634
1634
  ]
1635
1635
  }
1636
1636
  ) }),
1637
- /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "mt-6 grid w-full gap-y-4", children: solution.subpages.map((subpage) => /* @__PURE__ */ jsxRuntime.jsxs(
1637
+ /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "mt-4 grid gap-3", children: solution.subpages.map((subpage) => /* @__PURE__ */ jsxRuntime.jsxs(
1638
1638
  NavigationMenuLink,
1639
1639
  {
1640
1640
  href: subpage.href,
1641
- 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",
1641
+ className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 text-left hover:bg-muted",
1642
1642
  children: [
1643
1643
  /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: subpage.icon, size: 16 }),
1644
1644
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 text-sm font-medium", children: subpage.title }),
@@ -1663,51 +1663,51 @@ var ProductsMenu = ({
1663
1663
  productCategories,
1664
1664
  featuredHeroCard,
1665
1665
  optixFlowConfig
1666
- }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid max-w-full gap-y-12 lg:flex lg:space-x-8", children: [
1667
- featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:max-w-[24rem]", children: /* @__PURE__ */ jsxRuntime.jsx(
1666
+ }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-8 lg:flex-row", children: [
1667
+ featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:w-80", children: /* @__PURE__ */ jsxRuntime.jsxs(
1668
1668
  Pressable,
1669
1669
  {
1670
1670
  href: featuredHeroCard.href,
1671
1671
  className: cn(
1672
- "group relative flex h-full flex-row overflow-hidden rounded-lg px-0 text-primary-foreground lg:rounded-xl",
1672
+ "group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
1673
1673
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
1674
1674
  ),
1675
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full flex-col text-left", children: [
1676
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex aspect-2/1 max-h-48 w-full flex-1 justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
1675
+ children: [
1676
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-video w-full overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
1677
1677
  img.Img,
1678
1678
  {
1679
1679
  src: featuredHeroCard.image,
1680
1680
  alt: featuredHeroCard.title,
1681
- className: "h-full w-full object-cover object-center",
1681
+ className: "h-full w-full object-cover",
1682
1682
  optixFlowConfig
1683
1683
  }
1684
1684
  ) }),
1685
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-20 flex flex-col rounded-b-xl bg-primary p-6", children: [
1686
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-1 text-base font-semibold", children: [
1685
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-6", children: [
1686
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
1687
1687
  featuredHeroCard.title,
1688
1688
  /* @__PURE__ */ jsxRuntime.jsx(
1689
1689
  DynamicIcon,
1690
1690
  {
1691
1691
  name: "lucide/arrow-right",
1692
1692
  size: 18,
1693
- className: "ml-1 transition-transform group-hover:translate-x-1"
1693
+ className: "transition-transform group-hover:translate-x-1"
1694
1694
  }
1695
1695
  )
1696
1696
  ] }),
1697
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-3 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
1697
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
1698
1698
  ] })
1699
- ] })
1699
+ ]
1700
1700
  }
1701
1701
  ) }),
1702
- 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: [
1703
- /* @__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 }) }),
1704
- /* @__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(
1702
+ 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: [
1703
+ /* @__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 }) }),
1704
+ /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid gap-4 md:grid-cols-2 lg:grid-cols-3", children: category.products.map((product) => /* @__PURE__ */ jsxRuntime.jsxs(
1705
1705
  NavigationMenuLink,
1706
1706
  {
1707
1707
  href: product.href,
1708
- 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",
1708
+ className: "group -ml-2 flex items-center gap-4 rounded-lg p-2 text-left hover:bg-muted",
1709
1709
  children: [
1710
- /* @__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(
1710
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex size-14 shrink-0 items-center justify-center overflow-hidden rounded", children: /* @__PURE__ */ jsxRuntime.jsx(
1711
1711
  img.Img,
1712
1712
  {
1713
1713
  src: product.image,
@@ -1718,7 +1718,7 @@ var ProductsMenu = ({
1718
1718
  ) }),
1719
1719
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
1720
1720
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: product.title }),
1721
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: product.description })
1721
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: product.description })
1722
1722
  ] }),
1723
1723
  /* @__PURE__ */ jsxRuntime.jsx(
1724
1724
  DynamicIcon,
@@ -1739,55 +1739,55 @@ var GlobalMenu = ({
1739
1739
  regions,
1740
1740
  featuredHeroCard,
1741
1741
  optixFlowConfig
1742
- }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-full overflow-hidden", children: [
1743
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-6 lg:flex lg:space-y-0 lg:space-x-8", children: [
1744
- featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:max-w-[18rem]", children: /* @__PURE__ */ jsxRuntime.jsx(
1742
+ }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1743
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 lg:flex-row", children: [
1744
+ featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:w-72", children: /* @__PURE__ */ jsxRuntime.jsxs(
1745
1745
  Pressable,
1746
1746
  {
1747
1747
  href: featuredHeroCard.href,
1748
1748
  className: cn(
1749
- "group relative flex h-full flex-row overflow-hidden rounded-lg p-0 text-primary-foreground lg:rounded-xl",
1749
+ "group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
1750
1750
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
1751
1751
  ),
1752
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left lg:flex-col", children: [
1753
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex aspect-4/3 max-h-48 w-full flex-1 justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
1752
+ children: [
1753
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-[4/3] w-full overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
1754
1754
  img.Img,
1755
1755
  {
1756
1756
  src: featuredHeroCard.image,
1757
1757
  alt: featuredHeroCard.title,
1758
- className: "h-full w-full object-cover object-center",
1758
+ className: "h-full w-full object-cover",
1759
1759
  optixFlowConfig
1760
1760
  }
1761
1761
  ) }),
1762
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-20 flex flex-col rounded-b-xl bg-primary p-6", children: [
1763
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-1 text-base font-semibold", children: [
1762
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-6", children: [
1763
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
1764
1764
  featuredHeroCard.title,
1765
1765
  /* @__PURE__ */ jsxRuntime.jsx(
1766
1766
  DynamicIcon,
1767
1767
  {
1768
1768
  name: "lucide/arrow-right",
1769
1769
  size: 18,
1770
- className: "ml-1 transition-transform group-hover:translate-x-1"
1770
+ className: "transition-transform group-hover:translate-x-1"
1771
1771
  }
1772
1772
  )
1773
1773
  ] }),
1774
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-3 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
1774
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
1775
1775
  ] })
1776
- ] })
1776
+ ]
1777
1777
  }
1778
1778
  ) }),
1779
- 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: [
1780
- /* @__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 }) }),
1781
- /* @__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(
1779
+ 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: [
1780
+ /* @__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 }) }),
1781
+ /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid gap-4 md:grid-cols-2 lg:grid-cols-3", children: category.features.map((feature) => /* @__PURE__ */ jsxRuntime.jsxs(
1782
1782
  NavigationMenuLink,
1783
1783
  {
1784
1784
  href: feature.href,
1785
- 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",
1785
+ className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 text-left hover:bg-muted",
1786
1786
  children: [
1787
- /* @__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 }) }),
1787
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-9 shrink-0 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: feature.icon, size: 20 }) }),
1788
1788
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
1789
1789
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: feature.title }),
1790
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: feature.description })
1790
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: feature.description })
1791
1791
  ] }),
1792
1792
  /* @__PURE__ */ jsxRuntime.jsx(
1793
1793
  DynamicIcon,
@@ -1804,18 +1804,18 @@ var GlobalMenu = ({
1804
1804
  ] }, category.title)) })
1805
1805
  ] }),
1806
1806
  regions.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8", children: [
1807
- /* @__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" }) }),
1808
- /* @__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(
1807
+ /* @__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" }) }),
1808
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-6 md:grid-cols-3 lg:grid-cols-4", children: regions.map((region) => /* @__PURE__ */ jsxRuntime.jsxs(
1809
1809
  "div",
1810
1810
  {
1811
- className: "flex w-full flex-col space-y-6 rounded-md border border-border p-6 lg:border-0 lg:p-0",
1811
+ className: "flex flex-col gap-4",
1812
1812
  children: [
1813
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-left text-xs text-muted-foreground", children: region.title }),
1814
- /* @__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(
1813
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-left text-xs font-medium text-muted-foreground", children: region.title }),
1814
+ /* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid gap-2", children: region.locations.map((location) => /* @__PURE__ */ jsxRuntime.jsxs(
1815
1815
  NavigationMenuLink,
1816
1816
  {
1817
1817
  href: location.href,
1818
- 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",
1818
+ className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 text-left hover:bg-muted",
1819
1819
  children: [
1820
1820
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-4 shrink-0 items-center justify-center", children: location.icon }),
1821
1821
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 min-w-0 text-sm font-medium", children: location.title }),
@@ -1841,63 +1841,57 @@ var PartnersMenu = ({
1841
1841
  partnerCards,
1842
1842
  featuredHeroCard,
1843
1843
  optixFlowConfig
1844
- }) => /* @__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: [
1845
- featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "md:col-span-2", children: /* @__PURE__ */ jsxRuntime.jsx(
1844
+ }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-6 md:grid-cols-2 lg:grid-cols-[2fr_1fr]", children: [
1845
+ featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(
1846
1846
  Pressable,
1847
1847
  {
1848
1848
  href: featuredHeroCard.href,
1849
1849
  className: cn(
1850
- "group relative flex h-full flex-row overflow-hidden rounded-lg p-0 text-primary-foreground lg:rounded-xl",
1850
+ "group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
1851
1851
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
1852
1852
  ),
1853
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left", children: [
1854
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-20 flex flex-col px-6 pt-6 pb-56 md:pt-40 md:pb-6", children: [
1855
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto flex items-center space-x-1 text-base font-semibold", children: [
1853
+ children: [
1854
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-video w-full overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
1855
+ img.Img,
1856
+ {
1857
+ src: featuredHeroCard.image,
1858
+ alt: featuredHeroCard.title,
1859
+ className: cn(
1860
+ "h-full w-full object-cover",
1861
+ featuredHeroCard.imagePosition === "background" && "invert"
1862
+ ),
1863
+ optixFlowConfig
1864
+ }
1865
+ ) }),
1866
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-6", children: [
1867
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
1856
1868
  featuredHeroCard.title,
1857
1869
  /* @__PURE__ */ jsxRuntime.jsx(
1858
1870
  DynamicIcon,
1859
1871
  {
1860
1872
  name: "lucide/arrow-right",
1861
1873
  size: 18,
1862
- className: "ml-1 transition-transform group-hover:translate-x-1"
1874
+ className: "transition-transform group-hover:translate-x-1"
1863
1875
  }
1864
1876
  )
1865
1877
  ] }),
1866
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-3 text-sm leading-relaxed", children: featuredHeroCard.description })
1867
- ] }),
1868
- /* @__PURE__ */ jsxRuntime.jsx(
1869
- "div",
1870
- {
1871
- className: cn(
1872
- "absolute inset-0 top-[32%] md:top-0",
1873
- featuredHeroCard.imagePosition === "background" && "bg-accent invert"
1874
- ),
1875
- children: /* @__PURE__ */ jsxRuntime.jsx(
1876
- img.Img,
1877
- {
1878
- src: featuredHeroCard.image,
1879
- alt: featuredHeroCard.title,
1880
- className: "object-fit h-full w-full object-top-right opacity-100 md:h-2/3 md:object-top",
1881
- optixFlowConfig
1882
- }
1883
- )
1884
- }
1885
- )
1886
- ] })
1878
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm leading-relaxed", children: featuredHeroCard.description })
1879
+ ] })
1880
+ ]
1887
1881
  }
1888
1882
  ) }),
1889
- 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(
1883
+ partnerCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-4", children: partnerCards.map((card) => /* @__PURE__ */ jsxRuntime.jsxs(
1890
1884
  NavigationMenuLink,
1891
1885
  {
1892
1886
  href: card.href,
1893
- className: "group flex w-full flex-row items-center rounded-lg border border-border hover:bg-muted lg:rounded-xl",
1894
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-start p-6 text-left", children: [
1887
+ className: "group flex items-start gap-4 rounded-lg border border-border p-4 hover:bg-muted",
1888
+ children: [
1895
1889
  /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: card.icon, size: 32, className: "shrink-0" }),
1896
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ml-4 flex-1 min-w-0", children: [
1897
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-auto mb-1 text-sm font-bold", children: card.title }),
1898
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: card.description })
1890
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
1891
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-bold", children: card.title }),
1892
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: card.description })
1899
1893
  ] })
1900
- ] })
1894
+ ]
1901
1895
  },
1902
1896
  card.title
1903
1897
  )) })
@@ -1906,74 +1900,73 @@ var ResourcesMenu = ({
1906
1900
  resourceItems,
1907
1901
  topicGroups,
1908
1902
  featuredHeroCard
1909
- }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid max-w-full gap-8 lg:grid-cols-3", children: [
1910
- featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "lg:col-span-1", children: /* @__PURE__ */ jsxRuntime.jsx(
1903
+ }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-6 lg:grid-cols-[280px_1fr_200px]", children: [
1904
+ featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(
1911
1905
  Pressable,
1912
1906
  {
1913
1907
  href: featuredHeroCard.href,
1914
1908
  className: cn(
1915
- "group relative flex h-full flex-row overflow-hidden rounded-lg p-0 text-primary-foreground lg:rounded-xl",
1909
+ "group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
1916
1910
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
1917
1911
  ),
1918
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left", children: [
1919
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-20 flex flex-col px-6 pt-6 pb-56 md:pt-40 md:pb-6", children: [
1920
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto flex items-center space-x-1 text-base font-semibold", children: [
1912
+ children: [
1913
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-[4/3] w-full overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
1914
+ img.Img,
1915
+ {
1916
+ src: featuredHeroCard.image,
1917
+ alt: featuredHeroCard.title,
1918
+ className: "h-full w-full object-cover invert"
1919
+ }
1920
+ ) }),
1921
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-6", children: [
1922
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
1921
1923
  featuredHeroCard.title,
1922
1924
  /* @__PURE__ */ jsxRuntime.jsx(
1923
1925
  DynamicIcon,
1924
1926
  {
1925
1927
  name: "lucide/arrow-right",
1926
1928
  size: 18,
1927
- className: "ml-1 transition-transform group-hover:translate-x-1"
1929
+ className: "transition-transform group-hover:translate-x-1"
1928
1930
  }
1929
1931
  )
1930
1932
  ] }),
1931
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-3 text-sm leading-relaxed", children: featuredHeroCard.description })
1932
- ] }),
1933
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0", children: /* @__PURE__ */ jsxRuntime.jsx(
1934
- img.Img,
1935
- {
1936
- src: featuredHeroCard.image,
1937
- alt: featuredHeroCard.title,
1938
- className: "h-full w-full object-cover object-center invert"
1939
- }
1940
- ) }),
1941
- /* @__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%)]" })
1942
- ] })
1933
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm leading-relaxed", children: featuredHeroCard.description })
1934
+ ] })
1935
+ ]
1943
1936
  }
1944
1937
  ) }),
1945
- resourceItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(featuredHeroCard ? "lg:col-span-1" : "lg:col-span-2", "overflow-hidden"), children: [
1946
- /* @__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" }) }),
1947
- /* @__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(
1938
+ resourceItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1939
+ /* @__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" }) }),
1940
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-3 md:grid-cols-2", children: resourceItems.map((resource) => /* @__PURE__ */ jsxRuntime.jsxs(
1948
1941
  NavigationMenuLink,
1949
1942
  {
1950
1943
  href: resource.href,
1951
- className: "group flex w-full flex-row items-start gap-4 rounded-lg border border-border p-4 hover:bg-muted",
1944
+ className: "group -ml-2 flex items-start gap-3 rounded-lg border border-border p-3 hover:bg-muted",
1952
1945
  children: [
1953
1946
  /* @__PURE__ */ jsxRuntime.jsx(
1954
1947
  DynamicIcon,
1955
1948
  {
1956
1949
  name: resource.icon,
1957
1950
  size: 20,
1958
- className: "mt-1 shrink-0"
1951
+ className: "mt-0.5 shrink-0"
1959
1952
  }
1960
1953
  ),
1961
1954
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
1962
1955
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: resource.title }),
1963
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: resource.description })
1956
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: resource.description })
1964
1957
  ] })
1965
1958
  ]
1966
1959
  },
1967
1960
  resource.id
1968
1961
  )) })
1969
1962
  ] }),
1970
- 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: [
1971
- /* @__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 }) }),
1972
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: group.topics.map((topic) => /* @__PURE__ */ jsxRuntime.jsxs(
1963
+ topicGroups.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { children: topicGroups.map((group) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-6 last:mb-0", children: [
1964
+ /* @__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 }) }),
1965
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2", children: group.topics.map((topic) => /* @__PURE__ */ jsxRuntime.jsxs(
1973
1966
  NavigationMenuLink,
1974
1967
  {
1975
1968
  href: topic.href,
1976
- className: "group flex flex-row items-center gap-3 hover:bg-muted rounded-lg p-2 -ml-2",
1969
+ className: "group -ml-2 flex items-center gap-2 rounded-lg p-2 hover:bg-muted",
1977
1970
  children: [
1978
1971
  /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: topic.icon, size: 16, className: "shrink-0" }),
1979
1972
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 text-sm font-medium", children: topic.title })