@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
|
@@ -8,7 +8,6 @@ var classVarianceAuthority = require('class-variance-authority');
|
|
|
8
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
9
9
|
var img = require('@page-speed/img');
|
|
10
10
|
var NavigationMenuPrimitive = require('@radix-ui/react-navigation-menu');
|
|
11
|
-
var SheetPrimitive = require('@radix-ui/react-dialog');
|
|
12
11
|
|
|
13
12
|
function _interopNamespace(e) {
|
|
14
13
|
if (e && e.__esModule) return e;
|
|
@@ -30,7 +29,6 @@ function _interopNamespace(e) {
|
|
|
30
29
|
|
|
31
30
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
32
31
|
var NavigationMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(NavigationMenuPrimitive);
|
|
33
|
-
var SheetPrimitive__namespace = /*#__PURE__*/_interopNamespace(SheetPrimitive);
|
|
34
32
|
|
|
35
33
|
// components/blocks/navbars/navbar-sticky-compact.tsx
|
|
36
34
|
function cn(...inputs) {
|
|
@@ -826,14 +824,14 @@ function PatternBackground({
|
|
|
826
824
|
);
|
|
827
825
|
}
|
|
828
826
|
if (pattern in patternOverlays) {
|
|
829
|
-
const
|
|
827
|
+
const Overlay = patternOverlays[pattern];
|
|
830
828
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
831
829
|
"div",
|
|
832
830
|
{
|
|
833
831
|
className: cn("pointer-events-none absolute inset-0 z-0", className),
|
|
834
832
|
style: { opacity, ...style },
|
|
835
833
|
"aria-hidden": "true",
|
|
836
|
-
children:
|
|
834
|
+
children: Overlay()
|
|
837
835
|
}
|
|
838
836
|
);
|
|
839
837
|
}
|
|
@@ -1132,80 +1130,62 @@ function NavigationMenuLink({
|
|
|
1132
1130
|
}
|
|
1133
1131
|
);
|
|
1134
1132
|
}
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
...props
|
|
1140
|
-
}) {
|
|
1141
|
-
return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Trigger, { "data-slot": "sheet-trigger", ...props });
|
|
1142
|
-
}
|
|
1143
|
-
function SheetPortal({
|
|
1144
|
-
...props
|
|
1145
|
-
}) {
|
|
1146
|
-
return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Portal, { "data-slot": "sheet-portal", ...props });
|
|
1147
|
-
}
|
|
1148
|
-
function SheetOverlay({
|
|
1133
|
+
var NavbarMobileMenu = ({
|
|
1134
|
+
open,
|
|
1135
|
+
onClose,
|
|
1136
|
+
children,
|
|
1149
1137
|
className,
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1138
|
+
contentClassName,
|
|
1139
|
+
title = "Mobile Navigation"
|
|
1140
|
+
}) => {
|
|
1141
|
+
React__namespace.useEffect(() => {
|
|
1142
|
+
if (open) {
|
|
1143
|
+
const originalOverflow = document.body.style.overflow;
|
|
1144
|
+
document.body.style.overflow = "hidden";
|
|
1145
|
+
return () => {
|
|
1146
|
+
document.body.style.overflow = originalOverflow;
|
|
1147
|
+
};
|
|
1148
|
+
}
|
|
1149
|
+
}, [open]);
|
|
1150
|
+
if (!open) return null;
|
|
1151
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1152
|
+
"div",
|
|
1154
1153
|
{
|
|
1155
|
-
"data-slot": "sheet-overlay",
|
|
1156
1154
|
className: cn(
|
|
1157
|
-
"
|
|
1155
|
+
"fixed inset-0 z-[998] flex flex-col bg-background",
|
|
1156
|
+
"animate-in slide-in-from-top duration-300",
|
|
1157
|
+
"data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
|
|
1158
1158
|
className
|
|
1159
1159
|
),
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
children,
|
|
1187
|
-
/* @__PURE__ */ jsxRuntime.jsxs(SheetPrimitive__namespace.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: [
|
|
1188
|
-
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
|
|
1189
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
|
|
1190
|
-
] })
|
|
1191
|
-
]
|
|
1192
|
-
}
|
|
1193
|
-
)
|
|
1194
|
-
] });
|
|
1195
|
-
}
|
|
1196
|
-
function SheetTitle({
|
|
1197
|
-
className,
|
|
1198
|
-
...props
|
|
1199
|
-
}) {
|
|
1200
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1201
|
-
SheetPrimitive__namespace.Title,
|
|
1202
|
-
{
|
|
1203
|
-
"data-slot": "sheet-title",
|
|
1204
|
-
className: cn("text-foreground font-semibold", className),
|
|
1205
|
-
...props
|
|
1160
|
+
"data-state": open ? "open" : "closed",
|
|
1161
|
+
children: [
|
|
1162
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { children: title }) }),
|
|
1163
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-4 right-4 z-10", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1164
|
+
"button",
|
|
1165
|
+
{
|
|
1166
|
+
onClick: onClose,
|
|
1167
|
+
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",
|
|
1168
|
+
"aria-label": "Close mobile menu",
|
|
1169
|
+
children: [
|
|
1170
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
|
|
1171
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
|
|
1172
|
+
]
|
|
1173
|
+
}
|
|
1174
|
+
) }),
|
|
1175
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1176
|
+
"div",
|
|
1177
|
+
{
|
|
1178
|
+
className: cn(
|
|
1179
|
+
"h-full overflow-y-auto pt-20 pb-8 px-4 sm:px-6",
|
|
1180
|
+
contentClassName
|
|
1181
|
+
),
|
|
1182
|
+
children
|
|
1183
|
+
}
|
|
1184
|
+
)
|
|
1185
|
+
]
|
|
1206
1186
|
}
|
|
1207
1187
|
);
|
|
1208
|
-
}
|
|
1188
|
+
};
|
|
1209
1189
|
|
|
1210
1190
|
// components/blocks/navbars/layout-variant-utils.ts
|
|
1211
1191
|
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
@@ -1222,7 +1202,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
|
|
|
1222
1202
|
// Outer container wrapper (only for floating bar - this containerizes the entire navbar)
|
|
1223
1203
|
containerWrapperClasses: cn(
|
|
1224
1204
|
"w-full",
|
|
1225
|
-
isFloatingBar && "mx-auto
|
|
1205
|
+
isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
|
|
1226
1206
|
),
|
|
1227
1207
|
// Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
|
|
1228
1208
|
innerContainerClasses: cn(
|
|
@@ -1428,31 +1408,33 @@ var NavbarStickyCompact = ({
|
|
|
1428
1408
|
children: renderAuthActions
|
|
1429
1409
|
}
|
|
1430
1410
|
),
|
|
1431
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1411
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1412
|
+
Pressable,
|
|
1413
|
+
{
|
|
1414
|
+
variant: "ghost",
|
|
1415
|
+
size: isScrolled ? "sm" : "icon",
|
|
1416
|
+
asButton: true,
|
|
1417
|
+
className: "lg:hidden transition-all duration-300",
|
|
1418
|
+
onClick: () => setIsOpen(!isOpen),
|
|
1419
|
+
children: [
|
|
1420
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1421
|
+
DynamicIcon,
|
|
1422
|
+
{
|
|
1423
|
+
name: "lucide/menu",
|
|
1424
|
+
size: isScrolled ? 18 : 20
|
|
1425
|
+
}
|
|
1426
|
+
),
|
|
1427
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle menu" })
|
|
1428
|
+
]
|
|
1429
|
+
}
|
|
1430
|
+
),
|
|
1431
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1432
|
+
NavbarMobileMenu,
|
|
1433
|
+
{
|
|
1434
|
+
open: isOpen,
|
|
1435
|
+
onClose: () => setIsOpen(false),
|
|
1436
|
+
title: "Navigation Menu",
|
|
1437
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
1456
1438
|
renderMobileMenu,
|
|
1457
1439
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1458
1440
|
"div",
|
|
@@ -1464,9 +1446,9 @@ var NavbarStickyCompact = ({
|
|
|
1464
1446
|
children: renderAuthActions
|
|
1465
1447
|
}
|
|
1466
1448
|
)
|
|
1467
|
-
] })
|
|
1468
|
-
|
|
1469
|
-
|
|
1449
|
+
] }) })
|
|
1450
|
+
}
|
|
1451
|
+
)
|
|
1470
1452
|
]
|
|
1471
1453
|
}
|
|
1472
1454
|
) }) }) })
|
|
@@ -7,7 +7,6 @@ import { cva } from 'class-variance-authority';
|
|
|
7
7
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
8
8
|
import { Img } from '@page-speed/img';
|
|
9
9
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
10
|
-
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
11
10
|
|
|
12
11
|
// components/blocks/navbars/navbar-sticky-compact.tsx
|
|
13
12
|
function cn(...inputs) {
|
|
@@ -803,14 +802,14 @@ function PatternBackground({
|
|
|
803
802
|
);
|
|
804
803
|
}
|
|
805
804
|
if (pattern in patternOverlays) {
|
|
806
|
-
const
|
|
805
|
+
const Overlay = patternOverlays[pattern];
|
|
807
806
|
return /* @__PURE__ */ jsx(
|
|
808
807
|
"div",
|
|
809
808
|
{
|
|
810
809
|
className: cn("pointer-events-none absolute inset-0 z-0", className),
|
|
811
810
|
style: { opacity, ...style },
|
|
812
811
|
"aria-hidden": "true",
|
|
813
|
-
children:
|
|
812
|
+
children: Overlay()
|
|
814
813
|
}
|
|
815
814
|
);
|
|
816
815
|
}
|
|
@@ -1109,80 +1108,62 @@ function NavigationMenuLink({
|
|
|
1109
1108
|
}
|
|
1110
1109
|
);
|
|
1111
1110
|
}
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
...props
|
|
1117
|
-
}) {
|
|
1118
|
-
return /* @__PURE__ */ jsx(SheetPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
|
|
1119
|
-
}
|
|
1120
|
-
function SheetPortal({
|
|
1121
|
-
...props
|
|
1122
|
-
}) {
|
|
1123
|
-
return /* @__PURE__ */ jsx(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
|
|
1124
|
-
}
|
|
1125
|
-
function SheetOverlay({
|
|
1111
|
+
var NavbarMobileMenu = ({
|
|
1112
|
+
open,
|
|
1113
|
+
onClose,
|
|
1114
|
+
children,
|
|
1126
1115
|
className,
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1116
|
+
contentClassName,
|
|
1117
|
+
title = "Mobile Navigation"
|
|
1118
|
+
}) => {
|
|
1119
|
+
React.useEffect(() => {
|
|
1120
|
+
if (open) {
|
|
1121
|
+
const originalOverflow = document.body.style.overflow;
|
|
1122
|
+
document.body.style.overflow = "hidden";
|
|
1123
|
+
return () => {
|
|
1124
|
+
document.body.style.overflow = originalOverflow;
|
|
1125
|
+
};
|
|
1126
|
+
}
|
|
1127
|
+
}, [open]);
|
|
1128
|
+
if (!open) return null;
|
|
1129
|
+
return /* @__PURE__ */ jsxs(
|
|
1130
|
+
"div",
|
|
1131
1131
|
{
|
|
1132
|
-
"data-slot": "sheet-overlay",
|
|
1133
1132
|
className: cn(
|
|
1134
|
-
"
|
|
1133
|
+
"fixed inset-0 z-[998] flex flex-col bg-background",
|
|
1134
|
+
"animate-in slide-in-from-top duration-300",
|
|
1135
|
+
"data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
|
|
1135
1136
|
className
|
|
1136
1137
|
),
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
children,
|
|
1164
|
-
/* @__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: [
|
|
1165
|
-
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
|
|
1166
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
1167
|
-
] })
|
|
1168
|
-
]
|
|
1169
|
-
}
|
|
1170
|
-
)
|
|
1171
|
-
] });
|
|
1172
|
-
}
|
|
1173
|
-
function SheetTitle({
|
|
1174
|
-
className,
|
|
1175
|
-
...props
|
|
1176
|
-
}) {
|
|
1177
|
-
return /* @__PURE__ */ jsx(
|
|
1178
|
-
SheetPrimitive.Title,
|
|
1179
|
-
{
|
|
1180
|
-
"data-slot": "sheet-title",
|
|
1181
|
-
className: cn("text-foreground font-semibold", className),
|
|
1182
|
-
...props
|
|
1138
|
+
"data-state": open ? "open" : "closed",
|
|
1139
|
+
children: [
|
|
1140
|
+
/* @__PURE__ */ jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsx("h2", { children: title }) }),
|
|
1141
|
+
/* @__PURE__ */ jsx("div", { className: "absolute top-4 right-4 z-10", children: /* @__PURE__ */ jsxs(
|
|
1142
|
+
"button",
|
|
1143
|
+
{
|
|
1144
|
+
onClick: onClose,
|
|
1145
|
+
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",
|
|
1146
|
+
"aria-label": "Close mobile menu",
|
|
1147
|
+
children: [
|
|
1148
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
|
|
1149
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
1150
|
+
]
|
|
1151
|
+
}
|
|
1152
|
+
) }),
|
|
1153
|
+
/* @__PURE__ */ jsx(
|
|
1154
|
+
"div",
|
|
1155
|
+
{
|
|
1156
|
+
className: cn(
|
|
1157
|
+
"h-full overflow-y-auto pt-20 pb-8 px-4 sm:px-6",
|
|
1158
|
+
contentClassName
|
|
1159
|
+
),
|
|
1160
|
+
children
|
|
1161
|
+
}
|
|
1162
|
+
)
|
|
1163
|
+
]
|
|
1183
1164
|
}
|
|
1184
1165
|
);
|
|
1185
|
-
}
|
|
1166
|
+
};
|
|
1186
1167
|
|
|
1187
1168
|
// components/blocks/navbars/layout-variant-utils.ts
|
|
1188
1169
|
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
@@ -1199,7 +1180,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
|
|
|
1199
1180
|
// Outer container wrapper (only for floating bar - this containerizes the entire navbar)
|
|
1200
1181
|
containerWrapperClasses: cn(
|
|
1201
1182
|
"w-full",
|
|
1202
|
-
isFloatingBar && "mx-auto
|
|
1183
|
+
isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
|
|
1203
1184
|
),
|
|
1204
1185
|
// Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
|
|
1205
1186
|
innerContainerClasses: cn(
|
|
@@ -1405,31 +1386,33 @@ var NavbarStickyCompact = ({
|
|
|
1405
1386
|
children: renderAuthActions
|
|
1406
1387
|
}
|
|
1407
1388
|
),
|
|
1408
|
-
/* @__PURE__ */ jsxs(
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1389
|
+
/* @__PURE__ */ jsxs(
|
|
1390
|
+
Pressable,
|
|
1391
|
+
{
|
|
1392
|
+
variant: "ghost",
|
|
1393
|
+
size: isScrolled ? "sm" : "icon",
|
|
1394
|
+
asButton: true,
|
|
1395
|
+
className: "lg:hidden transition-all duration-300",
|
|
1396
|
+
onClick: () => setIsOpen(!isOpen),
|
|
1397
|
+
children: [
|
|
1398
|
+
/* @__PURE__ */ jsx(
|
|
1399
|
+
DynamicIcon,
|
|
1400
|
+
{
|
|
1401
|
+
name: "lucide/menu",
|
|
1402
|
+
size: isScrolled ? 18 : 20
|
|
1403
|
+
}
|
|
1404
|
+
),
|
|
1405
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle menu" })
|
|
1406
|
+
]
|
|
1407
|
+
}
|
|
1408
|
+
),
|
|
1409
|
+
/* @__PURE__ */ jsx(
|
|
1410
|
+
NavbarMobileMenu,
|
|
1411
|
+
{
|
|
1412
|
+
open: isOpen,
|
|
1413
|
+
onClose: () => setIsOpen(false),
|
|
1414
|
+
title: "Navigation Menu",
|
|
1415
|
+
children: /* @__PURE__ */ jsx("div", { className: "max-w-screen-sm mx-auto", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
1433
1416
|
renderMobileMenu,
|
|
1434
1417
|
/* @__PURE__ */ jsx(
|
|
1435
1418
|
"div",
|
|
@@ -1441,9 +1424,9 @@ var NavbarStickyCompact = ({
|
|
|
1441
1424
|
children: renderAuthActions
|
|
1442
1425
|
}
|
|
1443
1426
|
)
|
|
1444
|
-
] })
|
|
1445
|
-
|
|
1446
|
-
|
|
1427
|
+
] }) })
|
|
1428
|
+
}
|
|
1429
|
+
)
|
|
1447
1430
|
]
|
|
1448
1431
|
}
|
|
1449
1432
|
) }) }) })
|