@opensite/ui 1.0.3 → 1.0.5
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 +67 -82
- package/dist/navbar-animated-preview.js +67 -81
- package/dist/navbar-centered-menu.cjs +101 -125
- package/dist/navbar-centered-menu.js +101 -124
- package/dist/navbar-dark-icons.cjs +67 -81
- package/dist/navbar-dark-icons.js +67 -80
- package/dist/navbar-dropdown-menu.cjs +87 -122
- package/dist/navbar-dropdown-menu.js +87 -121
- package/dist/navbar-education-platform.cjs +1 -1
- package/dist/navbar-education-platform.js +1 -1
- package/dist/navbar-enterprise-mega.cjs +7 -7
- package/dist/navbar-enterprise-mega.js +7 -7
- package/dist/navbar-feature-grid.cjs +131 -150
- package/dist/navbar-feature-grid.d.cts +9 -1
- package/dist/navbar-feature-grid.d.ts +9 -1
- package/dist/navbar-feature-grid.js +131 -149
- package/dist/navbar-floating-pill.cjs +2 -2
- package/dist/navbar-floating-pill.js +2 -2
- package/dist/navbar-fullscreen-menu.cjs +1 -1
- package/dist/navbar-fullscreen-menu.js +1 -1
- package/dist/navbar-icon-links.cjs +102 -138
- package/dist/navbar-icon-links.js +102 -137
- package/dist/navbar-image-preview.cjs +64 -95
- package/dist/navbar-image-preview.js +64 -94
- package/dist/navbar-mega-menu.cjs +1 -1
- package/dist/navbar-mega-menu.js +1 -1
- package/dist/navbar-multi-column-groups.cjs +67 -81
- package/dist/navbar-multi-column-groups.js +67 -80
- package/dist/navbar-platform-resources.cjs +80 -42
- package/dist/navbar-platform-resources.js +80 -42
- package/dist/navbar-search-focused.cjs +76 -93
- package/dist/navbar-search-focused.js +76 -92
- package/dist/navbar-sidebar-mobile.cjs +76 -93
- package/dist/navbar-sidebar-mobile.js +76 -92
- package/dist/navbar-simple-links.cjs +1 -1
- package/dist/navbar-simple-links.js +1 -1
- package/dist/navbar-split-cta.cjs +78 -95
- package/dist/navbar-split-cta.js +78 -94
- package/dist/navbar-sticky-compact.cjs +82 -100
- package/dist/navbar-sticky-compact.js +82 -99
- package/dist/navbar-tabbed-sections.cjs +91 -115
- package/dist/navbar-tabbed-sections.js +91 -114
- package/dist/navbar-transparent-overlay.cjs +1 -1
- package/dist/navbar-transparent-overlay.js +1 -1
- package/dist/registry.cjs +594 -618
- package/dist/registry.js +593 -617
- package/package.json +1 -1
package/dist/registry.js
CHANGED
|
@@ -26,7 +26,7 @@ import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
|
26
26
|
import { motion as motion$1, AnimatePresence as AnimatePresence$1 } from 'motion/react';
|
|
27
27
|
import { format } from 'date-fns';
|
|
28
28
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
29
|
-
import * as
|
|
29
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
30
30
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
31
31
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
32
32
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
@@ -51245,24 +51245,24 @@ function HeroBillingPlatformLogos({
|
|
|
51245
51245
|
function Dialog({
|
|
51246
51246
|
...props
|
|
51247
51247
|
}) {
|
|
51248
|
-
return /* @__PURE__ */ jsx(
|
|
51248
|
+
return /* @__PURE__ */ jsx(DialogPrimitive.Root, { "data-slot": "dialog", ...props });
|
|
51249
51249
|
}
|
|
51250
51250
|
function DialogPortal({
|
|
51251
51251
|
...props
|
|
51252
51252
|
}) {
|
|
51253
|
-
return /* @__PURE__ */ jsx(
|
|
51253
|
+
return /* @__PURE__ */ jsx(DialogPrimitive.Portal, { "data-slot": "dialog-portal", ...props });
|
|
51254
51254
|
}
|
|
51255
51255
|
function DialogClose({
|
|
51256
51256
|
...props
|
|
51257
51257
|
}) {
|
|
51258
|
-
return /* @__PURE__ */ jsx(
|
|
51258
|
+
return /* @__PURE__ */ jsx(DialogPrimitive.Close, { "data-slot": "dialog-close", ...props });
|
|
51259
51259
|
}
|
|
51260
51260
|
function DialogOverlay({
|
|
51261
51261
|
className,
|
|
51262
51262
|
...props
|
|
51263
51263
|
}) {
|
|
51264
51264
|
return /* @__PURE__ */ jsx(
|
|
51265
|
-
|
|
51265
|
+
DialogPrimitive.Overlay,
|
|
51266
51266
|
{
|
|
51267
51267
|
"data-slot": "dialog-overlay",
|
|
51268
51268
|
className: cn(
|
|
@@ -51282,7 +51282,7 @@ function DialogContent({
|
|
|
51282
51282
|
return /* @__PURE__ */ jsxs(DialogPortal, { "data-slot": "dialog-portal", children: [
|
|
51283
51283
|
/* @__PURE__ */ jsx(DialogOverlay, {}),
|
|
51284
51284
|
/* @__PURE__ */ jsxs(
|
|
51285
|
-
|
|
51285
|
+
DialogPrimitive.Content,
|
|
51286
51286
|
{
|
|
51287
51287
|
"data-slot": "dialog-content",
|
|
51288
51288
|
className: cn(
|
|
@@ -51293,7 +51293,7 @@ function DialogContent({
|
|
|
51293
51293
|
children: [
|
|
51294
51294
|
children,
|
|
51295
51295
|
showCloseButton && /* @__PURE__ */ jsxs(
|
|
51296
|
-
|
|
51296
|
+
DialogPrimitive.Close,
|
|
51297
51297
|
{
|
|
51298
51298
|
"data-slot": "dialog-close",
|
|
51299
51299
|
className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
@@ -51336,7 +51336,7 @@ function DialogTitle({
|
|
|
51336
51336
|
...props
|
|
51337
51337
|
}) {
|
|
51338
51338
|
return /* @__PURE__ */ jsx(
|
|
51339
|
-
|
|
51339
|
+
DialogPrimitive.Title,
|
|
51340
51340
|
{
|
|
51341
51341
|
"data-slot": "dialog-title",
|
|
51342
51342
|
className: cn("text-lg leading-none font-semibold", className),
|
|
@@ -51349,7 +51349,7 @@ function DialogDescription({
|
|
|
51349
51349
|
...props
|
|
51350
51350
|
}) {
|
|
51351
51351
|
return /* @__PURE__ */ jsx(
|
|
51352
|
-
|
|
51352
|
+
DialogPrimitive.Description,
|
|
51353
51353
|
{
|
|
51354
51354
|
"data-slot": "dialog-description",
|
|
51355
51355
|
className: cn("text-muted-foreground text-sm", className),
|
|
@@ -57062,108 +57062,62 @@ function NavigationMenuLink({
|
|
|
57062
57062
|
}
|
|
57063
57063
|
);
|
|
57064
57064
|
}
|
|
57065
|
-
|
|
57066
|
-
|
|
57067
|
-
|
|
57068
|
-
|
|
57069
|
-
...props
|
|
57070
|
-
}) {
|
|
57071
|
-
return /* @__PURE__ */ jsx(SheetPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
|
|
57072
|
-
}
|
|
57073
|
-
function SheetClose({
|
|
57074
|
-
...props
|
|
57075
|
-
}) {
|
|
57076
|
-
return /* @__PURE__ */ jsx(SheetPrimitive.Close, { "data-slot": "sheet-close", ...props });
|
|
57077
|
-
}
|
|
57078
|
-
function SheetPortal({
|
|
57079
|
-
...props
|
|
57080
|
-
}) {
|
|
57081
|
-
return /* @__PURE__ */ jsx(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
|
|
57082
|
-
}
|
|
57083
|
-
function SheetOverlay({
|
|
57065
|
+
var NavbarMobileMenu = ({
|
|
57066
|
+
open,
|
|
57067
|
+
onClose,
|
|
57068
|
+
children,
|
|
57084
57069
|
className,
|
|
57085
|
-
|
|
57086
|
-
|
|
57087
|
-
|
|
57088
|
-
|
|
57070
|
+
contentClassName,
|
|
57071
|
+
title = "Mobile Navigation"
|
|
57072
|
+
}) => {
|
|
57073
|
+
React52.useEffect(() => {
|
|
57074
|
+
if (open) {
|
|
57075
|
+
const originalOverflow = document.body.style.overflow;
|
|
57076
|
+
document.body.style.overflow = "hidden";
|
|
57077
|
+
return () => {
|
|
57078
|
+
document.body.style.overflow = originalOverflow;
|
|
57079
|
+
};
|
|
57080
|
+
}
|
|
57081
|
+
}, [open]);
|
|
57082
|
+
if (!open) return null;
|
|
57083
|
+
return /* @__PURE__ */ jsxs(
|
|
57084
|
+
"div",
|
|
57089
57085
|
{
|
|
57090
|
-
"data-slot": "sheet-overlay",
|
|
57091
57086
|
className: cn(
|
|
57092
|
-
"
|
|
57087
|
+
"fixed inset-0 z-[998] flex flex-col bg-background",
|
|
57088
|
+
"animate-in slide-in-from-top duration-300",
|
|
57089
|
+
"data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
|
|
57093
57090
|
className
|
|
57094
57091
|
),
|
|
57095
|
-
|
|
57096
|
-
|
|
57097
|
-
|
|
57098
|
-
|
|
57099
|
-
|
|
57100
|
-
|
|
57101
|
-
|
|
57102
|
-
|
|
57103
|
-
|
|
57104
|
-
|
|
57105
|
-
|
|
57106
|
-
|
|
57107
|
-
|
|
57108
|
-
|
|
57109
|
-
|
|
57110
|
-
|
|
57111
|
-
|
|
57112
|
-
|
|
57113
|
-
|
|
57114
|
-
|
|
57115
|
-
|
|
57116
|
-
|
|
57117
|
-
|
|
57118
|
-
|
|
57119
|
-
|
|
57120
|
-
|
|
57121
|
-
children,
|
|
57122
|
-
/* @__PURE__ */ jsxs(SheetPrimitive.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
|
|
57123
|
-
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
|
|
57124
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
57125
|
-
] })
|
|
57126
|
-
]
|
|
57127
|
-
}
|
|
57128
|
-
)
|
|
57129
|
-
] });
|
|
57130
|
-
}
|
|
57131
|
-
function SheetHeader({ className, ...props }) {
|
|
57132
|
-
return /* @__PURE__ */ jsx(
|
|
57133
|
-
"div",
|
|
57134
|
-
{
|
|
57135
|
-
"data-slot": "sheet-header",
|
|
57136
|
-
className: cn("flex flex-col gap-1.5 p-4", className),
|
|
57137
|
-
...props
|
|
57138
|
-
}
|
|
57139
|
-
);
|
|
57140
|
-
}
|
|
57141
|
-
function SheetTitle({
|
|
57142
|
-
className,
|
|
57143
|
-
...props
|
|
57144
|
-
}) {
|
|
57145
|
-
return /* @__PURE__ */ jsx(
|
|
57146
|
-
SheetPrimitive.Title,
|
|
57147
|
-
{
|
|
57148
|
-
"data-slot": "sheet-title",
|
|
57149
|
-
className: cn("text-foreground font-semibold", className),
|
|
57150
|
-
...props
|
|
57151
|
-
}
|
|
57152
|
-
);
|
|
57153
|
-
}
|
|
57154
|
-
function SheetDescription({
|
|
57155
|
-
className,
|
|
57156
|
-
...props
|
|
57157
|
-
}) {
|
|
57158
|
-
return /* @__PURE__ */ jsx(
|
|
57159
|
-
SheetPrimitive.Description,
|
|
57160
|
-
{
|
|
57161
|
-
"data-slot": "sheet-description",
|
|
57162
|
-
className: cn("text-muted-foreground text-sm", className),
|
|
57163
|
-
...props
|
|
57092
|
+
"data-state": open ? "open" : "closed",
|
|
57093
|
+
children: [
|
|
57094
|
+
/* @__PURE__ */ jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsx("h2", { children: title }) }),
|
|
57095
|
+
/* @__PURE__ */ jsx("div", { className: "absolute top-4 right-4 z-10", children: /* @__PURE__ */ jsxs(
|
|
57096
|
+
"button",
|
|
57097
|
+
{
|
|
57098
|
+
onClick: onClose,
|
|
57099
|
+
className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
|
|
57100
|
+
"aria-label": "Close mobile menu",
|
|
57101
|
+
children: [
|
|
57102
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
|
|
57103
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
57104
|
+
]
|
|
57105
|
+
}
|
|
57106
|
+
) }),
|
|
57107
|
+
/* @__PURE__ */ jsx(
|
|
57108
|
+
"div",
|
|
57109
|
+
{
|
|
57110
|
+
className: cn(
|
|
57111
|
+
"h-full overflow-y-auto pt-20 pb-8 px-4 sm:px-6",
|
|
57112
|
+
contentClassName
|
|
57113
|
+
),
|
|
57114
|
+
children
|
|
57115
|
+
}
|
|
57116
|
+
)
|
|
57117
|
+
]
|
|
57164
57118
|
}
|
|
57165
57119
|
);
|
|
57166
|
-
}
|
|
57120
|
+
};
|
|
57167
57121
|
var NavbarLogo = ({
|
|
57168
57122
|
logo,
|
|
57169
57123
|
logoSlot,
|
|
@@ -57240,7 +57194,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
|
|
|
57240
57194
|
// Outer container wrapper (only for floating bar - this containerizes the entire navbar)
|
|
57241
57195
|
containerWrapperClasses: cn(
|
|
57242
57196
|
"w-full",
|
|
57243
|
-
isFloatingBar && "mx-auto
|
|
57197
|
+
isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
|
|
57244
57198
|
),
|
|
57245
57199
|
// Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
|
|
57246
57200
|
innerContainerClasses: cn(
|
|
@@ -57333,6 +57287,7 @@ var NavbarDropdownMenu = ({
|
|
|
57333
57287
|
patternOpacity,
|
|
57334
57288
|
optixFlowConfig
|
|
57335
57289
|
}) => {
|
|
57290
|
+
const [open, setOpen] = React52.useState(false);
|
|
57336
57291
|
const renderAuthActions = useMemo$1(() => {
|
|
57337
57292
|
if (authActionsSlot) return authActionsSlot;
|
|
57338
57293
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -57425,49 +57380,43 @@ var NavbarDropdownMenu = ({
|
|
|
57425
57380
|
optixFlowConfig
|
|
57426
57381
|
}
|
|
57427
57382
|
),
|
|
57428
|
-
/* @__PURE__ */
|
|
57429
|
-
|
|
57430
|
-
|
|
57431
|
-
|
|
57432
|
-
|
|
57433
|
-
|
|
57434
|
-
|
|
57435
|
-
|
|
57436
|
-
|
|
57437
|
-
|
|
57438
|
-
|
|
57439
|
-
|
|
57440
|
-
|
|
57441
|
-
|
|
57442
|
-
|
|
57383
|
+
/* @__PURE__ */ jsx(
|
|
57384
|
+
Pressable,
|
|
57385
|
+
{
|
|
57386
|
+
variant: "outline",
|
|
57387
|
+
size: "icon",
|
|
57388
|
+
asButton: true,
|
|
57389
|
+
onClick: () => setOpen(!open),
|
|
57390
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
|
|
57391
|
+
}
|
|
57392
|
+
)
|
|
57393
|
+
] }) }),
|
|
57394
|
+
/* @__PURE__ */ jsx(
|
|
57395
|
+
NavbarMobileMenu,
|
|
57396
|
+
{
|
|
57397
|
+
open,
|
|
57398
|
+
onClose: () => setOpen(false),
|
|
57399
|
+
title: "Mobile Navigation",
|
|
57400
|
+
children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
|
|
57401
|
+
/* @__PURE__ */ jsx(
|
|
57402
|
+
Accordion,
|
|
57443
57403
|
{
|
|
57444
|
-
|
|
57445
|
-
|
|
57446
|
-
|
|
57447
|
-
|
|
57404
|
+
type: "single",
|
|
57405
|
+
collapsible: true,
|
|
57406
|
+
className: "flex w-full flex-col gap-4",
|
|
57407
|
+
children: renderMobileMenu
|
|
57448
57408
|
}
|
|
57449
|
-
)
|
|
57450
|
-
/* @__PURE__ */
|
|
57451
|
-
|
|
57452
|
-
|
|
57453
|
-
|
|
57454
|
-
|
|
57455
|
-
|
|
57456
|
-
|
|
57457
|
-
children: renderMobileMenu
|
|
57458
|
-
}
|
|
57459
|
-
),
|
|
57460
|
-
/* @__PURE__ */ jsx(
|
|
57461
|
-
"div",
|
|
57462
|
-
{
|
|
57463
|
-
className: cn("flex flex-col gap-3", actionsClassName),
|
|
57464
|
-
children: renderAuthActions
|
|
57465
|
-
}
|
|
57466
|
-
)
|
|
57467
|
-
] })
|
|
57409
|
+
),
|
|
57410
|
+
/* @__PURE__ */ jsx(
|
|
57411
|
+
"div",
|
|
57412
|
+
{
|
|
57413
|
+
className: cn("mt-6 flex flex-col gap-3", actionsClassName),
|
|
57414
|
+
children: renderAuthActions
|
|
57415
|
+
}
|
|
57416
|
+
)
|
|
57468
57417
|
] })
|
|
57469
|
-
|
|
57470
|
-
|
|
57418
|
+
}
|
|
57419
|
+
)
|
|
57471
57420
|
] }) }) })
|
|
57472
57421
|
}
|
|
57473
57422
|
);
|
|
@@ -57518,15 +57467,26 @@ var renderMenuItem2 = (item) => {
|
|
|
57518
57467
|
var renderMobileMenuItem2 = (item) => {
|
|
57519
57468
|
if (item.items) {
|
|
57520
57469
|
return /* @__PURE__ */ jsxs(AccordionItem, { value: item.title, className: "border-b-0", children: [
|
|
57521
|
-
/* @__PURE__ */ jsx(AccordionTrigger, { className: "
|
|
57522
|
-
/* @__PURE__ */ jsx(AccordionContent, { className: "
|
|
57470
|
+
/* @__PURE__ */ jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: item.title }),
|
|
57471
|
+
/* @__PURE__ */ jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: item.items.map((subItem) => /* @__PURE__ */ jsxs(
|
|
57472
|
+
Pressable,
|
|
57473
|
+
{
|
|
57474
|
+
href: subItem.url,
|
|
57475
|
+
className: "flex items-center gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
|
|
57476
|
+
children: [
|
|
57477
|
+
subItem.icon && /* @__PURE__ */ jsx(DynamicIcon, { name: subItem.icon, size: 14 }),
|
|
57478
|
+
subItem.title
|
|
57479
|
+
]
|
|
57480
|
+
},
|
|
57481
|
+
subItem.title
|
|
57482
|
+
)) })
|
|
57523
57483
|
] }, item.title);
|
|
57524
57484
|
}
|
|
57525
57485
|
return /* @__PURE__ */ jsx(
|
|
57526
57486
|
Pressable,
|
|
57527
57487
|
{
|
|
57528
57488
|
href: item.url,
|
|
57529
|
-
className: "text-
|
|
57489
|
+
className: "flex h-15 items-center text-base font-normal text-foreground",
|
|
57530
57490
|
children: item.title
|
|
57531
57491
|
},
|
|
57532
57492
|
item.title
|
|
@@ -57553,6 +57513,7 @@ var NavbarCenteredMenu = ({
|
|
|
57553
57513
|
patternOpacity,
|
|
57554
57514
|
optixFlowConfig
|
|
57555
57515
|
}) => {
|
|
57516
|
+
const [open, setOpen] = React52.useState(false);
|
|
57556
57517
|
const renderAuthActions = useMemo$1(() => {
|
|
57557
57518
|
if (authActionsSlot) return authActionsSlot;
|
|
57558
57519
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -57649,49 +57610,43 @@ var NavbarCenteredMenu = ({
|
|
|
57649
57610
|
optixFlowConfig
|
|
57650
57611
|
}
|
|
57651
57612
|
),
|
|
57652
|
-
/* @__PURE__ */
|
|
57653
|
-
|
|
57654
|
-
|
|
57655
|
-
|
|
57656
|
-
|
|
57657
|
-
|
|
57658
|
-
|
|
57659
|
-
|
|
57660
|
-
|
|
57661
|
-
|
|
57662
|
-
|
|
57663
|
-
|
|
57664
|
-
|
|
57665
|
-
|
|
57666
|
-
|
|
57613
|
+
/* @__PURE__ */ jsx(
|
|
57614
|
+
Pressable,
|
|
57615
|
+
{
|
|
57616
|
+
variant: "outline",
|
|
57617
|
+
size: "icon",
|
|
57618
|
+
asButton: true,
|
|
57619
|
+
onClick: () => setOpen(!open),
|
|
57620
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
|
|
57621
|
+
}
|
|
57622
|
+
)
|
|
57623
|
+
] }) }),
|
|
57624
|
+
/* @__PURE__ */ jsx(
|
|
57625
|
+
NavbarMobileMenu,
|
|
57626
|
+
{
|
|
57627
|
+
open,
|
|
57628
|
+
onClose: () => setOpen(false),
|
|
57629
|
+
title: "Mobile Navigation",
|
|
57630
|
+
contentClassName: "pt-10 pb-20",
|
|
57631
|
+
children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
|
|
57632
|
+
/* @__PURE__ */ jsx(
|
|
57633
|
+
Accordion,
|
|
57667
57634
|
{
|
|
57668
|
-
|
|
57669
|
-
|
|
57670
|
-
|
|
57671
|
-
optixFlowConfig
|
|
57635
|
+
type: "multiple",
|
|
57636
|
+
className: "w-full",
|
|
57637
|
+
children: renderMobileMenu
|
|
57672
57638
|
}
|
|
57673
|
-
)
|
|
57674
|
-
/* @__PURE__ */
|
|
57675
|
-
|
|
57676
|
-
|
|
57677
|
-
|
|
57678
|
-
|
|
57679
|
-
|
|
57680
|
-
|
|
57681
|
-
children: renderMobileMenu
|
|
57682
|
-
}
|
|
57683
|
-
),
|
|
57684
|
-
/* @__PURE__ */ jsx(
|
|
57685
|
-
"div",
|
|
57686
|
-
{
|
|
57687
|
-
className: cn("flex flex-col gap-3", actionsClassName),
|
|
57688
|
-
children: renderAuthActions
|
|
57689
|
-
}
|
|
57690
|
-
)
|
|
57691
|
-
] })
|
|
57639
|
+
),
|
|
57640
|
+
/* @__PURE__ */ jsx(
|
|
57641
|
+
"div",
|
|
57642
|
+
{
|
|
57643
|
+
className: cn("mt-6 flex flex-col gap-4", actionsClassName),
|
|
57644
|
+
children: renderAuthActions
|
|
57645
|
+
}
|
|
57646
|
+
)
|
|
57692
57647
|
] })
|
|
57693
|
-
|
|
57694
|
-
|
|
57648
|
+
}
|
|
57649
|
+
)
|
|
57695
57650
|
] }) }) })
|
|
57696
57651
|
}
|
|
57697
57652
|
);
|
|
@@ -58177,62 +58132,6 @@ var NavbarMegaMenu = ({
|
|
|
58177
58132
|
}
|
|
58178
58133
|
);
|
|
58179
58134
|
};
|
|
58180
|
-
var NavbarMobileMenu = ({
|
|
58181
|
-
open,
|
|
58182
|
-
onClose,
|
|
58183
|
-
children,
|
|
58184
|
-
className,
|
|
58185
|
-
contentClassName,
|
|
58186
|
-
title = "Mobile Navigation"
|
|
58187
|
-
}) => {
|
|
58188
|
-
React52.useEffect(() => {
|
|
58189
|
-
if (open) {
|
|
58190
|
-
const originalOverflow = document.body.style.overflow;
|
|
58191
|
-
document.body.style.overflow = "hidden";
|
|
58192
|
-
return () => {
|
|
58193
|
-
document.body.style.overflow = originalOverflow;
|
|
58194
|
-
};
|
|
58195
|
-
}
|
|
58196
|
-
}, [open]);
|
|
58197
|
-
if (!open) return null;
|
|
58198
|
-
return /* @__PURE__ */ jsxs(
|
|
58199
|
-
"div",
|
|
58200
|
-
{
|
|
58201
|
-
className: cn(
|
|
58202
|
-
"fixed inset-0 z-[998] flex flex-col bg-background",
|
|
58203
|
-
"animate-in slide-in-from-top duration-300",
|
|
58204
|
-
"data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
|
|
58205
|
-
className
|
|
58206
|
-
),
|
|
58207
|
-
"data-state": open ? "open" : "closed",
|
|
58208
|
-
children: [
|
|
58209
|
-
/* @__PURE__ */ jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsx("h2", { children: title }) }),
|
|
58210
|
-
/* @__PURE__ */ jsx("div", { className: "absolute top-4 right-4 z-10", children: /* @__PURE__ */ jsxs(
|
|
58211
|
-
"button",
|
|
58212
|
-
{
|
|
58213
|
-
onClick: onClose,
|
|
58214
|
-
className: "flex size-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
|
|
58215
|
-
"aria-label": "Close mobile menu",
|
|
58216
|
-
children: [
|
|
58217
|
-
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
|
|
58218
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
58219
|
-
]
|
|
58220
|
-
}
|
|
58221
|
-
) }),
|
|
58222
|
-
/* @__PURE__ */ jsx(
|
|
58223
|
-
"div",
|
|
58224
|
-
{
|
|
58225
|
-
className: cn(
|
|
58226
|
-
"h-full overflow-y-auto pt-16 pb-8 px-4 sm:px-6",
|
|
58227
|
-
contentClassName
|
|
58228
|
-
),
|
|
58229
|
-
children
|
|
58230
|
-
}
|
|
58231
|
-
)
|
|
58232
|
-
]
|
|
58233
|
-
}
|
|
58234
|
-
);
|
|
58235
|
-
};
|
|
58236
58135
|
var SolutionsMenu = ({
|
|
58237
58136
|
solutionCards,
|
|
58238
58137
|
platformItems,
|
|
@@ -58878,7 +58777,7 @@ var renderMobileDropdownContent = (item) => {
|
|
|
58878
58777
|
switch (item.layout) {
|
|
58879
58778
|
case "solutions-with-platform":
|
|
58880
58779
|
return /* @__PURE__ */ jsx("div", { className: "space-y-4", children: item.solutionCards?.map((solution) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
58881
|
-
/* @__PURE__ */ jsx(Pressable, { href: solution.href, className: "text-sm font-medium", children: solution.title }),
|
|
58780
|
+
/* @__PURE__ */ jsx(Pressable, { href: solution.href, className: "mb-2 text-sm font-medium", children: solution.title }),
|
|
58882
58781
|
solution.subpages.map((subpage) => /* @__PURE__ */ jsxs(
|
|
58883
58782
|
Pressable,
|
|
58884
58783
|
{
|
|
@@ -58971,10 +58870,9 @@ var MobileNavigationMenu = ({
|
|
|
58971
58870
|
open,
|
|
58972
58871
|
onClose: () => setOpen(false),
|
|
58973
58872
|
title: "Mobile Navigation",
|
|
58974
|
-
contentClassName: "pt-
|
|
58873
|
+
contentClassName: "pt-10 pb-20",
|
|
58975
58874
|
children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
|
|
58976
|
-
/* @__PURE__ */ jsx(
|
|
58977
|
-
/* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "mt-6 w-full", children: menuLinks.map((item, index) => {
|
|
58875
|
+
/* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map((item, index) => {
|
|
58978
58876
|
const hasDropdown = Boolean(item.layout);
|
|
58979
58877
|
if (hasDropdown) {
|
|
58980
58878
|
return /* @__PURE__ */ jsxs(
|
|
@@ -58999,7 +58897,8 @@ var MobileNavigationMenu = ({
|
|
|
58999
58897
|
},
|
|
59000
58898
|
typeof item.label === "string" ? item.label : `nav-${index}`
|
|
59001
58899
|
);
|
|
59002
|
-
}) })
|
|
58900
|
+
}) }),
|
|
58901
|
+
/* @__PURE__ */ jsx("div", { className: cn("mt-6 flex flex-col gap-4", actionsClassName), children: renderActions })
|
|
59003
58902
|
] })
|
|
59004
58903
|
}
|
|
59005
58904
|
);
|
|
@@ -59014,6 +58913,7 @@ var NavbarFeatureGrid = ({
|
|
|
59014
58913
|
logo,
|
|
59015
58914
|
logoSlot,
|
|
59016
58915
|
features,
|
|
58916
|
+
menu,
|
|
59017
58917
|
authActions,
|
|
59018
58918
|
authActionsSlot,
|
|
59019
58919
|
layoutVariant = "fullScreenContainerizedLinks",
|
|
@@ -59023,6 +58923,7 @@ var NavbarFeatureGrid = ({
|
|
|
59023
58923
|
patternOpacity,
|
|
59024
58924
|
optixFlowConfig
|
|
59025
58925
|
}) => {
|
|
58926
|
+
const [open, setOpen] = React52.useState(false);
|
|
59026
58927
|
const renderAuthActions = useMemo$1(() => {
|
|
59027
58928
|
if (authActionsSlot) return authActionsSlot;
|
|
59028
58929
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -59079,21 +58980,31 @@ var NavbarFeatureGrid = ({
|
|
|
59079
58980
|
NavigationMenu,
|
|
59080
58981
|
{
|
|
59081
58982
|
className: cn("hidden lg:block", navigationMenuClassName),
|
|
59082
|
-
children: /* @__PURE__ */
|
|
59083
|
-
/* @__PURE__ */
|
|
59084
|
-
|
|
58983
|
+
children: /* @__PURE__ */ jsxs(NavigationMenuList, { children: [
|
|
58984
|
+
features && features.length > 0 && /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
|
|
58985
|
+
/* @__PURE__ */ jsx(NavigationMenuTrigger, { children: "Features" }),
|
|
58986
|
+
/* @__PURE__ */ jsx(NavigationMenuContent, { children: /* @__PURE__ */ jsx("div", { className: "grid w-[600px] grid-cols-2 p-3", children: features.map((feature, index) => /* @__PURE__ */ jsx(
|
|
58987
|
+
NavigationMenuLink,
|
|
58988
|
+
{
|
|
58989
|
+
href: feature.href,
|
|
58990
|
+
className: "rounded-md p-3 transition-colors hover:bg-muted/70",
|
|
58991
|
+
children: /* @__PURE__ */ jsxs("div", { children: [
|
|
58992
|
+
/* @__PURE__ */ jsx("p", { className: "mb-1 font-semibold", children: feature.title }),
|
|
58993
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: feature.description })
|
|
58994
|
+
] })
|
|
58995
|
+
},
|
|
58996
|
+
index
|
|
58997
|
+
)) }) })
|
|
58998
|
+
] }),
|
|
58999
|
+
menu?.map((item, index) => /* @__PURE__ */ jsx(NavigationMenuItem, { children: /* @__PURE__ */ jsx(
|
|
59085
59000
|
NavigationMenuLink,
|
|
59086
59001
|
{
|
|
59087
|
-
href:
|
|
59088
|
-
className: "
|
|
59089
|
-
children:
|
|
59090
|
-
|
|
59091
|
-
|
|
59092
|
-
|
|
59093
|
-
},
|
|
59094
|
-
index
|
|
59095
|
-
)) }) })
|
|
59096
|
-
] }) })
|
|
59002
|
+
href: item.url,
|
|
59003
|
+
className: "h-auto bg-transparent px-3 py-2 font-normal hover:bg-muted focus:bg-muted",
|
|
59004
|
+
children: item.title
|
|
59005
|
+
}
|
|
59006
|
+
) }, index))
|
|
59007
|
+
] })
|
|
59097
59008
|
}
|
|
59098
59009
|
),
|
|
59099
59010
|
/* @__PURE__ */ jsx(
|
|
@@ -59106,59 +59017,58 @@ var NavbarFeatureGrid = ({
|
|
|
59106
59017
|
children: renderAuthActions
|
|
59107
59018
|
}
|
|
59108
59019
|
),
|
|
59109
|
-
/* @__PURE__ */
|
|
59110
|
-
|
|
59111
|
-
|
|
59112
|
-
|
|
59113
|
-
|
|
59114
|
-
|
|
59115
|
-
|
|
59116
|
-
|
|
59117
|
-
|
|
59118
|
-
|
|
59119
|
-
|
|
59120
|
-
|
|
59121
|
-
|
|
59122
|
-
|
|
59123
|
-
|
|
59124
|
-
|
|
59125
|
-
|
|
59126
|
-
|
|
59127
|
-
|
|
59128
|
-
|
|
59129
|
-
|
|
59130
|
-
|
|
59131
|
-
|
|
59132
|
-
|
|
59133
|
-
|
|
59134
|
-
|
|
59135
|
-
|
|
59136
|
-
|
|
59137
|
-
|
|
59138
|
-
|
|
59139
|
-
|
|
59140
|
-
|
|
59141
|
-
|
|
59142
|
-
|
|
59143
|
-
|
|
59144
|
-
|
|
59145
|
-
|
|
59146
|
-
|
|
59147
|
-
|
|
59148
|
-
|
|
59149
|
-
|
|
59150
|
-
|
|
59151
|
-
|
|
59152
|
-
|
|
59153
|
-
|
|
59154
|
-
|
|
59155
|
-
|
|
59156
|
-
|
|
59157
|
-
|
|
59158
|
-
|
|
59159
|
-
|
|
59160
|
-
|
|
59161
|
-
),
|
|
59020
|
+
/* @__PURE__ */ jsx(
|
|
59021
|
+
Pressable,
|
|
59022
|
+
{
|
|
59023
|
+
variant: "outline",
|
|
59024
|
+
size: "icon",
|
|
59025
|
+
asButton: true,
|
|
59026
|
+
className: "lg:hidden",
|
|
59027
|
+
onClick: () => setOpen(!open),
|
|
59028
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
|
|
59029
|
+
}
|
|
59030
|
+
),
|
|
59031
|
+
/* @__PURE__ */ jsx(
|
|
59032
|
+
NavbarMobileMenu,
|
|
59033
|
+
{
|
|
59034
|
+
open,
|
|
59035
|
+
onClose: () => setOpen(false),
|
|
59036
|
+
title: "Mobile Navigation",
|
|
59037
|
+
contentClassName: "pt-10 pb-20",
|
|
59038
|
+
children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
|
|
59039
|
+
/* @__PURE__ */ jsxs(Accordion, { type: "multiple", className: "w-full", children: [
|
|
59040
|
+
features && features.length > 0 && /* @__PURE__ */ jsxs(
|
|
59041
|
+
AccordionItem,
|
|
59042
|
+
{
|
|
59043
|
+
value: "features",
|
|
59044
|
+
className: "border-b-0",
|
|
59045
|
+
children: [
|
|
59046
|
+
/* @__PURE__ */ jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: "Features" }),
|
|
59047
|
+
/* @__PURE__ */ jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: features.map((feature, index) => /* @__PURE__ */ jsx(
|
|
59048
|
+
Pressable,
|
|
59049
|
+
{
|
|
59050
|
+
href: feature.href,
|
|
59051
|
+
className: "flex items-start gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
|
|
59052
|
+
children: /* @__PURE__ */ jsxs("div", { children: [
|
|
59053
|
+
/* @__PURE__ */ jsx("p", { className: "mb-1 font-semibold", children: feature.title }),
|
|
59054
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: feature.description })
|
|
59055
|
+
] })
|
|
59056
|
+
},
|
|
59057
|
+
index
|
|
59058
|
+
)) })
|
|
59059
|
+
]
|
|
59060
|
+
}
|
|
59061
|
+
),
|
|
59062
|
+
menu?.map((item, index) => /* @__PURE__ */ jsx(
|
|
59063
|
+
Pressable,
|
|
59064
|
+
{
|
|
59065
|
+
href: item.url,
|
|
59066
|
+
className: "flex h-15 items-center text-base font-normal text-foreground",
|
|
59067
|
+
children: item.title
|
|
59068
|
+
},
|
|
59069
|
+
index
|
|
59070
|
+
))
|
|
59071
|
+
] }),
|
|
59162
59072
|
/* @__PURE__ */ jsx(
|
|
59163
59073
|
"div",
|
|
59164
59074
|
{
|
|
@@ -59170,8 +59080,8 @@ var NavbarFeatureGrid = ({
|
|
|
59170
59080
|
}
|
|
59171
59081
|
)
|
|
59172
59082
|
] })
|
|
59173
|
-
|
|
59174
|
-
|
|
59083
|
+
}
|
|
59084
|
+
)
|
|
59175
59085
|
]
|
|
59176
59086
|
}
|
|
59177
59087
|
) }) }) })
|
|
@@ -59256,7 +59166,7 @@ var NavbarFloatingPill = ({
|
|
|
59256
59166
|
"nav",
|
|
59257
59167
|
{
|
|
59258
59168
|
className: cn(
|
|
59259
|
-
"absolute top-
|
|
59169
|
+
"absolute border top-4 left-1/2 z-50 w-[min(90%,700px)] -translate-x-1/2 rounded-full bg-background/70 backdrop-blur-md lg:top-6",
|
|
59260
59170
|
navWrapperClasses
|
|
59261
59171
|
),
|
|
59262
59172
|
children: [
|
|
@@ -59815,53 +59725,41 @@ var NavbarPlatformResources = ({
|
|
|
59815
59725
|
}
|
|
59816
59726
|
) })
|
|
59817
59727
|
] }),
|
|
59818
|
-
|
|
59819
|
-
|
|
59728
|
+
/* @__PURE__ */ jsx(
|
|
59729
|
+
NavbarMobileMenu,
|
|
59820
59730
|
{
|
|
59821
|
-
|
|
59822
|
-
|
|
59823
|
-
|
|
59824
|
-
|
|
59825
|
-
children: [
|
|
59826
|
-
/* @__PURE__ */ jsx(Accordion, { type: "
|
|
59731
|
+
open,
|
|
59732
|
+
onClose: () => setOpen(false),
|
|
59733
|
+
title: "Mobile Navigation",
|
|
59734
|
+
contentClassName: "pt-10 pb-20",
|
|
59735
|
+
children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
|
|
59736
|
+
/* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks?.map((link, index) => {
|
|
59827
59737
|
if (hasDropdownItems(link)) {
|
|
59828
59738
|
return /* @__PURE__ */ jsxs(
|
|
59829
59739
|
AccordionItem,
|
|
59830
59740
|
{
|
|
59831
59741
|
value: `menu-${index}`,
|
|
59832
|
-
className: "border-b-
|
|
59742
|
+
className: "border-b-0",
|
|
59833
59743
|
children: [
|
|
59834
|
-
/* @__PURE__ */ jsx(AccordionTrigger, { className: "
|
|
59835
|
-
/* @__PURE__ */ jsx(AccordionContent, { className: "
|
|
59744
|
+
/* @__PURE__ */ jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: link.label }),
|
|
59745
|
+
/* @__PURE__ */ jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
|
|
59836
59746
|
Pressable,
|
|
59837
59747
|
{
|
|
59838
59748
|
href: getLinkUrl(item),
|
|
59839
|
-
className: "
|
|
59749
|
+
className: "flex items-center gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
|
|
59840
59750
|
children: [
|
|
59841
|
-
item.
|
|
59842
|
-
Img,
|
|
59843
|
-
{
|
|
59844
|
-
src: item.image,
|
|
59845
|
-
alt: typeof item.label === "string" ? item.label : "Menu item",
|
|
59846
|
-
className: "h-full w-full object-cover object-center",
|
|
59847
|
-
optixFlowConfig
|
|
59848
|
-
}
|
|
59849
|
-
) }),
|
|
59850
|
-
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsx("div", { className: "flex h-10 w-10 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsx(
|
|
59751
|
+
(item.icon || item.iconName) && (item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsx(
|
|
59851
59752
|
DynamicIcon,
|
|
59852
59753
|
{
|
|
59853
59754
|
name: item.iconName,
|
|
59854
|
-
size:
|
|
59755
|
+
size: 14
|
|
59855
59756
|
}
|
|
59856
|
-
) : null
|
|
59857
|
-
|
|
59858
|
-
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-foreground", children: item.label }),
|
|
59859
|
-
item.description && /* @__PURE__ */ jsx("div", { className: "text-xs text-muted-foreground", children: item.description })
|
|
59860
|
-
] })
|
|
59757
|
+
) : null),
|
|
59758
|
+
item.label
|
|
59861
59759
|
]
|
|
59862
59760
|
},
|
|
59863
59761
|
`${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
|
|
59864
|
-
)) })
|
|
59762
|
+
)) })
|
|
59865
59763
|
]
|
|
59866
59764
|
},
|
|
59867
59765
|
`${typeof link.label === "string" ? link.label : "menu"}-${index}`
|
|
@@ -59871,17 +59769,11 @@ var NavbarPlatformResources = ({
|
|
|
59871
59769
|
return null;
|
|
59872
59770
|
}
|
|
59873
59771
|
return /* @__PURE__ */ jsx(
|
|
59874
|
-
|
|
59772
|
+
Pressable,
|
|
59875
59773
|
{
|
|
59876
|
-
|
|
59877
|
-
|
|
59878
|
-
|
|
59879
|
-
{
|
|
59880
|
-
href: link.href,
|
|
59881
|
-
className: "flex w-full items-center px-2 py-4 text-left text-sm font-medium",
|
|
59882
|
-
children: link.label
|
|
59883
|
-
}
|
|
59884
|
-
)
|
|
59774
|
+
href: link.href,
|
|
59775
|
+
className: "flex h-15 items-center text-base font-normal text-foreground",
|
|
59776
|
+
children: link.label
|
|
59885
59777
|
},
|
|
59886
59778
|
`${typeof link.label === "string" ? link.label : "menu"}-${index}`
|
|
59887
59779
|
);
|
|
@@ -59890,13 +59782,13 @@ var NavbarPlatformResources = ({
|
|
|
59890
59782
|
"div",
|
|
59891
59783
|
{
|
|
59892
59784
|
className: cn(
|
|
59893
|
-
"
|
|
59785
|
+
"mt-6 flex flex-col gap-4",
|
|
59894
59786
|
actionsClassName
|
|
59895
59787
|
),
|
|
59896
59788
|
children: renderActions
|
|
59897
59789
|
}
|
|
59898
59790
|
)
|
|
59899
|
-
]
|
|
59791
|
+
] })
|
|
59900
59792
|
}
|
|
59901
59793
|
)
|
|
59902
59794
|
]
|
|
@@ -60260,32 +60152,21 @@ var MobileNavigationMenu2 = ({
|
|
|
60260
60152
|
);
|
|
60261
60153
|
}) });
|
|
60262
60154
|
}, [authActionsSlot, authActions]);
|
|
60263
|
-
return /* @__PURE__ */ jsx(
|
|
60264
|
-
|
|
60155
|
+
return /* @__PURE__ */ jsx(
|
|
60156
|
+
NavbarMobileMenu,
|
|
60265
60157
|
{
|
|
60266
|
-
|
|
60267
|
-
|
|
60268
|
-
|
|
60269
|
-
|
|
60270
|
-
|
|
60271
|
-
|
|
60272
|
-
|
|
60273
|
-
|
|
60274
|
-
|
|
60275
|
-
asButton: true,
|
|
60276
|
-
className: "size-9 rounded-full bg-muted/20 hover:bg-muted/20",
|
|
60277
|
-
onClick: () => setOpen(false),
|
|
60278
|
-
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 22 })
|
|
60279
|
-
}
|
|
60280
|
-
) }) }),
|
|
60281
|
-
/* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col justify-between gap-30 pt-24", children: [
|
|
60282
|
-
renderMobileNavigation,
|
|
60283
|
-
renderSocialLinks,
|
|
60284
|
-
renderMobileAuthActions
|
|
60285
|
-
] })
|
|
60158
|
+
open,
|
|
60159
|
+
onClose: () => setOpen(false),
|
|
60160
|
+
title: "Mobile Navigation",
|
|
60161
|
+
className: "bg-primary text-primary-foreground",
|
|
60162
|
+
contentClassName: "pt-24 pb-12",
|
|
60163
|
+
children: /* @__PURE__ */ jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col justify-between gap-30", children: [
|
|
60164
|
+
renderMobileNavigation,
|
|
60165
|
+
renderSocialLinks,
|
|
60166
|
+
renderMobileAuthActions
|
|
60286
60167
|
] }) })
|
|
60287
60168
|
}
|
|
60288
|
-
)
|
|
60169
|
+
);
|
|
60289
60170
|
};
|
|
60290
60171
|
var MOBILE_BREAKPOINT3 = 1024;
|
|
60291
60172
|
var NavbarDarkIcons = ({
|
|
@@ -60457,6 +60338,7 @@ var NavbarDarkIcons = ({
|
|
|
60457
60338
|
MobileNavigationMenu3,
|
|
60458
60339
|
{
|
|
60459
60340
|
open,
|
|
60341
|
+
setOpen,
|
|
60460
60342
|
navigation: navigation ?? [],
|
|
60461
60343
|
authActions,
|
|
60462
60344
|
authActionsSlot
|
|
@@ -60517,6 +60399,7 @@ var MenuSubLink = ({ link }) => {
|
|
|
60517
60399
|
};
|
|
60518
60400
|
var MobileNavigationMenu3 = ({
|
|
60519
60401
|
open,
|
|
60402
|
+
setOpen,
|
|
60520
60403
|
navigation,
|
|
60521
60404
|
authActions,
|
|
60522
60405
|
authActionsSlot
|
|
@@ -60549,23 +60432,22 @@ var MobileNavigationMenu3 = ({
|
|
|
60549
60432
|
);
|
|
60550
60433
|
});
|
|
60551
60434
|
}, [authActionsSlot, authActions]);
|
|
60552
|
-
return /* @__PURE__ */ jsx(
|
|
60553
|
-
|
|
60435
|
+
return /* @__PURE__ */ jsx(
|
|
60436
|
+
NavbarMobileMenu,
|
|
60554
60437
|
{
|
|
60555
|
-
|
|
60556
|
-
|
|
60557
|
-
|
|
60558
|
-
|
|
60559
|
-
|
|
60560
|
-
|
|
60561
|
-
|
|
60562
|
-
|
|
60563
|
-
|
|
60564
|
-
|
|
60565
|
-
] })
|
|
60438
|
+
open,
|
|
60439
|
+
onClose: () => setOpen(false),
|
|
60440
|
+
title: "Mobile Navigation",
|
|
60441
|
+
className: "dark",
|
|
60442
|
+
contentClassName: "pt-4",
|
|
60443
|
+
children: /* @__PURE__ */ jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col justify-between gap-20", children: [
|
|
60444
|
+
/* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
|
|
60445
|
+
(item, index) => renderMobileMenuItem3(item, index)
|
|
60446
|
+
) }),
|
|
60447
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2 pb-20", children: renderMobileAuthActions })
|
|
60566
60448
|
] }) })
|
|
60567
60449
|
}
|
|
60568
|
-
)
|
|
60450
|
+
);
|
|
60569
60451
|
};
|
|
60570
60452
|
var renderMobileMenuItem3 = (item, index) => {
|
|
60571
60453
|
if (item.links) {
|
|
@@ -60794,6 +60676,7 @@ var NavbarAnimatedPreview = ({
|
|
|
60794
60676
|
MobileNavigationMenu4,
|
|
60795
60677
|
{
|
|
60796
60678
|
open,
|
|
60679
|
+
setOpen,
|
|
60797
60680
|
menuLinks: menuLinks ?? [],
|
|
60798
60681
|
actions,
|
|
60799
60682
|
actionsSlot
|
|
@@ -61087,6 +60970,7 @@ var NavLink = forwardRef(
|
|
|
61087
60970
|
NavLink.displayName = "NavLink";
|
|
61088
60971
|
var MobileNavigationMenu4 = ({
|
|
61089
60972
|
open,
|
|
60973
|
+
setOpen,
|
|
61090
60974
|
menuLinks,
|
|
61091
60975
|
actions,
|
|
61092
60976
|
actionsSlot
|
|
@@ -61119,23 +61003,21 @@ var MobileNavigationMenu4 = ({
|
|
|
61119
61003
|
);
|
|
61120
61004
|
});
|
|
61121
61005
|
}, [actionsSlot, actions]);
|
|
61122
|
-
return /* @__PURE__ */ jsx(
|
|
61123
|
-
|
|
61006
|
+
return /* @__PURE__ */ jsx(
|
|
61007
|
+
NavbarMobileMenu,
|
|
61124
61008
|
{
|
|
61125
|
-
|
|
61126
|
-
|
|
61127
|
-
|
|
61128
|
-
|
|
61129
|
-
|
|
61130
|
-
/* @__PURE__ */
|
|
61131
|
-
|
|
61132
|
-
|
|
61133
|
-
|
|
61134
|
-
|
|
61135
|
-
] })
|
|
61136
|
-
] }) })
|
|
61009
|
+
open,
|
|
61010
|
+
onClose: () => setOpen(false),
|
|
61011
|
+
title: "Mobile Navigation",
|
|
61012
|
+
contentClassName: "pt-4 pb-20",
|
|
61013
|
+
children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
|
|
61014
|
+
/* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map(
|
|
61015
|
+
(item, index) => renderMobileMenuItem4(item, index)
|
|
61016
|
+
) }),
|
|
61017
|
+
/* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-col gap-2", children: renderMobileActions })
|
|
61018
|
+
] })
|
|
61137
61019
|
}
|
|
61138
|
-
)
|
|
61020
|
+
);
|
|
61139
61021
|
};
|
|
61140
61022
|
var renderMobileMenuItem4 = (item, index) => {
|
|
61141
61023
|
if (item.links || item.featuredLinks || item.groupLinks) {
|
|
@@ -61342,6 +61224,7 @@ var NavbarMultiColumnGroups = ({
|
|
|
61342
61224
|
MobileNavigationMenu5,
|
|
61343
61225
|
{
|
|
61344
61226
|
open,
|
|
61227
|
+
setOpen,
|
|
61345
61228
|
navigation: navigation ?? [],
|
|
61346
61229
|
authActions: mobileAuthActions,
|
|
61347
61230
|
authActionsSlot: mobileAuthActionsSlot
|
|
@@ -61392,6 +61275,7 @@ var DesktopMenuItem6 = ({ item, index }) => {
|
|
|
61392
61275
|
};
|
|
61393
61276
|
var MobileNavigationMenu5 = ({
|
|
61394
61277
|
open,
|
|
61278
|
+
setOpen,
|
|
61395
61279
|
navigation,
|
|
61396
61280
|
authActions,
|
|
61397
61281
|
authActionsSlot
|
|
@@ -61424,23 +61308,22 @@ var MobileNavigationMenu5 = ({
|
|
|
61424
61308
|
);
|
|
61425
61309
|
}) });
|
|
61426
61310
|
}, [authActionsSlot, authActions]);
|
|
61427
|
-
return /* @__PURE__ */ jsx(
|
|
61428
|
-
|
|
61311
|
+
return /* @__PURE__ */ jsx(
|
|
61312
|
+
NavbarMobileMenu,
|
|
61429
61313
|
{
|
|
61430
|
-
|
|
61431
|
-
|
|
61432
|
-
|
|
61433
|
-
|
|
61434
|
-
|
|
61435
|
-
|
|
61436
|
-
|
|
61437
|
-
|
|
61438
|
-
|
|
61439
|
-
|
|
61440
|
-
] })
|
|
61314
|
+
open,
|
|
61315
|
+
onClose: () => setOpen(false),
|
|
61316
|
+
title: "Mobile Navigation",
|
|
61317
|
+
className: "dark",
|
|
61318
|
+
contentClassName: "pt-10 pb-20",
|
|
61319
|
+
children: /* @__PURE__ */ jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6", children: [
|
|
61320
|
+
/* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
|
|
61321
|
+
(item, index) => renderMobileMenuItem5(item, index)
|
|
61322
|
+
) }),
|
|
61323
|
+
renderMobileAuthActions
|
|
61441
61324
|
] }) })
|
|
61442
61325
|
}
|
|
61443
|
-
)
|
|
61326
|
+
);
|
|
61444
61327
|
};
|
|
61445
61328
|
var renderMobileMenuItem5 = (item, index) => {
|
|
61446
61329
|
if (item.groups) {
|
|
@@ -61634,24 +61517,27 @@ var NavbarSidebarMobile = ({
|
|
|
61634
61517
|
children: renderAuthActions()
|
|
61635
61518
|
}
|
|
61636
61519
|
),
|
|
61637
|
-
/* @__PURE__ */ jsxs(
|
|
61638
|
-
|
|
61639
|
-
|
|
61640
|
-
|
|
61641
|
-
|
|
61642
|
-
|
|
61643
|
-
|
|
61644
|
-
|
|
61645
|
-
|
|
61646
|
-
|
|
61647
|
-
|
|
61648
|
-
|
|
61649
|
-
|
|
61650
|
-
|
|
61651
|
-
|
|
61652
|
-
|
|
61653
|
-
|
|
61654
|
-
|
|
61520
|
+
/* @__PURE__ */ jsxs(
|
|
61521
|
+
Pressable,
|
|
61522
|
+
{
|
|
61523
|
+
variant: "outline",
|
|
61524
|
+
size: "icon",
|
|
61525
|
+
asButton: true,
|
|
61526
|
+
className: "lg:hidden",
|
|
61527
|
+
onClick: () => setIsOpen(!isOpen),
|
|
61528
|
+
children: [
|
|
61529
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
|
|
61530
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle menu" })
|
|
61531
|
+
]
|
|
61532
|
+
}
|
|
61533
|
+
),
|
|
61534
|
+
/* @__PURE__ */ jsx(
|
|
61535
|
+
NavbarMobileMenu,
|
|
61536
|
+
{
|
|
61537
|
+
open: isOpen,
|
|
61538
|
+
onClose: () => setIsOpen(false),
|
|
61539
|
+
title: "Navigation Menu",
|
|
61540
|
+
children: /* @__PURE__ */ jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col", children: [
|
|
61655
61541
|
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-between border-b pb-4", children: /* @__PURE__ */ jsx(
|
|
61656
61542
|
NavbarLogo,
|
|
61657
61543
|
{
|
|
@@ -61713,9 +61599,9 @@ var NavbarSidebarMobile = ({
|
|
|
61713
61599
|
index
|
|
61714
61600
|
)) })
|
|
61715
61601
|
] })
|
|
61716
|
-
] })
|
|
61717
|
-
|
|
61718
|
-
|
|
61602
|
+
] }) })
|
|
61603
|
+
}
|
|
61604
|
+
)
|
|
61719
61605
|
]
|
|
61720
61606
|
}
|
|
61721
61607
|
) }) }) })
|
|
@@ -62516,31 +62402,33 @@ var NavbarStickyCompact = ({
|
|
|
62516
62402
|
children: renderAuthActions
|
|
62517
62403
|
}
|
|
62518
62404
|
),
|
|
62519
|
-
/* @__PURE__ */ jsxs(
|
|
62520
|
-
|
|
62521
|
-
|
|
62522
|
-
|
|
62523
|
-
|
|
62524
|
-
|
|
62525
|
-
|
|
62526
|
-
|
|
62527
|
-
|
|
62528
|
-
|
|
62529
|
-
|
|
62530
|
-
|
|
62531
|
-
|
|
62532
|
-
|
|
62533
|
-
|
|
62534
|
-
|
|
62535
|
-
|
|
62536
|
-
|
|
62537
|
-
|
|
62538
|
-
|
|
62539
|
-
|
|
62540
|
-
|
|
62541
|
-
|
|
62542
|
-
|
|
62543
|
-
|
|
62405
|
+
/* @__PURE__ */ jsxs(
|
|
62406
|
+
Pressable,
|
|
62407
|
+
{
|
|
62408
|
+
variant: "ghost",
|
|
62409
|
+
size: isScrolled ? "sm" : "icon",
|
|
62410
|
+
asButton: true,
|
|
62411
|
+
className: "lg:hidden transition-all duration-300",
|
|
62412
|
+
onClick: () => setIsOpen(!isOpen),
|
|
62413
|
+
children: [
|
|
62414
|
+
/* @__PURE__ */ jsx(
|
|
62415
|
+
DynamicIcon,
|
|
62416
|
+
{
|
|
62417
|
+
name: "lucide/menu",
|
|
62418
|
+
size: isScrolled ? 18 : 20
|
|
62419
|
+
}
|
|
62420
|
+
),
|
|
62421
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle menu" })
|
|
62422
|
+
]
|
|
62423
|
+
}
|
|
62424
|
+
),
|
|
62425
|
+
/* @__PURE__ */ jsx(
|
|
62426
|
+
NavbarMobileMenu,
|
|
62427
|
+
{
|
|
62428
|
+
open: isOpen,
|
|
62429
|
+
onClose: () => setIsOpen(false),
|
|
62430
|
+
title: "Navigation Menu",
|
|
62431
|
+
children: /* @__PURE__ */ jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
62544
62432
|
renderMobileMenu,
|
|
62545
62433
|
/* @__PURE__ */ jsx(
|
|
62546
62434
|
"div",
|
|
@@ -62552,9 +62440,9 @@ var NavbarStickyCompact = ({
|
|
|
62552
62440
|
children: renderAuthActions
|
|
62553
62441
|
}
|
|
62554
62442
|
)
|
|
62555
|
-
] })
|
|
62556
|
-
|
|
62557
|
-
|
|
62443
|
+
] }) })
|
|
62444
|
+
}
|
|
62445
|
+
)
|
|
62558
62446
|
]
|
|
62559
62447
|
}
|
|
62560
62448
|
) }) }) })
|
|
@@ -62712,24 +62600,27 @@ var NavbarSearchFocused = ({
|
|
|
62712
62600
|
children: renderAuthActions
|
|
62713
62601
|
}
|
|
62714
62602
|
),
|
|
62715
|
-
/* @__PURE__ */ jsxs(
|
|
62716
|
-
|
|
62717
|
-
|
|
62718
|
-
|
|
62719
|
-
|
|
62720
|
-
|
|
62721
|
-
|
|
62722
|
-
|
|
62723
|
-
|
|
62724
|
-
|
|
62725
|
-
|
|
62726
|
-
|
|
62727
|
-
|
|
62728
|
-
|
|
62729
|
-
|
|
62730
|
-
|
|
62731
|
-
|
|
62732
|
-
|
|
62603
|
+
/* @__PURE__ */ jsxs(
|
|
62604
|
+
Pressable,
|
|
62605
|
+
{
|
|
62606
|
+
variant: "ghost",
|
|
62607
|
+
size: "icon",
|
|
62608
|
+
asButton: true,
|
|
62609
|
+
className: "lg:hidden",
|
|
62610
|
+
onClick: () => setIsOpen(!isOpen),
|
|
62611
|
+
children: [
|
|
62612
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
|
|
62613
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle menu" })
|
|
62614
|
+
]
|
|
62615
|
+
}
|
|
62616
|
+
),
|
|
62617
|
+
/* @__PURE__ */ jsx(
|
|
62618
|
+
NavbarMobileMenu,
|
|
62619
|
+
{
|
|
62620
|
+
open: isOpen,
|
|
62621
|
+
onClose: () => setIsOpen(false),
|
|
62622
|
+
title: "Navigation Menu",
|
|
62623
|
+
children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
|
|
62733
62624
|
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2", children: navItems?.map((item, index) => /* @__PURE__ */ jsxs(
|
|
62734
62625
|
Pressable,
|
|
62735
62626
|
{
|
|
@@ -62743,10 +62634,10 @@ var NavbarSearchFocused = ({
|
|
|
62743
62634
|
},
|
|
62744
62635
|
index
|
|
62745
62636
|
)) }),
|
|
62746
|
-
/* @__PURE__ */ jsx("div", { className: "border-t pt-4", children: renderMobileMenuActions })
|
|
62637
|
+
/* @__PURE__ */ jsx("div", { className: "border-t pt-4 mt-6", children: renderMobileMenuActions })
|
|
62747
62638
|
] })
|
|
62748
|
-
|
|
62749
|
-
|
|
62639
|
+
}
|
|
62640
|
+
)
|
|
62750
62641
|
]
|
|
62751
62642
|
}
|
|
62752
62643
|
) }) }) })
|
|
@@ -63146,25 +63037,27 @@ var NavbarSplitCta = ({
|
|
|
63146
63037
|
children: renderAuthActions
|
|
63147
63038
|
}
|
|
63148
63039
|
),
|
|
63149
|
-
/* @__PURE__ */ jsxs(
|
|
63150
|
-
|
|
63151
|
-
|
|
63152
|
-
|
|
63153
|
-
|
|
63154
|
-
|
|
63155
|
-
|
|
63156
|
-
|
|
63157
|
-
|
|
63158
|
-
|
|
63159
|
-
|
|
63160
|
-
|
|
63161
|
-
|
|
63162
|
-
|
|
63163
|
-
|
|
63164
|
-
|
|
63165
|
-
|
|
63166
|
-
|
|
63167
|
-
|
|
63040
|
+
/* @__PURE__ */ jsxs(
|
|
63041
|
+
Pressable,
|
|
63042
|
+
{
|
|
63043
|
+
variant: "ghost",
|
|
63044
|
+
size: "icon",
|
|
63045
|
+
asButton: true,
|
|
63046
|
+
className: "lg:hidden",
|
|
63047
|
+
onClick: () => setIsOpen(!isOpen),
|
|
63048
|
+
children: [
|
|
63049
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
|
|
63050
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle menu" })
|
|
63051
|
+
]
|
|
63052
|
+
}
|
|
63053
|
+
),
|
|
63054
|
+
/* @__PURE__ */ jsx(
|
|
63055
|
+
NavbarMobileMenu,
|
|
63056
|
+
{
|
|
63057
|
+
open: isOpen,
|
|
63058
|
+
onClose: () => setIsOpen(false),
|
|
63059
|
+
title: "Navigation Menu",
|
|
63060
|
+
children: /* @__PURE__ */ jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6", children: [
|
|
63168
63061
|
/* @__PURE__ */ jsx("div", { className: "border-t pt-4", children: menuSlot ? menuSlot : renderMenu?.map(
|
|
63169
63062
|
(item, index) => item.items ? /* @__PURE__ */ jsxs("div", { className: "mb-4", children: [
|
|
63170
63063
|
/* @__PURE__ */ jsx("div", { className: "mb-2 text-sm font-medium text-muted-foreground", children: item.title }),
|
|
@@ -63197,10 +63090,11 @@ var NavbarSplitCta = ({
|
|
|
63197
63090
|
},
|
|
63198
63091
|
index
|
|
63199
63092
|
)
|
|
63200
|
-
) })
|
|
63201
|
-
|
|
63202
|
-
|
|
63203
|
-
|
|
63093
|
+
) }),
|
|
63094
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2 mt-6", children: renderAuthActions })
|
|
63095
|
+
] }) })
|
|
63096
|
+
}
|
|
63097
|
+
)
|
|
63204
63098
|
]
|
|
63205
63099
|
}
|
|
63206
63100
|
) }) }) })
|
|
@@ -63344,65 +63238,59 @@ var NavbarIconLinks = ({
|
|
|
63344
63238
|
optixFlowConfig
|
|
63345
63239
|
}
|
|
63346
63240
|
),
|
|
63347
|
-
/* @__PURE__ */
|
|
63348
|
-
|
|
63349
|
-
|
|
63350
|
-
|
|
63351
|
-
|
|
63352
|
-
|
|
63353
|
-
|
|
63354
|
-
|
|
63355
|
-
|
|
63356
|
-
|
|
63357
|
-
|
|
63358
|
-
|
|
63359
|
-
|
|
63360
|
-
|
|
63361
|
-
|
|
63241
|
+
/* @__PURE__ */ jsx(
|
|
63242
|
+
Pressable,
|
|
63243
|
+
{
|
|
63244
|
+
variant: "outline",
|
|
63245
|
+
size: "icon",
|
|
63246
|
+
asButton: true,
|
|
63247
|
+
onClick: () => setIsOpen(!isOpen),
|
|
63248
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
|
|
63249
|
+
}
|
|
63250
|
+
)
|
|
63251
|
+
] }) }),
|
|
63252
|
+
/* @__PURE__ */ jsx(
|
|
63253
|
+
NavbarMobileMenu,
|
|
63254
|
+
{
|
|
63255
|
+
open: isOpen,
|
|
63256
|
+
onClose: () => setIsOpen(false),
|
|
63257
|
+
title: "Mobile Navigation",
|
|
63258
|
+
children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
|
|
63259
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-4", children: navItemsSlot ? navItemsSlot : renderNavItems?.map((item, index) => /* @__PURE__ */ jsxs(
|
|
63260
|
+
Pressable,
|
|
63362
63261
|
{
|
|
63363
|
-
|
|
63364
|
-
|
|
63365
|
-
|
|
63366
|
-
|
|
63367
|
-
}
|
|
63368
|
-
) }) }),
|
|
63369
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
|
|
63370
|
-
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-4", children: navItemsSlot ? navItemsSlot : renderNavItems?.map((item, index) => /* @__PURE__ */ jsxs(
|
|
63371
|
-
Pressable,
|
|
63372
|
-
{
|
|
63373
|
-
href: item.url,
|
|
63374
|
-
onClick: () => {
|
|
63375
|
-
setActiveItem(item.title);
|
|
63376
|
-
setIsOpen(false);
|
|
63377
|
-
},
|
|
63378
|
-
className: cn(
|
|
63379
|
-
"flex items-center gap-3 rounded-md px-3 py-2 text-sm font-medium transition-colors",
|
|
63380
|
-
activeItem === item.title ? "bg-accent text-accent-foreground" : "text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
63381
|
-
),
|
|
63382
|
-
children: [
|
|
63383
|
-
/* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 18 }),
|
|
63384
|
-
item.title
|
|
63385
|
-
]
|
|
63386
|
-
},
|
|
63387
|
-
index
|
|
63388
|
-
)) }),
|
|
63389
|
-
/* @__PURE__ */ jsx("div", { className: "border-t pt-4", children: /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-3", children: authActions?.map((action, index) => /* @__PURE__ */ jsxs(
|
|
63390
|
-
Pressable,
|
|
63391
|
-
{
|
|
63392
|
-
href: action.href,
|
|
63393
|
-
className: "flex items-center gap-3 rounded-md px-3 py-2 text-sm font-medium text-muted-foreground hover:bg-accent hover:text-accent-foreground",
|
|
63394
|
-
onClick: () => setIsOpen(false),
|
|
63395
|
-
children: [
|
|
63396
|
-
action.icon,
|
|
63397
|
-
action.label
|
|
63398
|
-
]
|
|
63262
|
+
href: item.url,
|
|
63263
|
+
onClick: () => {
|
|
63264
|
+
setActiveItem(item.title);
|
|
63265
|
+
setIsOpen(false);
|
|
63399
63266
|
},
|
|
63400
|
-
|
|
63401
|
-
|
|
63402
|
-
|
|
63267
|
+
className: cn(
|
|
63268
|
+
"flex items-center gap-3 rounded-md px-3 py-2 text-sm font-medium transition-colors",
|
|
63269
|
+
activeItem === item.title ? "bg-accent text-accent-foreground" : "text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
63270
|
+
),
|
|
63271
|
+
children: [
|
|
63272
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 18 }),
|
|
63273
|
+
item.title
|
|
63274
|
+
]
|
|
63275
|
+
},
|
|
63276
|
+
index
|
|
63277
|
+
)) }),
|
|
63278
|
+
/* @__PURE__ */ jsx("div", { className: "border-t pt-4 mt-6", children: /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-3", children: authActions?.map((action, index) => /* @__PURE__ */ jsxs(
|
|
63279
|
+
Pressable,
|
|
63280
|
+
{
|
|
63281
|
+
href: action.href,
|
|
63282
|
+
className: "flex items-center gap-3 rounded-md px-3 py-2 text-sm font-medium text-muted-foreground hover:bg-accent hover:text-accent-foreground",
|
|
63283
|
+
onClick: () => setIsOpen(false),
|
|
63284
|
+
children: [
|
|
63285
|
+
action.icon,
|
|
63286
|
+
action.label
|
|
63287
|
+
]
|
|
63288
|
+
},
|
|
63289
|
+
index
|
|
63290
|
+
)) }) })
|
|
63403
63291
|
] })
|
|
63404
|
-
|
|
63405
|
-
|
|
63292
|
+
}
|
|
63293
|
+
)
|
|
63406
63294
|
] }) }) })
|
|
63407
63295
|
}
|
|
63408
63296
|
);
|
|
@@ -63466,7 +63354,7 @@ var NavbarTabbedSections = ({
|
|
|
63466
63354
|
TabsTrigger,
|
|
63467
63355
|
{
|
|
63468
63356
|
value: tab.id,
|
|
63469
|
-
className: "rounded-none border-b-2 border-transparent px-4
|
|
63357
|
+
className: "rounded-none border-b-2 border-transparent px-4 py-2 data-[state=active]:border-b-primary hover:border-b-primary data-[state=active]:bg-transparent data-[state=active]:shadow-none",
|
|
63470
63358
|
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
63471
63359
|
tab.icon && /* @__PURE__ */ jsx(DynamicIcon, { name: tab.icon, size: 16 }),
|
|
63472
63360
|
tab.title
|
|
@@ -63479,12 +63367,12 @@ var NavbarTabbedSections = ({
|
|
|
63479
63367
|
Pressable,
|
|
63480
63368
|
{
|
|
63481
63369
|
href: link.url,
|
|
63482
|
-
className: "flex items-start gap-3 rounded-md p-3 hover:bg-
|
|
63370
|
+
className: "flex items-start gap-3 rounded-md p-3 hover:bg-muted",
|
|
63483
63371
|
children: [
|
|
63484
|
-
link.icon && /* @__PURE__ */ jsx("div", { className: "mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-md border bg-background", children: /* @__PURE__ */ jsx(DynamicIcon, { name: link.icon, size: 16 }) }),
|
|
63372
|
+
link.icon && /* @__PURE__ */ jsx("div", { className: "mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-md border border-muted bg-background", children: /* @__PURE__ */ jsx(DynamicIcon, { name: link.icon, size: 16 }) }),
|
|
63485
63373
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
63486
63374
|
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: link.title }),
|
|
63487
|
-
link.description && /* @__PURE__ */ jsx("p", { className: "text-xs
|
|
63375
|
+
link.description && /* @__PURE__ */ jsx("p", { className: "text-xs", children: link.description })
|
|
63488
63376
|
] })
|
|
63489
63377
|
]
|
|
63490
63378
|
}
|
|
@@ -63609,45 +63497,41 @@ var NavbarTabbedSections = ({
|
|
|
63609
63497
|
children: renderAuthActions
|
|
63610
63498
|
}
|
|
63611
63499
|
),
|
|
63612
|
-
/* @__PURE__ */ jsxs(
|
|
63613
|
-
|
|
63614
|
-
|
|
63615
|
-
|
|
63616
|
-
|
|
63617
|
-
|
|
63618
|
-
|
|
63619
|
-
|
|
63620
|
-
|
|
63621
|
-
|
|
63622
|
-
|
|
63623
|
-
|
|
63624
|
-
|
|
63625
|
-
|
|
63626
|
-
|
|
63627
|
-
|
|
63628
|
-
|
|
63629
|
-
|
|
63630
|
-
|
|
63631
|
-
|
|
63632
|
-
|
|
63633
|
-
|
|
63634
|
-
|
|
63635
|
-
|
|
63636
|
-
|
|
63637
|
-
|
|
63638
|
-
|
|
63639
|
-
|
|
63640
|
-
|
|
63641
|
-
|
|
63642
|
-
|
|
63643
|
-
|
|
63644
|
-
|
|
63645
|
-
|
|
63646
|
-
|
|
63647
|
-
]
|
|
63648
|
-
}
|
|
63649
|
-
)
|
|
63650
|
-
] })
|
|
63500
|
+
/* @__PURE__ */ jsxs(
|
|
63501
|
+
Pressable,
|
|
63502
|
+
{
|
|
63503
|
+
variant: "ghost",
|
|
63504
|
+
size: "icon",
|
|
63505
|
+
asButton: true,
|
|
63506
|
+
className: "lg:hidden",
|
|
63507
|
+
onClick: () => setIsOpen(!isOpen),
|
|
63508
|
+
children: [
|
|
63509
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 20 }),
|
|
63510
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle menu" })
|
|
63511
|
+
]
|
|
63512
|
+
}
|
|
63513
|
+
),
|
|
63514
|
+
/* @__PURE__ */ jsx(
|
|
63515
|
+
NavbarMobileMenu,
|
|
63516
|
+
{
|
|
63517
|
+
open: isOpen,
|
|
63518
|
+
onClose: () => setIsOpen(false),
|
|
63519
|
+
title: "Navigation Menu",
|
|
63520
|
+
children: /* @__PURE__ */ jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
63521
|
+
renderMobileMenu,
|
|
63522
|
+
/* @__PURE__ */ jsx(
|
|
63523
|
+
"div",
|
|
63524
|
+
{
|
|
63525
|
+
className: cn(
|
|
63526
|
+
"mt-4 flex flex-col gap-2 border-t pt-4",
|
|
63527
|
+
actionsClassName
|
|
63528
|
+
),
|
|
63529
|
+
children: renderAuthActions
|
|
63530
|
+
}
|
|
63531
|
+
)
|
|
63532
|
+
] }) })
|
|
63533
|
+
}
|
|
63534
|
+
)
|
|
63651
63535
|
]
|
|
63652
63536
|
}
|
|
63653
63537
|
) }) }) })
|
|
@@ -79071,6 +78955,98 @@ function OfferModalMembershipImage({
|
|
|
79071
78955
|
}
|
|
79072
78956
|
) });
|
|
79073
78957
|
}
|
|
78958
|
+
function Sheet({ ...props }) {
|
|
78959
|
+
return /* @__PURE__ */ jsx(DialogPrimitive.Root, { "data-slot": "sheet", ...props });
|
|
78960
|
+
}
|
|
78961
|
+
function SheetPortal({
|
|
78962
|
+
...props
|
|
78963
|
+
}) {
|
|
78964
|
+
return /* @__PURE__ */ jsx(DialogPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
|
|
78965
|
+
}
|
|
78966
|
+
function SheetOverlay({
|
|
78967
|
+
className,
|
|
78968
|
+
...props
|
|
78969
|
+
}) {
|
|
78970
|
+
return /* @__PURE__ */ jsx(
|
|
78971
|
+
DialogPrimitive.Overlay,
|
|
78972
|
+
{
|
|
78973
|
+
"data-slot": "sheet-overlay",
|
|
78974
|
+
className: cn(
|
|
78975
|
+
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
|
|
78976
|
+
className
|
|
78977
|
+
),
|
|
78978
|
+
...props
|
|
78979
|
+
}
|
|
78980
|
+
);
|
|
78981
|
+
}
|
|
78982
|
+
function SheetContent({
|
|
78983
|
+
className,
|
|
78984
|
+
children,
|
|
78985
|
+
side = "right",
|
|
78986
|
+
...props
|
|
78987
|
+
}) {
|
|
78988
|
+
return /* @__PURE__ */ jsxs(SheetPortal, { children: [
|
|
78989
|
+
/* @__PURE__ */ jsx(SheetOverlay, {}),
|
|
78990
|
+
/* @__PURE__ */ jsxs(
|
|
78991
|
+
DialogPrimitive.Content,
|
|
78992
|
+
{
|
|
78993
|
+
"data-slot": "sheet-content",
|
|
78994
|
+
className: cn(
|
|
78995
|
+
"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
78996
|
+
side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
|
|
78997
|
+
side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
|
|
78998
|
+
side === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
|
|
78999
|
+
side === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
|
|
79000
|
+
className
|
|
79001
|
+
),
|
|
79002
|
+
...props,
|
|
79003
|
+
children: [
|
|
79004
|
+
children,
|
|
79005
|
+
/* @__PURE__ */ jsxs(DialogPrimitive.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
|
|
79006
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
|
|
79007
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
79008
|
+
] })
|
|
79009
|
+
]
|
|
79010
|
+
}
|
|
79011
|
+
)
|
|
79012
|
+
] });
|
|
79013
|
+
}
|
|
79014
|
+
function SheetHeader({ className, ...props }) {
|
|
79015
|
+
return /* @__PURE__ */ jsx(
|
|
79016
|
+
"div",
|
|
79017
|
+
{
|
|
79018
|
+
"data-slot": "sheet-header",
|
|
79019
|
+
className: cn("flex flex-col gap-1.5 p-4", className),
|
|
79020
|
+
...props
|
|
79021
|
+
}
|
|
79022
|
+
);
|
|
79023
|
+
}
|
|
79024
|
+
function SheetTitle({
|
|
79025
|
+
className,
|
|
79026
|
+
...props
|
|
79027
|
+
}) {
|
|
79028
|
+
return /* @__PURE__ */ jsx(
|
|
79029
|
+
DialogPrimitive.Title,
|
|
79030
|
+
{
|
|
79031
|
+
"data-slot": "sheet-title",
|
|
79032
|
+
className: cn("text-foreground font-semibold", className),
|
|
79033
|
+
...props
|
|
79034
|
+
}
|
|
79035
|
+
);
|
|
79036
|
+
}
|
|
79037
|
+
function SheetDescription({
|
|
79038
|
+
className,
|
|
79039
|
+
...props
|
|
79040
|
+
}) {
|
|
79041
|
+
return /* @__PURE__ */ jsx(
|
|
79042
|
+
DialogPrimitive.Description,
|
|
79043
|
+
{
|
|
79044
|
+
"data-slot": "sheet-description",
|
|
79045
|
+
className: cn("text-muted-foreground text-sm", className),
|
|
79046
|
+
...props
|
|
79047
|
+
}
|
|
79048
|
+
);
|
|
79049
|
+
}
|
|
79074
79050
|
var { useMemo: useMemo444 } = React52;
|
|
79075
79051
|
function OfferModalSheetNewsletter({
|
|
79076
79052
|
logo,
|