@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
|
@@ -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-
|
|
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-
|
|
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
|
|
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: "
|
|
1537
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
1538
|
-
featuredHeroCard.subtitle && /* @__PURE__ */ jsx("span", { className: "mb-
|
|
1539
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
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:
|
|
1546
|
-
className: "
|
|
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-
|
|
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
|
|
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-
|
|
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", {
|
|
1565
|
-
/* @__PURE__ */ jsx("div", { className: "mb-4 text-left
|
|
1566
|
-
/* @__PURE__ */ jsx("div", { className: "grid gap-
|
|
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
|
|
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
|
|
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-
|
|
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-
|
|
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: "
|
|
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-
|
|
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
|
|
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: "
|
|
1643
|
-
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "w-full shrink-0 lg:
|
|
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-
|
|
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:
|
|
1652
|
-
/* @__PURE__ */ jsx("div", { className: "relative
|
|
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
|
|
1657
|
+
className: "h-full w-full object-cover",
|
|
1658
1658
|
optixFlowConfig
|
|
1659
1659
|
}
|
|
1660
1660
|
) }),
|
|
1661
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
1662
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center
|
|
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:
|
|
1669
|
-
className: "
|
|
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-
|
|
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: "
|
|
1679
|
-
/* @__PURE__ */ jsx("div", { className: "border-border
|
|
1680
|
-
/* @__PURE__ */ jsx("menu", { className: "grid md:grid-cols-
|
|
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
|
|
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
|
|
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-
|
|
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: "
|
|
1720
|
-
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "w-full shrink-0 lg:
|
|
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-
|
|
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:
|
|
1729
|
-
/* @__PURE__ */ jsx("div", { className: "relative
|
|
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
|
|
1734
|
+
className: "h-full w-full object-cover",
|
|
1735
1735
|
optixFlowConfig
|
|
1736
1736
|
}
|
|
1737
1737
|
) }),
|
|
1738
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
1739
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center
|
|
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:
|
|
1746
|
-
className: "
|
|
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-
|
|
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: "
|
|
1756
|
-
/* @__PURE__ */ jsx("div", { className: "border-border
|
|
1757
|
-
/* @__PURE__ */ jsx("menu", { className: "grid md:grid-cols-
|
|
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
|
|
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
|
|
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-
|
|
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-
|
|
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: "
|
|
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-
|
|
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
|
|
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-
|
|
1821
|
-
featuredHeroCard && /* @__PURE__ */ jsx("div", {
|
|
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-
|
|
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:
|
|
1830
|
-
/* @__PURE__ */
|
|
1831
|
-
|
|
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:
|
|
1838
|
-
className: "
|
|
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-
|
|
1843
|
-
] })
|
|
1844
|
-
|
|
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: "
|
|
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
|
|
1870
|
-
children:
|
|
1871
|
-
/* @__PURE__ */ jsx(DynamicIcon, { name: card.icon, size: 32 }),
|
|
1872
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
1873
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
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-
|
|
1886
|
-
featuredHeroCard && /* @__PURE__ */ jsx("div", {
|
|
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-
|
|
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:
|
|
1895
|
-
/* @__PURE__ */
|
|
1896
|
-
|
|
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:
|
|
1903
|
-
className: "
|
|
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-
|
|
1908
|
-
] })
|
|
1909
|
-
|
|
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", {
|
|
1922
|
-
/* @__PURE__ */ jsx("div", { className: "mb-
|
|
1923
|
-
/* @__PURE__ */ jsx("div", { className: "grid gap-
|
|
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
|
|
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-
|
|
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-
|
|
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", {
|
|
1947
|
-
/* @__PURE__ */ jsx("div", { className: "mb-
|
|
1948
|
-
/* @__PURE__ */ jsx("div", { className: "space-y-
|
|
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
|
|
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
|