@opensite/ui 0.9.6 → 0.9.7
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/navbar-enterprise-mega.cjs +64 -64
- package/dist/navbar-enterprise-mega.js +64 -64
- package/dist/navbar-mega-menu.cjs +117 -50
- package/dist/navbar-mega-menu.js +117 -50
- package/dist/registry.cjs +181 -114
- package/dist/registry.js +181 -114
- package/package.json +1 -1
|
@@ -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", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-dvw px-8 pt-6 pb-12", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container", children: renderDropdownContent(
|
|
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(
|
|
1479
1479
|
{ ...item, layout: effectiveLayout },
|
|
1480
1480
|
optixFlowConfig
|
|
1481
1481
|
) }) }) })
|
|
@@ -1548,7 +1548,7 @@ var SolutionsMenu = ({
|
|
|
1548
1548
|
platformItems,
|
|
1549
1549
|
featuredHeroCard,
|
|
1550
1550
|
optixFlowConfig
|
|
1551
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-8 sm:grid-cols-2", children: [
|
|
1551
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid max-w-full gap-8 sm:grid-cols-2", children: [
|
|
1552
1552
|
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1553
1553
|
Pressable,
|
|
1554
1554
|
{
|
|
@@ -1557,23 +1557,23 @@ var SolutionsMenu = ({
|
|
|
1557
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",
|
|
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-
|
|
1561
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex flex-col px-6 lg:mb-6 lg:px-0", children: [
|
|
1562
|
-
featuredHeroCard.subtitle && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-
|
|
1563
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto flex items-center space-x-1 text-
|
|
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: [
|
|
1564
1564
|
featuredHeroCard.title,
|
|
1565
1565
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1566
1566
|
DynamicIcon,
|
|
1567
1567
|
{
|
|
1568
1568
|
name: "lucide/arrow-right",
|
|
1569
|
-
size:
|
|
1569
|
+
size: 18,
|
|
1570
1570
|
className: "ml-1 transition-transform group-hover:translate-x-1"
|
|
1571
1571
|
}
|
|
1572
1572
|
)
|
|
1573
1573
|
] }),
|
|
1574
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-
|
|
1574
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-3 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-
|
|
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(
|
|
1577
1577
|
img.Img,
|
|
1578
1578
|
{
|
|
1579
1579
|
src: featuredHeroCard.image,
|
|
@@ -1587,11 +1587,11 @@ var SolutionsMenu = ({
|
|
|
1587
1587
|
),
|
|
1588
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
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 gap-4 lg:grid-cols-2", children: platformItems.map((technology) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1590
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid w-full gap-4 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 flex-row items-center gap-4",
|
|
1594
|
+
className: "group flex w-full flex-row items-center gap-4 hover:bg-muted rounded-lg p-2 -ml-2",
|
|
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,10 +1608,10 @@ var SolutionsMenu = ({
|
|
|
1608
1608
|
technology.id
|
|
1609
1609
|
)) })
|
|
1610
1610
|
] }),
|
|
1611
|
-
solutionCards.length > 0 && /* @__PURE__ */ jsxRuntime.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__ */ jsxRuntime.jsxs(
|
|
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(
|
|
1612
1612
|
"div",
|
|
1613
1613
|
{
|
|
1614
|
-
className: "rounded-md border border-border p-5",
|
|
1614
|
+
className: "flex flex-col rounded-md border border-border p-5",
|
|
1615
1615
|
children: [
|
|
1616
1616
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-border pb-4", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1617
1617
|
Pressable,
|
|
@@ -1634,11 +1634,11 @@ var SolutionsMenu = ({
|
|
|
1634
1634
|
]
|
|
1635
1635
|
}
|
|
1636
1636
|
) }),
|
|
1637
|
-
/* @__PURE__ */ jsxRuntime.jsx("menu", { className: "mt-6 grid gap-y-4", children: solution.subpages.map((subpage) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1637
|
+
/* @__PURE__ */ jsxRuntime.jsx("menu", { className: "mt-6 grid w-full gap-y-4", children: solution.subpages.map((subpage) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1638
1638
|
NavigationMenuLink,
|
|
1639
1639
|
{
|
|
1640
1640
|
href: subpage.href,
|
|
1641
|
-
className: "group flex flex-row items-center space-x-4 text-left lg:space-x-4 lg:border-0",
|
|
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",
|
|
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,7 +1663,7 @@ var ProductsMenu = ({
|
|
|
1663
1663
|
productCategories,
|
|
1664
1664
|
featuredHeroCard,
|
|
1665
1665
|
optixFlowConfig
|
|
1666
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-y-12 lg:flex lg:space-x-8", children: [
|
|
1666
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid max-w-full gap-y-12 lg:flex lg:space-x-8", children: [
|
|
1667
1667
|
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:max-w-[24rem]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1668
1668
|
Pressable,
|
|
1669
1669
|
{
|
|
@@ -1673,7 +1673,7 @@ var ProductsMenu = ({
|
|
|
1673
1673
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
1674
1674
|
),
|
|
1675
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-
|
|
1676
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex aspect-2/1 max-h-48 w-full flex-1 justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1677
1677
|
img.Img,
|
|
1678
1678
|
{
|
|
1679
1679
|
src: featuredHeroCard.image,
|
|
@@ -1683,40 +1683,40 @@ var ProductsMenu = ({
|
|
|
1683
1683
|
}
|
|
1684
1684
|
) }),
|
|
1685
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-
|
|
1686
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-1 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
|
-
size:
|
|
1692
|
+
size: 18,
|
|
1693
1693
|
className: "ml-1 transition-transform group-hover:translate-x-1"
|
|
1694
1694
|
}
|
|
1695
1695
|
)
|
|
1696
1696
|
] }),
|
|
1697
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-
|
|
1697
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-3 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 lg:gap-y-6", children: productCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-y-2 lg:gap-y-6", children: [
|
|
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
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 md:grid-cols-3 md:gap-x-5 lg:gap-y-7", children: category.products.map((product) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
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(
|
|
1705
1705
|
NavigationMenuLink,
|
|
1706
1706
|
{
|
|
1707
1707
|
href: product.href,
|
|
1708
|
-
className: "group flex flex-row items-center space-x-
|
|
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",
|
|
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-
|
|
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(
|
|
1711
1711
|
img.Img,
|
|
1712
1712
|
{
|
|
1713
1713
|
src: product.image,
|
|
1714
1714
|
alt: product.title,
|
|
1715
|
-
className: "object-cover",
|
|
1715
|
+
className: "h-full w-full object-cover",
|
|
1716
1716
|
optixFlowConfig
|
|
1717
1717
|
}
|
|
1718
1718
|
) }),
|
|
1719
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
|
|
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
1721
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: product.description })
|
|
1722
1722
|
] }),
|
|
@@ -1725,7 +1725,7 @@ var ProductsMenu = ({
|
|
|
1725
1725
|
{
|
|
1726
1726
|
name: "lucide/arrow-right",
|
|
1727
1727
|
size: 16,
|
|
1728
|
-
className: "transition-transform group-hover:translate-x-1 lg:hidden"
|
|
1728
|
+
className: "shrink-0 transition-transform group-hover:translate-x-1 lg:hidden"
|
|
1729
1729
|
}
|
|
1730
1730
|
)
|
|
1731
1731
|
]
|
|
@@ -1739,7 +1739,7 @@ var GlobalMenu = ({
|
|
|
1739
1739
|
regions,
|
|
1740
1740
|
featuredHeroCard,
|
|
1741
1741
|
optixFlowConfig
|
|
1742
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1742
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-full overflow-hidden", children: [
|
|
1743
1743
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-6 lg:flex lg:space-y-0 lg:space-x-8", children: [
|
|
1744
1744
|
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:max-w-[18rem]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1745
1745
|
Pressable,
|
|
@@ -1750,7 +1750,7 @@ var GlobalMenu = ({
|
|
|
1750
1750
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
1751
1751
|
),
|
|
1752
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-
|
|
1753
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex aspect-4/3 max-h-48 w-full flex-1 justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1754
1754
|
img.Img,
|
|
1755
1755
|
{
|
|
1756
1756
|
src: featuredHeroCard.image,
|
|
@@ -1760,32 +1760,32 @@ var GlobalMenu = ({
|
|
|
1760
1760
|
}
|
|
1761
1761
|
) }),
|
|
1762
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-
|
|
1763
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-1 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
|
-
size:
|
|
1769
|
+
size: 18,
|
|
1770
1770
|
className: "ml-1 transition-transform group-hover:translate-x-1"
|
|
1771
1771
|
}
|
|
1772
1772
|
)
|
|
1773
1773
|
] }),
|
|
1774
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-
|
|
1774
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-3 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 lg:gap-y-6", children: featureCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-y-2 lg:gap-y-6", children: [
|
|
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
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 md:grid-cols-3 md:gap-x-6 lg:gap-y-6", children: category.features.map((feature) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
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(
|
|
1782
1782
|
NavigationMenuLink,
|
|
1783
1783
|
{
|
|
1784
1784
|
href: feature.href,
|
|
1785
|
-
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",
|
|
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",
|
|
1786
1786
|
children: [
|
|
1787
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 }) }),
|
|
1788
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
|
|
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
1790
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: feature.description })
|
|
1791
1791
|
] }),
|
|
@@ -1794,7 +1794,7 @@ var GlobalMenu = ({
|
|
|
1794
1794
|
{
|
|
1795
1795
|
name: "lucide/arrow-right",
|
|
1796
1796
|
size: 16,
|
|
1797
|
-
className: "transition-transform group-hover:translate-x-1 lg:hidden"
|
|
1797
|
+
className: "shrink-0 transition-transform group-hover:translate-x-1 lg:hidden"
|
|
1798
1798
|
}
|
|
1799
1799
|
)
|
|
1800
1800
|
]
|
|
@@ -1805,26 +1805,26 @@ var GlobalMenu = ({
|
|
|
1805
1805
|
] }),
|
|
1806
1806
|
regions.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8", children: [
|
|
1807
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 gap-6 md:grid-cols-3 lg:grid-cols-4", children: regions.map((region) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
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(
|
|
1809
1809
|
"div",
|
|
1810
1810
|
{
|
|
1811
|
-
className: "space-y-6 rounded-md border border-border p-6 lg:border-0 lg:p-0",
|
|
1811
|
+
className: "flex w-full flex-col space-y-6 rounded-md border border-border p-6 lg:border-0 lg:p-0",
|
|
1812
1812
|
children: [
|
|
1813
1813
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-left text-xs text-muted-foreground", children: region.title }),
|
|
1814
|
-
/* @__PURE__ */ jsxRuntime.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__ */ jsxRuntime.jsxs(
|
|
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(
|
|
1815
1815
|
NavigationMenuLink,
|
|
1816
1816
|
{
|
|
1817
1817
|
href: location.href,
|
|
1818
|
-
className: "group flex flex-row items-center space-x-4 text-left lg:space-x-4 lg:border-0 lg:py-0",
|
|
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",
|
|
1819
1819
|
children: [
|
|
1820
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-4 items-center justify-center", children: location.icon }),
|
|
1821
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 text-sm font-medium", children: location.title }),
|
|
1820
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-4 shrink-0 items-center justify-center", children: location.icon }),
|
|
1821
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 min-w-0 text-sm font-medium", children: location.title }),
|
|
1822
1822
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1823
1823
|
DynamicIcon,
|
|
1824
1824
|
{
|
|
1825
1825
|
name: "lucide/arrow-right",
|
|
1826
1826
|
size: 16,
|
|
1827
|
-
className: "transition-transform group-hover:translate-x-1 lg:hidden"
|
|
1827
|
+
className: "shrink-0 transition-transform group-hover:translate-x-1 lg:hidden"
|
|
1828
1828
|
}
|
|
1829
1829
|
)
|
|
1830
1830
|
]
|
|
@@ -1841,7 +1841,7 @@ var PartnersMenu = ({
|
|
|
1841
1841
|
partnerCards,
|
|
1842
1842
|
featuredHeroCard,
|
|
1843
1843
|
optixFlowConfig
|
|
1844
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-y-6 md:grid-cols-2 md:gap-x-6 lg:grid-cols-4", children: [
|
|
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
1845
|
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "md:col-span-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1846
1846
|
Pressable,
|
|
1847
1847
|
{
|
|
@@ -1852,18 +1852,18 @@ var PartnersMenu = ({
|
|
|
1852
1852
|
),
|
|
1853
1853
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left", children: [
|
|
1854
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-
|
|
1855
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto flex items-center space-x-1 text-base font-semibold", children: [
|
|
1856
1856
|
featuredHeroCard.title,
|
|
1857
1857
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1858
1858
|
DynamicIcon,
|
|
1859
1859
|
{
|
|
1860
1860
|
name: "lucide/arrow-right",
|
|
1861
|
-
size:
|
|
1861
|
+
size: 18,
|
|
1862
1862
|
className: "ml-1 transition-transform group-hover:translate-x-1"
|
|
1863
1863
|
}
|
|
1864
1864
|
)
|
|
1865
1865
|
] }),
|
|
1866
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-
|
|
1866
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-3 text-sm leading-relaxed", children: featuredHeroCard.description })
|
|
1867
1867
|
] }),
|
|
1868
1868
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1869
1869
|
"div",
|
|
@@ -1886,14 +1886,14 @@ var PartnersMenu = ({
|
|
|
1886
1886
|
] })
|
|
1887
1887
|
}
|
|
1888
1888
|
) }),
|
|
1889
|
-
partnerCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-4 md:col-span-2 lg:col-span-2", children: partnerCards.map((card) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
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(
|
|
1890
1890
|
NavigationMenuLink,
|
|
1891
1891
|
{
|
|
1892
1892
|
href: card.href,
|
|
1893
|
-
className: "group flex w-full flex-row items-center rounded-lg border border-border lg:rounded-xl",
|
|
1894
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start p-6 text-left", children: [
|
|
1895
|
-
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: card.icon, size: 32 }),
|
|
1896
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ml-4", children: [
|
|
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: [
|
|
1895
|
+
/* @__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
1897
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-auto mb-1 text-sm font-bold", children: card.title }),
|
|
1898
1898
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: card.description })
|
|
1899
1899
|
] })
|
|
@@ -1906,7 +1906,7 @@ var ResourcesMenu = ({
|
|
|
1906
1906
|
resourceItems,
|
|
1907
1907
|
topicGroups,
|
|
1908
1908
|
featuredHeroCard
|
|
1909
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-8 lg:grid-cols-3", children: [
|
|
1909
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid max-w-full gap-8 lg:grid-cols-3", children: [
|
|
1910
1910
|
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "lg:col-span-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1911
1911
|
Pressable,
|
|
1912
1912
|
{
|
|
@@ -1917,18 +1917,18 @@ var ResourcesMenu = ({
|
|
|
1917
1917
|
),
|
|
1918
1918
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left", children: [
|
|
1919
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-
|
|
1920
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto flex items-center space-x-1 text-base font-semibold", children: [
|
|
1921
1921
|
featuredHeroCard.title,
|
|
1922
1922
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1923
1923
|
DynamicIcon,
|
|
1924
1924
|
{
|
|
1925
1925
|
name: "lucide/arrow-right",
|
|
1926
|
-
size:
|
|
1926
|
+
size: 18,
|
|
1927
1927
|
className: "ml-1 transition-transform group-hover:translate-x-1"
|
|
1928
1928
|
}
|
|
1929
1929
|
)
|
|
1930
1930
|
] }),
|
|
1931
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-
|
|
1931
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-3 text-sm leading-relaxed", children: featuredHeroCard.description })
|
|
1932
1932
|
] }),
|
|
1933
1933
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1934
1934
|
img.Img,
|
|
@@ -1942,13 +1942,13 @@ var ResourcesMenu = ({
|
|
|
1942
1942
|
] })
|
|
1943
1943
|
}
|
|
1944
1944
|
) }),
|
|
1945
|
-
resourceItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(featuredHeroCard ? "lg:col-span-1" : "lg:col-span-2"), children: [
|
|
1945
|
+
resourceItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(featuredHeroCard ? "lg:col-span-1" : "lg:col-span-2", "overflow-hidden"), children: [
|
|
1946
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 gap-4 md:grid-cols-2 lg:grid-cols-2", children: resourceItems.map((resource) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
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(
|
|
1948
1948
|
NavigationMenuLink,
|
|
1949
1949
|
{
|
|
1950
1950
|
href: resource.href,
|
|
1951
|
-
className: "group flex flex-row items-start gap-4 rounded-lg border border-border p-4 hover:bg-
|
|
1951
|
+
className: "group flex w-full flex-row items-start gap-4 rounded-lg border border-border p-4 hover:bg-muted",
|
|
1952
1952
|
children: [
|
|
1953
1953
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1954
1954
|
DynamicIcon,
|
|
@@ -1958,7 +1958,7 @@ var ResourcesMenu = ({
|
|
|
1958
1958
|
className: "mt-1 shrink-0"
|
|
1959
1959
|
}
|
|
1960
1960
|
),
|
|
1961
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1961
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
1962
1962
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: resource.title }),
|
|
1963
1963
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: resource.description })
|
|
1964
1964
|
] })
|
|
@@ -1973,10 +1973,10 @@ var ResourcesMenu = ({
|
|
|
1973
1973
|
NavigationMenuLink,
|
|
1974
1974
|
{
|
|
1975
1975
|
href: topic.href,
|
|
1976
|
-
className: "group flex flex-row items-center gap-3",
|
|
1976
|
+
className: "group flex flex-row items-center gap-3 hover:bg-muted rounded-lg p-2 -ml-2",
|
|
1977
1977
|
children: [
|
|
1978
|
-
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: topic.icon, size: 16 }),
|
|
1979
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium", children: topic.title })
|
|
1978
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: topic.icon, size: 16, className: "shrink-0" }),
|
|
1979
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 text-sm font-medium", children: topic.title })
|
|
1980
1980
|
]
|
|
1981
1981
|
},
|
|
1982
1982
|
topic.id
|