@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
|
@@ -1381,8 +1381,11 @@ var NavbarEnterpriseMega = ({
|
|
|
1381
1381
|
/* @__PURE__ */ jsx(
|
|
1382
1382
|
NavigationMenu,
|
|
1383
1383
|
{
|
|
1384
|
-
className: cn(
|
|
1385
|
-
|
|
1384
|
+
className: cn(
|
|
1385
|
+
"hidden lg:flex [&>div:last-child]:left-1/2 [&>div:last-child]:-translate-x-1/2",
|
|
1386
|
+
navigationMenuClassName
|
|
1387
|
+
),
|
|
1388
|
+
viewport: true,
|
|
1386
1389
|
children: /* @__PURE__ */ jsx(NavigationMenuList, { children: menuLinks?.map((item, index) => /* @__PURE__ */ jsx(
|
|
1387
1390
|
DesktopMenuItem,
|
|
1388
1391
|
{
|
|
@@ -1451,10 +1454,10 @@ var DesktopMenuItem = ({
|
|
|
1451
1454
|
if (hasDropdown) {
|
|
1452
1455
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
1453
1456
|
/* @__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-
|
|
1457
|
+
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "!rounded-xl !border-0 !p-6", children: renderDropdownContent(
|
|
1455
1458
|
{ ...item, layout: effectiveLayout },
|
|
1456
1459
|
optixFlowConfig
|
|
1457
|
-
) })
|
|
1460
|
+
) })
|
|
1458
1461
|
] }, `desktop-menu-item-${index}`);
|
|
1459
1462
|
}
|
|
1460
1463
|
return /* @__PURE__ */ jsx(NavigationMenuItem, { value: `${index}`, children: /* @__PURE__ */ jsx(
|
|
@@ -1524,70 +1527,64 @@ var SolutionsMenu = ({
|
|
|
1524
1527
|
platformItems,
|
|
1525
1528
|
featuredHeroCard,
|
|
1526
1529
|
optixFlowConfig
|
|
1527
|
-
}) => /* @__PURE__ */ jsxs("div", { className: "grid
|
|
1528
|
-
featuredHeroCard && /* @__PURE__ */ jsx(
|
|
1530
|
+
}) => /* @__PURE__ */ jsxs("div", { className: "grid min-w-[1100px] grid-cols-2 gap-4", children: [
|
|
1531
|
+
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxs(
|
|
1529
1532
|
Pressable,
|
|
1530
1533
|
{
|
|
1531
1534
|
href: featuredHeroCard.href,
|
|
1532
1535
|
className: cn(
|
|
1533
|
-
"group
|
|
1536
|
+
"group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
1534
1537
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
1535
1538
|
),
|
|
1536
|
-
children:
|
|
1537
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col justify-
|
|
1538
|
-
featuredHeroCard.subtitle && /* @__PURE__ */ jsx("span", { className: "mb-
|
|
1539
|
-
/* @__PURE__ */ jsxs("div", {
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1539
|
+
children: [
|
|
1540
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col justify-between p-5", children: [
|
|
1541
|
+
featuredHeroCard.subtitle && /* @__PURE__ */ jsx("span", { className: "mb-2 text-xs font-medium tracking-wider uppercase", children: featuredHeroCard.subtitle }),
|
|
1542
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
1543
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
|
|
1544
|
+
featuredHeroCard.title,
|
|
1545
|
+
/* @__PURE__ */ jsx(
|
|
1546
|
+
DynamicIcon,
|
|
1547
|
+
{
|
|
1548
|
+
name: "lucide/arrow-right",
|
|
1549
|
+
size: 16,
|
|
1550
|
+
className: "transition-transform group-hover:translate-x-1"
|
|
1551
|
+
}
|
|
1552
|
+
)
|
|
1553
|
+
] }),
|
|
1554
|
+
/* @__PURE__ */ jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
|
|
1555
|
+
] })
|
|
1551
1556
|
] }),
|
|
1552
|
-
/* @__PURE__ */ jsx("div", { className: "relative w-full
|
|
1557
|
+
/* @__PURE__ */ jsx("div", { className: "relative aspect-video w-full overflow-hidden", children: /* @__PURE__ */ jsx(
|
|
1553
1558
|
Img,
|
|
1554
1559
|
{
|
|
1555
1560
|
src: featuredHeroCard.image,
|
|
1556
1561
|
alt: featuredHeroCard.title,
|
|
1557
|
-
className: "
|
|
1562
|
+
className: "h-full w-full object-cover",
|
|
1558
1563
|
optixFlowConfig
|
|
1559
1564
|
}
|
|
1560
1565
|
) })
|
|
1561
|
-
]
|
|
1566
|
+
]
|
|
1562
1567
|
}
|
|
1563
|
-
),
|
|
1564
|
-
platformItems.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
|
|
1565
|
-
/* @__PURE__ */ jsx("div", { className: "mb-
|
|
1566
|
-
/* @__PURE__ */ jsx("div", { className: "grid
|
|
1568
|
+
) }),
|
|
1569
|
+
platformItems.length > 0 && /* @__PURE__ */ jsxs("div", { className: "col-span-1", children: [
|
|
1570
|
+
/* @__PURE__ */ jsx("div", { className: "mb-3 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Developer Platform" }) }),
|
|
1571
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-2", children: platformItems.map((technology) => /* @__PURE__ */ jsxs(
|
|
1567
1572
|
NavigationMenuLink,
|
|
1568
1573
|
{
|
|
1569
1574
|
href: technology.href,
|
|
1570
|
-
className: "group
|
|
1575
|
+
className: "group flex items-center gap-2 rounded-lg p-2 hover:bg-muted",
|
|
1571
1576
|
children: [
|
|
1572
|
-
/* @__PURE__ */ jsx(DynamicIcon, { name: technology.icon, size: 16 }),
|
|
1573
|
-
/* @__PURE__ */ jsx("div", { className: "flex-1 text-sm font-medium", children: technology.title })
|
|
1574
|
-
/* @__PURE__ */ jsx(
|
|
1575
|
-
DynamicIcon,
|
|
1576
|
-
{
|
|
1577
|
-
name: "lucide/arrow-right",
|
|
1578
|
-
size: 16,
|
|
1579
|
-
className: "transition-transform group-hover:translate-x-1 lg:hidden"
|
|
1580
|
-
}
|
|
1581
|
-
)
|
|
1577
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: technology.icon, size: 16, className: "shrink-0" }),
|
|
1578
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: technology.title })
|
|
1582
1579
|
]
|
|
1583
1580
|
},
|
|
1584
1581
|
technology.id
|
|
1585
1582
|
)) })
|
|
1586
1583
|
] }),
|
|
1587
|
-
solutionCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "col-span-
|
|
1584
|
+
solutionCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "col-span-2 mt-2 grid grid-cols-4 gap-3", children: solutionCards.map((solution) => /* @__PURE__ */ jsxs(
|
|
1588
1585
|
"div",
|
|
1589
1586
|
{
|
|
1590
|
-
className: "flex flex-col rounded-lg border border-border p-4",
|
|
1587
|
+
className: "col-span-1 flex flex-col rounded-lg border border-border p-4",
|
|
1591
1588
|
children: [
|
|
1592
1589
|
/* @__PURE__ */ jsx("div", { className: "border-b border-border pb-3", children: /* @__PURE__ */ jsxs(
|
|
1593
1590
|
Pressable,
|
|
@@ -1601,8 +1598,8 @@ var SolutionsMenu = ({
|
|
|
1601
1598
|
DynamicIcon,
|
|
1602
1599
|
{
|
|
1603
1600
|
name: "lucide/arrow-right",
|
|
1604
|
-
size:
|
|
1605
|
-
className: "transition-transform group-hover:translate-x-1"
|
|
1601
|
+
size: 14,
|
|
1602
|
+
className: "shrink-0 transition-transform group-hover:translate-x-1"
|
|
1606
1603
|
}
|
|
1607
1604
|
)
|
|
1608
1605
|
] }),
|
|
@@ -1610,22 +1607,14 @@ var SolutionsMenu = ({
|
|
|
1610
1607
|
]
|
|
1611
1608
|
}
|
|
1612
1609
|
) }),
|
|
1613
|
-
/* @__PURE__ */ jsx("menu", { className: "mt-
|
|
1610
|
+
/* @__PURE__ */ jsx("menu", { className: "mt-3 grid gap-2", children: solution.subpages.map((subpage) => /* @__PURE__ */ jsxs(
|
|
1614
1611
|
NavigationMenuLink,
|
|
1615
1612
|
{
|
|
1616
1613
|
href: subpage.href,
|
|
1617
|
-
className: "group
|
|
1614
|
+
className: "group flex items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
1618
1615
|
children: [
|
|
1619
|
-
/* @__PURE__ */ jsx(DynamicIcon, { name: subpage.icon, size:
|
|
1620
|
-
/* @__PURE__ */ jsx("div", { className: "flex-1 text-sm font-medium", children: subpage.title })
|
|
1621
|
-
/* @__PURE__ */ jsx(
|
|
1622
|
-
DynamicIcon,
|
|
1623
|
-
{
|
|
1624
|
-
name: "lucide/arrow-right",
|
|
1625
|
-
size: 16,
|
|
1626
|
-
className: "transition-transform group-hover:translate-x-1 lg:hidden"
|
|
1627
|
-
}
|
|
1628
|
-
)
|
|
1616
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: subpage.icon, size: 14, className: "shrink-0" }),
|
|
1617
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: subpage.title })
|
|
1629
1618
|
]
|
|
1630
1619
|
},
|
|
1631
1620
|
subpage.id
|
|
@@ -1639,13 +1628,13 @@ var ProductsMenu = ({
|
|
|
1639
1628
|
productCategories,
|
|
1640
1629
|
featuredHeroCard,
|
|
1641
1630
|
optixFlowConfig
|
|
1642
|
-
}) => /* @__PURE__ */ jsxs("div", { className: "
|
|
1643
|
-
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "
|
|
1631
|
+
}) => /* @__PURE__ */ jsxs("div", { className: "grid min-w-[1000px] grid-cols-[320px_1fr] gap-6", children: [
|
|
1632
|
+
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxs(
|
|
1644
1633
|
Pressable,
|
|
1645
1634
|
{
|
|
1646
1635
|
href: featuredHeroCard.href,
|
|
1647
1636
|
className: cn(
|
|
1648
|
-
"group
|
|
1637
|
+
"group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
1649
1638
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
1650
1639
|
),
|
|
1651
1640
|
children: [
|
|
@@ -1658,14 +1647,14 @@ var ProductsMenu = ({
|
|
|
1658
1647
|
optixFlowConfig
|
|
1659
1648
|
}
|
|
1660
1649
|
) }),
|
|
1661
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-
|
|
1662
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-
|
|
1650
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-5", children: [
|
|
1651
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
|
|
1663
1652
|
featuredHeroCard.title,
|
|
1664
1653
|
/* @__PURE__ */ jsx(
|
|
1665
1654
|
DynamicIcon,
|
|
1666
1655
|
{
|
|
1667
1656
|
name: "lucide/arrow-right",
|
|
1668
|
-
size:
|
|
1657
|
+
size: 16,
|
|
1669
1658
|
className: "transition-transform group-hover:translate-x-1"
|
|
1670
1659
|
}
|
|
1671
1660
|
)
|
|
@@ -1675,15 +1664,15 @@ var ProductsMenu = ({
|
|
|
1675
1664
|
]
|
|
1676
1665
|
}
|
|
1677
1666
|
) }),
|
|
1678
|
-
productCategories.length > 0 && /* @__PURE__ */ jsx("div", { className: "
|
|
1667
|
+
productCategories.length > 0 && /* @__PURE__ */ jsx("div", { className: "col-span-1 flex flex-col gap-6", children: productCategories.map((category) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-3", children: [
|
|
1679
1668
|
/* @__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
|
|
1669
|
+
/* @__PURE__ */ jsx("menu", { className: "grid grid-cols-3 gap-3", children: category.products.map((product) => /* @__PURE__ */ jsxs(
|
|
1681
1670
|
NavigationMenuLink,
|
|
1682
1671
|
{
|
|
1683
1672
|
href: product.href,
|
|
1684
|
-
className: "group -
|
|
1673
|
+
className: "group col-span-1 flex items-center gap-3 rounded-lg p-3 text-left hover:bg-muted",
|
|
1685
1674
|
children: [
|
|
1686
|
-
/* @__PURE__ */ jsx("div", { className: "relative flex size-
|
|
1675
|
+
/* @__PURE__ */ jsx("div", { className: "relative flex size-12 shrink-0 items-center justify-center overflow-hidden rounded", children: /* @__PURE__ */ jsx(
|
|
1687
1676
|
Img,
|
|
1688
1677
|
{
|
|
1689
1678
|
src: product.image,
|
|
@@ -1692,18 +1681,10 @@ var ProductsMenu = ({
|
|
|
1692
1681
|
optixFlowConfig
|
|
1693
1682
|
}
|
|
1694
1683
|
) }),
|
|
1695
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
1684
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1696
1685
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: product.title }),
|
|
1697
1686
|
/* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: product.description })
|
|
1698
|
-
] })
|
|
1699
|
-
/* @__PURE__ */ jsx(
|
|
1700
|
-
DynamicIcon,
|
|
1701
|
-
{
|
|
1702
|
-
name: "lucide/arrow-right",
|
|
1703
|
-
size: 16,
|
|
1704
|
-
className: "shrink-0 transition-transform group-hover:translate-x-1 lg:hidden"
|
|
1705
|
-
}
|
|
1706
|
-
)
|
|
1687
|
+
] })
|
|
1707
1688
|
]
|
|
1708
1689
|
},
|
|
1709
1690
|
product.id
|
|
@@ -1715,14 +1696,14 @@ var GlobalMenu = ({
|
|
|
1715
1696
|
regions,
|
|
1716
1697
|
featuredHeroCard,
|
|
1717
1698
|
optixFlowConfig
|
|
1718
|
-
}) => /* @__PURE__ */ jsxs("div", { children: [
|
|
1719
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
1720
|
-
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "
|
|
1699
|
+
}) => /* @__PURE__ */ jsxs("div", { className: "min-w-[1000px]", children: [
|
|
1700
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-[280px_1fr] gap-6", children: [
|
|
1701
|
+
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxs(
|
|
1721
1702
|
Pressable,
|
|
1722
1703
|
{
|
|
1723
1704
|
href: featuredHeroCard.href,
|
|
1724
1705
|
className: cn(
|
|
1725
|
-
"group
|
|
1706
|
+
"group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
1726
1707
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
1727
1708
|
),
|
|
1728
1709
|
children: [
|
|
@@ -1735,14 +1716,14 @@ var GlobalMenu = ({
|
|
|
1735
1716
|
optixFlowConfig
|
|
1736
1717
|
}
|
|
1737
1718
|
) }),
|
|
1738
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-
|
|
1739
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-
|
|
1719
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-5", children: [
|
|
1720
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
|
|
1740
1721
|
featuredHeroCard.title,
|
|
1741
1722
|
/* @__PURE__ */ jsx(
|
|
1742
1723
|
DynamicIcon,
|
|
1743
1724
|
{
|
|
1744
1725
|
name: "lucide/arrow-right",
|
|
1745
|
-
size:
|
|
1726
|
+
size: 16,
|
|
1746
1727
|
className: "transition-transform group-hover:translate-x-1"
|
|
1747
1728
|
}
|
|
1748
1729
|
)
|
|
@@ -1752,57 +1733,41 @@ var GlobalMenu = ({
|
|
|
1752
1733
|
]
|
|
1753
1734
|
}
|
|
1754
1735
|
) }),
|
|
1755
|
-
featureCategories.length > 0 && /* @__PURE__ */ jsx("div", { className: "
|
|
1736
|
+
featureCategories.length > 0 && /* @__PURE__ */ jsx("div", { className: "col-span-1 flex flex-col gap-6", children: featureCategories.map((category) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-3", children: [
|
|
1756
1737
|
/* @__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
|
|
1738
|
+
/* @__PURE__ */ jsx("menu", { className: "grid grid-cols-3 gap-3", children: category.features.map((feature) => /* @__PURE__ */ jsxs(
|
|
1758
1739
|
NavigationMenuLink,
|
|
1759
1740
|
{
|
|
1760
1741
|
href: feature.href,
|
|
1761
|
-
className: "group -
|
|
1742
|
+
className: "group col-span-1 flex items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
1762
1743
|
children: [
|
|
1763
|
-
/* @__PURE__ */ jsx("div", { className: "flex size-
|
|
1764
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
1744
|
+
/* @__PURE__ */ jsx("div", { className: "flex size-8 shrink-0 items-center justify-center", children: /* @__PURE__ */ jsx(DynamicIcon, { name: feature.icon, size: 18 }) }),
|
|
1745
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1765
1746
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: feature.title }),
|
|
1766
1747
|
/* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: feature.description })
|
|
1767
|
-
] })
|
|
1768
|
-
/* @__PURE__ */ jsx(
|
|
1769
|
-
DynamicIcon,
|
|
1770
|
-
{
|
|
1771
|
-
name: "lucide/arrow-right",
|
|
1772
|
-
size: 16,
|
|
1773
|
-
className: "shrink-0 transition-transform group-hover:translate-x-1 lg:hidden"
|
|
1774
|
-
}
|
|
1775
|
-
)
|
|
1748
|
+
] })
|
|
1776
1749
|
]
|
|
1777
1750
|
},
|
|
1778
1751
|
feature.id
|
|
1779
1752
|
)) })
|
|
1780
1753
|
] }, category.title)) })
|
|
1781
1754
|
] }),
|
|
1782
|
-
regions.length > 0 && /* @__PURE__ */ jsxs("div", { className: "mt-
|
|
1783
|
-
/* @__PURE__ */ jsx("div", { className: "mb-
|
|
1784
|
-
/* @__PURE__ */ jsx("div", { className: "grid
|
|
1755
|
+
regions.length > 0 && /* @__PURE__ */ jsxs("div", { className: "mt-6", children: [
|
|
1756
|
+
/* @__PURE__ */ jsx("div", { className: "mb-3 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" }) }),
|
|
1757
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-4 gap-4", children: regions.map((region) => /* @__PURE__ */ jsxs(
|
|
1785
1758
|
"div",
|
|
1786
1759
|
{
|
|
1787
|
-
className: "flex flex-col gap-
|
|
1760
|
+
className: "col-span-1 flex flex-col gap-3",
|
|
1788
1761
|
children: [
|
|
1789
1762
|
/* @__PURE__ */ jsx("div", { className: "text-left text-xs font-medium text-muted-foreground", children: region.title }),
|
|
1790
|
-
/* @__PURE__ */ jsx("menu", { className: "grid gap-
|
|
1763
|
+
/* @__PURE__ */ jsx("menu", { className: "grid gap-1.5", children: region.locations.map((location) => /* @__PURE__ */ jsxs(
|
|
1791
1764
|
NavigationMenuLink,
|
|
1792
1765
|
{
|
|
1793
1766
|
href: location.href,
|
|
1794
|
-
className: "group
|
|
1767
|
+
className: "group flex items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
1795
1768
|
children: [
|
|
1796
1769
|
/* @__PURE__ */ jsx("div", { className: "flex size-4 shrink-0 items-center justify-center", children: location.icon }),
|
|
1797
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
1798
|
-
/* @__PURE__ */ jsx(
|
|
1799
|
-
DynamicIcon,
|
|
1800
|
-
{
|
|
1801
|
-
name: "lucide/arrow-right",
|
|
1802
|
-
size: 16,
|
|
1803
|
-
className: "shrink-0 transition-transform group-hover:translate-x-1 lg:hidden"
|
|
1804
|
-
}
|
|
1805
|
-
)
|
|
1770
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: location.title })
|
|
1806
1771
|
]
|
|
1807
1772
|
},
|
|
1808
1773
|
location.title
|
|
@@ -1817,13 +1782,13 @@ var PartnersMenu = ({
|
|
|
1817
1782
|
partnerCards,
|
|
1818
1783
|
featuredHeroCard,
|
|
1819
1784
|
optixFlowConfig
|
|
1820
|
-
}) => /* @__PURE__ */ jsxs("div", { className: "grid
|
|
1821
|
-
featuredHeroCard && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
1785
|
+
}) => /* @__PURE__ */ jsxs("div", { className: "grid min-w-[900px] grid-cols-[2fr_1fr] gap-6", children: [
|
|
1786
|
+
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxs(
|
|
1822
1787
|
Pressable,
|
|
1823
1788
|
{
|
|
1824
1789
|
href: featuredHeroCard.href,
|
|
1825
1790
|
className: cn(
|
|
1826
|
-
"group
|
|
1791
|
+
"group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
1827
1792
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
1828
1793
|
),
|
|
1829
1794
|
children: [
|
|
@@ -1839,14 +1804,14 @@ var PartnersMenu = ({
|
|
|
1839
1804
|
optixFlowConfig
|
|
1840
1805
|
}
|
|
1841
1806
|
) }),
|
|
1842
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-
|
|
1843
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-
|
|
1807
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-5", children: [
|
|
1808
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
|
|
1844
1809
|
featuredHeroCard.title,
|
|
1845
1810
|
/* @__PURE__ */ jsx(
|
|
1846
1811
|
DynamicIcon,
|
|
1847
1812
|
{
|
|
1848
1813
|
name: "lucide/arrow-right",
|
|
1849
|
-
size:
|
|
1814
|
+
size: 16,
|
|
1850
1815
|
className: "transition-transform group-hover:translate-x-1"
|
|
1851
1816
|
}
|
|
1852
1817
|
)
|
|
@@ -1856,14 +1821,14 @@ var PartnersMenu = ({
|
|
|
1856
1821
|
]
|
|
1857
1822
|
}
|
|
1858
1823
|
) }),
|
|
1859
|
-
partnerCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-
|
|
1824
|
+
partnerCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "col-span-1 flex flex-col gap-3", children: partnerCards.map((card) => /* @__PURE__ */ jsxs(
|
|
1860
1825
|
NavigationMenuLink,
|
|
1861
1826
|
{
|
|
1862
1827
|
href: card.href,
|
|
1863
|
-
className: "group flex items-start gap-
|
|
1828
|
+
className: "group flex items-start gap-3 rounded-lg border border-border p-4 hover:bg-muted",
|
|
1864
1829
|
children: [
|
|
1865
|
-
/* @__PURE__ */ jsx(DynamicIcon, { name: card.icon, size:
|
|
1866
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
1830
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: card.icon, size: 28, className: "shrink-0" }),
|
|
1831
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1867
1832
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-bold", children: card.title }),
|
|
1868
1833
|
/* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: card.description })
|
|
1869
1834
|
] })
|
|
@@ -1876,13 +1841,13 @@ var ResourcesMenu = ({
|
|
|
1876
1841
|
resourceItems,
|
|
1877
1842
|
topicGroups,
|
|
1878
1843
|
featuredHeroCard
|
|
1879
|
-
}) => /* @__PURE__ */ jsxs("div", { className: "grid
|
|
1880
|
-
featuredHeroCard && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
1844
|
+
}) => /* @__PURE__ */ jsxs("div", { className: "grid min-w-[1000px] grid-cols-[280px_1fr_220px] gap-6", children: [
|
|
1845
|
+
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxs(
|
|
1881
1846
|
Pressable,
|
|
1882
1847
|
{
|
|
1883
1848
|
href: featuredHeroCard.href,
|
|
1884
1849
|
className: cn(
|
|
1885
|
-
"group
|
|
1850
|
+
"group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
1886
1851
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
1887
1852
|
),
|
|
1888
1853
|
children: [
|
|
@@ -1894,14 +1859,14 @@ var ResourcesMenu = ({
|
|
|
1894
1859
|
className: "h-full w-full object-cover invert"
|
|
1895
1860
|
}
|
|
1896
1861
|
) }),
|
|
1897
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-
|
|
1898
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-
|
|
1862
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-5", children: [
|
|
1863
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
|
|
1899
1864
|
featuredHeroCard.title,
|
|
1900
1865
|
/* @__PURE__ */ jsx(
|
|
1901
1866
|
DynamicIcon,
|
|
1902
1867
|
{
|
|
1903
1868
|
name: "lucide/arrow-right",
|
|
1904
|
-
size:
|
|
1869
|
+
size: 16,
|
|
1905
1870
|
className: "transition-transform group-hover:translate-x-1"
|
|
1906
1871
|
}
|
|
1907
1872
|
)
|
|
@@ -1911,23 +1876,23 @@ var ResourcesMenu = ({
|
|
|
1911
1876
|
]
|
|
1912
1877
|
}
|
|
1913
1878
|
) }),
|
|
1914
|
-
resourceItems.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
|
|
1915
|
-
/* @__PURE__ */ jsx("div", { className: "mb-
|
|
1916
|
-
/* @__PURE__ */ jsx("div", { className: "grid
|
|
1879
|
+
resourceItems.length > 0 && /* @__PURE__ */ jsxs("div", { className: "col-span-1", children: [
|
|
1880
|
+
/* @__PURE__ */ jsx("div", { className: "mb-3 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Resources" }) }),
|
|
1881
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-3", children: resourceItems.map((resource) => /* @__PURE__ */ jsxs(
|
|
1917
1882
|
NavigationMenuLink,
|
|
1918
1883
|
{
|
|
1919
1884
|
href: resource.href,
|
|
1920
|
-
className: "group -
|
|
1885
|
+
className: "group col-span-1 flex items-start gap-3 rounded-lg border border-border p-3 hover:bg-muted",
|
|
1921
1886
|
children: [
|
|
1922
1887
|
/* @__PURE__ */ jsx(
|
|
1923
1888
|
DynamicIcon,
|
|
1924
1889
|
{
|
|
1925
1890
|
name: resource.icon,
|
|
1926
|
-
size:
|
|
1891
|
+
size: 18,
|
|
1927
1892
|
className: "mt-0.5 shrink-0"
|
|
1928
1893
|
}
|
|
1929
1894
|
),
|
|
1930
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
1895
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1931
1896
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: resource.title }),
|
|
1932
1897
|
/* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: resource.description })
|
|
1933
1898
|
] })
|
|
@@ -1936,16 +1901,16 @@ var ResourcesMenu = ({
|
|
|
1936
1901
|
resource.id
|
|
1937
1902
|
)) })
|
|
1938
1903
|
] }),
|
|
1939
|
-
topicGroups.length > 0 && /* @__PURE__ */ jsx("div", { children: topicGroups.map((group) => /* @__PURE__ */ jsxs("div", { className: "mb-
|
|
1904
|
+
topicGroups.length > 0 && /* @__PURE__ */ jsx("div", { className: "col-span-1", children: topicGroups.map((group) => /* @__PURE__ */ jsxs("div", { className: "mb-5 last:mb-0", children: [
|
|
1940
1905
|
/* @__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-
|
|
1906
|
+
/* @__PURE__ */ jsx("div", { className: "space-y-1.5", children: group.topics.map((topic) => /* @__PURE__ */ jsxs(
|
|
1942
1907
|
NavigationMenuLink,
|
|
1943
1908
|
{
|
|
1944
1909
|
href: topic.href,
|
|
1945
|
-
className: "group
|
|
1910
|
+
className: "group flex items-center gap-2 rounded-lg p-2 hover:bg-muted",
|
|
1946
1911
|
children: [
|
|
1947
|
-
/* @__PURE__ */ jsx(DynamicIcon, { name: topic.icon, size:
|
|
1948
|
-
/* @__PURE__ */ jsx("span", { className: "flex-1 text-sm font-medium", children: topic.title })
|
|
1912
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: topic.icon, size: 14, className: "shrink-0" }),
|
|
1913
|
+
/* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 text-sm font-medium", children: topic.title })
|
|
1949
1914
|
]
|
|
1950
1915
|
},
|
|
1951
1916
|
topic.id
|