@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.
- package/dist/navbar-enterprise-mega.cjs +135 -142
- package/dist/navbar-enterprise-mega.js +135 -142
- package/dist/navbar-mega-menu.cjs +117 -50
- package/dist/navbar-mega-menu.js +117 -50
- package/dist/registry.cjs +252 -192
- package/dist/registry.js +252 -192
- 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-
|
|
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 gap-
|
|
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
|
|
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: "
|
|
1561
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
1562
|
-
featuredHeroCard.subtitle && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-
|
|
1563
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
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
|
-
size:
|
|
1570
|
-
className: "
|
|
1569
|
+
size: 18,
|
|
1570
|
+
className: "transition-transform group-hover:translate-x-1"
|
|
1571
1571
|
}
|
|
1572
1572
|
)
|
|
1573
1573
|
] }),
|
|
1574
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-
|
|
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
|
|
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-
|
|
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", {
|
|
1589
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4 text-left
|
|
1590
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-
|
|
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
|
|
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
|
|
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: "rounded-
|
|
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-
|
|
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: "
|
|
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-
|
|
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
|
|
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,69 +1663,69 @@ var ProductsMenu = ({
|
|
|
1663
1663
|
productCategories,
|
|
1664
1664
|
featuredHeroCard,
|
|
1665
1665
|
optixFlowConfig
|
|
1666
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
1667
|
-
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:
|
|
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-
|
|
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:
|
|
1676
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative
|
|
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
|
|
1681
|
+
className: "h-full w-full object-cover",
|
|
1682
1682
|
optixFlowConfig
|
|
1683
1683
|
}
|
|
1684
1684
|
) }),
|
|
1685
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
1686
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center
|
|
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
|
-
size:
|
|
1693
|
-
className: "
|
|
1692
|
+
size: 18,
|
|
1693
|
+
className: "transition-transform group-hover:translate-x-1"
|
|
1694
1694
|
}
|
|
1695
1695
|
)
|
|
1696
1696
|
] }),
|
|
1697
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-
|
|
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: "
|
|
1703
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-border
|
|
1704
|
-
/* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid md:grid-cols-
|
|
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
|
|
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
|
|
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,
|
|
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
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-
|
|
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,
|
|
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
|
]
|
|
@@ -1740,61 +1740,61 @@ var GlobalMenu = ({
|
|
|
1740
1740
|
featuredHeroCard,
|
|
1741
1741
|
optixFlowConfig
|
|
1742
1742
|
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1743
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
1744
|
-
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full shrink-0 lg:
|
|
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-
|
|
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:
|
|
1753
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative
|
|
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
|
|
1758
|
+
className: "h-full w-full object-cover",
|
|
1759
1759
|
optixFlowConfig
|
|
1760
1760
|
}
|
|
1761
1761
|
) }),
|
|
1762
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
1763
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center
|
|
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
|
-
size:
|
|
1770
|
-
className: "
|
|
1769
|
+
size: 18,
|
|
1770
|
+
className: "transition-transform group-hover:translate-x-1"
|
|
1771
1771
|
}
|
|
1772
1772
|
)
|
|
1773
1773
|
] }),
|
|
1774
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-
|
|
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: "
|
|
1780
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-border
|
|
1781
|
-
/* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid md:grid-cols-
|
|
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
|
|
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
|
|
1788
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
|
|
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
|
+
/* @__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-
|
|
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,
|
|
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
|
]
|
|
@@ -1804,27 +1804,27 @@ 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-
|
|
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
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: "
|
|
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 gap-
|
|
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
|
|
1818
|
+
className: "group -ml-2 flex items-center gap-3 rounded-lg p-2 text-left hover:bg-muted",
|
|
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,63 +1841,57 @@ var PartnersMenu = ({
|
|
|
1841
1841
|
partnerCards,
|
|
1842
1842
|
featuredHeroCard,
|
|
1843
1843
|
optixFlowConfig
|
|
1844
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-
|
|
1845
|
-
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
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-
|
|
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:
|
|
1854
|
-
/* @__PURE__ */ jsxRuntime.
|
|
1855
|
-
|
|
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
|
-
size:
|
|
1862
|
-
className: "
|
|
1873
|
+
size: 18,
|
|
1874
|
+
className: "transition-transform group-hover:translate-x-1"
|
|
1863
1875
|
}
|
|
1864
1876
|
)
|
|
1865
1877
|
] }),
|
|
1866
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-
|
|
1867
|
-
] })
|
|
1868
|
-
|
|
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: "
|
|
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
|
|
1894
|
-
children:
|
|
1895
|
-
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: card.icon, size: 32 }),
|
|
1896
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
1897
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "
|
|
1898
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: card.description })
|
|
1887
|
+
className: "group flex items-start gap-4 rounded-lg border border-border p-4 hover:bg-muted",
|
|
1888
|
+
children: [
|
|
1889
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: card.icon, size: 32, className: "shrink-0" }),
|
|
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,77 +1900,76 @@ var ResourcesMenu = ({
|
|
|
1906
1900
|
resourceItems,
|
|
1907
1901
|
topicGroups,
|
|
1908
1902
|
featuredHeroCard
|
|
1909
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-
|
|
1910
|
-
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
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-
|
|
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:
|
|
1919
|
-
/* @__PURE__ */ jsxRuntime.
|
|
1920
|
-
|
|
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
|
-
size:
|
|
1927
|
-
className: "
|
|
1928
|
+
size: 18,
|
|
1929
|
+
className: "transition-transform group-hover:translate-x-1"
|
|
1928
1930
|
}
|
|
1929
1931
|
)
|
|
1930
1932
|
] }),
|
|
1931
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-
|
|
1932
|
-
] })
|
|
1933
|
-
|
|
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", {
|
|
1946
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-
|
|
1947
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-
|
|
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
|
|
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-
|
|
1951
|
+
className: "mt-0.5 shrink-0"
|
|
1959
1952
|
}
|
|
1960
1953
|
),
|
|
1961
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
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-
|
|
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", {
|
|
1971
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-
|
|
1972
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-
|
|
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
|
|
1969
|
+
className: "group -ml-2 flex items-center gap-2 rounded-lg p-2 hover:bg-muted",
|
|
1977
1970
|
children: [
|
|
1978
|
-
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: topic.icon, size: 16 }),
|
|
1979
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium", children: topic.title })
|
|
1971
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: topic.icon, size: 16, className: "shrink-0" }),
|
|
1972
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 text-sm font-medium", children: topic.title })
|
|
1980
1973
|
]
|
|
1981
1974
|
},
|
|
1982
1975
|
topic.id
|