@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
package/dist/registry.js
CHANGED
|
@@ -58283,8 +58283,11 @@ var NavbarEnterpriseMega = ({
|
|
|
58283
58283
|
/* @__PURE__ */ jsx(
|
|
58284
58284
|
NavigationMenu,
|
|
58285
58285
|
{
|
|
58286
|
-
className: cn(
|
|
58287
|
-
|
|
58286
|
+
className: cn(
|
|
58287
|
+
"hidden lg:flex [&>div:last-child]:left-1/2 [&>div:last-child]:-translate-x-1/2",
|
|
58288
|
+
navigationMenuClassName
|
|
58289
|
+
),
|
|
58290
|
+
viewport: true,
|
|
58288
58291
|
children: /* @__PURE__ */ jsx(NavigationMenuList, { children: menuLinks?.map((item, index) => /* @__PURE__ */ jsx(
|
|
58289
58292
|
DesktopMenuItem2,
|
|
58290
58293
|
{
|
|
@@ -58353,10 +58356,10 @@ var DesktopMenuItem2 = ({
|
|
|
58353
58356
|
if (hasDropdown) {
|
|
58354
58357
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
58355
58358
|
/* @__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 }),
|
|
58356
|
-
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "!rounded-xl !border-0 !p-
|
|
58359
|
+
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "!rounded-xl !border-0 !p-6", children: renderDropdownContent(
|
|
58357
58360
|
{ ...item, layout: effectiveLayout },
|
|
58358
58361
|
optixFlowConfig
|
|
58359
|
-
) })
|
|
58362
|
+
) })
|
|
58360
58363
|
] }, `desktop-menu-item-${index}`);
|
|
58361
58364
|
}
|
|
58362
58365
|
return /* @__PURE__ */ jsx(NavigationMenuItem, { value: `${index}`, children: /* @__PURE__ */ jsx(
|
|
@@ -58426,70 +58429,64 @@ var SolutionsMenu = ({
|
|
|
58426
58429
|
platformItems,
|
|
58427
58430
|
featuredHeroCard,
|
|
58428
58431
|
optixFlowConfig
|
|
58429
|
-
}) => /* @__PURE__ */ jsxs("div", { className: "grid
|
|
58430
|
-
featuredHeroCard && /* @__PURE__ */ jsx(
|
|
58432
|
+
}) => /* @__PURE__ */ jsxs("div", { className: "grid min-w-[1100px] grid-cols-2 gap-4", children: [
|
|
58433
|
+
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxs(
|
|
58431
58434
|
Pressable,
|
|
58432
58435
|
{
|
|
58433
58436
|
href: featuredHeroCard.href,
|
|
58434
58437
|
className: cn(
|
|
58435
|
-
"group
|
|
58438
|
+
"group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
58436
58439
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
58437
58440
|
),
|
|
58438
|
-
children:
|
|
58439
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col justify-
|
|
58440
|
-
featuredHeroCard.subtitle && /* @__PURE__ */ jsx("span", { className: "mb-
|
|
58441
|
-
/* @__PURE__ */ jsxs("div", {
|
|
58442
|
-
|
|
58443
|
-
|
|
58444
|
-
|
|
58445
|
-
|
|
58446
|
-
|
|
58447
|
-
|
|
58448
|
-
|
|
58449
|
-
|
|
58450
|
-
|
|
58451
|
-
|
|
58452
|
-
|
|
58441
|
+
children: [
|
|
58442
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col justify-between p-5", children: [
|
|
58443
|
+
featuredHeroCard.subtitle && /* @__PURE__ */ jsx("span", { className: "mb-2 text-xs font-medium tracking-wider uppercase", children: featuredHeroCard.subtitle }),
|
|
58444
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
58445
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
|
|
58446
|
+
featuredHeroCard.title,
|
|
58447
|
+
/* @__PURE__ */ jsx(
|
|
58448
|
+
DynamicIcon,
|
|
58449
|
+
{
|
|
58450
|
+
name: "lucide/arrow-right",
|
|
58451
|
+
size: 16,
|
|
58452
|
+
className: "transition-transform group-hover:translate-x-1"
|
|
58453
|
+
}
|
|
58454
|
+
)
|
|
58455
|
+
] }),
|
|
58456
|
+
/* @__PURE__ */ jsx("p", { className: "mt-2 text-sm leading-relaxed text-primary-foreground/85", children: featuredHeroCard.description })
|
|
58457
|
+
] })
|
|
58453
58458
|
] }),
|
|
58454
|
-
/* @__PURE__ */ jsx("div", { className: "relative w-full
|
|
58459
|
+
/* @__PURE__ */ jsx("div", { className: "relative aspect-video w-full overflow-hidden", children: /* @__PURE__ */ jsx(
|
|
58455
58460
|
Img,
|
|
58456
58461
|
{
|
|
58457
58462
|
src: featuredHeroCard.image,
|
|
58458
58463
|
alt: featuredHeroCard.title,
|
|
58459
|
-
className: "
|
|
58464
|
+
className: "h-full w-full object-cover",
|
|
58460
58465
|
optixFlowConfig
|
|
58461
58466
|
}
|
|
58462
58467
|
) })
|
|
58463
|
-
]
|
|
58468
|
+
]
|
|
58464
58469
|
}
|
|
58465
|
-
),
|
|
58466
|
-
platformItems.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
|
|
58467
|
-
/* @__PURE__ */ jsx("div", { className: "mb-
|
|
58468
|
-
/* @__PURE__ */ jsx("div", { className: "grid
|
|
58470
|
+
) }),
|
|
58471
|
+
platformItems.length > 0 && /* @__PURE__ */ jsxs("div", { className: "col-span-1", children: [
|
|
58472
|
+
/* @__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" }) }),
|
|
58473
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-2", children: platformItems.map((technology) => /* @__PURE__ */ jsxs(
|
|
58469
58474
|
NavigationMenuLink,
|
|
58470
58475
|
{
|
|
58471
58476
|
href: technology.href,
|
|
58472
|
-
className: "group
|
|
58477
|
+
className: "group flex items-center gap-2 rounded-lg p-2 hover:bg-muted",
|
|
58473
58478
|
children: [
|
|
58474
|
-
/* @__PURE__ */ jsx(DynamicIcon, { name: technology.icon, size: 16 }),
|
|
58475
|
-
/* @__PURE__ */ jsx("div", { className: "flex-1 text-sm font-medium", children: technology.title })
|
|
58476
|
-
/* @__PURE__ */ jsx(
|
|
58477
|
-
DynamicIcon,
|
|
58478
|
-
{
|
|
58479
|
-
name: "lucide/arrow-right",
|
|
58480
|
-
size: 16,
|
|
58481
|
-
className: "transition-transform group-hover:translate-x-1 lg:hidden"
|
|
58482
|
-
}
|
|
58483
|
-
)
|
|
58479
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: technology.icon, size: 16, className: "shrink-0" }),
|
|
58480
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: technology.title })
|
|
58484
58481
|
]
|
|
58485
58482
|
},
|
|
58486
58483
|
technology.id
|
|
58487
58484
|
)) })
|
|
58488
58485
|
] }),
|
|
58489
|
-
solutionCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "col-span-
|
|
58486
|
+
solutionCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "col-span-2 mt-2 grid grid-cols-4 gap-3", children: solutionCards.map((solution) => /* @__PURE__ */ jsxs(
|
|
58490
58487
|
"div",
|
|
58491
58488
|
{
|
|
58492
|
-
className: "flex flex-col rounded-lg border border-border p-4",
|
|
58489
|
+
className: "col-span-1 flex flex-col rounded-lg border border-border p-4",
|
|
58493
58490
|
children: [
|
|
58494
58491
|
/* @__PURE__ */ jsx("div", { className: "border-b border-border pb-3", children: /* @__PURE__ */ jsxs(
|
|
58495
58492
|
Pressable,
|
|
@@ -58503,8 +58500,8 @@ var SolutionsMenu = ({
|
|
|
58503
58500
|
DynamicIcon,
|
|
58504
58501
|
{
|
|
58505
58502
|
name: "lucide/arrow-right",
|
|
58506
|
-
size:
|
|
58507
|
-
className: "transition-transform group-hover:translate-x-1"
|
|
58503
|
+
size: 14,
|
|
58504
|
+
className: "shrink-0 transition-transform group-hover:translate-x-1"
|
|
58508
58505
|
}
|
|
58509
58506
|
)
|
|
58510
58507
|
] }),
|
|
@@ -58512,22 +58509,14 @@ var SolutionsMenu = ({
|
|
|
58512
58509
|
]
|
|
58513
58510
|
}
|
|
58514
58511
|
) }),
|
|
58515
|
-
/* @__PURE__ */ jsx("menu", { className: "mt-
|
|
58512
|
+
/* @__PURE__ */ jsx("menu", { className: "mt-3 grid gap-2", children: solution.subpages.map((subpage) => /* @__PURE__ */ jsxs(
|
|
58516
58513
|
NavigationMenuLink,
|
|
58517
58514
|
{
|
|
58518
58515
|
href: subpage.href,
|
|
58519
|
-
className: "group
|
|
58516
|
+
className: "group flex items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
58520
58517
|
children: [
|
|
58521
|
-
/* @__PURE__ */ jsx(DynamicIcon, { name: subpage.icon, size:
|
|
58522
|
-
/* @__PURE__ */ jsx("div", { className: "flex-1 text-sm font-medium", children: subpage.title })
|
|
58523
|
-
/* @__PURE__ */ jsx(
|
|
58524
|
-
DynamicIcon,
|
|
58525
|
-
{
|
|
58526
|
-
name: "lucide/arrow-right",
|
|
58527
|
-
size: 16,
|
|
58528
|
-
className: "transition-transform group-hover:translate-x-1 lg:hidden"
|
|
58529
|
-
}
|
|
58530
|
-
)
|
|
58518
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: subpage.icon, size: 14, className: "shrink-0" }),
|
|
58519
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: subpage.title })
|
|
58531
58520
|
]
|
|
58532
58521
|
},
|
|
58533
58522
|
subpage.id
|
|
@@ -58541,13 +58530,13 @@ var ProductsMenu = ({
|
|
|
58541
58530
|
productCategories,
|
|
58542
58531
|
featuredHeroCard,
|
|
58543
58532
|
optixFlowConfig
|
|
58544
|
-
}) => /* @__PURE__ */ jsxs("div", { className: "
|
|
58545
|
-
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "
|
|
58533
|
+
}) => /* @__PURE__ */ jsxs("div", { className: "grid min-w-[1000px] grid-cols-[320px_1fr] gap-6", children: [
|
|
58534
|
+
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxs(
|
|
58546
58535
|
Pressable,
|
|
58547
58536
|
{
|
|
58548
58537
|
href: featuredHeroCard.href,
|
|
58549
58538
|
className: cn(
|
|
58550
|
-
"group
|
|
58539
|
+
"group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
58551
58540
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
58552
58541
|
),
|
|
58553
58542
|
children: [
|
|
@@ -58560,14 +58549,14 @@ var ProductsMenu = ({
|
|
|
58560
58549
|
optixFlowConfig
|
|
58561
58550
|
}
|
|
58562
58551
|
) }),
|
|
58563
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-
|
|
58564
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-
|
|
58552
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-5", children: [
|
|
58553
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
|
|
58565
58554
|
featuredHeroCard.title,
|
|
58566
58555
|
/* @__PURE__ */ jsx(
|
|
58567
58556
|
DynamicIcon,
|
|
58568
58557
|
{
|
|
58569
58558
|
name: "lucide/arrow-right",
|
|
58570
|
-
size:
|
|
58559
|
+
size: 16,
|
|
58571
58560
|
className: "transition-transform group-hover:translate-x-1"
|
|
58572
58561
|
}
|
|
58573
58562
|
)
|
|
@@ -58577,15 +58566,15 @@ var ProductsMenu = ({
|
|
|
58577
58566
|
]
|
|
58578
58567
|
}
|
|
58579
58568
|
) }),
|
|
58580
|
-
productCategories.length > 0 && /* @__PURE__ */ jsx("div", { className: "
|
|
58569
|
+
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: [
|
|
58581
58570
|
/* @__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 }) }),
|
|
58582
|
-
/* @__PURE__ */ jsx("menu", { className: "grid
|
|
58571
|
+
/* @__PURE__ */ jsx("menu", { className: "grid grid-cols-3 gap-3", children: category.products.map((product) => /* @__PURE__ */ jsxs(
|
|
58583
58572
|
NavigationMenuLink,
|
|
58584
58573
|
{
|
|
58585
58574
|
href: product.href,
|
|
58586
|
-
className: "group -
|
|
58575
|
+
className: "group col-span-1 flex items-center gap-3 rounded-lg p-3 text-left hover:bg-muted",
|
|
58587
58576
|
children: [
|
|
58588
|
-
/* @__PURE__ */ jsx("div", { className: "relative flex size-
|
|
58577
|
+
/* @__PURE__ */ jsx("div", { className: "relative flex size-12 shrink-0 items-center justify-center overflow-hidden rounded", children: /* @__PURE__ */ jsx(
|
|
58589
58578
|
Img,
|
|
58590
58579
|
{
|
|
58591
58580
|
src: product.image,
|
|
@@ -58594,18 +58583,10 @@ var ProductsMenu = ({
|
|
|
58594
58583
|
optixFlowConfig
|
|
58595
58584
|
}
|
|
58596
58585
|
) }),
|
|
58597
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
58586
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
58598
58587
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: product.title }),
|
|
58599
58588
|
/* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: product.description })
|
|
58600
|
-
] })
|
|
58601
|
-
/* @__PURE__ */ jsx(
|
|
58602
|
-
DynamicIcon,
|
|
58603
|
-
{
|
|
58604
|
-
name: "lucide/arrow-right",
|
|
58605
|
-
size: 16,
|
|
58606
|
-
className: "shrink-0 transition-transform group-hover:translate-x-1 lg:hidden"
|
|
58607
|
-
}
|
|
58608
|
-
)
|
|
58589
|
+
] })
|
|
58609
58590
|
]
|
|
58610
58591
|
},
|
|
58611
58592
|
product.id
|
|
@@ -58617,14 +58598,14 @@ var GlobalMenu = ({
|
|
|
58617
58598
|
regions,
|
|
58618
58599
|
featuredHeroCard,
|
|
58619
58600
|
optixFlowConfig
|
|
58620
|
-
}) => /* @__PURE__ */ jsxs("div", { children: [
|
|
58621
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
58622
|
-
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "
|
|
58601
|
+
}) => /* @__PURE__ */ jsxs("div", { className: "min-w-[1000px]", children: [
|
|
58602
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-[280px_1fr] gap-6", children: [
|
|
58603
|
+
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxs(
|
|
58623
58604
|
Pressable,
|
|
58624
58605
|
{
|
|
58625
58606
|
href: featuredHeroCard.href,
|
|
58626
58607
|
className: cn(
|
|
58627
|
-
"group
|
|
58608
|
+
"group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
58628
58609
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
58629
58610
|
),
|
|
58630
58611
|
children: [
|
|
@@ -58637,14 +58618,14 @@ var GlobalMenu = ({
|
|
|
58637
58618
|
optixFlowConfig
|
|
58638
58619
|
}
|
|
58639
58620
|
) }),
|
|
58640
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-
|
|
58641
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-
|
|
58621
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-5", children: [
|
|
58622
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
|
|
58642
58623
|
featuredHeroCard.title,
|
|
58643
58624
|
/* @__PURE__ */ jsx(
|
|
58644
58625
|
DynamicIcon,
|
|
58645
58626
|
{
|
|
58646
58627
|
name: "lucide/arrow-right",
|
|
58647
|
-
size:
|
|
58628
|
+
size: 16,
|
|
58648
58629
|
className: "transition-transform group-hover:translate-x-1"
|
|
58649
58630
|
}
|
|
58650
58631
|
)
|
|
@@ -58654,57 +58635,41 @@ var GlobalMenu = ({
|
|
|
58654
58635
|
]
|
|
58655
58636
|
}
|
|
58656
58637
|
) }),
|
|
58657
|
-
featureCategories.length > 0 && /* @__PURE__ */ jsx("div", { className: "
|
|
58638
|
+
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: [
|
|
58658
58639
|
/* @__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 }) }),
|
|
58659
|
-
/* @__PURE__ */ jsx("menu", { className: "grid
|
|
58640
|
+
/* @__PURE__ */ jsx("menu", { className: "grid grid-cols-3 gap-3", children: category.features.map((feature) => /* @__PURE__ */ jsxs(
|
|
58660
58641
|
NavigationMenuLink,
|
|
58661
58642
|
{
|
|
58662
58643
|
href: feature.href,
|
|
58663
|
-
className: "group -
|
|
58644
|
+
className: "group col-span-1 flex items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
58664
58645
|
children: [
|
|
58665
|
-
/* @__PURE__ */ jsx("div", { className: "flex size-
|
|
58666
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
58646
|
+
/* @__PURE__ */ jsx("div", { className: "flex size-8 shrink-0 items-center justify-center", children: /* @__PURE__ */ jsx(DynamicIcon, { name: feature.icon, size: 18 }) }),
|
|
58647
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
58667
58648
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: feature.title }),
|
|
58668
58649
|
/* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: feature.description })
|
|
58669
|
-
] })
|
|
58670
|
-
/* @__PURE__ */ jsx(
|
|
58671
|
-
DynamicIcon,
|
|
58672
|
-
{
|
|
58673
|
-
name: "lucide/arrow-right",
|
|
58674
|
-
size: 16,
|
|
58675
|
-
className: "shrink-0 transition-transform group-hover:translate-x-1 lg:hidden"
|
|
58676
|
-
}
|
|
58677
|
-
)
|
|
58650
|
+
] })
|
|
58678
58651
|
]
|
|
58679
58652
|
},
|
|
58680
58653
|
feature.id
|
|
58681
58654
|
)) })
|
|
58682
58655
|
] }, category.title)) })
|
|
58683
58656
|
] }),
|
|
58684
|
-
regions.length > 0 && /* @__PURE__ */ jsxs("div", { className: "mt-
|
|
58685
|
-
/* @__PURE__ */ jsx("div", { className: "mb-
|
|
58686
|
-
/* @__PURE__ */ jsx("div", { className: "grid
|
|
58657
|
+
regions.length > 0 && /* @__PURE__ */ jsxs("div", { className: "mt-6", children: [
|
|
58658
|
+
/* @__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" }) }),
|
|
58659
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-4 gap-4", children: regions.map((region) => /* @__PURE__ */ jsxs(
|
|
58687
58660
|
"div",
|
|
58688
58661
|
{
|
|
58689
|
-
className: "flex flex-col gap-
|
|
58662
|
+
className: "col-span-1 flex flex-col gap-3",
|
|
58690
58663
|
children: [
|
|
58691
58664
|
/* @__PURE__ */ jsx("div", { className: "text-left text-xs font-medium text-muted-foreground", children: region.title }),
|
|
58692
|
-
/* @__PURE__ */ jsx("menu", { className: "grid gap-
|
|
58665
|
+
/* @__PURE__ */ jsx("menu", { className: "grid gap-1.5", children: region.locations.map((location) => /* @__PURE__ */ jsxs(
|
|
58693
58666
|
NavigationMenuLink,
|
|
58694
58667
|
{
|
|
58695
58668
|
href: location.href,
|
|
58696
|
-
className: "group
|
|
58669
|
+
className: "group flex items-center gap-2 rounded-lg p-2 text-left hover:bg-muted",
|
|
58697
58670
|
children: [
|
|
58698
58671
|
/* @__PURE__ */ jsx("div", { className: "flex size-4 shrink-0 items-center justify-center", children: location.icon }),
|
|
58699
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
58700
|
-
/* @__PURE__ */ jsx(
|
|
58701
|
-
DynamicIcon,
|
|
58702
|
-
{
|
|
58703
|
-
name: "lucide/arrow-right",
|
|
58704
|
-
size: 16,
|
|
58705
|
-
className: "shrink-0 transition-transform group-hover:translate-x-1 lg:hidden"
|
|
58706
|
-
}
|
|
58707
|
-
)
|
|
58672
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1 text-sm font-medium", children: location.title })
|
|
58708
58673
|
]
|
|
58709
58674
|
},
|
|
58710
58675
|
location.title
|
|
@@ -58719,13 +58684,13 @@ var PartnersMenu = ({
|
|
|
58719
58684
|
partnerCards,
|
|
58720
58685
|
featuredHeroCard,
|
|
58721
58686
|
optixFlowConfig
|
|
58722
|
-
}) => /* @__PURE__ */ jsxs("div", { className: "grid
|
|
58723
|
-
featuredHeroCard && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
58687
|
+
}) => /* @__PURE__ */ jsxs("div", { className: "grid min-w-[900px] grid-cols-[2fr_1fr] gap-6", children: [
|
|
58688
|
+
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxs(
|
|
58724
58689
|
Pressable,
|
|
58725
58690
|
{
|
|
58726
58691
|
href: featuredHeroCard.href,
|
|
58727
58692
|
className: cn(
|
|
58728
|
-
"group
|
|
58693
|
+
"group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
58729
58694
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
58730
58695
|
),
|
|
58731
58696
|
children: [
|
|
@@ -58741,14 +58706,14 @@ var PartnersMenu = ({
|
|
|
58741
58706
|
optixFlowConfig
|
|
58742
58707
|
}
|
|
58743
58708
|
) }),
|
|
58744
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-
|
|
58745
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-
|
|
58709
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-5", children: [
|
|
58710
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
|
|
58746
58711
|
featuredHeroCard.title,
|
|
58747
58712
|
/* @__PURE__ */ jsx(
|
|
58748
58713
|
DynamicIcon,
|
|
58749
58714
|
{
|
|
58750
58715
|
name: "lucide/arrow-right",
|
|
58751
|
-
size:
|
|
58716
|
+
size: 16,
|
|
58752
58717
|
className: "transition-transform group-hover:translate-x-1"
|
|
58753
58718
|
}
|
|
58754
58719
|
)
|
|
@@ -58758,14 +58723,14 @@ var PartnersMenu = ({
|
|
|
58758
58723
|
]
|
|
58759
58724
|
}
|
|
58760
58725
|
) }),
|
|
58761
|
-
partnerCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-
|
|
58726
|
+
partnerCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "col-span-1 flex flex-col gap-3", children: partnerCards.map((card) => /* @__PURE__ */ jsxs(
|
|
58762
58727
|
NavigationMenuLink,
|
|
58763
58728
|
{
|
|
58764
58729
|
href: card.href,
|
|
58765
|
-
className: "group flex items-start gap-
|
|
58730
|
+
className: "group flex items-start gap-3 rounded-lg border border-border p-4 hover:bg-muted",
|
|
58766
58731
|
children: [
|
|
58767
|
-
/* @__PURE__ */ jsx(DynamicIcon, { name: card.icon, size:
|
|
58768
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
58732
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: card.icon, size: 28, className: "shrink-0" }),
|
|
58733
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
58769
58734
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-bold", children: card.title }),
|
|
58770
58735
|
/* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: card.description })
|
|
58771
58736
|
] })
|
|
@@ -58778,13 +58743,13 @@ var ResourcesMenu = ({
|
|
|
58778
58743
|
resourceItems,
|
|
58779
58744
|
topicGroups,
|
|
58780
58745
|
featuredHeroCard
|
|
58781
|
-
}) => /* @__PURE__ */ jsxs("div", { className: "grid
|
|
58782
|
-
featuredHeroCard && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
58746
|
+
}) => /* @__PURE__ */ jsxs("div", { className: "grid min-w-[1000px] grid-cols-[280px_1fr_220px] gap-6", children: [
|
|
58747
|
+
featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxs(
|
|
58783
58748
|
Pressable,
|
|
58784
58749
|
{
|
|
58785
58750
|
href: featuredHeroCard.href,
|
|
58786
58751
|
className: cn(
|
|
58787
|
-
"group
|
|
58752
|
+
"group flex h-full flex-col overflow-hidden rounded-lg text-primary-foreground",
|
|
58788
58753
|
featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
|
|
58789
58754
|
),
|
|
58790
58755
|
children: [
|
|
@@ -58796,14 +58761,14 @@ var ResourcesMenu = ({
|
|
|
58796
58761
|
className: "h-full w-full object-cover invert"
|
|
58797
58762
|
}
|
|
58798
58763
|
) }),
|
|
58799
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-
|
|
58800
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-
|
|
58764
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-5", children: [
|
|
58765
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 text-base font-semibold", children: [
|
|
58801
58766
|
featuredHeroCard.title,
|
|
58802
58767
|
/* @__PURE__ */ jsx(
|
|
58803
58768
|
DynamicIcon,
|
|
58804
58769
|
{
|
|
58805
58770
|
name: "lucide/arrow-right",
|
|
58806
|
-
size:
|
|
58771
|
+
size: 16,
|
|
58807
58772
|
className: "transition-transform group-hover:translate-x-1"
|
|
58808
58773
|
}
|
|
58809
58774
|
)
|
|
@@ -58813,23 +58778,23 @@ var ResourcesMenu = ({
|
|
|
58813
58778
|
]
|
|
58814
58779
|
}
|
|
58815
58780
|
) }),
|
|
58816
|
-
resourceItems.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
|
|
58817
|
-
/* @__PURE__ */ jsx("div", { className: "mb-
|
|
58818
|
-
/* @__PURE__ */ jsx("div", { className: "grid
|
|
58781
|
+
resourceItems.length > 0 && /* @__PURE__ */ jsxs("div", { className: "col-span-1", children: [
|
|
58782
|
+
/* @__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" }) }),
|
|
58783
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-3", children: resourceItems.map((resource) => /* @__PURE__ */ jsxs(
|
|
58819
58784
|
NavigationMenuLink,
|
|
58820
58785
|
{
|
|
58821
58786
|
href: resource.href,
|
|
58822
|
-
className: "group -
|
|
58787
|
+
className: "group col-span-1 flex items-start gap-3 rounded-lg border border-border p-3 hover:bg-muted",
|
|
58823
58788
|
children: [
|
|
58824
58789
|
/* @__PURE__ */ jsx(
|
|
58825
58790
|
DynamicIcon,
|
|
58826
58791
|
{
|
|
58827
58792
|
name: resource.icon,
|
|
58828
|
-
size:
|
|
58793
|
+
size: 18,
|
|
58829
58794
|
className: "mt-0.5 shrink-0"
|
|
58830
58795
|
}
|
|
58831
58796
|
),
|
|
58832
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
58797
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
58833
58798
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: resource.title }),
|
|
58834
58799
|
/* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-muted-foreground", children: resource.description })
|
|
58835
58800
|
] })
|
|
@@ -58838,16 +58803,16 @@ var ResourcesMenu = ({
|
|
|
58838
58803
|
resource.id
|
|
58839
58804
|
)) })
|
|
58840
58805
|
] }),
|
|
58841
|
-
topicGroups.length > 0 && /* @__PURE__ */ jsx("div", { children: topicGroups.map((group) => /* @__PURE__ */ jsxs("div", { className: "mb-
|
|
58806
|
+
topicGroups.length > 0 && /* @__PURE__ */ jsx("div", { className: "col-span-1", children: topicGroups.map((group) => /* @__PURE__ */ jsxs("div", { className: "mb-5 last:mb-0", children: [
|
|
58842
58807
|
/* @__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 }) }),
|
|
58843
|
-
/* @__PURE__ */ jsx("div", { className: "space-y-
|
|
58808
|
+
/* @__PURE__ */ jsx("div", { className: "space-y-1.5", children: group.topics.map((topic) => /* @__PURE__ */ jsxs(
|
|
58844
58809
|
NavigationMenuLink,
|
|
58845
58810
|
{
|
|
58846
58811
|
href: topic.href,
|
|
58847
|
-
className: "group
|
|
58812
|
+
className: "group flex items-center gap-2 rounded-lg p-2 hover:bg-muted",
|
|
58848
58813
|
children: [
|
|
58849
|
-
/* @__PURE__ */ jsx(DynamicIcon, { name: topic.icon, size:
|
|
58850
|
-
/* @__PURE__ */ jsx("span", { className: "flex-1 text-sm font-medium", children: topic.title })
|
|
58814
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: topic.icon, size: 14, className: "shrink-0" }),
|
|
58815
|
+
/* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 text-sm font-medium", children: topic.title })
|
|
58851
58816
|
]
|
|
58852
58817
|
},
|
|
58853
58818
|
topic.id
|
|
@@ -59926,32 +59891,6 @@ var NavbarImagePreview = ({
|
|
|
59926
59891
|
const handleMobileMenu = () => {
|
|
59927
59892
|
setOpen(!open);
|
|
59928
59893
|
};
|
|
59929
|
-
const renderLogo = useMemo$1(() => {
|
|
59930
|
-
if (logoSlot) return logoSlot;
|
|
59931
|
-
if (!logo) return null;
|
|
59932
|
-
return /* @__PURE__ */ jsxs(
|
|
59933
|
-
Pressable,
|
|
59934
|
-
{
|
|
59935
|
-
href: logo.url || "/",
|
|
59936
|
-
className: cn(
|
|
59937
|
-
"flex max-h-8 items-center gap-2 text-lg font-semibold tracking-tighter",
|
|
59938
|
-
logoClassName
|
|
59939
|
-
),
|
|
59940
|
-
children: [
|
|
59941
|
-
logo.src && /* @__PURE__ */ jsx(
|
|
59942
|
-
Img,
|
|
59943
|
-
{
|
|
59944
|
-
src: logo.src,
|
|
59945
|
-
alt: logo.alt || "Logo",
|
|
59946
|
-
className: cn("inline-block size-8", logo.className),
|
|
59947
|
-
optixFlowConfig
|
|
59948
|
-
}
|
|
59949
|
-
),
|
|
59950
|
-
logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsx("span", { className: "hidden md:inline-block", children: logo.title }) : logo.title)
|
|
59951
|
-
]
|
|
59952
|
-
}
|
|
59953
|
-
);
|
|
59954
|
-
}, [logoSlot, logo, logoClassName, optixFlowConfig]);
|
|
59955
59894
|
const renderNavigation = useMemo$1(() => {
|
|
59956
59895
|
if (navigationSlot) return navigationSlot;
|
|
59957
59896
|
if (!navigation || navigation.length === 0) return null;
|
|
@@ -60029,7 +59968,15 @@ var NavbarImagePreview = ({
|
|
|
60029
59968
|
navClassName
|
|
60030
59969
|
),
|
|
60031
59970
|
children: [
|
|
60032
|
-
|
|
59971
|
+
/* @__PURE__ */ jsx(
|
|
59972
|
+
NavbarLogo,
|
|
59973
|
+
{
|
|
59974
|
+
logo,
|
|
59975
|
+
logoSlot,
|
|
59976
|
+
logoClassName,
|
|
59977
|
+
optixFlowConfig
|
|
59978
|
+
}
|
|
59979
|
+
),
|
|
60033
59980
|
/* @__PURE__ */ jsx(
|
|
60034
59981
|
NavigationMenu,
|
|
60035
59982
|
{
|
|
@@ -60704,7 +60651,7 @@ var NavbarAnimatedPreview = ({
|
|
|
60704
60651
|
spacingOverride
|
|
60705
60652
|
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
60706
60653
|
const navWrapperClasses = cn(
|
|
60707
|
-
"h-
|
|
60654
|
+
"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)]!",
|
|
60708
60655
|
navigationMenuClassName
|
|
60709
60656
|
);
|
|
60710
60657
|
return /* @__PURE__ */ jsx(
|
|
@@ -61196,32 +61143,6 @@ var NavbarMultiColumnGroups = ({
|
|
|
61196
61143
|
const handleMobileMenu = () => {
|
|
61197
61144
|
setOpen(!open);
|
|
61198
61145
|
};
|
|
61199
|
-
const renderLogo = useMemo$1(() => {
|
|
61200
|
-
if (logoSlot) return logoSlot;
|
|
61201
|
-
if (!logo) return null;
|
|
61202
|
-
return /* @__PURE__ */ jsxs(
|
|
61203
|
-
Pressable,
|
|
61204
|
-
{
|
|
61205
|
-
href: logo.url || "/",
|
|
61206
|
-
className: cn(
|
|
61207
|
-
"flex max-h-8 items-center gap-2 text-lg font-semibold tracking-tighter",
|
|
61208
|
-
logoClassName
|
|
61209
|
-
),
|
|
61210
|
-
children: [
|
|
61211
|
-
logo.src && /* @__PURE__ */ jsx(
|
|
61212
|
-
Img,
|
|
61213
|
-
{
|
|
61214
|
-
src: logo.src,
|
|
61215
|
-
alt: logo.alt || "Logo",
|
|
61216
|
-
className: cn("inline-block size-6", logo.className),
|
|
61217
|
-
optixFlowConfig
|
|
61218
|
-
}
|
|
61219
|
-
),
|
|
61220
|
-
logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsx("span", { className: "hidden md:inline-block", children: logo.title }) : logo.title)
|
|
61221
|
-
]
|
|
61222
|
-
}
|
|
61223
|
-
);
|
|
61224
|
-
}, [logoSlot, logo, logoClassName, optixFlowConfig]);
|
|
61225
61146
|
const renderNavigation = useMemo$1(() => {
|
|
61226
61147
|
if (navigationSlot) return navigationSlot;
|
|
61227
61148
|
if (!navigation || navigation.length === 0) return null;
|
|
@@ -61291,7 +61212,15 @@ var NavbarMultiColumnGroups = ({
|
|
|
61291
61212
|
),
|
|
61292
61213
|
children: [
|
|
61293
61214
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-8", children: [
|
|
61294
|
-
|
|
61215
|
+
/* @__PURE__ */ jsx(
|
|
61216
|
+
NavbarLogo,
|
|
61217
|
+
{
|
|
61218
|
+
logo,
|
|
61219
|
+
logoSlot,
|
|
61220
|
+
logoClassName,
|
|
61221
|
+
optixFlowConfig
|
|
61222
|
+
}
|
|
61223
|
+
),
|
|
61295
61224
|
/* @__PURE__ */ jsx(
|
|
61296
61225
|
NavigationMenu,
|
|
61297
61226
|
{
|
|
@@ -61513,29 +61442,6 @@ var NavbarSidebarMobile = ({
|
|
|
61513
61442
|
optixFlowConfig
|
|
61514
61443
|
}) => {
|
|
61515
61444
|
const [isOpen, setIsOpen] = useState(false);
|
|
61516
|
-
const renderLogo = () => {
|
|
61517
|
-
if (logoSlot) return logoSlot;
|
|
61518
|
-
if (!logo) return null;
|
|
61519
|
-
return /* @__PURE__ */ jsxs(
|
|
61520
|
-
Pressable,
|
|
61521
|
-
{
|
|
61522
|
-
href: logo.url || "/",
|
|
61523
|
-
className: cn("flex items-center gap-2", logoClassName),
|
|
61524
|
-
children: [
|
|
61525
|
-
logo.src && /* @__PURE__ */ jsx(
|
|
61526
|
-
Img,
|
|
61527
|
-
{
|
|
61528
|
-
src: logo.src,
|
|
61529
|
-
className: cn("h-8", logo.className),
|
|
61530
|
-
alt: logo.alt || "Logo",
|
|
61531
|
-
optixFlowConfig
|
|
61532
|
-
}
|
|
61533
|
-
),
|
|
61534
|
-
logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsx("span", { className: "text-lg font-semibold", children: logo.title }) : logo.title)
|
|
61535
|
-
]
|
|
61536
|
-
}
|
|
61537
|
-
);
|
|
61538
|
-
};
|
|
61539
61445
|
const renderAuthActions = () => {
|
|
61540
61446
|
if (authActionsSlot) return authActionsSlot;
|
|
61541
61447
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -61602,7 +61508,15 @@ var NavbarSidebarMobile = ({
|
|
|
61602
61508
|
),
|
|
61603
61509
|
children: [
|
|
61604
61510
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-8", children: [
|
|
61605
|
-
|
|
61511
|
+
/* @__PURE__ */ jsx(
|
|
61512
|
+
NavbarLogo,
|
|
61513
|
+
{
|
|
61514
|
+
logo,
|
|
61515
|
+
logoSlot,
|
|
61516
|
+
logoClassName,
|
|
61517
|
+
optixFlowConfig
|
|
61518
|
+
}
|
|
61519
|
+
),
|
|
61606
61520
|
/* @__PURE__ */ jsx(
|
|
61607
61521
|
NavigationMenu,
|
|
61608
61522
|
{
|
|
@@ -61670,7 +61584,15 @@ var NavbarSidebarMobile = ({
|
|
|
61670
61584
|
/* @__PURE__ */ jsxs(SheetContent, { side: "left", className: "w-[300px] sm:w-[350px]", children: [
|
|
61671
61585
|
/* @__PURE__ */ jsx(SheetTitle, { className: "sr-only", children: "Navigation Menu" }),
|
|
61672
61586
|
/* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col", children: [
|
|
61673
|
-
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-between border-b pb-4", children:
|
|
61587
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-between border-b pb-4", children: /* @__PURE__ */ jsx(
|
|
61588
|
+
NavbarLogo,
|
|
61589
|
+
{
|
|
61590
|
+
logo,
|
|
61591
|
+
logoSlot,
|
|
61592
|
+
logoClassName,
|
|
61593
|
+
optixFlowConfig
|
|
61594
|
+
}
|
|
61595
|
+
) }),
|
|
61674
61596
|
/* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto py-4", children: /* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: "w-full", children: menuSlot ? menuSlot : renderMenu()?.map(
|
|
61675
61597
|
(item, index) => item.items ? /* @__PURE__ */ jsxs(AccordionItem, { value: `item-${index}`, children: [
|
|
61676
61598
|
/* @__PURE__ */ jsx(AccordionTrigger, { className: "text-base hover:no-underline", children: item.title }),
|
|
@@ -61769,42 +61691,6 @@ var NavbarTransparentOverlay = ({
|
|
|
61769
61691
|
};
|
|
61770
61692
|
}, [isOpen]);
|
|
61771
61693
|
const toggleMenu = () => setIsOpen(!isOpen);
|
|
61772
|
-
const renderLogo = useMemo$1(() => {
|
|
61773
|
-
if (logoSlot) return logoSlot;
|
|
61774
|
-
if (!logo) return null;
|
|
61775
|
-
return /* @__PURE__ */ jsxs(
|
|
61776
|
-
Pressable,
|
|
61777
|
-
{
|
|
61778
|
-
href: logo.url || "/",
|
|
61779
|
-
className: cn("z-50 flex items-center gap-2", logoClassName),
|
|
61780
|
-
children: [
|
|
61781
|
-
logo.src && /* @__PURE__ */ jsx(
|
|
61782
|
-
Img,
|
|
61783
|
-
{
|
|
61784
|
-
src: logo.src,
|
|
61785
|
-
alt: logo.alt || "Logo",
|
|
61786
|
-
className: cn(
|
|
61787
|
-
"h-8 transition-all duration-300",
|
|
61788
|
-
!isScrolled && !isOpen && "brightness-0 invert",
|
|
61789
|
-
logo.className
|
|
61790
|
-
),
|
|
61791
|
-
optixFlowConfig
|
|
61792
|
-
}
|
|
61793
|
-
),
|
|
61794
|
-
logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsx(
|
|
61795
|
-
"span",
|
|
61796
|
-
{
|
|
61797
|
-
className: cn(
|
|
61798
|
-
"text-lg font-semibold transition-colors duration-300",
|
|
61799
|
-
!isScrolled && !isOpen ? "text-background" : ""
|
|
61800
|
-
),
|
|
61801
|
-
children: logo.title
|
|
61802
|
-
}
|
|
61803
|
-
) : logo.title)
|
|
61804
|
-
]
|
|
61805
|
-
}
|
|
61806
|
-
);
|
|
61807
|
-
}, [logoSlot, logo, logoClassName, isScrolled, isOpen, optixFlowConfig]);
|
|
61808
61694
|
const renderNavigation = useMemo$1(() => {
|
|
61809
61695
|
if (navigationSlot) return navigationSlot;
|
|
61810
61696
|
if (!navItems || navItems.length === 0) return null;
|
|
@@ -61918,7 +61804,19 @@ var NavbarTransparentOverlay = ({
|
|
|
61918
61804
|
navClassName
|
|
61919
61805
|
),
|
|
61920
61806
|
children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs("div", { className: "flex h-16 items-center justify-between", children: [
|
|
61921
|
-
|
|
61807
|
+
/* @__PURE__ */ jsx(
|
|
61808
|
+
NavbarLogo,
|
|
61809
|
+
{
|
|
61810
|
+
logo,
|
|
61811
|
+
logoSlot,
|
|
61812
|
+
logoClassName: cn(
|
|
61813
|
+
"z-50",
|
|
61814
|
+
!isScrolled && !isOpen && "[&_img]:brightness-0 [&_img]:invert [&_span]:text-background",
|
|
61815
|
+
logoClassName
|
|
61816
|
+
),
|
|
61817
|
+
optixFlowConfig
|
|
61818
|
+
}
|
|
61819
|
+
),
|
|
61922
61820
|
/* @__PURE__ */ jsx(
|
|
61923
61821
|
NavigationMenu,
|
|
61924
61822
|
{
|
|
@@ -62389,42 +62287,6 @@ var NavbarStickyCompact = ({
|
|
|
62389
62287
|
window.addEventListener("scroll", handleScroll);
|
|
62390
62288
|
return () => window.removeEventListener("scroll", handleScroll);
|
|
62391
62289
|
}, []);
|
|
62392
|
-
const renderLogo = useMemo$1(() => {
|
|
62393
|
-
if (logoSlot) return logoSlot;
|
|
62394
|
-
if (!logo) return null;
|
|
62395
|
-
return /* @__PURE__ */ jsxs(
|
|
62396
|
-
Pressable,
|
|
62397
|
-
{
|
|
62398
|
-
href: logo.url || "/",
|
|
62399
|
-
className: cn("flex items-center gap-2", logoClassName),
|
|
62400
|
-
children: [
|
|
62401
|
-
logo.src && /* @__PURE__ */ jsx(
|
|
62402
|
-
Img,
|
|
62403
|
-
{
|
|
62404
|
-
src: logo.src,
|
|
62405
|
-
className: cn(
|
|
62406
|
-
"transition-all duration-300",
|
|
62407
|
-
isScrolled ? "h-6" : "h-8",
|
|
62408
|
-
logo.className
|
|
62409
|
-
),
|
|
62410
|
-
alt: logo.alt || "Logo",
|
|
62411
|
-
optixFlowConfig
|
|
62412
|
-
}
|
|
62413
|
-
),
|
|
62414
|
-
logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsx(
|
|
62415
|
-
"span",
|
|
62416
|
-
{
|
|
62417
|
-
className: cn(
|
|
62418
|
-
"font-semibold transition-all duration-300",
|
|
62419
|
-
isScrolled ? "text-base" : "text-lg"
|
|
62420
|
-
),
|
|
62421
|
-
children: logo.title
|
|
62422
|
-
}
|
|
62423
|
-
) : logo.title)
|
|
62424
|
-
]
|
|
62425
|
-
}
|
|
62426
|
-
);
|
|
62427
|
-
}, [logoSlot, logo, logoClassName, isScrolled, optixFlowConfig]);
|
|
62428
62290
|
const renderAuthActions = useMemo$1(() => {
|
|
62429
62291
|
if (authActionsSlot) return authActionsSlot;
|
|
62430
62292
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -62558,7 +62420,19 @@ var NavbarStickyCompact = ({
|
|
|
62558
62420
|
navClassName
|
|
62559
62421
|
),
|
|
62560
62422
|
children: [
|
|
62561
|
-
|
|
62423
|
+
/* @__PURE__ */ jsx(
|
|
62424
|
+
NavbarLogo,
|
|
62425
|
+
{
|
|
62426
|
+
logo,
|
|
62427
|
+
logoSlot,
|
|
62428
|
+
logoClassName: cn(
|
|
62429
|
+
isScrolled ? "[&_img]:h-6 [&_span]:text-base" : "[&_img]:h-8 [&_span]:text-lg",
|
|
62430
|
+
"[&_img]:transition-all [&_img]:duration-300 [&_span]:transition-all [&_span]:duration-300",
|
|
62431
|
+
logoClassName
|
|
62432
|
+
),
|
|
62433
|
+
optixFlowConfig
|
|
62434
|
+
}
|
|
62435
|
+
),
|
|
62562
62436
|
/* @__PURE__ */ jsx(NavigationMenu, { className: "hidden lg:flex", children: /* @__PURE__ */ jsx(NavigationMenuList, { children: renderMenu }) }),
|
|
62563
62437
|
/* @__PURE__ */ jsx(
|
|
62564
62438
|
"div",
|
|
@@ -62638,29 +62512,6 @@ var NavbarSearchFocused = ({
|
|
|
62638
62512
|
optixFlowConfig
|
|
62639
62513
|
}) => {
|
|
62640
62514
|
const [isOpen, setIsOpen] = useState(false);
|
|
62641
|
-
const renderLogo = useMemo$1(() => {
|
|
62642
|
-
if (logoSlot) return logoSlot;
|
|
62643
|
-
if (!logo) return null;
|
|
62644
|
-
return /* @__PURE__ */ jsxs(
|
|
62645
|
-
Pressable,
|
|
62646
|
-
{
|
|
62647
|
-
href: logo.url || "/",
|
|
62648
|
-
className: cn("flex shrink-0 items-center gap-2", logoClassName),
|
|
62649
|
-
children: [
|
|
62650
|
-
logo.src && /* @__PURE__ */ jsx(
|
|
62651
|
-
Img,
|
|
62652
|
-
{
|
|
62653
|
-
src: logo.src,
|
|
62654
|
-
alt: logo.alt || "Logo",
|
|
62655
|
-
className: cn("h-8", logo.className),
|
|
62656
|
-
optixFlowConfig
|
|
62657
|
-
}
|
|
62658
|
-
),
|
|
62659
|
-
logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsx("span", { className: "hidden text-lg font-semibold sm:inline-block", children: logo.title }) : logo.title)
|
|
62660
|
-
]
|
|
62661
|
-
}
|
|
62662
|
-
);
|
|
62663
|
-
}, [logoSlot, logo, logoClassName, optixFlowConfig]);
|
|
62664
62515
|
const renderNavigation = (items) => {
|
|
62665
62516
|
if (navigationSlot) return navigationSlot;
|
|
62666
62517
|
if (!items || items.length === 0) return null;
|
|
@@ -62753,7 +62604,15 @@ var NavbarSearchFocused = ({
|
|
|
62753
62604
|
navClassName
|
|
62754
62605
|
),
|
|
62755
62606
|
children: [
|
|
62756
|
-
|
|
62607
|
+
/* @__PURE__ */ jsx(
|
|
62608
|
+
NavbarLogo,
|
|
62609
|
+
{
|
|
62610
|
+
logo,
|
|
62611
|
+
logoSlot,
|
|
62612
|
+
logoClassName,
|
|
62613
|
+
optixFlowConfig
|
|
62614
|
+
}
|
|
62615
|
+
),
|
|
62757
62616
|
/* @__PURE__ */ jsx(
|
|
62758
62617
|
NavigationMenu,
|
|
62759
62618
|
{
|
|
@@ -63130,29 +62989,6 @@ var NavbarSplitCta = ({
|
|
|
63130
62989
|
}
|
|
63131
62990
|
] : []
|
|
63132
62991
|
] : []);
|
|
63133
|
-
const renderLogo = useMemo$1(() => {
|
|
63134
|
-
if (logoSlot) return logoSlot;
|
|
63135
|
-
if (!logo) return null;
|
|
63136
|
-
return /* @__PURE__ */ jsxs(
|
|
63137
|
-
Pressable,
|
|
63138
|
-
{
|
|
63139
|
-
href: logo.url || "/",
|
|
63140
|
-
className: cn("flex items-center gap-2", logoClassName),
|
|
63141
|
-
children: [
|
|
63142
|
-
logo.src && /* @__PURE__ */ jsx(
|
|
63143
|
-
Img,
|
|
63144
|
-
{
|
|
63145
|
-
src: logo.src,
|
|
63146
|
-
className: cn("h-8", logo.className),
|
|
63147
|
-
alt: logo.alt || "Logo",
|
|
63148
|
-
optixFlowConfig
|
|
63149
|
-
}
|
|
63150
|
-
),
|
|
63151
|
-
logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsx("span", { className: "text-lg font-semibold", children: logo.title }) : logo.title)
|
|
63152
|
-
]
|
|
63153
|
-
}
|
|
63154
|
-
);
|
|
63155
|
-
}, [logoSlot, logo, logoClassName, optixFlowConfig]);
|
|
63156
62992
|
const renderAuthActions = useMemo$1(() => {
|
|
63157
62993
|
if (authActionsSlot) return authActionsSlot;
|
|
63158
62994
|
if (!finalAuthActions || finalAuthActions.length === 0) return null;
|
|
@@ -63214,7 +63050,15 @@ var NavbarSplitCta = ({
|
|
|
63214
63050
|
),
|
|
63215
63051
|
children: [
|
|
63216
63052
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-8", children: [
|
|
63217
|
-
|
|
63053
|
+
/* @__PURE__ */ jsx(
|
|
63054
|
+
NavbarLogo,
|
|
63055
|
+
{
|
|
63056
|
+
logo,
|
|
63057
|
+
logoSlot,
|
|
63058
|
+
logoClassName,
|
|
63059
|
+
optixFlowConfig
|
|
63060
|
+
}
|
|
63061
|
+
),
|
|
63218
63062
|
/* @__PURE__ */ jsx(
|
|
63219
63063
|
NavigationMenu,
|
|
63220
63064
|
{
|
|
@@ -63539,29 +63383,6 @@ var NavbarTabbedSections = ({
|
|
|
63539
63383
|
optixFlowConfig
|
|
63540
63384
|
}) => {
|
|
63541
63385
|
const [isOpen, setIsOpen] = useState(false);
|
|
63542
|
-
const renderLogo = useMemo$1(() => {
|
|
63543
|
-
if (logoSlot) return logoSlot;
|
|
63544
|
-
if (!logo) return null;
|
|
63545
|
-
return /* @__PURE__ */ jsxs(
|
|
63546
|
-
Pressable,
|
|
63547
|
-
{
|
|
63548
|
-
href: logo.url || "/",
|
|
63549
|
-
className: cn("flex items-center gap-2", logoClassName),
|
|
63550
|
-
children: [
|
|
63551
|
-
logo.src && /* @__PURE__ */ jsx(
|
|
63552
|
-
Img,
|
|
63553
|
-
{
|
|
63554
|
-
src: logo.src,
|
|
63555
|
-
className: cn("h-8", logo.className),
|
|
63556
|
-
alt: logo.alt || "Logo",
|
|
63557
|
-
optixFlowConfig
|
|
63558
|
-
}
|
|
63559
|
-
),
|
|
63560
|
-
logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsx("span", { className: "text-lg font-semibold", children: logo.title }) : logo.title)
|
|
63561
|
-
]
|
|
63562
|
-
}
|
|
63563
|
-
);
|
|
63564
|
-
}, [logoSlot, logo, logoClassName, optixFlowConfig]);
|
|
63565
63386
|
const renderAuthActions = useMemo$1(() => {
|
|
63566
63387
|
if (authActionsSlot) return authActionsSlot;
|
|
63567
63388
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -63723,7 +63544,15 @@ var NavbarTabbedSections = ({
|
|
|
63723
63544
|
),
|
|
63724
63545
|
children: [
|
|
63725
63546
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-8", children: [
|
|
63726
|
-
|
|
63547
|
+
/* @__PURE__ */ jsx(
|
|
63548
|
+
NavbarLogo,
|
|
63549
|
+
{
|
|
63550
|
+
logo,
|
|
63551
|
+
logoSlot,
|
|
63552
|
+
logoClassName,
|
|
63553
|
+
optixFlowConfig
|
|
63554
|
+
}
|
|
63555
|
+
),
|
|
63727
63556
|
/* @__PURE__ */ jsx(NavigationMenu, { className: "hidden lg:flex", children: /* @__PURE__ */ jsx(NavigationMenuList, { children: renderMenu }) })
|
|
63728
63557
|
] }),
|
|
63729
63558
|
/* @__PURE__ */ jsx(
|
|
@@ -63810,34 +63639,38 @@ var NavbarFullscreenMenu = ({
|
|
|
63810
63639
|
const renderMenuItems = useMemo$1(() => {
|
|
63811
63640
|
if (menuSlot) return menuSlot;
|
|
63812
63641
|
if (!menuItems || menuItems.length === 0) return null;
|
|
63813
|
-
return menuItems.map((item, index) => /* @__PURE__ */ jsx(
|
|
63642
|
+
return /* @__PURE__ */ jsx("div", { className: "group/menu-container", children: menuItems.map((item, index) => /* @__PURE__ */ jsx(
|
|
63814
63643
|
"div",
|
|
63815
63644
|
{
|
|
63816
|
-
className: "mb-5 animate-in slide-in-from-bottom-4 fade-in",
|
|
63645
|
+
className: "group/menu-item mb-5 animate-in slide-in-from-bottom-4 fade-in",
|
|
63817
63646
|
style: {
|
|
63818
63647
|
animationDelay: `${0.2 + index * 0.1}s`,
|
|
63819
63648
|
animationFillMode: "both"
|
|
63820
63649
|
},
|
|
63821
|
-
children: /* @__PURE__ */ jsxs(Pressable, { href: item.href, className: "
|
|
63822
|
-
/* @__PURE__ */ jsx("span", { className: "relative z-10 text-4xl font-black text-foreground uppercase transition-all duration-300 md:text-6xl group-hover:opacity-
|
|
63823
|
-
/* @__PURE__ */ jsx("div", { className: "absolute bottom-0 left-0 h-1 w-0 bg-primary transition-all duration-300 group-hover:w-full" })
|
|
63650
|
+
children: /* @__PURE__ */ jsxs(Pressable, { href: item.href, className: "relative inline-block", children: [
|
|
63651
|
+
/* @__PURE__ */ 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 }),
|
|
63652
|
+
/* @__PURE__ */ jsx("div", { className: "absolute bottom-0 left-0 h-1 w-0 bg-primary transition-all duration-300 group-hover/menu-item:w-full" })
|
|
63824
63653
|
] })
|
|
63825
63654
|
},
|
|
63826
63655
|
item.label
|
|
63827
|
-
));
|
|
63656
|
+
)) });
|
|
63828
63657
|
}, [menuSlot, menuItems]);
|
|
63829
63658
|
const renderSocialLinks = useMemo$1(() => {
|
|
63830
63659
|
if (socialLinksSlot) return socialLinksSlot;
|
|
63831
63660
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
63832
|
-
return socialLinks.map((link, index) => /* @__PURE__ */
|
|
63661
|
+
return socialLinks.map((link, index) => /* @__PURE__ */ jsxs(
|
|
63833
63662
|
Pressable,
|
|
63834
63663
|
{
|
|
63835
63664
|
href: link.href,
|
|
63836
63665
|
target: "_blank",
|
|
63837
63666
|
rel: "noopener noreferrer",
|
|
63838
|
-
className: "group flex items-center gap-2
|
|
63667
|
+
className: "group flex items-center gap-2 text-muted-foreground transition-all duration-300 hover:text-foreground hover:translate-x-1",
|
|
63839
63668
|
style: { animationDelay: `${0.8 + index * 0.1}s` },
|
|
63840
|
-
|
|
63669
|
+
"aria-label": typeof link.label === "string" ? link.label : void 0,
|
|
63670
|
+
children: [
|
|
63671
|
+
link.icon ?? (link.iconName && /* @__PURE__ */ jsx(DynamicIcon, { name: link.iconName, size: 20 })),
|
|
63672
|
+
!link.icon && !link.iconName && /* @__PURE__ */ jsx("span", { className: "font-mono text-sm tracking-wider", children: link.label })
|
|
63673
|
+
]
|
|
63841
63674
|
},
|
|
63842
63675
|
link.label
|
|
63843
63676
|
));
|
|
@@ -63851,18 +63684,18 @@ var NavbarFullscreenMenu = ({
|
|
|
63851
63684
|
sectionContainerMaxWidth,
|
|
63852
63685
|
spacingOverride
|
|
63853
63686
|
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
63854
|
-
return /* @__PURE__ */
|
|
63855
|
-
|
|
63856
|
-
|
|
63857
|
-
|
|
63858
|
-
|
|
63859
|
-
|
|
63860
|
-
|
|
63861
|
-
|
|
63862
|
-
|
|
63863
|
-
|
|
63864
|
-
|
|
63865
|
-
/* @__PURE__ */ jsxs(
|
|
63687
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
63688
|
+
/* @__PURE__ */ jsx(
|
|
63689
|
+
Section,
|
|
63690
|
+
{
|
|
63691
|
+
background,
|
|
63692
|
+
spacing: spacingOverride ?? spacing,
|
|
63693
|
+
className: sectionClasses,
|
|
63694
|
+
pattern,
|
|
63695
|
+
patternOpacity,
|
|
63696
|
+
containerClassName: sectionContainerClassName,
|
|
63697
|
+
containerMaxWidth: sectionContainerMaxWidth,
|
|
63698
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: navWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs(
|
|
63866
63699
|
"nav",
|
|
63867
63700
|
{
|
|
63868
63701
|
className: cn(
|
|
@@ -63879,60 +63712,75 @@ var NavbarFullscreenMenu = ({
|
|
|
63879
63712
|
optixFlowConfig
|
|
63880
63713
|
}
|
|
63881
63714
|
) }),
|
|
63882
|
-
/* @__PURE__ */ jsx("div", { className: "z-50", children: /* @__PURE__ */
|
|
63715
|
+
/* @__PURE__ */ jsx("div", { className: "z-50", children: /* @__PURE__ */ jsx(
|
|
63883
63716
|
"button",
|
|
63884
63717
|
{
|
|
63885
63718
|
onClick: toggleMenu,
|
|
63886
|
-
className: "text-
|
|
63887
|
-
|
|
63888
|
-
|
|
63889
|
-
"span",
|
|
63890
|
-
{
|
|
63891
|
-
className: `inline-block transition-all duration-200 ${isOpen ? "opacity-0 -translate-y-2" : "opacity-100 translate-y-0"}`,
|
|
63892
|
-
style: { display: isOpen ? "none" : "inline-block" },
|
|
63893
|
-
children: isOpen ? "" : "\u2630"
|
|
63894
|
-
}
|
|
63895
|
-
),
|
|
63896
|
-
/* @__PURE__ */ jsx(
|
|
63897
|
-
"span",
|
|
63898
|
-
{
|
|
63899
|
-
className: `inline-block transition-all duration-200 ${isOpen ? "opacity-100 translate-y-0" : "opacity-0 translate-y-2"}`,
|
|
63900
|
-
style: { display: isOpen ? "inline-block" : "none" },
|
|
63901
|
-
children: isOpen ? "\u2715" : ""
|
|
63902
|
-
}
|
|
63903
|
-
)
|
|
63904
|
-
]
|
|
63719
|
+
className: "text-2xl tracking-wider text-foreground transition-colors hover:text-muted-foreground",
|
|
63720
|
+
"aria-label": isOpen ? "Close menu" : "Open menu",
|
|
63721
|
+
children: "\u2630"
|
|
63905
63722
|
}
|
|
63906
63723
|
) })
|
|
63907
63724
|
]
|
|
63908
63725
|
}
|
|
63726
|
+
) }) }) })
|
|
63727
|
+
}
|
|
63728
|
+
),
|
|
63729
|
+
isOpen && /* @__PURE__ */ jsxs(
|
|
63730
|
+
"div",
|
|
63731
|
+
{
|
|
63732
|
+
className: cn(
|
|
63733
|
+
"fixed inset-0 z-50 flex flex-col bg-background animate-in fade-in duration-300",
|
|
63734
|
+
overlayClassName
|
|
63909
63735
|
),
|
|
63910
|
-
|
|
63911
|
-
"div",
|
|
63912
|
-
|
|
63913
|
-
|
|
63914
|
-
|
|
63915
|
-
|
|
63736
|
+
children: [
|
|
63737
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-6", children: [
|
|
63738
|
+
/* @__PURE__ */ jsx(
|
|
63739
|
+
NavbarLogo,
|
|
63740
|
+
{
|
|
63741
|
+
logo,
|
|
63742
|
+
logoSlot,
|
|
63743
|
+
logoClassName,
|
|
63744
|
+
optixFlowConfig
|
|
63745
|
+
}
|
|
63916
63746
|
),
|
|
63917
|
-
|
|
63918
|
-
|
|
63919
|
-
|
|
63920
|
-
|
|
63921
|
-
|
|
63922
|
-
|
|
63923
|
-
|
|
63924
|
-
|
|
63925
|
-
|
|
63926
|
-
|
|
63927
|
-
|
|
63928
|
-
|
|
63929
|
-
|
|
63930
|
-
|
|
63931
|
-
|
|
63932
|
-
|
|
63933
|
-
|
|
63934
|
-
|
|
63935
|
-
|
|
63747
|
+
/* @__PURE__ */ jsx(
|
|
63748
|
+
"button",
|
|
63749
|
+
{
|
|
63750
|
+
onClick: toggleMenu,
|
|
63751
|
+
className: "text-2xl text-foreground transition-colors hover:text-muted-foreground",
|
|
63752
|
+
"aria-label": "Close menu",
|
|
63753
|
+
children: "\u2715"
|
|
63754
|
+
}
|
|
63755
|
+
)
|
|
63756
|
+
] }),
|
|
63757
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col items-center justify-center overflow-y-auto px-6 py-8", children: [
|
|
63758
|
+
/* @__PURE__ */ jsx(
|
|
63759
|
+
"div",
|
|
63760
|
+
{
|
|
63761
|
+
className: cn(
|
|
63762
|
+
"mb-12 max-h-[60vh] overflow-y-auto text-center md:max-h-none",
|
|
63763
|
+
menuItemsClassName
|
|
63764
|
+
),
|
|
63765
|
+
children: renderMenuItems
|
|
63766
|
+
}
|
|
63767
|
+
),
|
|
63768
|
+
/* @__PURE__ */ jsx(
|
|
63769
|
+
"div",
|
|
63770
|
+
{
|
|
63771
|
+
className: cn(
|
|
63772
|
+
"flex flex-col items-center gap-6 sm:flex-row sm:gap-10 animate-in slide-in-from-bottom-4 fade-in",
|
|
63773
|
+
socialLinksClassName
|
|
63774
|
+
),
|
|
63775
|
+
style: { animationDelay: "0.7s", animationFillMode: "both" },
|
|
63776
|
+
children: renderSocialLinks
|
|
63777
|
+
}
|
|
63778
|
+
)
|
|
63779
|
+
] })
|
|
63780
|
+
]
|
|
63781
|
+
}
|
|
63782
|
+
)
|
|
63783
|
+
] });
|
|
63936
63784
|
};
|
|
63937
63785
|
function LogosInlineTagline({
|
|
63938
63786
|
className,
|
|
@@ -78792,7 +78640,7 @@ function ListSearchableGrid({
|
|
|
78792
78640
|
}
|
|
78793
78641
|
);
|
|
78794
78642
|
}
|
|
78795
|
-
var { useMemo:
|
|
78643
|
+
var { useMemo: useMemo442 } = React52;
|
|
78796
78644
|
function OfferModalNewsletterDiscount({
|
|
78797
78645
|
title,
|
|
78798
78646
|
emailPlaceholder,
|
|
@@ -78860,7 +78708,7 @@ function OfferModalNewsletterDiscount({
|
|
|
78860
78708
|
});
|
|
78861
78709
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
78862
78710
|
const dialogProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
78863
|
-
const renderCloseButton =
|
|
78711
|
+
const renderCloseButton = useMemo442(() => {
|
|
78864
78712
|
if (closeButtonSlot) return closeButtonSlot;
|
|
78865
78713
|
if (!closeButtonText) return null;
|
|
78866
78714
|
return /* @__PURE__ */ jsx("div", { className: "absolute end-1.5 top-1.5", children: /* @__PURE__ */ jsx(DialogClose, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
@@ -78874,12 +78722,12 @@ function OfferModalNewsletterDiscount({
|
|
|
78874
78722
|
}
|
|
78875
78723
|
) }) });
|
|
78876
78724
|
}, [closeButtonSlot, closeButtonText, closeClassName]);
|
|
78877
|
-
const renderHeader =
|
|
78725
|
+
const renderHeader = useMemo442(() => {
|
|
78878
78726
|
if (headerSlot) return headerSlot;
|
|
78879
78727
|
if (!title) return null;
|
|
78880
78728
|
return /* @__PURE__ */ jsx(DialogHeader, { className: headerClassName, children: typeof title === "string" ? /* @__PURE__ */ jsx(DialogTitle, { className: cn("text-start font-serif text-2xl font-normal leading-snug", titleClassName), children: title }) : /* @__PURE__ */ jsx(DialogTitle, { className: cn("text-start font-serif text-2xl font-normal leading-snug", titleClassName), children: title }) });
|
|
78881
78729
|
}, [headerSlot, title, headerClassName, titleClassName]);
|
|
78882
|
-
const renderForm =
|
|
78730
|
+
const renderForm = useMemo442(() => {
|
|
78883
78731
|
if (formSlot) return formSlot;
|
|
78884
78732
|
return /* @__PURE__ */ jsxs(
|
|
78885
78733
|
Form,
|
|
@@ -78941,7 +78789,7 @@ function OfferModalNewsletterDiscount({
|
|
|
78941
78789
|
}
|
|
78942
78790
|
) });
|
|
78943
78791
|
}
|
|
78944
|
-
var { useMemo:
|
|
78792
|
+
var { useMemo: useMemo443 } = React52;
|
|
78945
78793
|
function OfferModalMembershipImage({
|
|
78946
78794
|
overline,
|
|
78947
78795
|
title,
|
|
@@ -79018,7 +78866,7 @@ function OfferModalMembershipImage({
|
|
|
79018
78866
|
});
|
|
79019
78867
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
79020
78868
|
const dialogProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
79021
|
-
const renderImage =
|
|
78869
|
+
const renderImage = useMemo443(() => {
|
|
79022
78870
|
if (imageSlot) return imageSlot;
|
|
79023
78871
|
if (!image) return null;
|
|
79024
78872
|
return /* @__PURE__ */ jsx("div", { className: cn("max-h-[290px] h-full overflow-hidden max-lg:hidden", imageWrapperClassName), children: /* @__PURE__ */ jsx(
|
|
@@ -79031,7 +78879,7 @@ function OfferModalMembershipImage({
|
|
|
79031
78879
|
}
|
|
79032
78880
|
) });
|
|
79033
78881
|
}, [imageSlot, image, imageWrapperClassName, imageClassName, optixFlowConfig]);
|
|
79034
|
-
const renderCloseButton =
|
|
78882
|
+
const renderCloseButton = useMemo443(() => {
|
|
79035
78883
|
if (closeButtonSlot) return closeButtonSlot;
|
|
79036
78884
|
return /* @__PURE__ */ jsx("div", { className: "absolute -end-px -top-px z-10", children: /* @__PURE__ */ jsx(DialogClose, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
79037
78885
|
Pressable,
|
|
@@ -79047,7 +78895,7 @@ function OfferModalMembershipImage({
|
|
|
79047
78895
|
}
|
|
79048
78896
|
) }) });
|
|
79049
78897
|
}, [closeButtonSlot, closeClassName]);
|
|
79050
|
-
const renderForm =
|
|
78898
|
+
const renderForm = useMemo443(() => {
|
|
79051
78899
|
if (formSlot) return formSlot;
|
|
79052
78900
|
return /* @__PURE__ */ jsxs(
|
|
79053
78901
|
Form,
|
|
@@ -79110,7 +78958,7 @@ function OfferModalMembershipImage({
|
|
|
79110
78958
|
}
|
|
79111
78959
|
);
|
|
79112
78960
|
}, [formSlot, form, formConfig, formMethod, emailPlaceholder, inputClassName, submitClassName, buttonText, formClassName]);
|
|
79113
|
-
const renderFooter =
|
|
78961
|
+
const renderFooter = useMemo443(() => {
|
|
79114
78962
|
if (footerSlot) return footerSlot;
|
|
79115
78963
|
if (!description) return null;
|
|
79116
78964
|
return /* @__PURE__ */ jsx(DialogFooter, { className: footerClassName, children: /* @__PURE__ */ jsx(DialogDescription, { className: cn("text-muted-foreground text-center text-xs leading-relaxed", descriptionClassName), children: description }) });
|
|
@@ -79138,7 +78986,7 @@ function OfferModalMembershipImage({
|
|
|
79138
78986
|
}
|
|
79139
78987
|
) });
|
|
79140
78988
|
}
|
|
79141
|
-
var { useMemo:
|
|
78989
|
+
var { useMemo: useMemo444 } = React52;
|
|
79142
78990
|
function OfferModalSheetNewsletter({
|
|
79143
78991
|
logo,
|
|
79144
78992
|
logoSlot,
|
|
@@ -79221,7 +79069,7 @@ function OfferModalSheetNewsletter({
|
|
|
79221
79069
|
});
|
|
79222
79070
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
79223
79071
|
const sheetProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
79224
|
-
const renderLogo =
|
|
79072
|
+
const renderLogo = useMemo444(() => {
|
|
79225
79073
|
if (logoSlot) return logoSlot;
|
|
79226
79074
|
if (!logo) return null;
|
|
79227
79075
|
const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
|
|
@@ -79235,7 +79083,7 @@ function OfferModalSheetNewsletter({
|
|
|
79235
79083
|
}
|
|
79236
79084
|
);
|
|
79237
79085
|
}, [logoSlot, logo, logoClassName, optixFlowConfig]);
|
|
79238
|
-
const renderHeader =
|
|
79086
|
+
const renderHeader = useMemo444(() => {
|
|
79239
79087
|
if (headerSlot) return headerSlot;
|
|
79240
79088
|
return /* @__PURE__ */ jsxs(SheetHeader, { className: cn("gap-8 p-0", headerClassName), children: [
|
|
79241
79089
|
renderLogo,
|
|
@@ -79245,7 +79093,7 @@ function OfferModalSheetNewsletter({
|
|
|
79245
79093
|
] })
|
|
79246
79094
|
] });
|
|
79247
79095
|
}, [headerSlot, renderLogo, headerClassName, title, titleClassName, description, descriptionClassName]);
|
|
79248
|
-
const renderForm =
|
|
79096
|
+
const renderForm = useMemo444(() => {
|
|
79249
79097
|
if (formSlot) return formSlot;
|
|
79250
79098
|
return /* @__PURE__ */ jsx(
|
|
79251
79099
|
Form,
|
|
@@ -79293,7 +79141,7 @@ function OfferModalSheetNewsletter({
|
|
|
79293
79141
|
}
|
|
79294
79142
|
);
|
|
79295
79143
|
}, [formSlot, form, formConfig, formMethod, emailPlaceholder, inputClassName, submitClassName, buttonText, formClassName]);
|
|
79296
|
-
const renderLegal =
|
|
79144
|
+
const renderLegal = useMemo444(() => {
|
|
79297
79145
|
if (legalSlot) return legalSlot;
|
|
79298
79146
|
if (!termsUrl || !termsText || !privacyUrl || !privacyText) return null;
|
|
79299
79147
|
return /* @__PURE__ */ jsxs("p", { className: cn("text-muted-foreground text-xs", legalClassName), children: [
|
|
@@ -79307,7 +79155,7 @@ function OfferModalSheetNewsletter({
|
|
|
79307
79155
|
"."
|
|
79308
79156
|
] });
|
|
79309
79157
|
}, [legalSlot, termsUrl, termsText, privacyUrl, privacyText, legalClassName]);
|
|
79310
|
-
const renderImage =
|
|
79158
|
+
const renderImage = useMemo444(() => {
|
|
79311
79159
|
if (imageSlot) return imageSlot;
|
|
79312
79160
|
if (!image) return null;
|
|
79313
79161
|
return /* @__PURE__ */ jsx("div", { className: cn("h-1/2 basis-1/2", imageWrapperClassName), children: /* @__PURE__ */ jsx(AspectRatio, { ratio: 1, className: "overflow-hidden", children: /* @__PURE__ */ jsx(
|