@opensite/ui 0.9.8 → 1.0.0
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-animated-preview.cjs +1 -1
- package/dist/navbar-animated-preview.js +1 -1
- package/dist/navbar-enterprise-mega.cjs +104 -139
- package/dist/navbar-enterprise-mega.js +104 -139
- package/dist/navbar-fullscreen-menu.cjs +190 -66
- package/dist/navbar-fullscreen-menu.d.cts +4 -0
- package/dist/navbar-fullscreen-menu.d.ts +4 -0
- package/dist/navbar-fullscreen-menu.js +190 -66
- package/dist/navbar-image-preview.cjs +69 -27
- package/dist/navbar-image-preview.js +69 -27
- package/dist/navbar-multi-column-groups.cjs +69 -27
- package/dist/navbar-multi-column-groups.js +69 -27
- package/dist/navbar-search-focused.cjs +69 -24
- package/dist/navbar-search-focused.js +69 -24
- package/dist/navbar-sidebar-mobile.cjs +78 -25
- package/dist/navbar-sidebar-mobile.js +78 -25
- package/dist/navbar-split-cta.cjs +69 -24
- package/dist/navbar-split-cta.js +69 -24
- package/dist/navbar-sticky-compact.cjs +73 -37
- package/dist/navbar-sticky-compact.js +73 -37
- package/dist/navbar-tabbed-sections.cjs +69 -24
- package/dist/navbar-tabbed-sections.js +69 -24
- package/dist/navbar-transparent-overlay.cjs +73 -37
- package/dist/navbar-transparent-overlay.js +73 -37
- package/dist/registry.cjs +294 -446
- package/dist/registry.js +294 -446
- package/package.json +1 -1
|
@@ -1584,7 +1584,7 @@ var NavbarAnimatedPreview = ({
|
|
|
1584
1584
|
spacingOverride
|
|
1585
1585
|
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1586
1586
|
const navWrapperClasses = cn(
|
|
1587
|
-
"h-
|
|
1587
|
+
"h-full max-w-full after:absolute after:inset-0 after:z-998 after:block after:size-full after:content-[''] [&>div:last-child>div]:mt-0 [&>div:last-child>div]:animate-none [&>div:last-child>div]:rounded-none [&>div:last-child>div]:border-0 [&>div:last-child>div]:shadow-[0px_-1px_0px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_rgba(17,26,37,0.05),0px_2px_5px_0px_rgba(16,25,36,0.1),0px_5px_20px_0px_rgba(16,25,36,0.1)]!",
|
|
1588
1588
|
navigationMenuClassName
|
|
1589
1589
|
);
|
|
1590
1590
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1558,7 +1558,7 @@ var NavbarAnimatedPreview = ({
|
|
|
1558
1558
|
spacingOverride
|
|
1559
1559
|
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1560
1560
|
const navWrapperClasses = cn(
|
|
1561
|
-
"h-
|
|
1561
|
+
"h-full max-w-full after:absolute after:inset-0 after:z-998 after:block after:size-full after:content-[''] [&>div:last-child>div]:mt-0 [&>div:last-child>div]:animate-none [&>div:last-child>div]:rounded-none [&>div:last-child>div]:border-0 [&>div:last-child>div]:shadow-[0px_-1px_0px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_rgba(17,26,37,0.05),0px_2px_5px_0px_rgba(16,25,36,0.1),0px_5px_20px_0px_rgba(16,25,36,0.1)]!",
|
|
1562
1562
|
navigationMenuClassName
|
|
1563
1563
|
);
|
|
1564
1564
|
return /* @__PURE__ */ jsx(
|
|
@@ -1405,8 +1405,11 @@ var NavbarEnterpriseMega = ({
|
|
|
1405
1405
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1406
1406
|
NavigationMenu,
|
|
1407
1407
|
{
|
|
1408
|
-
className: cn(
|
|
1409
|
-
|
|
1408
|
+
className: cn(
|
|
1409
|
+
"hidden lg:flex [&>div:last-child]:left-1/2 [&>div:last-child]:-translate-x-1/2",
|
|
1410
|
+
navigationMenuClassName
|
|
1411
|
+
),
|
|
1412
|
+
viewport: true,
|
|
1410
1413
|
children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: menuLinks?.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1411
1414
|
DesktopMenuItem,
|
|
1412
1415
|
{
|
|
@@ -1475,10 +1478,10 @@ var DesktopMenuItem = ({
|
|
|
1475
1478
|
if (hasDropdown) {
|
|
1476
1479
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
1477
1480
|
/* @__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-
|
|
1481
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "!rounded-xl !border-0 !p-6", children: renderDropdownContent(
|
|
1479
1482
|
{ ...item, layout: effectiveLayout },
|
|
1480
1483
|
optixFlowConfig
|
|
1481
|
-
) })
|
|
1484
|
+
) })
|
|
1482
1485
|
] }, `desktop-menu-item-${index}`);
|
|
1483
1486
|
}
|
|
1484
1487
|
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuItem, { value: `${index}`, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1548,70 +1551,64 @@ var SolutionsMenu = ({
|
|
|
1548
1551
|
platformItems,
|
|
1549
1552
|
featuredHeroCard,
|
|
1550
1553
|
optixFlowConfig
|
|
1551
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid
|
|
1552
|
-
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1554
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-w-[1100px] grid-cols-2 gap-4", children: [
|
|
1555
|
+
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1553
1556
|
Pressable,
|
|
1554
1557
|
{
|
|
1555
1558
|
href: featuredHeroCard.href,
|
|
1556
1559
|
className: cn(
|
|
1557
|
-
"group
|
|
1560
|
+
"group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
1558
1561
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
1559
1562
|
),
|
|
1560
|
-
children:
|
|
1561
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col justify-
|
|
1562
|
-
featuredHeroCard.subtitle && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-
|
|
1563
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1563
|
+
children: [
|
|
1564
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col justify-between p-5", children: [
|
|
1565
|
+
featuredHeroCard.subtitle && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-2 text-xs font-medium tracking-wider uppercase", children: featuredHeroCard.subtitle }),
|
|
1566
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1567
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
|
|
1568
|
+
featuredHeroCard.title,
|
|
1569
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1570
|
+
DynamicIcon,
|
|
1571
|
+
{
|
|
1572
|
+
name: "lucide/arrow-right",
|
|
1573
|
+
size: 16,
|
|
1574
|
+
className: "transition-transform group-hover:translate-x-1"
|
|
1575
|
+
}
|
|
1576
|
+
)
|
|
1577
|
+
] }),
|
|
1578
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
|
|
1579
|
+
] })
|
|
1575
1580
|
] }),
|
|
1576
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative w-full
|
|
1581
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-video w-full overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1577
1582
|
img.Img,
|
|
1578
1583
|
{
|
|
1579
1584
|
src: featuredHeroCard.image,
|
|
1580
1585
|
alt: featuredHeroCard.title,
|
|
1581
|
-
className: "
|
|
1586
|
+
className: "h-full w-full object-cover",
|
|
1582
1587
|
optixFlowConfig
|
|
1583
1588
|
}
|
|
1584
1589
|
) })
|
|
1585
|
-
]
|
|
1590
|
+
]
|
|
1586
1591
|
}
|
|
1587
|
-
),
|
|
1588
|
-
platformItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1589
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-
|
|
1590
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid
|
|
1592
|
+
) }),
|
|
1593
|
+
platformItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "col-span-1", children: [
|
|
1594
|
+
/* @__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: "Developer Platform" }) }),
|
|
1595
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-2", children: platformItems.map((technology) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1591
1596
|
NavigationMenuLink,
|
|
1592
1597
|
{
|
|
1593
1598
|
href: technology.href,
|
|
1594
|
-
className: "group
|
|
1599
|
+
className: "group flex items-center gap-2 rounded-lg p-2 hover:bg-muted",
|
|
1595
1600
|
children: [
|
|
1596
|
-
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: technology.icon, size: 16 }),
|
|
1597
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 text-sm font-medium", children: technology.title })
|
|
1598
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1599
|
-
DynamicIcon,
|
|
1600
|
-
{
|
|
1601
|
-
name: "lucide/arrow-right",
|
|
1602
|
-
size: 16,
|
|
1603
|
-
className: "transition-transform group-hover:translate-x-1 lg:hidden"
|
|
1604
|
-
}
|
|
1605
|
-
)
|
|
1601
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: technology.icon, size: 16, className: "shrink-0" }),
|
|
1602
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: technology.title })
|
|
1606
1603
|
]
|
|
1607
1604
|
},
|
|
1608
1605
|
technology.id
|
|
1609
1606
|
)) })
|
|
1610
1607
|
] }),
|
|
1611
|
-
solutionCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-
|
|
1608
|
+
solutionCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-2 mt-2 grid grid-cols-4 gap-3", children: solutionCards.map((solution) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1612
1609
|
"div",
|
|
1613
1610
|
{
|
|
1614
|
-
className: "flex flex-col rounded-lg border border-border p-4",
|
|
1611
|
+
className: "col-span-1 flex flex-col rounded-lg border border-border p-4",
|
|
1615
1612
|
children: [
|
|
1616
1613
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-border pb-3", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1617
1614
|
Pressable,
|
|
@@ -1625,8 +1622,8 @@ var SolutionsMenu = ({
|
|
|
1625
1622
|
DynamicIcon,
|
|
1626
1623
|
{
|
|
1627
1624
|
name: "lucide/arrow-right",
|
|
1628
|
-
size:
|
|
1629
|
-
className: "transition-transform group-hover:translate-x-1"
|
|
1625
|
+
size: 14,
|
|
1626
|
+
className: "shrink-0 transition-transform group-hover:translate-x-1"
|
|
1630
1627
|
}
|
|
1631
1628
|
)
|
|
1632
1629
|
] }),
|
|
@@ -1634,22 +1631,14 @@ var SolutionsMenu = ({
|
|
|
1634
1631
|
]
|
|
1635
1632
|
}
|
|
1636
1633
|
) }),
|
|
1637
|
-
/* @__PURE__ */ jsxRuntime.jsx("menu", { className: "mt-
|
|
1634
|
+
/* @__PURE__ */ jsxRuntime.jsx("menu", { className: "mt-3 grid gap-2", children: solution.subpages.map((subpage) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1638
1635
|
NavigationMenuLink,
|
|
1639
1636
|
{
|
|
1640
1637
|
href: subpage.href,
|
|
1641
|
-
className: "group
|
|
1638
|
+
className: "group flex items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
1642
1639
|
children: [
|
|
1643
|
-
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: subpage.icon, size:
|
|
1644
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 text-sm font-medium", children: subpage.title })
|
|
1645
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1646
|
-
DynamicIcon,
|
|
1647
|
-
{
|
|
1648
|
-
name: "lucide/arrow-right",
|
|
1649
|
-
size: 16,
|
|
1650
|
-
className: "transition-transform group-hover:translate-x-1 lg:hidden"
|
|
1651
|
-
}
|
|
1652
|
-
)
|
|
1640
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: subpage.icon, size: 14, className: "shrink-0" }),
|
|
1641
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: subpage.title })
|
|
1653
1642
|
]
|
|
1654
1643
|
},
|
|
1655
1644
|
subpage.id
|
|
@@ -1663,13 +1652,13 @@ var ProductsMenu = ({
|
|
|
1663
1652
|
productCategories,
|
|
1664
1653
|
featuredHeroCard,
|
|
1665
1654
|
optixFlowConfig
|
|
1666
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
1667
|
-
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "
|
|
1655
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-w-[1000px] grid-cols-[320px_1fr] gap-6", children: [
|
|
1656
|
+
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1668
1657
|
Pressable,
|
|
1669
1658
|
{
|
|
1670
1659
|
href: featuredHeroCard.href,
|
|
1671
1660
|
className: cn(
|
|
1672
|
-
"group
|
|
1661
|
+
"group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
1673
1662
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
1674
1663
|
),
|
|
1675
1664
|
children: [
|
|
@@ -1682,14 +1671,14 @@ var ProductsMenu = ({
|
|
|
1682
1671
|
optixFlowConfig
|
|
1683
1672
|
}
|
|
1684
1673
|
) }),
|
|
1685
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-
|
|
1686
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-
|
|
1674
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-5", children: [
|
|
1675
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
|
|
1687
1676
|
featuredHeroCard.title,
|
|
1688
1677
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1689
1678
|
DynamicIcon,
|
|
1690
1679
|
{
|
|
1691
1680
|
name: "lucide/arrow-right",
|
|
1692
|
-
size:
|
|
1681
|
+
size: 16,
|
|
1693
1682
|
className: "transition-transform group-hover:translate-x-1"
|
|
1694
1683
|
}
|
|
1695
1684
|
)
|
|
@@ -1699,15 +1688,15 @@ var ProductsMenu = ({
|
|
|
1699
1688
|
]
|
|
1700
1689
|
}
|
|
1701
1690
|
) }),
|
|
1702
|
-
productCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "
|
|
1691
|
+
productCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1 flex flex-col gap-6", children: productCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-3", children: [
|
|
1703
1692
|
/* @__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
|
|
1693
|
+
/* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid grid-cols-3 gap-3", children: category.products.map((product) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1705
1694
|
NavigationMenuLink,
|
|
1706
1695
|
{
|
|
1707
1696
|
href: product.href,
|
|
1708
|
-
className: "group -
|
|
1697
|
+
className: "group col-span-1 flex items-center gap-3 rounded-lg p-3 text-left hover:bg-muted",
|
|
1709
1698
|
children: [
|
|
1710
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex size-
|
|
1699
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex size-12 shrink-0 items-center justify-center overflow-hidden rounded", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1711
1700
|
img.Img,
|
|
1712
1701
|
{
|
|
1713
1702
|
src: product.image,
|
|
@@ -1716,18 +1705,10 @@ var ProductsMenu = ({
|
|
|
1716
1705
|
optixFlowConfig
|
|
1717
1706
|
}
|
|
1718
1707
|
) }),
|
|
1719
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
1708
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1720
1709
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: product.title }),
|
|
1721
1710
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: product.description })
|
|
1722
|
-
] })
|
|
1723
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1724
|
-
DynamicIcon,
|
|
1725
|
-
{
|
|
1726
|
-
name: "lucide/arrow-right",
|
|
1727
|
-
size: 16,
|
|
1728
|
-
className: "shrink-0 transition-transform group-hover:translate-x-1 lg:hidden"
|
|
1729
|
-
}
|
|
1730
|
-
)
|
|
1711
|
+
] })
|
|
1731
1712
|
]
|
|
1732
1713
|
},
|
|
1733
1714
|
product.id
|
|
@@ -1739,14 +1720,14 @@ var GlobalMenu = ({
|
|
|
1739
1720
|
regions,
|
|
1740
1721
|
featuredHeroCard,
|
|
1741
1722
|
optixFlowConfig
|
|
1742
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1743
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
1744
|
-
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "
|
|
1723
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-[1000px]", children: [
|
|
1724
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-[280px_1fr] gap-6", children: [
|
|
1725
|
+
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1745
1726
|
Pressable,
|
|
1746
1727
|
{
|
|
1747
1728
|
href: featuredHeroCard.href,
|
|
1748
1729
|
className: cn(
|
|
1749
|
-
"group
|
|
1730
|
+
"group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
1750
1731
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
1751
1732
|
),
|
|
1752
1733
|
children: [
|
|
@@ -1759,14 +1740,14 @@ var GlobalMenu = ({
|
|
|
1759
1740
|
optixFlowConfig
|
|
1760
1741
|
}
|
|
1761
1742
|
) }),
|
|
1762
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-
|
|
1763
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-
|
|
1743
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-5", children: [
|
|
1744
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
|
|
1764
1745
|
featuredHeroCard.title,
|
|
1765
1746
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1766
1747
|
DynamicIcon,
|
|
1767
1748
|
{
|
|
1768
1749
|
name: "lucide/arrow-right",
|
|
1769
|
-
size:
|
|
1750
|
+
size: 16,
|
|
1770
1751
|
className: "transition-transform group-hover:translate-x-1"
|
|
1771
1752
|
}
|
|
1772
1753
|
)
|
|
@@ -1776,57 +1757,41 @@ var GlobalMenu = ({
|
|
|
1776
1757
|
]
|
|
1777
1758
|
}
|
|
1778
1759
|
) }),
|
|
1779
|
-
featureCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "
|
|
1760
|
+
featureCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1 flex flex-col gap-6", children: featureCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-3", children: [
|
|
1780
1761
|
/* @__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
|
|
1762
|
+
/* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid grid-cols-3 gap-3", children: category.features.map((feature) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1782
1763
|
NavigationMenuLink,
|
|
1783
1764
|
{
|
|
1784
1765
|
href: feature.href,
|
|
1785
|
-
className: "group -
|
|
1766
|
+
className: "group col-span-1 flex items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
1786
1767
|
children: [
|
|
1787
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-
|
|
1788
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
1768
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-8 shrink-0 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: feature.icon, size: 18 }) }),
|
|
1769
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1789
1770
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: feature.title }),
|
|
1790
1771
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: feature.description })
|
|
1791
|
-
] })
|
|
1792
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1793
|
-
DynamicIcon,
|
|
1794
|
-
{
|
|
1795
|
-
name: "lucide/arrow-right",
|
|
1796
|
-
size: 16,
|
|
1797
|
-
className: "shrink-0 transition-transform group-hover:translate-x-1 lg:hidden"
|
|
1798
|
-
}
|
|
1799
|
-
)
|
|
1772
|
+
] })
|
|
1800
1773
|
]
|
|
1801
1774
|
},
|
|
1802
1775
|
feature.id
|
|
1803
1776
|
)) })
|
|
1804
1777
|
] }, category.title)) })
|
|
1805
1778
|
] }),
|
|
1806
|
-
regions.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-
|
|
1807
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-
|
|
1808
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid
|
|
1779
|
+
regions.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-6", children: [
|
|
1780
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3 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" }) }),
|
|
1781
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-4 gap-4", children: regions.map((region) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1809
1782
|
"div",
|
|
1810
1783
|
{
|
|
1811
|
-
className: "flex flex-col gap-
|
|
1784
|
+
className: "col-span-1 flex flex-col gap-3",
|
|
1812
1785
|
children: [
|
|
1813
1786
|
/* @__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-
|
|
1787
|
+
/* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid gap-1.5", children: region.locations.map((location) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1815
1788
|
NavigationMenuLink,
|
|
1816
1789
|
{
|
|
1817
1790
|
href: location.href,
|
|
1818
|
-
className: "group
|
|
1791
|
+
className: "group flex items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
1819
1792
|
children: [
|
|
1820
1793
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-4 shrink-0 items-center justify-center", children: location.icon }),
|
|
1821
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "
|
|
1822
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1823
|
-
DynamicIcon,
|
|
1824
|
-
{
|
|
1825
|
-
name: "lucide/arrow-right",
|
|
1826
|
-
size: 16,
|
|
1827
|
-
className: "shrink-0 transition-transform group-hover:translate-x-1 lg:hidden"
|
|
1828
|
-
}
|
|
1829
|
-
)
|
|
1794
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: location.title })
|
|
1830
1795
|
]
|
|
1831
1796
|
},
|
|
1832
1797
|
location.title
|
|
@@ -1841,13 +1806,13 @@ var PartnersMenu = ({
|
|
|
1841
1806
|
partnerCards,
|
|
1842
1807
|
featuredHeroCard,
|
|
1843
1808
|
optixFlowConfig
|
|
1844
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid
|
|
1845
|
-
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1809
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-w-[900px] grid-cols-[2fr_1fr] gap-6", children: [
|
|
1810
|
+
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1846
1811
|
Pressable,
|
|
1847
1812
|
{
|
|
1848
1813
|
href: featuredHeroCard.href,
|
|
1849
1814
|
className: cn(
|
|
1850
|
-
"group
|
|
1815
|
+
"group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
1851
1816
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
1852
1817
|
),
|
|
1853
1818
|
children: [
|
|
@@ -1863,14 +1828,14 @@ var PartnersMenu = ({
|
|
|
1863
1828
|
optixFlowConfig
|
|
1864
1829
|
}
|
|
1865
1830
|
) }),
|
|
1866
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-
|
|
1867
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-
|
|
1831
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-5", children: [
|
|
1832
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
|
|
1868
1833
|
featuredHeroCard.title,
|
|
1869
1834
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1870
1835
|
DynamicIcon,
|
|
1871
1836
|
{
|
|
1872
1837
|
name: "lucide/arrow-right",
|
|
1873
|
-
size:
|
|
1838
|
+
size: 16,
|
|
1874
1839
|
className: "transition-transform group-hover:translate-x-1"
|
|
1875
1840
|
}
|
|
1876
1841
|
)
|
|
@@ -1880,14 +1845,14 @@ var PartnersMenu = ({
|
|
|
1880
1845
|
]
|
|
1881
1846
|
}
|
|
1882
1847
|
) }),
|
|
1883
|
-
partnerCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-
|
|
1848
|
+
partnerCards.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1 flex flex-col gap-3", children: partnerCards.map((card) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1884
1849
|
NavigationMenuLink,
|
|
1885
1850
|
{
|
|
1886
1851
|
href: card.href,
|
|
1887
|
-
className: "group flex items-start gap-
|
|
1852
|
+
className: "group flex items-start gap-3 rounded-lg border border-border p-4 hover:bg-muted",
|
|
1888
1853
|
children: [
|
|
1889
|
-
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: card.icon, size:
|
|
1890
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
1854
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: card.icon, size: 28, className: "shrink-0" }),
|
|
1855
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1891
1856
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-bold", children: card.title }),
|
|
1892
1857
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: card.description })
|
|
1893
1858
|
] })
|
|
@@ -1900,13 +1865,13 @@ var ResourcesMenu = ({
|
|
|
1900
1865
|
resourceItems,
|
|
1901
1866
|
topicGroups,
|
|
1902
1867
|
featuredHeroCard
|
|
1903
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid
|
|
1904
|
-
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1868
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-w-[1000px] grid-cols-[280px_1fr_220px] gap-6", children: [
|
|
1869
|
+
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1905
1870
|
Pressable,
|
|
1906
1871
|
{
|
|
1907
1872
|
href: featuredHeroCard.href,
|
|
1908
1873
|
className: cn(
|
|
1909
|
-
"group
|
|
1874
|
+
"group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
1910
1875
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
1911
1876
|
),
|
|
1912
1877
|
children: [
|
|
@@ -1918,14 +1883,14 @@ var ResourcesMenu = ({
|
|
|
1918
1883
|
className: "h-full w-full object-cover invert"
|
|
1919
1884
|
}
|
|
1920
1885
|
) }),
|
|
1921
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-
|
|
1922
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-
|
|
1886
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col p-5", children: [
|
|
1887
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
|
|
1923
1888
|
featuredHeroCard.title,
|
|
1924
1889
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1925
1890
|
DynamicIcon,
|
|
1926
1891
|
{
|
|
1927
1892
|
name: "lucide/arrow-right",
|
|
1928
|
-
size:
|
|
1893
|
+
size: 16,
|
|
1929
1894
|
className: "transition-transform group-hover:translate-x-1"
|
|
1930
1895
|
}
|
|
1931
1896
|
)
|
|
@@ -1935,23 +1900,23 @@ var ResourcesMenu = ({
|
|
|
1935
1900
|
]
|
|
1936
1901
|
}
|
|
1937
1902
|
) }),
|
|
1938
|
-
resourceItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1939
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-
|
|
1940
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid
|
|
1903
|
+
resourceItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "col-span-1", children: [
|
|
1904
|
+
/* @__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: "Resources" }) }),
|
|
1905
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-3", children: resourceItems.map((resource) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1941
1906
|
NavigationMenuLink,
|
|
1942
1907
|
{
|
|
1943
1908
|
href: resource.href,
|
|
1944
|
-
className: "group -
|
|
1909
|
+
className: "group col-span-1 flex items-start gap-3 rounded-lg border border-border p-3 hover:bg-muted",
|
|
1945
1910
|
children: [
|
|
1946
1911
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1947
1912
|
DynamicIcon,
|
|
1948
1913
|
{
|
|
1949
1914
|
name: resource.icon,
|
|
1950
|
-
size:
|
|
1915
|
+
size: 18,
|
|
1951
1916
|
className: "mt-0.5 shrink-0"
|
|
1952
1917
|
}
|
|
1953
1918
|
),
|
|
1954
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
1919
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1955
1920
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: resource.title }),
|
|
1956
1921
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: resource.description })
|
|
1957
1922
|
] })
|
|
@@ -1960,16 +1925,16 @@ var ResourcesMenu = ({
|
|
|
1960
1925
|
resource.id
|
|
1961
1926
|
)) })
|
|
1962
1927
|
] }),
|
|
1963
|
-
topicGroups.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { children: topicGroups.map((group) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-
|
|
1928
|
+
topicGroups.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: topicGroups.map((group) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-5 last:mb-0", children: [
|
|
1964
1929
|
/* @__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-
|
|
1930
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-1.5", children: group.topics.map((topic) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1966
1931
|
NavigationMenuLink,
|
|
1967
1932
|
{
|
|
1968
1933
|
href: topic.href,
|
|
1969
|
-
className: "group
|
|
1934
|
+
className: "group flex items-center gap-2 rounded-lg p-2 hover:bg-muted",
|
|
1970
1935
|
children: [
|
|
1971
|
-
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: topic.icon, size:
|
|
1972
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 text-sm font-medium", children: topic.title })
|
|
1936
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: topic.icon, size: 14, className: "shrink-0" }),
|
|
1937
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-0 flex-1 text-sm font-medium", children: topic.title })
|
|
1973
1938
|
]
|
|
1974
1939
|
},
|
|
1975
1940
|
topic.id
|