@opensite/ui 0.9.6 → 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.
@@ -1451,7 +1451,7 @@ var DesktopMenuItem = ({
1451
1451
  if (hasDropdown) {
1452
1452
  return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
1453
1453
  /* @__PURE__ */ 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 }),
1454
- /* @__PURE__ */ jsx(NavigationMenuContent, { className: "!rounded-xl !border-0 !p-0", children: /* @__PURE__ */ jsx("div", { className: "w-dvw px-8 pt-6 pb-12", children: /* @__PURE__ */ jsx("div", { className: "container", children: renderDropdownContent(
1454
+ /* @__PURE__ */ jsx(NavigationMenuContent, { className: "!rounded-xl !border-0 !p-0", children: /* @__PURE__ */ jsx("div", { className: "w-screen", children: /* @__PURE__ */ jsx("div", { className: "mx-auto max-w-7xl px-6 py-8", children: renderDropdownContent(
1455
1455
  { ...item, layout: effectiveLayout },
1456
1456
  optixFlowConfig
1457
1457
  ) }) }) })
@@ -1524,50 +1524,50 @@ var SolutionsMenu = ({
1524
1524
  platformItems,
1525
1525
  featuredHeroCard,
1526
1526
  optixFlowConfig
1527
- }) => /* @__PURE__ */ jsxs("div", { className: "grid gap-8 sm:grid-cols-2", children: [
1527
+ }) => /* @__PURE__ */ jsxs("div", { className: "grid gap-6 sm:grid-cols-2", children: [
1528
1528
  featuredHeroCard && /* @__PURE__ */ jsx(
1529
1529
  Pressable,
1530
1530
  {
1531
1531
  href: featuredHeroCard.href,
1532
1532
  className: cn(
1533
- "group relative flex h-full flex-row overflow-hidden rounded-lg px-0 pt-8 text-primary-foreground lg:rounded-xl lg:px-6",
1533
+ "group relative flex h-full overflow-hidden rounded-lg text-primary-foreground",
1534
1534
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
1535
1535
  ),
1536
- children: /* @__PURE__ */ jsxs("div", { className: "relative flex w-full flex-col space-y-12 text-left md:space-y-8 lg:w-full lg:flex-row lg:justify-between lg:space-y-0 lg:space-x-6 xl:space-x-8", children: [
1537
- /* @__PURE__ */ jsxs("div", { className: "relative flex flex-col px-6 lg:mb-6 lg:px-0", children: [
1538
- featuredHeroCard.subtitle && /* @__PURE__ */ jsx("span", { className: "mb-6 text-xs font-medium tracking-wider uppercase md:mb-8", children: featuredHeroCard.subtitle }),
1539
- /* @__PURE__ */ jsxs("div", { className: "mt-auto flex items-center space-x-1 text-xs", children: [
1536
+ children: /* @__PURE__ */ jsxs("div", { className: "flex w-full flex-col items-start gap-4 p-6 lg:flex-row lg:items-center lg:gap-6", children: [
1537
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col justify-center", children: [
1538
+ featuredHeroCard.subtitle && /* @__PURE__ */ jsx("span", { className: "mb-3 text-xs font-medium tracking-wider uppercase", children: featuredHeroCard.subtitle }),
1539
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
1540
1540
  featuredHeroCard.title,
1541
1541
  /* @__PURE__ */ jsx(
1542
1542
  DynamicIcon,
1543
1543
  {
1544
1544
  name: "lucide/arrow-right",
1545
- size: 16,
1546
- className: "ml-1 transition-transform group-hover:translate-x-1"
1545
+ size: 18,
1546
+ className: "transition-transform group-hover:translate-x-1"
1547
1547
  }
1548
1548
  )
1549
1549
  ] }),
1550
- /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs text-primary-foreground/85", children: featuredHeroCard.description })
1550
+ /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
1551
1551
  ] }),
1552
- /* @__PURE__ */ jsx("div", { className: "relative aspect-2/1 overflow-clip rounded-t pl-6 lg:max-w-80 lg:pl-0 xl:max-w-[30rem]", children: /* @__PURE__ */ jsx(
1552
+ /* @__PURE__ */ jsx("div", { className: "relative w-full shrink-0 overflow-hidden rounded lg:w-48 xl:w-56", children: /* @__PURE__ */ jsx(
1553
1553
  Img,
1554
1554
  {
1555
1555
  src: featuredHeroCard.image,
1556
1556
  alt: featuredHeroCard.title,
1557
- className: "aspect-2/1 h-full w-full translate-y-px object-cover object-center",
1557
+ className: "aspect-video w-full object-cover",
1558
1558
  optixFlowConfig
1559
1559
  }
1560
1560
  ) })
1561
1561
  ] })
1562
1562
  }
1563
1563
  ),
1564
- platformItems.length > 0 && /* @__PURE__ */ jsxs("div", { className: "order-last mt-3 sm:order-0 sm:mt-0 sm:py-2 md:p-6", children: [
1565
- /* @__PURE__ */ jsx("div", { className: "mb-4 text-left leading-none md:col-span-2 lg:col-span-4 lg:mb-6", children: /* @__PURE__ */ jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Developer Platform" }) }),
1566
- /* @__PURE__ */ jsx("div", { className: "grid gap-4 lg:grid-cols-2", children: platformItems.map((technology) => /* @__PURE__ */ jsxs(
1564
+ platformItems.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
1565
+ /* @__PURE__ */ jsx("div", { className: "mb-4 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Developer Platform" }) }),
1566
+ /* @__PURE__ */ jsx("div", { className: "grid gap-3 lg:grid-cols-2", children: platformItems.map((technology) => /* @__PURE__ */ jsxs(
1567
1567
  NavigationMenuLink,
1568
1568
  {
1569
1569
  href: technology.href,
1570
- className: "group flex flex-row items-center gap-4",
1570
+ className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 hover:bg-muted",
1571
1571
  children: [
1572
1572
  /* @__PURE__ */ jsx(DynamicIcon, { name: technology.icon, size: 16 }),
1573
1573
  /* @__PURE__ */ jsx("div", { className: "flex-1 text-sm font-medium", children: technology.title }),
@@ -1584,25 +1584,25 @@ var SolutionsMenu = ({
1584
1584
  technology.id
1585
1585
  )) })
1586
1586
  ] }),
1587
- solutionCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "col-span-full grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-4 lg:gap-8", children: solutionCards.map((solution) => /* @__PURE__ */ jsxs(
1587
+ solutionCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "col-span-full mt-2 grid gap-4 md:grid-cols-2 lg:grid-cols-4", children: solutionCards.map((solution) => /* @__PURE__ */ jsxs(
1588
1588
  "div",
1589
1589
  {
1590
- className: "rounded-md border border-border p-5",
1590
+ className: "flex flex-col rounded-lg border border-border p-4",
1591
1591
  children: [
1592
- /* @__PURE__ */ jsx("div", { className: "border-b border-border pb-4", children: /* @__PURE__ */ jsxs(
1592
+ /* @__PURE__ */ jsx("div", { className: "border-b border-border pb-3", children: /* @__PURE__ */ jsxs(
1593
1593
  Pressable,
1594
1594
  {
1595
1595
  href: solution.href,
1596
1596
  className: "group flex flex-col text-left",
1597
1597
  children: [
1598
- /* @__PURE__ */ jsxs("div", { className: "flex items-center", children: [
1598
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
1599
1599
  /* @__PURE__ */ jsx("strong", { className: "text-sm font-medium", children: solution.title }),
1600
1600
  /* @__PURE__ */ jsx(
1601
1601
  DynamicIcon,
1602
1602
  {
1603
1603
  name: "lucide/arrow-right",
1604
1604
  size: 16,
1605
- className: "ml-1 transition-transform group-hover:translate-x-1"
1605
+ className: "transition-transform group-hover:translate-x-1"
1606
1606
  }
1607
1607
  )
1608
1608
  ] }),
@@ -1610,11 +1610,11 @@ var SolutionsMenu = ({
1610
1610
  ]
1611
1611
  }
1612
1612
  ) }),
1613
- /* @__PURE__ */ jsx("menu", { className: "mt-6 grid gap-y-4", children: solution.subpages.map((subpage) => /* @__PURE__ */ jsxs(
1613
+ /* @__PURE__ */ jsx("menu", { className: "mt-4 grid gap-3", children: solution.subpages.map((subpage) => /* @__PURE__ */ jsxs(
1614
1614
  NavigationMenuLink,
1615
1615
  {
1616
1616
  href: subpage.href,
1617
- className: "group flex flex-row items-center space-x-4 text-left lg:space-x-4 lg:border-0",
1617
+ className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 text-left hover:bg-muted",
1618
1618
  children: [
1619
1619
  /* @__PURE__ */ jsx(DynamicIcon, { name: subpage.icon, size: 16 }),
1620
1620
  /* @__PURE__ */ jsx("div", { className: "flex-1 text-sm font-medium", children: subpage.title }),
@@ -1639,69 +1639,69 @@ var ProductsMenu = ({
1639
1639
  productCategories,
1640
1640
  featuredHeroCard,
1641
1641
  optixFlowConfig
1642
- }) => /* @__PURE__ */ jsxs("div", { className: "grid gap-y-12 lg:flex lg:space-x-8", children: [
1643
- featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "w-full shrink-0 lg:max-w-[24rem]", children: /* @__PURE__ */ jsx(
1642
+ }) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-8 lg:flex-row", children: [
1643
+ featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "w-full shrink-0 lg:w-80", children: /* @__PURE__ */ jsxs(
1644
1644
  Pressable,
1645
1645
  {
1646
1646
  href: featuredHeroCard.href,
1647
1647
  className: cn(
1648
- "group relative flex h-full flex-row overflow-hidden rounded-lg px-0 text-primary-foreground lg:rounded-xl",
1648
+ "group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
1649
1649
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
1650
1650
  ),
1651
- children: /* @__PURE__ */ jsxs("div", { className: "relative z-10 flex w-full flex-col text-left", children: [
1652
- /* @__PURE__ */ jsx("div", { className: "relative flex aspect-2/1 max-h-64 w-full flex-1 justify-center", children: /* @__PURE__ */ jsx(
1651
+ children: [
1652
+ /* @__PURE__ */ jsx("div", { className: "relative aspect-video w-full overflow-hidden", children: /* @__PURE__ */ jsx(
1653
1653
  Img,
1654
1654
  {
1655
1655
  src: featuredHeroCard.image,
1656
1656
  alt: featuredHeroCard.title,
1657
- className: "h-full w-full object-cover object-center",
1657
+ className: "h-full w-full object-cover",
1658
1658
  optixFlowConfig
1659
1659
  }
1660
1660
  ) }),
1661
- /* @__PURE__ */ jsxs("div", { className: "relative z-20 flex flex-col rounded-b-xl bg-primary p-6", children: [
1662
- /* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-1 text-xs", children: [
1661
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col p-6", children: [
1662
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
1663
1663
  featuredHeroCard.title,
1664
1664
  /* @__PURE__ */ jsx(
1665
1665
  DynamicIcon,
1666
1666
  {
1667
1667
  name: "lucide/arrow-right",
1668
- size: 16,
1669
- className: "ml-1 transition-transform group-hover:translate-x-1"
1668
+ size: 18,
1669
+ className: "transition-transform group-hover:translate-x-1"
1670
1670
  }
1671
1671
  )
1672
1672
  ] }),
1673
- /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs text-primary-foreground/70", children: featuredHeroCard.description })
1673
+ /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
1674
1674
  ] })
1675
- ] })
1675
+ ]
1676
1676
  }
1677
1677
  ) }),
1678
- productCategories.length > 0 && /* @__PURE__ */ jsx("div", { className: "grid w-full gap-y-12 lg:gap-y-6", children: productCategories.map((category) => /* @__PURE__ */ jsxs("div", { className: "grid gap-y-2 lg:gap-y-6", children: [
1679
- /* @__PURE__ */ jsx("div", { className: "border-border text-left lg:border-b lg:pb-3", children: /* @__PURE__ */ jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: category.title }) }),
1680
- /* @__PURE__ */ jsx("menu", { className: "grid md:grid-cols-3 md:gap-x-5 lg:gap-y-7", children: category.products.map((product) => /* @__PURE__ */ jsxs(
1678
+ productCategories.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col gap-8", children: productCategories.map((category) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
1679
+ /* @__PURE__ */ jsx("div", { className: "border-b border-border pb-2 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: category.title }) }),
1680
+ /* @__PURE__ */ jsx("menu", { className: "grid gap-4 md:grid-cols-2 lg:grid-cols-3", children: category.products.map((product) => /* @__PURE__ */ jsxs(
1681
1681
  NavigationMenuLink,
1682
1682
  {
1683
1683
  href: product.href,
1684
- className: "group flex flex-row items-center space-x-6 border-b border-border py-5 text-left sm:py-7 lg:space-x-4 lg:border-0 lg:py-2",
1684
+ className: "group -ml-2 flex items-center gap-4 rounded-lg p-2 text-left hover:bg-muted",
1685
1685
  children: [
1686
- /* @__PURE__ */ jsx("div", { className: "relative flex aspect-square w-16 shrink-0 items-center justify-center overflow-clip rounded md:size-20 md:p-2", children: /* @__PURE__ */ jsx(
1686
+ /* @__PURE__ */ jsx("div", { className: "relative flex size-14 shrink-0 items-center justify-center overflow-hidden rounded", children: /* @__PURE__ */ jsx(
1687
1687
  Img,
1688
1688
  {
1689
1689
  src: product.image,
1690
1690
  alt: product.title,
1691
- className: "object-cover",
1691
+ className: "h-full w-full object-cover",
1692
1692
  optixFlowConfig
1693
1693
  }
1694
1694
  ) }),
1695
- /* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
1695
+ /* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
1696
1696
  /* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: product.title }),
1697
- /* @__PURE__ */ jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: product.description })
1697
+ /* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: product.description })
1698
1698
  ] }),
1699
1699
  /* @__PURE__ */ jsx(
1700
1700
  DynamicIcon,
1701
1701
  {
1702
1702
  name: "lucide/arrow-right",
1703
1703
  size: 16,
1704
- className: "transition-transform group-hover:translate-x-1 lg:hidden"
1704
+ className: "shrink-0 transition-transform group-hover:translate-x-1 lg:hidden"
1705
1705
  }
1706
1706
  )
1707
1707
  ]
@@ -1716,61 +1716,61 @@ var GlobalMenu = ({
1716
1716
  featuredHeroCard,
1717
1717
  optixFlowConfig
1718
1718
  }) => /* @__PURE__ */ jsxs("div", { children: [
1719
- /* @__PURE__ */ jsxs("div", { className: "space-y-6 lg:flex lg:space-y-0 lg:space-x-8", children: [
1720
- featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "w-full shrink-0 lg:max-w-[18rem]", children: /* @__PURE__ */ jsx(
1719
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6 lg:flex-row", children: [
1720
+ featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "w-full shrink-0 lg:w-72", children: /* @__PURE__ */ jsxs(
1721
1721
  Pressable,
1722
1722
  {
1723
1723
  href: featuredHeroCard.href,
1724
1724
  className: cn(
1725
- "group relative flex h-full flex-row overflow-hidden rounded-lg p-0 text-primary-foreground lg:rounded-xl",
1725
+ "group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
1726
1726
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
1727
1727
  ),
1728
- children: /* @__PURE__ */ jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left lg:flex-col", children: [
1729
- /* @__PURE__ */ jsx("div", { className: "relative flex aspect-4/3 max-h-72 w-full flex-1 justify-center", children: /* @__PURE__ */ jsx(
1728
+ children: [
1729
+ /* @__PURE__ */ jsx("div", { className: "relative aspect-[4/3] w-full overflow-hidden", children: /* @__PURE__ */ jsx(
1730
1730
  Img,
1731
1731
  {
1732
1732
  src: featuredHeroCard.image,
1733
1733
  alt: featuredHeroCard.title,
1734
- className: "h-full w-full object-cover object-center",
1734
+ className: "h-full w-full object-cover",
1735
1735
  optixFlowConfig
1736
1736
  }
1737
1737
  ) }),
1738
- /* @__PURE__ */ jsxs("div", { className: "relative z-20 flex flex-col rounded-b-xl bg-primary p-6", children: [
1739
- /* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-1 text-xs", children: [
1738
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col p-6", children: [
1739
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
1740
1740
  featuredHeroCard.title,
1741
1741
  /* @__PURE__ */ jsx(
1742
1742
  DynamicIcon,
1743
1743
  {
1744
1744
  name: "lucide/arrow-right",
1745
- size: 16,
1746
- className: "ml-1 transition-transform group-hover:translate-x-1"
1745
+ size: 18,
1746
+ className: "transition-transform group-hover:translate-x-1"
1747
1747
  }
1748
1748
  )
1749
1749
  ] }),
1750
- /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs text-primary-foreground/85", children: featuredHeroCard.description })
1750
+ /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
1751
1751
  ] })
1752
- ] })
1752
+ ]
1753
1753
  }
1754
1754
  ) }),
1755
- featureCategories.length > 0 && /* @__PURE__ */ jsx("div", { className: "grid w-full gap-y-12 lg:gap-y-6", children: featureCategories.map((category) => /* @__PURE__ */ jsxs("div", { className: "grid gap-y-2 lg:gap-y-6", children: [
1756
- /* @__PURE__ */ jsx("div", { className: "border-border text-left lg:border-b lg:pb-3", children: /* @__PURE__ */ jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: category.title }) }),
1757
- /* @__PURE__ */ jsx("menu", { className: "grid md:grid-cols-3 md:gap-x-6 lg:gap-y-6", children: category.features.map((feature) => /* @__PURE__ */ jsxs(
1755
+ featureCategories.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col gap-8", children: featureCategories.map((category) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
1756
+ /* @__PURE__ */ jsx("div", { className: "border-b border-border pb-2 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: category.title }) }),
1757
+ /* @__PURE__ */ jsx("menu", { className: "grid gap-4 md:grid-cols-2 lg:grid-cols-3", children: category.features.map((feature) => /* @__PURE__ */ jsxs(
1758
1758
  NavigationMenuLink,
1759
1759
  {
1760
1760
  href: feature.href,
1761
- className: "group flex flex-row items-center space-x-4 border-b border-border py-5 text-left sm:py-7 lg:border-0 lg:py-0",
1761
+ className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 text-left hover:bg-muted",
1762
1762
  children: [
1763
- /* @__PURE__ */ jsx("div", { className: "flex aspect-square size-9 shrink-0 items-center justify-center", children: /* @__PURE__ */ jsx(DynamicIcon, { name: feature.icon, size: 20 }) }),
1764
- /* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
1763
+ /* @__PURE__ */ jsx("div", { className: "flex size-9 shrink-0 items-center justify-center", children: /* @__PURE__ */ jsx(DynamicIcon, { name: feature.icon, size: 20 }) }),
1764
+ /* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
1765
1765
  /* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: feature.title }),
1766
- /* @__PURE__ */ jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: feature.description })
1766
+ /* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: feature.description })
1767
1767
  ] }),
1768
1768
  /* @__PURE__ */ jsx(
1769
1769
  DynamicIcon,
1770
1770
  {
1771
1771
  name: "lucide/arrow-right",
1772
1772
  size: 16,
1773
- className: "transition-transform group-hover:translate-x-1 lg:hidden"
1773
+ className: "shrink-0 transition-transform group-hover:translate-x-1 lg:hidden"
1774
1774
  }
1775
1775
  )
1776
1776
  ]
@@ -1780,27 +1780,27 @@ var GlobalMenu = ({
1780
1780
  ] }, category.title)) })
1781
1781
  ] }),
1782
1782
  regions.length > 0 && /* @__PURE__ */ jsxs("div", { className: "mt-8", children: [
1783
- /* @__PURE__ */ jsx("div", { className: "mb-6 border-border pb-1 text-left lg:border-b", children: /* @__PURE__ */ jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Popular Locations" }) }),
1783
+ /* @__PURE__ */ jsx("div", { className: "mb-4 border-b border-border pb-2 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Popular Locations" }) }),
1784
1784
  /* @__PURE__ */ jsx("div", { className: "grid gap-6 md:grid-cols-3 lg:grid-cols-4", children: regions.map((region) => /* @__PURE__ */ jsxs(
1785
1785
  "div",
1786
1786
  {
1787
- className: "space-y-6 rounded-md border border-border p-6 lg:border-0 lg:p-0",
1787
+ className: "flex flex-col gap-4",
1788
1788
  children: [
1789
- /* @__PURE__ */ jsx("div", { className: "text-left text-xs text-muted-foreground", children: region.title }),
1790
- /* @__PURE__ */ jsx("menu", { className: "grid gap-y-3 border-t border-border pt-6 lg:border-0 lg:pt-0", children: region.locations.map((location) => /* @__PURE__ */ jsxs(
1789
+ /* @__PURE__ */ jsx("div", { className: "text-left text-xs font-medium text-muted-foreground", children: region.title }),
1790
+ /* @__PURE__ */ jsx("menu", { className: "grid gap-2", children: region.locations.map((location) => /* @__PURE__ */ jsxs(
1791
1791
  NavigationMenuLink,
1792
1792
  {
1793
1793
  href: location.href,
1794
- className: "group flex flex-row items-center space-x-4 text-left lg:space-x-4 lg:border-0 lg:py-0",
1794
+ className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 text-left hover:bg-muted",
1795
1795
  children: [
1796
- /* @__PURE__ */ jsx("div", { className: "flex size-4 items-center justify-center", children: location.icon }),
1797
- /* @__PURE__ */ jsx("div", { className: "flex-1 text-sm font-medium", children: location.title }),
1796
+ /* @__PURE__ */ jsx("div", { className: "flex size-4 shrink-0 items-center justify-center", children: location.icon }),
1797
+ /* @__PURE__ */ jsx("div", { className: "flex-1 min-w-0 text-sm font-medium", children: location.title }),
1798
1798
  /* @__PURE__ */ jsx(
1799
1799
  DynamicIcon,
1800
1800
  {
1801
1801
  name: "lucide/arrow-right",
1802
1802
  size: 16,
1803
- className: "transition-transform group-hover:translate-x-1 lg:hidden"
1803
+ className: "shrink-0 transition-transform group-hover:translate-x-1 lg:hidden"
1804
1804
  }
1805
1805
  )
1806
1806
  ]
@@ -1817,63 +1817,57 @@ var PartnersMenu = ({
1817
1817
  partnerCards,
1818
1818
  featuredHeroCard,
1819
1819
  optixFlowConfig
1820
- }) => /* @__PURE__ */ jsxs("div", { className: "grid gap-y-6 md:grid-cols-2 md:gap-x-6 lg:grid-cols-4", children: [
1821
- featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "md:col-span-2", children: /* @__PURE__ */ jsx(
1820
+ }) => /* @__PURE__ */ jsxs("div", { className: "grid gap-6 md:grid-cols-2 lg:grid-cols-[2fr_1fr]", children: [
1821
+ featuredHeroCard && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
1822
1822
  Pressable,
1823
1823
  {
1824
1824
  href: featuredHeroCard.href,
1825
1825
  className: cn(
1826
- "group relative flex h-full flex-row overflow-hidden rounded-lg p-0 text-primary-foreground lg:rounded-xl",
1826
+ "group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
1827
1827
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
1828
1828
  ),
1829
- children: /* @__PURE__ */ jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left", children: [
1830
- /* @__PURE__ */ jsxs("div", { className: "relative z-20 flex flex-col px-6 pt-6 pb-56 md:pt-40 md:pb-6", children: [
1831
- /* @__PURE__ */ jsxs("div", { className: "mt-auto flex items-center space-x-1 text-xs font-medium", children: [
1829
+ children: [
1830
+ /* @__PURE__ */ jsx("div", { className: "relative aspect-video w-full overflow-hidden", children: /* @__PURE__ */ jsx(
1831
+ Img,
1832
+ {
1833
+ src: featuredHeroCard.image,
1834
+ alt: featuredHeroCard.title,
1835
+ className: cn(
1836
+ "h-full w-full object-cover",
1837
+ featuredHeroCard.imagePosition === "background" && "invert"
1838
+ ),
1839
+ optixFlowConfig
1840
+ }
1841
+ ) }),
1842
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col p-6", children: [
1843
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
1832
1844
  featuredHeroCard.title,
1833
1845
  /* @__PURE__ */ jsx(
1834
1846
  DynamicIcon,
1835
1847
  {
1836
1848
  name: "lucide/arrow-right",
1837
- size: 16,
1838
- className: "ml-1 transition-transform group-hover:translate-x-1"
1849
+ size: 18,
1850
+ className: "transition-transform group-hover:translate-x-1"
1839
1851
  }
1840
1852
  )
1841
1853
  ] }),
1842
- /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs", children: featuredHeroCard.description })
1843
- ] }),
1844
- /* @__PURE__ */ jsx(
1845
- "div",
1846
- {
1847
- className: cn(
1848
- "absolute inset-0 top-[32%] md:top-0",
1849
- featuredHeroCard.imagePosition === "background" && "bg-accent invert"
1850
- ),
1851
- children: /* @__PURE__ */ jsx(
1852
- Img,
1853
- {
1854
- src: featuredHeroCard.image,
1855
- alt: featuredHeroCard.title,
1856
- className: "object-fit h-full w-full object-top-right opacity-100 md:h-2/3 md:object-top",
1857
- optixFlowConfig
1858
- }
1859
- )
1860
- }
1861
- )
1862
- ] })
1854
+ /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm leading-relaxed", children: featuredHeroCard.description })
1855
+ ] })
1856
+ ]
1863
1857
  }
1864
1858
  ) }),
1865
- partnerCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "grid gap-4 md:col-span-2 lg:col-span-2", children: partnerCards.map((card) => /* @__PURE__ */ jsx(
1859
+ partnerCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-4", children: partnerCards.map((card) => /* @__PURE__ */ jsxs(
1866
1860
  NavigationMenuLink,
1867
1861
  {
1868
1862
  href: card.href,
1869
- className: "group flex w-full flex-row items-center rounded-lg border border-border lg:rounded-xl",
1870
- children: /* @__PURE__ */ jsxs("div", { className: "flex items-start p-6 text-left", children: [
1871
- /* @__PURE__ */ jsx(DynamicIcon, { name: card.icon, size: 32 }),
1872
- /* @__PURE__ */ jsxs("div", { className: "ml-4", children: [
1873
- /* @__PURE__ */ jsx("div", { className: "mt-auto mb-1 text-sm font-bold", children: card.title }),
1874
- /* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground", children: card.description })
1863
+ className: "group flex items-start gap-4 rounded-lg border border-border p-4 hover:bg-muted",
1864
+ children: [
1865
+ /* @__PURE__ */ jsx(DynamicIcon, { name: card.icon, size: 32, className: "shrink-0" }),
1866
+ /* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
1867
+ /* @__PURE__ */ jsx("div", { className: "text-sm font-bold", children: card.title }),
1868
+ /* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: card.description })
1875
1869
  ] })
1876
- ] })
1870
+ ]
1877
1871
  },
1878
1872
  card.title
1879
1873
  )) })
@@ -1882,77 +1876,76 @@ var ResourcesMenu = ({
1882
1876
  resourceItems,
1883
1877
  topicGroups,
1884
1878
  featuredHeroCard
1885
- }) => /* @__PURE__ */ jsxs("div", { className: "grid gap-8 lg:grid-cols-3", children: [
1886
- featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "lg:col-span-1", children: /* @__PURE__ */ jsx(
1879
+ }) => /* @__PURE__ */ jsxs("div", { className: "grid gap-6 lg:grid-cols-[280px_1fr_200px]", children: [
1880
+ featuredHeroCard && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
1887
1881
  Pressable,
1888
1882
  {
1889
1883
  href: featuredHeroCard.href,
1890
1884
  className: cn(
1891
- "group relative flex h-full flex-row overflow-hidden rounded-lg p-0 text-primary-foreground lg:rounded-xl",
1885
+ "group relative flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
1892
1886
  featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
1893
1887
  ),
1894
- children: /* @__PURE__ */ jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left", children: [
1895
- /* @__PURE__ */ jsxs("div", { className: "relative z-20 flex flex-col px-6 pt-6 pb-56 md:pt-40 md:pb-6", children: [
1896
- /* @__PURE__ */ jsxs("div", { className: "mt-auto flex items-center space-x-1 text-xs", children: [
1888
+ children: [
1889
+ /* @__PURE__ */ jsx("div", { className: "relative aspect-[4/3] w-full overflow-hidden", children: /* @__PURE__ */ jsx(
1890
+ Img,
1891
+ {
1892
+ src: featuredHeroCard.image,
1893
+ alt: featuredHeroCard.title,
1894
+ className: "h-full w-full object-cover invert"
1895
+ }
1896
+ ) }),
1897
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col p-6", children: [
1898
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
1897
1899
  featuredHeroCard.title,
1898
1900
  /* @__PURE__ */ jsx(
1899
1901
  DynamicIcon,
1900
1902
  {
1901
1903
  name: "lucide/arrow-right",
1902
- size: 16,
1903
- className: "ml-1 transition-transform group-hover:translate-x-1"
1904
+ size: 18,
1905
+ className: "transition-transform group-hover:translate-x-1"
1904
1906
  }
1905
1907
  )
1906
1908
  ] }),
1907
- /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs", children: featuredHeroCard.description })
1908
- ] }),
1909
- /* @__PURE__ */ jsx("div", { className: "absolute inset-0", children: /* @__PURE__ */ jsx(
1910
- Img,
1911
- {
1912
- src: featuredHeroCard.image,
1913
- alt: featuredHeroCard.title,
1914
- className: "h-full w-full object-cover object-center invert"
1915
- }
1916
- ) }),
1917
- /* @__PURE__ */ 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%)]" })
1918
- ] })
1909
+ /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm leading-relaxed", children: featuredHeroCard.description })
1910
+ ] })
1911
+ ]
1919
1912
  }
1920
1913
  ) }),
1921
- resourceItems.length > 0 && /* @__PURE__ */ jsxs("div", { className: cn(featuredHeroCard ? "lg:col-span-1" : "lg:col-span-2"), children: [
1922
- /* @__PURE__ */ jsx("div", { className: "mb-6 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Resources" }) }),
1923
- /* @__PURE__ */ jsx("div", { className: "grid gap-4 md:grid-cols-2 lg:grid-cols-2", children: resourceItems.map((resource) => /* @__PURE__ */ jsxs(
1914
+ resourceItems.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
1915
+ /* @__PURE__ */ jsx("div", { className: "mb-4 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Resources" }) }),
1916
+ /* @__PURE__ */ jsx("div", { className: "grid gap-3 md:grid-cols-2", children: resourceItems.map((resource) => /* @__PURE__ */ jsxs(
1924
1917
  NavigationMenuLink,
1925
1918
  {
1926
1919
  href: resource.href,
1927
- className: "group flex flex-row items-start gap-4 rounded-lg border border-border p-4 hover:bg-accent",
1920
+ className: "group -ml-2 flex items-start gap-3 rounded-lg border border-border p-3 hover:bg-muted",
1928
1921
  children: [
1929
1922
  /* @__PURE__ */ jsx(
1930
1923
  DynamicIcon,
1931
1924
  {
1932
1925
  name: resource.icon,
1933
1926
  size: 20,
1934
- className: "mt-1 shrink-0"
1927
+ className: "mt-0.5 shrink-0"
1935
1928
  }
1936
1929
  ),
1937
- /* @__PURE__ */ jsxs("div", { children: [
1930
+ /* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
1938
1931
  /* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: resource.title }),
1939
- /* @__PURE__ */ jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: resource.description })
1932
+ /* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: resource.description })
1940
1933
  ] })
1941
1934
  ]
1942
1935
  },
1943
1936
  resource.id
1944
1937
  )) })
1945
1938
  ] }),
1946
- topicGroups.length > 0 && /* @__PURE__ */ jsx("div", { className: "lg:col-span-1", children: topicGroups.map((group) => /* @__PURE__ */ jsxs("div", { className: "mb-8 last:mb-0", children: [
1947
- /* @__PURE__ */ jsx("div", { className: "mb-4 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: group.title }) }),
1948
- /* @__PURE__ */ jsx("div", { className: "space-y-3", children: group.topics.map((topic) => /* @__PURE__ */ jsxs(
1939
+ topicGroups.length > 0 && /* @__PURE__ */ jsx("div", { children: topicGroups.map((group) => /* @__PURE__ */ jsxs("div", { className: "mb-6 last:mb-0", children: [
1940
+ /* @__PURE__ */ jsx("div", { className: "mb-3 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: group.title }) }),
1941
+ /* @__PURE__ */ jsx("div", { className: "space-y-2", children: group.topics.map((topic) => /* @__PURE__ */ jsxs(
1949
1942
  NavigationMenuLink,
1950
1943
  {
1951
1944
  href: topic.href,
1952
- className: "group flex flex-row items-center gap-3",
1945
+ className: "group -ml-2 flex items-center gap-2 rounded-lg p-2 hover:bg-muted",
1953
1946
  children: [
1954
- /* @__PURE__ */ jsx(DynamicIcon, { name: topic.icon, size: 16 }),
1955
- /* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: topic.title })
1947
+ /* @__PURE__ */ jsx(DynamicIcon, { name: topic.icon, size: 16, className: "shrink-0" }),
1948
+ /* @__PURE__ */ jsx("span", { className: "flex-1 text-sm font-medium", children: topic.title })
1956
1949
  ]
1957
1950
  },
1958
1951
  topic.id