@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
|
@@ -7,7 +7,6 @@ import { cva } from 'class-variance-authority';
|
|
|
7
7
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
8
8
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
9
9
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
10
|
-
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
11
10
|
import { Img } from '@page-speed/img';
|
|
12
11
|
|
|
13
12
|
// components/blocks/navbars/navbar-feature-grid.tsx
|
|
@@ -804,14 +803,14 @@ function PatternBackground({
|
|
|
804
803
|
);
|
|
805
804
|
}
|
|
806
805
|
if (pattern in patternOverlays) {
|
|
807
|
-
const
|
|
806
|
+
const Overlay = patternOverlays[pattern];
|
|
808
807
|
return /* @__PURE__ */ jsx(
|
|
809
808
|
"div",
|
|
810
809
|
{
|
|
811
810
|
className: cn("pointer-events-none absolute inset-0 z-0", className),
|
|
812
811
|
style: { opacity, ...style },
|
|
813
812
|
"aria-hidden": "true",
|
|
814
|
-
children:
|
|
813
|
+
children: Overlay()
|
|
815
814
|
}
|
|
816
815
|
);
|
|
817
816
|
}
|
|
@@ -1110,90 +1109,62 @@ function NavigationMenuLink({
|
|
|
1110
1109
|
}
|
|
1111
1110
|
);
|
|
1112
1111
|
}
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
...props
|
|
1118
|
-
}) {
|
|
1119
|
-
return /* @__PURE__ */ jsx(SheetPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
|
|
1120
|
-
}
|
|
1121
|
-
function SheetPortal({
|
|
1122
|
-
...props
|
|
1123
|
-
}) {
|
|
1124
|
-
return /* @__PURE__ */ jsx(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
|
|
1125
|
-
}
|
|
1126
|
-
function SheetOverlay({
|
|
1112
|
+
var NavbarMobileMenu = ({
|
|
1113
|
+
open,
|
|
1114
|
+
onClose,
|
|
1115
|
+
children,
|
|
1127
1116
|
className,
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1117
|
+
contentClassName,
|
|
1118
|
+
title = "Mobile Navigation"
|
|
1119
|
+
}) => {
|
|
1120
|
+
React.useEffect(() => {
|
|
1121
|
+
if (open) {
|
|
1122
|
+
const originalOverflow = document.body.style.overflow;
|
|
1123
|
+
document.body.style.overflow = "hidden";
|
|
1124
|
+
return () => {
|
|
1125
|
+
document.body.style.overflow = originalOverflow;
|
|
1126
|
+
};
|
|
1127
|
+
}
|
|
1128
|
+
}, [open]);
|
|
1129
|
+
if (!open) return null;
|
|
1130
|
+
return /* @__PURE__ */ jsxs(
|
|
1131
|
+
"div",
|
|
1132
1132
|
{
|
|
1133
|
-
"data-slot": "sheet-overlay",
|
|
1134
1133
|
className: cn(
|
|
1135
|
-
"
|
|
1134
|
+
"fixed inset-0 z-[998] flex flex-col bg-background",
|
|
1135
|
+
"animate-in slide-in-from-top duration-300",
|
|
1136
|
+
"data-[state=closed]:animate-out data-[state=closed]:slide-out-to-top data-[state=closed]:duration-300",
|
|
1136
1137
|
className
|
|
1137
1138
|
),
|
|
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
|
-
|
|
1164
|
-
children,
|
|
1165
|
-
/* @__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: [
|
|
1166
|
-
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
|
|
1167
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
1168
|
-
] })
|
|
1169
|
-
]
|
|
1170
|
-
}
|
|
1171
|
-
)
|
|
1172
|
-
] });
|
|
1173
|
-
}
|
|
1174
|
-
function SheetHeader({ className, ...props }) {
|
|
1175
|
-
return /* @__PURE__ */ jsx(
|
|
1176
|
-
"div",
|
|
1177
|
-
{
|
|
1178
|
-
"data-slot": "sheet-header",
|
|
1179
|
-
className: cn("flex flex-col gap-1.5 p-4", className),
|
|
1180
|
-
...props
|
|
1181
|
-
}
|
|
1182
|
-
);
|
|
1183
|
-
}
|
|
1184
|
-
function SheetTitle({
|
|
1185
|
-
className,
|
|
1186
|
-
...props
|
|
1187
|
-
}) {
|
|
1188
|
-
return /* @__PURE__ */ jsx(
|
|
1189
|
-
SheetPrimitive.Title,
|
|
1190
|
-
{
|
|
1191
|
-
"data-slot": "sheet-title",
|
|
1192
|
-
className: cn("text-foreground font-semibold", className),
|
|
1193
|
-
...props
|
|
1139
|
+
"data-state": open ? "open" : "closed",
|
|
1140
|
+
children: [
|
|
1141
|
+
/* @__PURE__ */ jsx("div", { className: "sr-only", children: /* @__PURE__ */ jsx("h2", { children: title }) }),
|
|
1142
|
+
/* @__PURE__ */ jsx("div", { className: "absolute top-4 right-4 z-10", children: /* @__PURE__ */ jsxs(
|
|
1143
|
+
"button",
|
|
1144
|
+
{
|
|
1145
|
+
onClick: onClose,
|
|
1146
|
+
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",
|
|
1147
|
+
"aria-label": "Close mobile menu",
|
|
1148
|
+
children: [
|
|
1149
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
|
|
1150
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
1151
|
+
]
|
|
1152
|
+
}
|
|
1153
|
+
) }),
|
|
1154
|
+
/* @__PURE__ */ jsx(
|
|
1155
|
+
"div",
|
|
1156
|
+
{
|
|
1157
|
+
className: cn(
|
|
1158
|
+
"h-full overflow-y-auto pt-20 pb-8 px-4 sm:px-6",
|
|
1159
|
+
contentClassName
|
|
1160
|
+
),
|
|
1161
|
+
children
|
|
1162
|
+
}
|
|
1163
|
+
)
|
|
1164
|
+
]
|
|
1194
1165
|
}
|
|
1195
1166
|
);
|
|
1196
|
-
}
|
|
1167
|
+
};
|
|
1197
1168
|
var NavbarLogo = ({
|
|
1198
1169
|
logo,
|
|
1199
1170
|
logoSlot,
|
|
@@ -1270,7 +1241,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
|
|
|
1270
1241
|
// Outer container wrapper (only for floating bar - this containerizes the entire navbar)
|
|
1271
1242
|
containerWrapperClasses: cn(
|
|
1272
1243
|
"w-full",
|
|
1273
|
-
isFloatingBar && "mx-auto
|
|
1244
|
+
isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
|
|
1274
1245
|
),
|
|
1275
1246
|
// Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
|
|
1276
1247
|
innerContainerClasses: cn(
|
|
@@ -1300,6 +1271,7 @@ var NavbarFeatureGrid = ({
|
|
|
1300
1271
|
logo,
|
|
1301
1272
|
logoSlot,
|
|
1302
1273
|
features,
|
|
1274
|
+
menu,
|
|
1303
1275
|
authActions,
|
|
1304
1276
|
authActionsSlot,
|
|
1305
1277
|
layoutVariant = "fullScreenContainerizedLinks",
|
|
@@ -1309,6 +1281,7 @@ var NavbarFeatureGrid = ({
|
|
|
1309
1281
|
patternOpacity,
|
|
1310
1282
|
optixFlowConfig
|
|
1311
1283
|
}) => {
|
|
1284
|
+
const [open, setOpen] = React.useState(false);
|
|
1312
1285
|
const renderAuthActions = useMemo(() => {
|
|
1313
1286
|
if (authActionsSlot) return authActionsSlot;
|
|
1314
1287
|
if (!authActions || authActions.length === 0) return null;
|
|
@@ -1365,21 +1338,31 @@ var NavbarFeatureGrid = ({
|
|
|
1365
1338
|
NavigationMenu,
|
|
1366
1339
|
{
|
|
1367
1340
|
className: cn("hidden lg:block", navigationMenuClassName),
|
|
1368
|
-
children: /* @__PURE__ */
|
|
1369
|
-
/* @__PURE__ */
|
|
1370
|
-
|
|
1341
|
+
children: /* @__PURE__ */ jsxs(NavigationMenuList, { children: [
|
|
1342
|
+
features && features.length > 0 && /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
|
|
1343
|
+
/* @__PURE__ */ jsx(NavigationMenuTrigger, { children: "Features" }),
|
|
1344
|
+
/* @__PURE__ */ jsx(NavigationMenuContent, { children: /* @__PURE__ */ jsx("div", { className: "grid w-[600px] grid-cols-2 p-3", children: features.map((feature, index) => /* @__PURE__ */ jsx(
|
|
1345
|
+
NavigationMenuLink,
|
|
1346
|
+
{
|
|
1347
|
+
href: feature.href,
|
|
1348
|
+
className: "rounded-md p-3 transition-colors hover:bg-muted/70",
|
|
1349
|
+
children: /* @__PURE__ */ jsxs("div", { children: [
|
|
1350
|
+
/* @__PURE__ */ jsx("p", { className: "mb-1 font-semibold", children: feature.title }),
|
|
1351
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: feature.description })
|
|
1352
|
+
] })
|
|
1353
|
+
},
|
|
1354
|
+
index
|
|
1355
|
+
)) }) })
|
|
1356
|
+
] }),
|
|
1357
|
+
menu?.map((item, index) => /* @__PURE__ */ jsx(NavigationMenuItem, { children: /* @__PURE__ */ jsx(
|
|
1371
1358
|
NavigationMenuLink,
|
|
1372
1359
|
{
|
|
1373
|
-
href:
|
|
1374
|
-
className: "
|
|
1375
|
-
children:
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
},
|
|
1380
|
-
index
|
|
1381
|
-
)) }) })
|
|
1382
|
-
] }) })
|
|
1360
|
+
href: item.url,
|
|
1361
|
+
className: "h-auto bg-transparent px-3 py-2 font-normal hover:bg-muted focus:bg-muted",
|
|
1362
|
+
children: item.title
|
|
1363
|
+
}
|
|
1364
|
+
) }, index))
|
|
1365
|
+
] })
|
|
1383
1366
|
}
|
|
1384
1367
|
),
|
|
1385
1368
|
/* @__PURE__ */ jsx(
|
|
@@ -1392,59 +1375,58 @@ var NavbarFeatureGrid = ({
|
|
|
1392
1375
|
children: renderAuthActions
|
|
1393
1376
|
}
|
|
1394
1377
|
),
|
|
1395
|
-
/* @__PURE__ */
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
),
|
|
1378
|
+
/* @__PURE__ */ jsx(
|
|
1379
|
+
Pressable,
|
|
1380
|
+
{
|
|
1381
|
+
variant: "outline",
|
|
1382
|
+
size: "icon",
|
|
1383
|
+
asButton: true,
|
|
1384
|
+
className: "lg:hidden",
|
|
1385
|
+
onClick: () => setOpen(!open),
|
|
1386
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
|
|
1387
|
+
}
|
|
1388
|
+
),
|
|
1389
|
+
/* @__PURE__ */ jsx(
|
|
1390
|
+
NavbarMobileMenu,
|
|
1391
|
+
{
|
|
1392
|
+
open,
|
|
1393
|
+
onClose: () => setOpen(false),
|
|
1394
|
+
title: "Mobile Navigation",
|
|
1395
|
+
contentClassName: "pt-10 pb-20",
|
|
1396
|
+
children: /* @__PURE__ */ jsxs("div", { className: "max-w-screen-sm mx-auto", children: [
|
|
1397
|
+
/* @__PURE__ */ jsxs(Accordion, { type: "multiple", className: "w-full", children: [
|
|
1398
|
+
features && features.length > 0 && /* @__PURE__ */ jsxs(
|
|
1399
|
+
AccordionItem,
|
|
1400
|
+
{
|
|
1401
|
+
value: "features",
|
|
1402
|
+
className: "border-b-0",
|
|
1403
|
+
children: [
|
|
1404
|
+
/* @__PURE__ */ jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: "Features" }),
|
|
1405
|
+
/* @__PURE__ */ jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto space-y-2", children: features.map((feature, index) => /* @__PURE__ */ jsx(
|
|
1406
|
+
Pressable,
|
|
1407
|
+
{
|
|
1408
|
+
href: feature.href,
|
|
1409
|
+
className: "flex items-start gap-2 pl-4 text-sm text-muted-foreground hover:text-foreground",
|
|
1410
|
+
children: /* @__PURE__ */ jsxs("div", { children: [
|
|
1411
|
+
/* @__PURE__ */ jsx("p", { className: "mb-1 font-semibold", children: feature.title }),
|
|
1412
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: feature.description })
|
|
1413
|
+
] })
|
|
1414
|
+
},
|
|
1415
|
+
index
|
|
1416
|
+
)) })
|
|
1417
|
+
]
|
|
1418
|
+
}
|
|
1419
|
+
),
|
|
1420
|
+
menu?.map((item, index) => /* @__PURE__ */ jsx(
|
|
1421
|
+
Pressable,
|
|
1422
|
+
{
|
|
1423
|
+
href: item.url,
|
|
1424
|
+
className: "flex h-15 items-center text-base font-normal text-foreground",
|
|
1425
|
+
children: item.title
|
|
1426
|
+
},
|
|
1427
|
+
index
|
|
1428
|
+
))
|
|
1429
|
+
] }),
|
|
1448
1430
|
/* @__PURE__ */ jsx(
|
|
1449
1431
|
"div",
|
|
1450
1432
|
{
|
|
@@ -1456,8 +1438,8 @@ var NavbarFeatureGrid = ({
|
|
|
1456
1438
|
}
|
|
1457
1439
|
)
|
|
1458
1440
|
] })
|
|
1459
|
-
|
|
1460
|
-
|
|
1441
|
+
}
|
|
1442
|
+
)
|
|
1461
1443
|
]
|
|
1462
1444
|
}
|
|
1463
1445
|
) }) }) })
|
|
@@ -1146,7 +1146,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
|
|
|
1146
1146
|
// Outer container wrapper (only for floating bar - this containerizes the entire navbar)
|
|
1147
1147
|
containerWrapperClasses: cn(
|
|
1148
1148
|
"w-full",
|
|
1149
|
-
isFloatingBar && "mx-auto
|
|
1149
|
+
isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
|
|
1150
1150
|
),
|
|
1151
1151
|
// Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
|
|
1152
1152
|
innerContainerClasses: cn(
|
|
@@ -1244,7 +1244,7 @@ var NavbarFloatingPill = ({
|
|
|
1244
1244
|
"nav",
|
|
1245
1245
|
{
|
|
1246
1246
|
className: cn(
|
|
1247
|
-
"absolute top-
|
|
1247
|
+
"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",
|
|
1248
1248
|
navWrapperClasses
|
|
1249
1249
|
),
|
|
1250
1250
|
children: [
|
|
@@ -1124,7 +1124,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
|
|
|
1124
1124
|
// Outer container wrapper (only for floating bar - this containerizes the entire navbar)
|
|
1125
1125
|
containerWrapperClasses: cn(
|
|
1126
1126
|
"w-full",
|
|
1127
|
-
isFloatingBar && "mx-auto
|
|
1127
|
+
isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
|
|
1128
1128
|
),
|
|
1129
1129
|
// Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
|
|
1130
1130
|
innerContainerClasses: cn(
|
|
@@ -1222,7 +1222,7 @@ var NavbarFloatingPill = ({
|
|
|
1222
1222
|
"nav",
|
|
1223
1223
|
{
|
|
1224
1224
|
className: cn(
|
|
1225
|
-
"absolute top-
|
|
1225
|
+
"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",
|
|
1226
1226
|
navWrapperClasses
|
|
1227
1227
|
),
|
|
1228
1228
|
children: [
|
|
@@ -1055,7 +1055,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
|
|
|
1055
1055
|
// Outer container wrapper (only for floating bar - this containerizes the entire navbar)
|
|
1056
1056
|
containerWrapperClasses: cn(
|
|
1057
1057
|
"w-full",
|
|
1058
|
-
isFloatingBar && "mx-auto
|
|
1058
|
+
isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
|
|
1059
1059
|
),
|
|
1060
1060
|
// Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
|
|
1061
1061
|
innerContainerClasses: cn(
|
|
@@ -1034,7 +1034,7 @@ function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks",
|
|
|
1034
1034
|
// Outer container wrapper (only for floating bar - this containerizes the entire navbar)
|
|
1035
1035
|
containerWrapperClasses: cn(
|
|
1036
1036
|
"w-full",
|
|
1037
|
-
isFloatingBar && "mx-auto
|
|
1037
|
+
isFloatingBar && "mx-auto container relative z-10 px-0 sm:px-0 lg:px-0"
|
|
1038
1038
|
),
|
|
1039
1039
|
// Inner container classes (only for fullScreenContainerizedLinks - this containerizes the content inside the navbar)
|
|
1040
1040
|
innerContainerClasses: cn(
|