@opensite/ui 0.9.9 → 1.0.1
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/components.cjs +50 -0
- package/dist/components.d.cts +1 -0
- package/dist/components.d.ts +1 -0
- package/dist/components.js +50 -1
- package/dist/index.cjs +50 -0
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +50 -1
- package/dist/navbar-enterprise-mega.cjs +17 -17
- package/dist/navbar-enterprise-mega.js +17 -17
- package/dist/navbar-fullscreen-menu.cjs +239 -71
- package/dist/navbar-fullscreen-menu.d.cts +12 -3
- package/dist/navbar-fullscreen-menu.d.ts +12 -3
- package/dist/navbar-fullscreen-menu.js +239 -71
- package/dist/registry.cjs +151 -88
- package/dist/registry.js +151 -88
- package/dist/social-link-icon.cjs +606 -0
- package/dist/social-link-icon.d.cts +74 -0
- package/dist/social-link-icon.d.ts +74 -0
- package/dist/social-link-icon.js +584 -0
- package/package.json +6 -1
package/dist/registry.cjs
CHANGED
|
@@ -58396,10 +58396,10 @@ var DesktopMenuItem2 = ({
|
|
|
58396
58396
|
if (hasDropdown) {
|
|
58397
58397
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
58398
58398
|
/* @__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 }),
|
|
58399
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "!rounded-xl !border-0
|
|
58399
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "!rounded-xl !border-0 !p-6", children: renderDropdownContent(
|
|
58400
58400
|
{ ...item, layout: effectiveLayout },
|
|
58401
58401
|
optixFlowConfig
|
|
58402
|
-
) })
|
|
58402
|
+
) })
|
|
58403
58403
|
] }, `desktop-menu-item-${index}`);
|
|
58404
58404
|
}
|
|
58405
58405
|
return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuItem, { value: `${index}`, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -58469,7 +58469,7 @@ var SolutionsMenu = ({
|
|
|
58469
58469
|
platformItems,
|
|
58470
58470
|
featuredHeroCard,
|
|
58471
58471
|
optixFlowConfig
|
|
58472
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-4", children: [
|
|
58472
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-w-[1100px] grid-cols-2 gap-4", children: [
|
|
58473
58473
|
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
58474
58474
|
Pressable,
|
|
58475
58475
|
{
|
|
@@ -58514,7 +58514,7 @@ var SolutionsMenu = ({
|
|
|
58514
58514
|
NavigationMenuLink,
|
|
58515
58515
|
{
|
|
58516
58516
|
href: technology.href,
|
|
58517
|
-
className: "group flex items-center gap-2 rounded-lg p-2 hover:bg-muted",
|
|
58517
|
+
className: "group !flex !w-full items-center gap-2 rounded-lg p-2 hover:bg-muted",
|
|
58518
58518
|
children: [
|
|
58519
58519
|
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: technology.icon, size: 16, className: "shrink-0" }),
|
|
58520
58520
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: technology.title })
|
|
@@ -58526,7 +58526,7 @@ var SolutionsMenu = ({
|
|
|
58526
58526
|
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(
|
|
58527
58527
|
"div",
|
|
58528
58528
|
{
|
|
58529
|
-
className: "col-span-1 flex flex-col rounded-lg border border-border p-4",
|
|
58529
|
+
className: "col-span-1 flex w-full flex-col rounded-lg border border-border p-4",
|
|
58530
58530
|
children: [
|
|
58531
58531
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-border pb-3", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
58532
58532
|
Pressable,
|
|
@@ -58553,7 +58553,7 @@ var SolutionsMenu = ({
|
|
|
58553
58553
|
NavigationMenuLink,
|
|
58554
58554
|
{
|
|
58555
58555
|
href: subpage.href,
|
|
58556
|
-
className: "group flex items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
58556
|
+
className: "group !flex !w-full items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
58557
58557
|
children: [
|
|
58558
58558
|
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: subpage.icon, size: 14, className: "shrink-0" }),
|
|
58559
58559
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: subpage.title })
|
|
@@ -58570,7 +58570,7 @@ var ProductsMenu = ({
|
|
|
58570
58570
|
productCategories,
|
|
58571
58571
|
featuredHeroCard,
|
|
58572
58572
|
optixFlowConfig
|
|
58573
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-[320px_1fr] gap-6", children: [
|
|
58573
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-w-[1000px] grid-cols-[320px_1fr] gap-6", children: [
|
|
58574
58574
|
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
58575
58575
|
Pressable,
|
|
58576
58576
|
{
|
|
@@ -58612,7 +58612,7 @@ var ProductsMenu = ({
|
|
|
58612
58612
|
NavigationMenuLink,
|
|
58613
58613
|
{
|
|
58614
58614
|
href: product.href,
|
|
58615
|
-
className: "group col-span-1 flex items-center gap-3 rounded-lg p-3 text-left hover:bg-muted",
|
|
58615
|
+
className: "group col-span-1 !flex !w-full items-center gap-3 rounded-lg p-3 text-left hover:bg-muted",
|
|
58616
58616
|
children: [
|
|
58617
58617
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex size-12 shrink-0 items-center justify-center overflow-hidden rounded", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
58618
58618
|
img.Img,
|
|
@@ -58638,7 +58638,7 @@ var GlobalMenu = ({
|
|
|
58638
58638
|
regions,
|
|
58639
58639
|
featuredHeroCard,
|
|
58640
58640
|
optixFlowConfig
|
|
58641
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
58641
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-[1000px]", children: [
|
|
58642
58642
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-[280px_1fr] gap-6", children: [
|
|
58643
58643
|
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
58644
58644
|
Pressable,
|
|
@@ -58681,7 +58681,7 @@ var GlobalMenu = ({
|
|
|
58681
58681
|
NavigationMenuLink,
|
|
58682
58682
|
{
|
|
58683
58683
|
href: feature.href,
|
|
58684
|
-
className: "group col-span-1 flex items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
58684
|
+
className: "group col-span-1 !flex !w-full items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
58685
58685
|
children: [
|
|
58686
58686
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-8 shrink-0 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: feature.icon, size: 18 }) }),
|
|
58687
58687
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
@@ -58699,14 +58699,14 @@ var GlobalMenu = ({
|
|
|
58699
58699
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-4 gap-4", children: regions.map((region) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
58700
58700
|
"div",
|
|
58701
58701
|
{
|
|
58702
|
-
className: "col-span-1 flex flex-col gap-3",
|
|
58702
|
+
className: "col-span-1 flex w-full flex-col gap-3",
|
|
58703
58703
|
children: [
|
|
58704
58704
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-left text-xs font-medium text-muted-foreground", children: region.title }),
|
|
58705
58705
|
/* @__PURE__ */ jsxRuntime.jsx("menu", { className: "grid gap-1.5", children: region.locations.map((location) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
58706
58706
|
NavigationMenuLink,
|
|
58707
58707
|
{
|
|
58708
58708
|
href: location.href,
|
|
58709
|
-
className: "group flex items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
58709
|
+
className: "group !flex !w-full items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
58710
58710
|
children: [
|
|
58711
58711
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-4 shrink-0 items-center justify-center", children: location.icon }),
|
|
58712
58712
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: location.title })
|
|
@@ -58724,7 +58724,7 @@ var PartnersMenu = ({
|
|
|
58724
58724
|
partnerCards,
|
|
58725
58725
|
featuredHeroCard,
|
|
58726
58726
|
optixFlowConfig
|
|
58727
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-[2fr_1fr] gap-6", children: [
|
|
58727
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-w-[900px] grid-cols-[2fr_1fr] gap-6", children: [
|
|
58728
58728
|
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
58729
58729
|
Pressable,
|
|
58730
58730
|
{
|
|
@@ -58767,7 +58767,7 @@ var PartnersMenu = ({
|
|
|
58767
58767
|
NavigationMenuLink,
|
|
58768
58768
|
{
|
|
58769
58769
|
href: card.href,
|
|
58770
|
-
className: "group flex items-start gap-3 rounded-lg border border-border p-4 hover:bg-muted",
|
|
58770
|
+
className: "group !flex !w-full items-start gap-3 rounded-lg border border-border p-4 hover:bg-muted",
|
|
58771
58771
|
children: [
|
|
58772
58772
|
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: card.icon, size: 28, className: "shrink-0" }),
|
|
58773
58773
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
@@ -58783,7 +58783,7 @@ var ResourcesMenu = ({
|
|
|
58783
58783
|
resourceItems,
|
|
58784
58784
|
topicGroups,
|
|
58785
58785
|
featuredHeroCard
|
|
58786
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-[280px_1fr_220px] gap-6", children: [
|
|
58786
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-w-[1000px] grid-cols-[280px_1fr_220px] gap-6", children: [
|
|
58787
58787
|
featuredHeroCard && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
58788
58788
|
Pressable,
|
|
58789
58789
|
{
|
|
@@ -58824,7 +58824,7 @@ var ResourcesMenu = ({
|
|
|
58824
58824
|
NavigationMenuLink,
|
|
58825
58825
|
{
|
|
58826
58826
|
href: resource.href,
|
|
58827
|
-
className: "group col-span-1 flex items-start gap-3 rounded-lg border border-border p-3 hover:bg-muted",
|
|
58827
|
+
className: "group col-span-1 !flex !w-full items-start gap-3 rounded-lg border border-border p-3 hover:bg-muted",
|
|
58828
58828
|
children: [
|
|
58829
58829
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
58830
58830
|
DynamicIcon,
|
|
@@ -58849,7 +58849,7 @@ var ResourcesMenu = ({
|
|
|
58849
58849
|
NavigationMenuLink,
|
|
58850
58850
|
{
|
|
58851
58851
|
href: topic.href,
|
|
58852
|
-
className: "group flex items-center gap-2 rounded-lg p-2 hover:bg-muted",
|
|
58852
|
+
className: "group !flex !w-full items-center gap-2 rounded-lg p-2 hover:bg-muted",
|
|
58853
58853
|
children: [
|
|
58854
58854
|
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: topic.icon, size: 14, className: "shrink-0" }),
|
|
58855
58855
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-0 flex-1 text-sm font-medium", children: topic.title })
|
|
@@ -63650,6 +63650,55 @@ var NavbarTabbedSections = ({
|
|
|
63650
63650
|
}
|
|
63651
63651
|
);
|
|
63652
63652
|
};
|
|
63653
|
+
var platformIconMap = {
|
|
63654
|
+
instagram: "cib/instagram",
|
|
63655
|
+
linkedin: "cib/linkedin",
|
|
63656
|
+
google: "cib/google",
|
|
63657
|
+
facebook: "cib/facebook",
|
|
63658
|
+
tiktok: "cib/tiktok",
|
|
63659
|
+
youtube: "cib/youtube",
|
|
63660
|
+
yelp: "cib/yelp",
|
|
63661
|
+
spotify: "cib/spotify",
|
|
63662
|
+
apple: "cib/apple",
|
|
63663
|
+
x: "line-md/twitter-x"
|
|
63664
|
+
};
|
|
63665
|
+
var SocialLinkIcon = React52__namespace.forwardRef(
|
|
63666
|
+
({
|
|
63667
|
+
platformName,
|
|
63668
|
+
label,
|
|
63669
|
+
iconSize = 20,
|
|
63670
|
+
iconColor,
|
|
63671
|
+
iconClassName,
|
|
63672
|
+
className,
|
|
63673
|
+
...pressableProps
|
|
63674
|
+
}, ref) => {
|
|
63675
|
+
const iconName = platformIconMap[platformName];
|
|
63676
|
+
const accessibleLabel = label || platformName;
|
|
63677
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
63678
|
+
Pressable,
|
|
63679
|
+
{
|
|
63680
|
+
ref,
|
|
63681
|
+
"aria-label": accessibleLabel,
|
|
63682
|
+
className: cn(
|
|
63683
|
+
"inline-flex items-center justify-center transition-colors",
|
|
63684
|
+
className
|
|
63685
|
+
),
|
|
63686
|
+
...pressableProps,
|
|
63687
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
63688
|
+
DynamicIcon,
|
|
63689
|
+
{
|
|
63690
|
+
name: iconName,
|
|
63691
|
+
size: iconSize,
|
|
63692
|
+
color: iconColor,
|
|
63693
|
+
className: iconClassName,
|
|
63694
|
+
alt: accessibleLabel
|
|
63695
|
+
}
|
|
63696
|
+
)
|
|
63697
|
+
}
|
|
63698
|
+
);
|
|
63699
|
+
}
|
|
63700
|
+
);
|
|
63701
|
+
SocialLinkIcon.displayName = "SocialLinkIcon";
|
|
63653
63702
|
var NavbarFullscreenMenu = ({
|
|
63654
63703
|
logo = {
|
|
63655
63704
|
url: "/",
|
|
@@ -63679,36 +63728,35 @@ var NavbarFullscreenMenu = ({
|
|
|
63679
63728
|
const renderMenuItems = React52.useMemo(() => {
|
|
63680
63729
|
if (menuSlot) return menuSlot;
|
|
63681
63730
|
if (!menuItems || menuItems.length === 0) return null;
|
|
63682
|
-
return menuItems.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
63731
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "group/menu-container", children: menuItems.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
63683
63732
|
"div",
|
|
63684
63733
|
{
|
|
63685
|
-
className: "mb-5 animate-in slide-in-from-bottom-4 fade-in",
|
|
63734
|
+
className: "group/menu-item mb-5 animate-in slide-in-from-bottom-4 fade-in",
|
|
63686
63735
|
style: {
|
|
63687
63736
|
animationDelay: `${0.2 + index * 0.1}s`,
|
|
63688
63737
|
animationFillMode: "both"
|
|
63689
63738
|
},
|
|
63690
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(Pressable, { href: item.href, className: "
|
|
63691
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative z-10 text-4xl font-black text-foreground uppercase transition-all duration-300 md:text-6xl group-hover:opacity-
|
|
63692
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-0 left-0 h-1 w-0 bg-primary transition-all duration-300 group-hover:w-full" })
|
|
63739
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(Pressable, { href: item.href, className: "relative inline-block", children: [
|
|
63740
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative z-10 text-4xl font-black text-foreground uppercase transition-all duration-300 md:text-6xl group-hover/menu-container:opacity-50 group-hover/menu-container:blur-[4px] group-hover/menu-item:!opacity-100 group-hover/menu-item:!blur-none", children: item.label }),
|
|
63741
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-0 left-0 h-1 w-0 bg-primary transition-all duration-300 group-hover/menu-item:w-full" })
|
|
63693
63742
|
] })
|
|
63694
63743
|
},
|
|
63695
63744
|
item.label
|
|
63696
|
-
));
|
|
63745
|
+
)) });
|
|
63697
63746
|
}, [menuSlot, menuItems]);
|
|
63698
63747
|
const renderSocialLinks = React52.useMemo(() => {
|
|
63699
63748
|
if (socialLinksSlot) return socialLinksSlot;
|
|
63700
63749
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
63701
|
-
return socialLinks.map((link
|
|
63702
|
-
|
|
63750
|
+
return socialLinks.map((link) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
63751
|
+
SocialLinkIcon,
|
|
63703
63752
|
{
|
|
63753
|
+
platformName: link.platformName,
|
|
63704
63754
|
href: link.href,
|
|
63705
|
-
|
|
63706
|
-
|
|
63707
|
-
className: "
|
|
63708
|
-
style: { animationDelay: `${0.8 + index * 0.1}s` },
|
|
63709
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("span", { children: link.label })
|
|
63755
|
+
label: link.label,
|
|
63756
|
+
iconSize: 24,
|
|
63757
|
+
className: "text-muted-foreground transition-all duration-300 hover:text-foreground hover:scale-110"
|
|
63710
63758
|
},
|
|
63711
|
-
link.
|
|
63759
|
+
link.platformName
|
|
63712
63760
|
));
|
|
63713
63761
|
}, [socialLinksSlot, socialLinks]);
|
|
63714
63762
|
const {
|
|
@@ -63720,18 +63768,18 @@ var NavbarFullscreenMenu = ({
|
|
|
63720
63768
|
sectionContainerMaxWidth,
|
|
63721
63769
|
spacingOverride
|
|
63722
63770
|
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
63723
|
-
return /* @__PURE__ */ jsxRuntime.
|
|
63724
|
-
|
|
63725
|
-
|
|
63726
|
-
|
|
63727
|
-
|
|
63728
|
-
|
|
63729
|
-
|
|
63730
|
-
|
|
63731
|
-
|
|
63732
|
-
|
|
63733
|
-
|
|
63734
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
63771
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
63772
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
63773
|
+
Section,
|
|
63774
|
+
{
|
|
63775
|
+
background,
|
|
63776
|
+
spacing: spacingOverride ?? spacing,
|
|
63777
|
+
className: sectionClasses,
|
|
63778
|
+
pattern,
|
|
63779
|
+
patternOpacity,
|
|
63780
|
+
containerClassName: sectionContainerClassName,
|
|
63781
|
+
containerMaxWidth: sectionContainerMaxWidth,
|
|
63782
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: navWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
63735
63783
|
"nav",
|
|
63736
63784
|
{
|
|
63737
63785
|
className: cn(
|
|
@@ -63748,60 +63796,75 @@ var NavbarFullscreenMenu = ({
|
|
|
63748
63796
|
optixFlowConfig
|
|
63749
63797
|
}
|
|
63750
63798
|
) }),
|
|
63751
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "z-50", children: /* @__PURE__ */ jsxRuntime.
|
|
63799
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "z-50", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
63752
63800
|
"button",
|
|
63753
63801
|
{
|
|
63754
63802
|
onClick: toggleMenu,
|
|
63755
|
-
className: "text-
|
|
63756
|
-
|
|
63757
|
-
|
|
63758
|
-
"span",
|
|
63759
|
-
{
|
|
63760
|
-
className: `inline-block transition-all duration-200 ${isOpen ? "opacity-0 -translate-y-2" : "opacity-100 translate-y-0"}`,
|
|
63761
|
-
style: { display: isOpen ? "none" : "inline-block" },
|
|
63762
|
-
children: isOpen ? "" : "\u2630"
|
|
63763
|
-
}
|
|
63764
|
-
),
|
|
63765
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
63766
|
-
"span",
|
|
63767
|
-
{
|
|
63768
|
-
className: `inline-block transition-all duration-200 ${isOpen ? "opacity-100 translate-y-0" : "opacity-0 translate-y-2"}`,
|
|
63769
|
-
style: { display: isOpen ? "inline-block" : "none" },
|
|
63770
|
-
children: isOpen ? "\u2715" : ""
|
|
63771
|
-
}
|
|
63772
|
-
)
|
|
63773
|
-
]
|
|
63803
|
+
className: "text-2xl tracking-wider text-foreground transition-colors hover:text-muted-foreground",
|
|
63804
|
+
"aria-label": isOpen ? "Close menu" : "Open menu",
|
|
63805
|
+
children: "\u2630"
|
|
63774
63806
|
}
|
|
63775
63807
|
) })
|
|
63776
63808
|
]
|
|
63777
63809
|
}
|
|
63810
|
+
) }) }) })
|
|
63811
|
+
}
|
|
63812
|
+
),
|
|
63813
|
+
isOpen && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
63814
|
+
"div",
|
|
63815
|
+
{
|
|
63816
|
+
className: cn(
|
|
63817
|
+
"fixed inset-0 z-50 flex flex-col bg-background animate-in fade-in duration-300",
|
|
63818
|
+
overlayClassName
|
|
63778
63819
|
),
|
|
63779
|
-
|
|
63780
|
-
"div",
|
|
63781
|
-
|
|
63782
|
-
|
|
63783
|
-
|
|
63784
|
-
|
|
63820
|
+
children: [
|
|
63821
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between px-6 py-6", children: [
|
|
63822
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
63823
|
+
NavbarLogo,
|
|
63824
|
+
{
|
|
63825
|
+
logo,
|
|
63826
|
+
logoSlot,
|
|
63827
|
+
logoClassName,
|
|
63828
|
+
optixFlowConfig
|
|
63829
|
+
}
|
|
63785
63830
|
),
|
|
63786
|
-
|
|
63787
|
-
|
|
63788
|
-
|
|
63789
|
-
|
|
63790
|
-
|
|
63791
|
-
|
|
63792
|
-
|
|
63793
|
-
|
|
63794
|
-
|
|
63795
|
-
|
|
63796
|
-
|
|
63797
|
-
|
|
63798
|
-
|
|
63799
|
-
|
|
63800
|
-
|
|
63801
|
-
|
|
63802
|
-
|
|
63803
|
-
|
|
63804
|
-
|
|
63831
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
63832
|
+
"button",
|
|
63833
|
+
{
|
|
63834
|
+
onClick: toggleMenu,
|
|
63835
|
+
className: "text-2xl text-foreground transition-colors hover:text-muted-foreground",
|
|
63836
|
+
"aria-label": "Close menu",
|
|
63837
|
+
children: "\u2715"
|
|
63838
|
+
}
|
|
63839
|
+
)
|
|
63840
|
+
] }),
|
|
63841
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col items-center justify-center overflow-y-auto px-6 py-8", children: [
|
|
63842
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
63843
|
+
"div",
|
|
63844
|
+
{
|
|
63845
|
+
className: cn(
|
|
63846
|
+
"mb-12 max-h-[60vh] overflow-y-auto text-center md:max-h-none",
|
|
63847
|
+
menuItemsClassName
|
|
63848
|
+
),
|
|
63849
|
+
children: renderMenuItems
|
|
63850
|
+
}
|
|
63851
|
+
),
|
|
63852
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
63853
|
+
"div",
|
|
63854
|
+
{
|
|
63855
|
+
className: cn(
|
|
63856
|
+
"flex flex-row flex-wrap items-center justify-center gap-6 animate-in slide-in-from-bottom-4 fade-in",
|
|
63857
|
+
socialLinksClassName
|
|
63858
|
+
),
|
|
63859
|
+
style: { animationDelay: "0.7s", animationFillMode: "both" },
|
|
63860
|
+
children: renderSocialLinks
|
|
63861
|
+
}
|
|
63862
|
+
)
|
|
63863
|
+
] })
|
|
63864
|
+
]
|
|
63865
|
+
}
|
|
63866
|
+
)
|
|
63867
|
+
] });
|
|
63805
63868
|
};
|
|
63806
63869
|
function LogosInlineTagline({
|
|
63807
63870
|
className,
|