@opensite/ui 0.4.3 → 0.4.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.
Files changed (87) hide show
  1. package/dist/navbar-animated-preview.cjs +17 -12
  2. package/dist/navbar-animated-preview.d.cts +4 -63
  3. package/dist/navbar-animated-preview.d.ts +4 -63
  4. package/dist/navbar-animated-preview.js +17 -12
  5. package/dist/navbar-centered-menu.cjs +60 -51
  6. package/dist/navbar-centered-menu.d.cts +2 -10
  7. package/dist/navbar-centered-menu.d.ts +2 -10
  8. package/dist/navbar-centered-menu.js +60 -51
  9. package/dist/navbar-dark-icons.cjs +4 -4
  10. package/dist/navbar-dark-icons.d.cts +1 -10
  11. package/dist/navbar-dark-icons.d.ts +1 -10
  12. package/dist/navbar-dark-icons.js +4 -4
  13. package/dist/navbar-dropdown-menu.cjs +59 -50
  14. package/dist/navbar-dropdown-menu.d.cts +3 -11
  15. package/dist/navbar-dropdown-menu.d.ts +3 -11
  16. package/dist/navbar-dropdown-menu.js +59 -50
  17. package/dist/navbar-education-platform.cjs +4 -4
  18. package/dist/navbar-education-platform.d.cts +1 -10
  19. package/dist/navbar-education-platform.d.ts +1 -10
  20. package/dist/navbar-education-platform.js +4 -4
  21. package/dist/navbar-enterprise-mega.cjs +7 -7
  22. package/dist/navbar-enterprise-mega.d.cts +2 -36
  23. package/dist/navbar-enterprise-mega.d.ts +2 -36
  24. package/dist/navbar-enterprise-mega.js +7 -7
  25. package/dist/navbar-feature-grid.cjs +4 -4
  26. package/dist/navbar-feature-grid.d.cts +1 -10
  27. package/dist/navbar-feature-grid.d.ts +1 -10
  28. package/dist/navbar-feature-grid.js +4 -4
  29. package/dist/navbar-floating-pill.cjs +4 -4
  30. package/dist/navbar-floating-pill.d.cts +1 -10
  31. package/dist/navbar-floating-pill.d.ts +1 -10
  32. package/dist/navbar-floating-pill.js +4 -4
  33. package/dist/navbar-fullscreen-menu.d.cts +1 -10
  34. package/dist/navbar-fullscreen-menu.d.ts +1 -10
  35. package/dist/navbar-icon-links.cjs +3 -3
  36. package/dist/navbar-icon-links.d.cts +4 -10
  37. package/dist/navbar-icon-links.d.ts +4 -10
  38. package/dist/navbar-icon-links.js +3 -3
  39. package/dist/navbar-image-preview.cjs +16 -11
  40. package/dist/navbar-image-preview.d.cts +6 -16
  41. package/dist/navbar-image-preview.d.ts +6 -16
  42. package/dist/navbar-image-preview.js +16 -11
  43. package/dist/navbar-mega-menu.cjs +26 -28
  44. package/dist/navbar-mega-menu.d.cts +3 -73
  45. package/dist/navbar-mega-menu.d.ts +3 -73
  46. package/dist/navbar-mega-menu.js +26 -28
  47. package/dist/navbar-multi-column-groups.cjs +4 -4
  48. package/dist/navbar-multi-column-groups.d.cts +1 -10
  49. package/dist/navbar-multi-column-groups.d.ts +1 -10
  50. package/dist/navbar-multi-column-groups.js +4 -4
  51. package/dist/navbar-platform-resources.cjs +20 -15
  52. package/dist/navbar-platform-resources.d.cts +2 -36
  53. package/dist/navbar-platform-resources.d.ts +2 -36
  54. package/dist/navbar-platform-resources.js +20 -15
  55. package/dist/navbar-search-focused.cjs +3 -3
  56. package/dist/navbar-search-focused.d.cts +1 -10
  57. package/dist/navbar-search-focused.d.ts +1 -10
  58. package/dist/navbar-search-focused.js +3 -3
  59. package/dist/navbar-sidebar-mobile.cjs +4 -4
  60. package/dist/navbar-sidebar-mobile.d.cts +1 -10
  61. package/dist/navbar-sidebar-mobile.d.ts +1 -10
  62. package/dist/navbar-sidebar-mobile.js +4 -4
  63. package/dist/navbar-simple-links.cjs +58 -49
  64. package/dist/navbar-simple-links.d.cts +1 -10
  65. package/dist/navbar-simple-links.d.ts +1 -10
  66. package/dist/navbar-simple-links.js +58 -49
  67. package/dist/navbar-split-cta.cjs +4 -4
  68. package/dist/navbar-split-cta.d.cts +1 -10
  69. package/dist/navbar-split-cta.d.ts +1 -10
  70. package/dist/navbar-split-cta.js +4 -4
  71. package/dist/navbar-sticky-compact.cjs +4 -4
  72. package/dist/navbar-sticky-compact.d.cts +1 -10
  73. package/dist/navbar-sticky-compact.d.ts +1 -10
  74. package/dist/navbar-sticky-compact.js +4 -4
  75. package/dist/navbar-tabbed-sections.cjs +4 -4
  76. package/dist/navbar-tabbed-sections.d.cts +1 -10
  77. package/dist/navbar-tabbed-sections.d.ts +1 -10
  78. package/dist/navbar-tabbed-sections.js +4 -4
  79. package/dist/navbar-transparent-overlay.cjs +3 -3
  80. package/dist/navbar-transparent-overlay.d.cts +1 -10
  81. package/dist/navbar-transparent-overlay.d.ts +1 -10
  82. package/dist/navbar-transparent-overlay.js +3 -3
  83. package/dist/registry.cjs +222 -192
  84. package/dist/registry.js +222 -192
  85. package/dist/types-D2b35ylu.d.cts +98 -0
  86. package/dist/types-D2b35ylu.d.ts +98 -0
  87. package/package.json +1 -1
package/dist/registry.cjs CHANGED
@@ -48854,7 +48854,7 @@ function NavigationMenuList({
48854
48854
  {
48855
48855
  "data-slot": "navigation-menu-list",
48856
48856
  className: cn(
48857
- "group flex flex-1 list-none items-center justify-center gap-1",
48857
+ "group flex flex-1 list-none items-center justify-center gap-6",
48858
48858
  className
48859
48859
  ),
48860
48860
  ...props
@@ -48875,7 +48875,7 @@ function NavigationMenuItem({
48875
48875
  );
48876
48876
  }
48877
48877
  var navigationMenuTriggerStyle = classVarianceAuthority.cva(
48878
- "group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1"
48878
+ "group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-muted data-[state=open]:text-foreground data-[state=open]:focus:bg-muted data-[state=open]:bg-muted/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1"
48879
48879
  );
48880
48880
  function NavigationMenuTrigger({
48881
48881
  className,
@@ -48895,7 +48895,7 @@ function NavigationMenuTrigger({
48895
48895
  DynamicIcon,
48896
48896
  {
48897
48897
  name: "lucide/chevron-down",
48898
- className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
48898
+ className: "relative top-[1px] ml-1 size-2 transition duration-300 group-data-[state=open]:rotate-180",
48899
48899
  "aria-hidden": "true"
48900
48900
  }
48901
48901
  )
@@ -48953,7 +48953,7 @@ function NavigationMenuLink({
48953
48953
  {
48954
48954
  "data-slot": "navigation-menu-link",
48955
48955
  className: cn(
48956
- "data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",
48956
+ "data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 data-[active=true]:text-foreground hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",
48957
48957
  className
48958
48958
  ),
48959
48959
  ...props
@@ -49069,7 +49069,7 @@ var SubMenuLink = ({
49069
49069
  return /* @__PURE__ */ jsxRuntime.jsxs(
49070
49070
  Pressable,
49071
49071
  {
49072
- className: "flex min-w-80 flex-row gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted hover:text-accent-foreground",
49072
+ className: "flex min-w-80 flex-row gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted hover:text-foreground",
49073
49073
  href: item.url,
49074
49074
  children: [
49075
49075
  item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 20, className: "shrink-0" }) }),
@@ -49092,7 +49092,7 @@ var renderMenuItem = (item, optixFlowConfig) => {
49092
49092
  NavigationMenuLink,
49093
49093
  {
49094
49094
  href: item.url,
49095
- className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-accent-foreground",
49095
+ className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-foreground",
49096
49096
  children: item.title
49097
49097
  }
49098
49098
  ) }, item.title);
@@ -49213,55 +49213,64 @@ var NavbarDropdownMenu = ({
49213
49213
  className: cn(className),
49214
49214
  pattern,
49215
49215
  patternOpacity,
49216
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("container", containerClassName), children: [
49217
- /* @__PURE__ */ jsxRuntime.jsxs(
49218
- "nav",
49219
- {
49220
- className: cn(
49221
- "hidden items-center justify-between lg:flex",
49222
- desktopNavClassName
49223
- ),
49224
- children: [
49225
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-6", children: [
49226
- renderLogo(),
49227
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: navigationMenuClassName, children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: renderMenu() }) }) })
49228
- ] }),
49229
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
49230
- ]
49231
- }
49232
- ),
49233
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
49234
- renderLogo(),
49235
- /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { children: [
49236
- /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
49237
- Pressable,
49216
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
49217
+ "div",
49218
+ {
49219
+ className: cn(
49220
+ "container border-b border-border/50 shadow-sm",
49221
+ containerClassName
49222
+ ),
49223
+ children: [
49224
+ /* @__PURE__ */ jsxRuntime.jsxs(
49225
+ "nav",
49238
49226
  {
49239
- variant: "outline",
49240
- size: "icon",
49241
- asButton: true,
49242
- onClick: () => {
49243
- },
49244
- children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
49227
+ className: cn(
49228
+ "hidden items-center justify-between lg:flex",
49229
+ desktopNavClassName
49230
+ ),
49231
+ children: [
49232
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-6", children: [
49233
+ renderLogo(),
49234
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: navigationMenuClassName, children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { children: renderMenu() }) }) })
49235
+ ] }),
49236
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
49237
+ ]
49245
49238
  }
49246
- ) }),
49247
- /* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { className: "overflow-y-auto", children: [
49248
- /* @__PURE__ */ jsxRuntime.jsx(SheetHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { children: renderLogo() }) }),
49249
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
49250
- /* @__PURE__ */ jsxRuntime.jsx(
49251
- Accordion,
49239
+ ),
49240
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
49241
+ renderLogo(),
49242
+ /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { children: [
49243
+ /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
49244
+ Pressable,
49252
49245
  {
49253
- type: "single",
49254
- collapsible: true,
49255
- className: "flex w-full flex-col gap-4",
49256
- children: renderMobileMenu()
49246
+ variant: "outline",
49247
+ size: "icon",
49248
+ asButton: true,
49249
+ onClick: () => {
49250
+ },
49251
+ children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
49257
49252
  }
49258
- ),
49259
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col gap-3", actionsClassName), children: renderAuthActions() })
49253
+ ) }),
49254
+ /* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { className: "overflow-y-auto", children: [
49255
+ /* @__PURE__ */ jsxRuntime.jsx(SheetHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { children: renderLogo() }) }),
49256
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
49257
+ /* @__PURE__ */ jsxRuntime.jsx(
49258
+ Accordion,
49259
+ {
49260
+ type: "single",
49261
+ collapsible: true,
49262
+ className: "flex w-full flex-col gap-4",
49263
+ children: renderMobileMenu()
49264
+ }
49265
+ ),
49266
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col gap-3", actionsClassName), children: renderAuthActions() })
49267
+ ] })
49268
+ ] })
49260
49269
  ] })
49261
- ] })
49262
- ] })
49263
- ] }) })
49264
- ] })
49270
+ ] }) })
49271
+ ]
49272
+ }
49273
+ )
49265
49274
  }
49266
49275
  );
49267
49276
  };
@@ -49287,7 +49296,7 @@ var SubMenuLink2 = ({ item }) => {
49287
49296
  return /* @__PURE__ */ jsxRuntime.jsxs(
49288
49297
  Pressable,
49289
49298
  {
49290
- className: "flex flex-row gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted hover:text-accent-foreground",
49299
+ className: "flex flex-row gap-4 rounded-md p-3 leading-none no-underline transition-colors outline-none select-none hover:bg-muted hover:text-foreground",
49291
49300
  href: item.url,
49292
49301
  children: [
49293
49302
  item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 20, className: "shrink-0" }) }),
@@ -49310,7 +49319,7 @@ var renderMenuItem2 = (item) => {
49310
49319
  NavigationMenuLink,
49311
49320
  {
49312
49321
  href: item.url,
49313
- className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-accent-foreground",
49322
+ className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-foreground",
49314
49323
  children: item.title
49315
49324
  }
49316
49325
  ) }, item.title);
@@ -49424,59 +49433,73 @@ var NavbarCenteredMenu = ({
49424
49433
  className: cn(className),
49425
49434
  pattern,
49426
49435
  patternOpacity,
49427
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("container", containerClassName), children: [
49428
- /* @__PURE__ */ jsxRuntime.jsxs(
49429
- "nav",
49430
- {
49431
- className: cn("hidden justify-between lg:flex", desktopNavClassName),
49432
- children: [
49433
- renderLogo(),
49434
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsxRuntime.jsx(
49435
- NavigationMenuWithoutViewport,
49436
- {
49437
- className: navigationMenuClassName,
49438
- children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { className: "relative", children: renderMenu() })
49439
- }
49440
- ) }) }),
49441
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
49442
- ]
49443
- }
49444
- ),
49445
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
49446
- renderLogo(),
49447
- /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { children: [
49448
- /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
49449
- Pressable,
49436
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
49437
+ "div",
49438
+ {
49439
+ className: cn(
49440
+ "container border-b border-border/50 shadow-sm",
49441
+ containerClassName
49442
+ ),
49443
+ children: [
49444
+ /* @__PURE__ */ jsxRuntime.jsxs(
49445
+ "nav",
49450
49446
  {
49451
- variant: "outline",
49452
- size: "icon",
49453
- asButton: true,
49454
- onClick: () => {
49455
- },
49456
- children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
49447
+ className: cn("hidden justify-between lg:flex", desktopNavClassName),
49448
+ children: [
49449
+ renderLogo(),
49450
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsxRuntime.jsx(
49451
+ NavigationMenuWithoutViewport,
49452
+ {
49453
+ className: navigationMenuClassName,
49454
+ children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuList, { className: "relative", children: renderMenu() })
49455
+ }
49456
+ ) }) }),
49457
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
49458
+ ]
49457
49459
  }
49458
- ) }),
49459
- /* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { className: "overflow-y-auto", children: [
49460
- /* @__PURE__ */ jsxRuntime.jsx(SheetHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { children: renderLogo() }) }),
49461
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
49462
- /* @__PURE__ */ jsxRuntime.jsx(
49463
- Accordion,
49460
+ ),
49461
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
49462
+ renderLogo(),
49463
+ /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { children: [
49464
+ /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
49465
+ Pressable,
49464
49466
  {
49465
- type: "single",
49466
- collapsible: true,
49467
- className: "flex w-full flex-col gap-4",
49468
- children: renderMobileMenu()
49467
+ variant: "outline",
49468
+ size: "icon",
49469
+ asButton: true,
49470
+ onClick: () => {
49471
+ },
49472
+ children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
49469
49473
  }
49470
- ),
49471
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col gap-3", actionsClassName), children: renderAuthActions() })
49474
+ ) }),
49475
+ /* @__PURE__ */ jsxRuntime.jsxs(SheetContent, { className: "overflow-y-auto", children: [
49476
+ /* @__PURE__ */ jsxRuntime.jsx(SheetHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(SheetTitle, { children: renderLogo() }) }),
49477
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
49478
+ /* @__PURE__ */ jsxRuntime.jsx(
49479
+ Accordion,
49480
+ {
49481
+ type: "single",
49482
+ collapsible: true,
49483
+ className: "flex w-full flex-col gap-4",
49484
+ children: renderMobileMenu()
49485
+ }
49486
+ ),
49487
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col gap-3", actionsClassName), children: renderAuthActions() })
49488
+ ] })
49489
+ ] })
49472
49490
  ] })
49473
- ] })
49474
- ] })
49475
- ] }) })
49476
- ] })
49491
+ ] }) })
49492
+ ]
49493
+ }
49494
+ )
49477
49495
  }
49478
49496
  );
49479
49497
  };
49498
+
49499
+ // components/blocks/navbars/types.ts
49500
+ function getLinkUrl(item) {
49501
+ return item.href || item.url || "#";
49502
+ }
49480
49503
  var DesktopMenuItem = ({
49481
49504
  link,
49482
49505
  index,
@@ -49504,7 +49527,7 @@ var DesktopMenuItem = ({
49504
49527
  };
49505
49528
  if (layout === "animated-image-preview" && link.links) {
49506
49529
  return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
49507
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-0 py-0 font-normal text-foreground/60 hover:bg-transparent hover:text-foreground focus:bg-transparent focus:text-foreground data-[state=open]:bg-transparent data-[state=open]:text-foreground", children: link.label }),
49530
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: link.label }),
49508
49531
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "!rounded-2xl !p-0", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-h-[18.75rem] w-[45.25rem] grid-cols-[22.5rem_1fr] gap-4 p-3", children: [
49509
49532
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-square w-full overflow-hidden rounded-xl", children: link.links.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx(
49510
49533
  img.Img,
@@ -49529,14 +49552,14 @@ var DesktopMenuItem = ({
49529
49552
  /* @__PURE__ */ jsxRuntime.jsx("ul", { children: link.links.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
49530
49553
  NavigationMenuLink,
49531
49554
  {
49532
- href: item.url,
49555
+ href: getLinkUrl(item),
49533
49556
  className: "flex items-center gap-4 rounded-lg px-4 py-3 hover:bg-muted",
49534
49557
  "data-index": idx,
49535
49558
  onMouseEnter: handleMouseEnter,
49536
49559
  onMouseLeave: handleMouseLeave,
49537
49560
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
49538
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "leading-normal font-medium", children: item.label }),
49539
- item.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "leading-normal text-muted-foreground", children: item.description })
49561
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm leading-normal font-medium", children: item.label }),
49562
+ item.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs leading-normal text-muted-foreground", children: item.description })
49540
49563
  ] })
49541
49564
  }
49542
49565
  ) }, `desktop-nav-sublink-${idx}`)) })
@@ -49546,14 +49569,14 @@ var DesktopMenuItem = ({
49546
49569
  }
49547
49570
  if (layout === "simple-grid" && link.links) {
49548
49571
  return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
49549
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-0 py-0 font-normal text-foreground/60 hover:bg-transparent hover:text-foreground focus:bg-transparent focus:text-foreground data-[state=open]:bg-transparent data-[state=open]:text-foreground", children: link.label }),
49550
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[520px] p-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2", children: link.links.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
49572
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: link.label }),
49573
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[700px] p-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2", children: link.links.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
49551
49574
  NavigationMenuLink,
49552
49575
  {
49553
- href: item.url,
49554
- className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
49576
+ href: getLinkUrl(item),
49577
+ className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-muted hover:text-foreground",
49555
49578
  children: [
49556
- item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
49579
+ item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-20 w-20 shrink-0 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
49557
49580
  img.Img,
49558
49581
  {
49559
49582
  src: item.image,
@@ -49562,9 +49585,9 @@ var DesktopMenuItem = ({
49562
49585
  optixFlowConfig
49563
49586
  }
49564
49587
  ) }),
49565
- !item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 18 }) : null }),
49588
+ !item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 20 }) : null }),
49566
49589
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
49567
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base", children: item.label }),
49590
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: item.label }),
49568
49591
  item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
49569
49592
  ] })
49570
49593
  ]
@@ -49575,11 +49598,11 @@ var DesktopMenuItem = ({
49575
49598
  }
49576
49599
  if (layout === "list-with-icons" && link.links) {
49577
49600
  return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
49578
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-0 py-0 font-normal text-foreground/60 hover:bg-transparent hover:text-foreground focus:bg-transparent focus:text-foreground data-[state=open]:bg-transparent data-[state=open]:text-foreground", children: link.label }),
49601
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: link.label }),
49579
49602
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[400px] p-4", children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-1", children: link.links.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs(
49580
49603
  NavigationMenuLink,
49581
49604
  {
49582
- href: item.url,
49605
+ href: getLinkUrl(item),
49583
49606
  className: "flex items-start gap-3 rounded-lg p-3 hover:bg-muted",
49584
49607
  children: [
49585
49608
  (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-8 w-8 items-center justify-center rounded-md bg-muted/40 text-muted-foreground", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 16 }) : null }),
@@ -49623,7 +49646,7 @@ var MobileSubmenu = ({
49623
49646
  return /* @__PURE__ */ jsxRuntime.jsxs(
49624
49647
  Pressable,
49625
49648
  {
49626
- href: item.url,
49649
+ href: getLinkUrl(item),
49627
49650
  className: "flex items-start gap-4 border-b border-border px-8 py-5",
49628
49651
  children: [
49629
49652
  item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -49658,9 +49681,7 @@ var NavbarMegaMenu = ({
49658
49681
  logoClassName,
49659
49682
  mobileMenuClassName,
49660
49683
  logo = {
49661
- url: "/",
49662
- desktopSrc: logoPlaceholders.darkHorizontalLogo,
49663
- mobileSrc: logoPlaceholders.logoMark
49684
+ url: "/"
49664
49685
  },
49665
49686
  logoSlot,
49666
49687
  menuLinks,
@@ -49686,7 +49707,7 @@ var NavbarMegaMenu = ({
49686
49707
  /* @__PURE__ */ jsxRuntime.jsx(
49687
49708
  img.Img,
49688
49709
  {
49689
- src: logo.desktopSrc || logoPlaceholders.darkHorizontalLogo,
49710
+ src: logo.desktopSrc,
49690
49711
  className: cn("hidden h-7 dark:invert md:block", logo.className),
49691
49712
  alt: logo.alt || "Logo",
49692
49713
  optixFlowConfig
@@ -49695,7 +49716,7 @@ var NavbarMegaMenu = ({
49695
49716
  /* @__PURE__ */ jsxRuntime.jsx(
49696
49717
  img.Img,
49697
49718
  {
49698
- src: logo.mobileSrc || logoPlaceholders.logoMark,
49719
+ src: logo.mobileSrc,
49699
49720
  className: cn("h-7 dark:invert md:hidden", logo.className),
49700
49721
  alt: logo.alt || "Logo",
49701
49722
  optixFlowConfig
@@ -49740,7 +49761,7 @@ var NavbarMegaMenu = ({
49740
49761
  navClassName
49741
49762
  ),
49742
49763
  children: [
49743
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-center justify-between gap-12 py-4", children: [
49764
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-center justify-between gap-12 border-b border-border/50 py-4 shadow-sm", children: [
49744
49765
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
49745
49766
  (!open || submenuIndex === null) && renderLogo(),
49746
49767
  open && submenuIndex !== null && /* @__PURE__ */ jsxRuntime.jsxs(
@@ -49980,7 +50001,7 @@ var NavbarEnterpriseMega = ({
49980
50001
  background,
49981
50002
  spacing,
49982
50003
  className: cn(
49983
- "pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center border-b",
50004
+ "pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center border-b border-border/50 shadow-sm",
49984
50005
  className
49985
50006
  ),
49986
50007
  pattern,
@@ -50065,7 +50086,7 @@ var DesktopMenuItem2 = ({
50065
50086
  const effectiveLayout = item.layout || "solutions-with-platform";
50066
50087
  if (hasDropdown) {
50067
50088
  return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
50068
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-0 py-0 font-normal text-foreground/60 hover:bg-transparent hover:text-foreground focus:bg-transparent focus:text-foreground data-[state=open]:bg-transparent data-[state=open]:text-foreground", children: item.label }),
50089
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: item.label }),
50069
50090
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "rounded-xl! border-0! p-0!", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-dvw px-8 pt-6 pb-12", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container", children: renderDropdownContent(
50070
50091
  { ...item, layout: effectiveLayout },
50071
50092
  optixFlowConfig
@@ -50076,7 +50097,7 @@ var DesktopMenuItem2 = ({
50076
50097
  NavigationMenuLink,
50077
50098
  {
50078
50099
  href: item.href,
50079
- className: "h-auto bg-transparent px-0 py-0 font-normal text-foreground/60 hover:bg-transparent hover:text-foreground focus:bg-transparent focus:text-foreground data-[state=open]:bg-transparent data-[state=open]:text-foreground",
50100
+ className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground",
50080
50101
  children: item.label
50081
50102
  }
50082
50103
  ) }, `desktop-menu-item-${index}`);
@@ -51187,7 +51208,7 @@ var NavbarPlatformResources = ({
51187
51208
  return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[640px] p-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
51188
51209
  NavigationMenuLink,
51189
51210
  {
51190
- href: item.url,
51211
+ href: getLinkUrl(item),
51191
51212
  className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
51192
51213
  children: [
51193
51214
  item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -51216,7 +51237,7 @@ var NavbarPlatformResources = ({
51216
51237
  /* @__PURE__ */ jsxRuntime.jsx(
51217
51238
  NavigationMenuLink,
51218
51239
  {
51219
- href: featuredItem.url,
51240
+ href: getLinkUrl(featuredItem),
51220
51241
  className: "group w-1/3 p-0 hover:bg-transparent",
51221
51242
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "overflow-clip rounded-lg border border-input bg-background", children: [
51222
51243
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -51240,7 +51261,7 @@ var NavbarPlatformResources = ({
51240
51261
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-2 lg:gap-8", children: gridItems.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
51241
51262
  NavigationMenuLink,
51242
51263
  {
51243
- href: item.url,
51264
+ href: getLinkUrl(item),
51244
51265
  className: "group block p-4",
51245
51266
  children: [
51246
51267
  (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-5 group-hover:opacity-60", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 20 }) : null }),
@@ -51261,7 +51282,7 @@ var NavbarPlatformResources = ({
51261
51282
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-4", children: link.dropdownGroups[0].links.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
51262
51283
  NavigationMenuLink,
51263
51284
  {
51264
- href: item.url,
51285
+ href: getLinkUrl(item),
51265
51286
  className: "group flex flex-row items-center gap-5",
51266
51287
  children: [
51267
51288
  (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "group-hover:opacity-60", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 16 }) : null }),
@@ -51274,7 +51295,7 @@ var NavbarPlatformResources = ({
51274
51295
  ctaItem && /* @__PURE__ */ jsxRuntime.jsx(
51275
51296
  NavigationMenuLink,
51276
51297
  {
51277
- href: ctaItem.url,
51298
+ href: getLinkUrl(ctaItem),
51278
51299
  className: "group flex-1 p-0 hover:bg-transparent",
51279
51300
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full rounded-lg border border-input bg-background p-0 hover:bg-transparent", children: [
51280
51301
  ctaItem.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-2/5 max-w-[310px] shrink-0 overflow-clip rounded-tl-lg rounded-bl-lg", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -51308,7 +51329,7 @@ var NavbarPlatformResources = ({
51308
51329
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "-ml-2.5 space-y-2.5", children: listItems.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
51309
51330
  NavigationMenuLink,
51310
51331
  {
51311
- href: item.url,
51332
+ href: getLinkUrl(item),
51312
51333
  className: "group flex flex-row items-center gap-2.5 rounded-md p-2.5 focus:text-accent-foreground",
51313
51334
  children: [
51314
51335
  (item.icon || item.iconName) && (item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 16 }) : null),
@@ -51321,7 +51342,7 @@ var NavbarPlatformResources = ({
51321
51342
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-[716px] flex-1 space-y-6", children: showcaseItems.map((showcase, showcaseIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
51322
51343
  NavigationMenuLink,
51323
51344
  {
51324
- href: showcase.url,
51345
+ href: getLinkUrl(showcase),
51325
51346
  className: "flex flex-row items-center overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
51326
51347
  children: [
51327
51348
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
@@ -51355,7 +51376,7 @@ var NavbarPlatformResources = ({
51355
51376
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid flex-1 grid-cols-1 gap-6 md:grid-cols-2", children: group.links.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsx(
51356
51377
  NavigationMenuLink,
51357
51378
  {
51358
- href: item.url,
51379
+ href: getLinkUrl(item),
51359
51380
  className: "flex h-full flex-col overflow-clip rounded-lg border border-input bg-background p-5 hover:bg-accent hover:text-accent-foreground xl:p-8",
51360
51381
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-auto", children: [
51361
51382
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 text-base", children: item.label }),
@@ -51372,7 +51393,7 @@ var NavbarPlatformResources = ({
51372
51393
  /* @__PURE__ */ jsxRuntime.jsxs(
51373
51394
  NavigationMenuLink,
51374
51395
  {
51375
- href: ctaItem.url,
51396
+ href: getLinkUrl(ctaItem),
51376
51397
  className: "mb-6 flex flex-row overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
51377
51398
  children: [
51378
51399
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
@@ -51401,7 +51422,7 @@ var NavbarPlatformResources = ({
51401
51422
  return /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "min-w-[640px] p-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
51402
51423
  NavigationMenuLink,
51403
51424
  {
51404
- href: item.url,
51425
+ href: getLinkUrl(item),
51405
51426
  className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
51406
51427
  children: [
51407
51428
  item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -51541,7 +51562,7 @@ var NavbarPlatformResources = ({
51541
51562
  /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "px-2 pb-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
51542
51563
  Pressable,
51543
51564
  {
51544
- href: item.url,
51565
+ href: getLinkUrl(item),
51545
51566
  className: "group flex items-start gap-4 rounded-lg p-2 hover:bg-muted",
51546
51567
  children: [
51547
51568
  item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -51757,7 +51778,7 @@ var NavbarImagePreview = ({
51757
51778
  containerClassName
51758
51779
  ),
51759
51780
  ref: navRef,
51760
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container border-b", children: /* @__PURE__ */ jsxRuntime.jsxs(
51781
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container border-b border-border/50 shadow-sm", children: /* @__PURE__ */ jsxRuntime.jsxs(
51761
51782
  "div",
51762
51783
  {
51763
51784
  className: cn(
@@ -51837,7 +51858,7 @@ var DesktopMenuItem3 = ({
51837
51858
  };
51838
51859
  if (item.links) {
51839
51860
  return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
51840
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "bg-transparent", children: item.title }),
51861
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "bg-transparent px-3 py-2 text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: item.title }),
51841
51862
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "rounded-2xl! p-0!", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-h-75 w-181 grid-cols-[22.5rem_1fr] gap-4 p-3", children: [
51842
51863
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-square w-full overflow-hidden rounded-xl", children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsx(
51843
51864
  img.Img,
@@ -51859,14 +51880,14 @@ var DesktopMenuItem3 = ({
51859
51880
  /* @__PURE__ */ jsxRuntime.jsx("ul", { children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
51860
51881
  Pressable,
51861
51882
  {
51862
- href: link.url,
51883
+ href: getLinkUrl(link),
51863
51884
  className: "flex items-center gap-4 rounded-lg px-4 py-3 hover:bg-muted",
51864
51885
  "data-index": linkIndex,
51865
51886
  onMouseEnter: handleMouseEnter,
51866
51887
  onMouseLeave: handleMouseLeave,
51867
51888
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
51868
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "leading-normal font-medium", children: link.label }),
51869
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "leading-normal text-muted-foreground", children: link.description })
51889
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm leading-normal font-medium", children: link.label }),
51890
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs leading-normal text-muted-foreground", children: link.description })
51870
51891
  ] })
51871
51892
  }
51872
51893
  ) }, `desktop-nav-sublink-${linkIndex}`)) })
@@ -51878,7 +51899,7 @@ var DesktopMenuItem3 = ({
51878
51899
  NavigationMenuItem,
51879
51900
  {
51880
51901
  value: `${index}`,
51881
- className: `${navigationMenuTriggerStyle()} bg-transparent`,
51902
+ className: `${navigationMenuTriggerStyle()} bg-transparent text-foreground/80 hover:bg-muted hover:text-foreground`,
51882
51903
  children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuLink, { href: item.url, children: item.title })
51883
51904
  },
51884
51905
  `desktop-menu-item-${index}`
@@ -51909,7 +51930,7 @@ var MobileNavigationMenu2 = ({
51909
51930
  /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-3", children: item.links?.map((link, i) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
51910
51931
  Pressable,
51911
51932
  {
51912
- href: link.url,
51933
+ href: getLinkUrl(link),
51913
51934
  className: cn(
51914
51935
  "text-primary-foreground leading-normal font-medium",
51915
51936
  index === 0 ? "text-2xl" : "text-base"
@@ -52477,7 +52498,7 @@ var NavbarAnimatedPreview = ({
52477
52498
  NavigationMenu,
52478
52499
  {
52479
52500
  className: cn(
52480
- "h-20 max-w-full after:absolute after:inset-0 after:z-998 after:block after:size-full after:bg-background after:content-[''] [&>div:last-child>div]:mt-0 [&>div:last-child>div]:animate-none [&>div:last-child>div]:rounded-none [&>div:last-child>div]:border-0 [&>div:last-child>div]:shadow-[0px_-1px_0px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_rgba(17,26,37,0.05),0px_2px_5px_0px_rgba(16,25,36,0.1),0px_5px_20px_0px_rgba(16,25,36,0.1)]!",
52501
+ "h-20 max-w-full border-b border-border/50 shadow-sm after:absolute after:inset-0 after:z-998 after:block after:size-full after:bg-background after:content-[''] [&>div:last-child>div]:mt-0 [&>div:last-child>div]:animate-none [&>div:last-child>div]:rounded-none [&>div:last-child>div]:border-0 [&>div:last-child>div]:shadow-[0px_-1px_0px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_rgba(17,26,37,0.05),0px_2px_5px_0px_rgba(16,25,36,0.1),0px_5px_20px_0px_rgba(16,25,36,0.1)]!",
52481
52502
  navigationMenuClassName
52482
52503
  ),
52483
52504
  children: /* @__PURE__ */ jsxRuntime.jsxs(
@@ -52546,7 +52567,7 @@ var DesktopMenuItem5 = ({
52546
52567
  );
52547
52568
  if (hasDropdown) {
52548
52569
  return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
52549
- /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-0 py-0 font-normal text-foreground/60 hover:bg-transparent hover:text-foreground focus:bg-transparent focus:text-foreground data-[state=open]:bg-transparent data-[state=open]:text-foreground", children: item.label }),
52570
+ /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground", children: item.label }),
52550
52571
  /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "hidden rounded-xl! border-0! p-0! xl:block", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-dvw animate-[fade-in-slide-down_0.35s_cubic-bezier(0.33,1,0.68,1)_forwards] px-8 pt-6 pb-12", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container", children: renderDropdownContent2(item, optixFlowConfig) }) }) })
52551
52572
  ] }, `desktop-menu-item-${index}`);
52552
52573
  }
@@ -52554,7 +52575,7 @@ var DesktopMenuItem5 = ({
52554
52575
  NavigationMenuLink,
52555
52576
  {
52556
52577
  href: item.href,
52557
- className: `${navigationMenuTriggerStyle()} bg-transparent px-0 hover:bg-transparent focus:bg-transparent h-fit font-normal text-foreground/60`,
52578
+ className: `${navigationMenuTriggerStyle()} bg-transparent px-3 py-2 hover:bg-muted focus:bg-muted h-fit font-normal text-foreground/80`,
52558
52579
  children: item.label
52559
52580
  }
52560
52581
  ) }, `desktop-menu-item-${index}`);
@@ -52725,7 +52746,7 @@ var FeaturedImageLink = ({
52725
52746
  optixFlowConfig
52726
52747
  }) => {
52727
52748
  if (!link) return null;
52728
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden xl:block", children: /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: link.url, className: "w-full max-w-147.5", children: /* @__PURE__ */ jsxRuntime.jsx(
52749
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden xl:block", children: /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: link.url || "#", className: "w-full max-w-147.5", children: /* @__PURE__ */ jsxRuntime.jsx(
52729
52750
  AspectRatio,
52730
52751
  {
52731
52752
  ratio: 1.77245509,
@@ -52759,7 +52780,7 @@ var FeaturedLink = ({ link, optixFlowConfig }) => {
52759
52780
  return /* @__PURE__ */ jsxRuntime.jsxs(
52760
52781
  Pressable,
52761
52782
  {
52762
- href: link.url,
52783
+ href: getLinkUrl(link),
52763
52784
  className: "group relative flex w-full overflow-hidden rounded-xl bg-muted px-8 py-7",
52764
52785
  children: [
52765
52786
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex w-full items-center gap-6", children: [
@@ -52795,7 +52816,7 @@ var NavLink = React13.forwardRef(
52795
52816
  Pressable,
52796
52817
  {
52797
52818
  ref,
52798
- href: link.url,
52819
+ href: getLinkUrl(link),
52799
52820
  className: "flex w-full gap-2 transition-opacity duration-300",
52800
52821
  onMouseEnter,
52801
52822
  onMouseLeave,
@@ -52809,8 +52830,8 @@ var NavLink = React13.forwardRef(
52809
52830
  }
52810
52831
  ) }),
52811
52832
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-start gap-2", children: [
52812
- link.label && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base leading-normal", children: link.label }),
52813
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm leading-normal text-muted-foreground", children: link.description })
52833
+ link.label && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm leading-normal", children: link.label }),
52834
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs leading-normal text-muted-foreground", children: link.description })
52814
52835
  ] })
52815
52836
  ]
52816
52837
  }
@@ -54730,7 +54751,7 @@ var NavbarSimpleLinks = ({
54730
54751
  {
54731
54752
  "data-nav-item": item.name,
54732
54753
  onClick: () => setActiveItem(item.name),
54733
- className: `relative cursor-pointer text-sm font-medium hover:bg-transparent ${activeItem === item.name ? "text-foreground" : "text-muted-foreground"}`,
54754
+ className: `relative cursor-pointer rounded-md px-3 py-2 text-sm font-medium transition-colors hover:bg-muted ${activeItem === item.name ? "text-foreground" : "text-muted-foreground hover:text-foreground"}`,
54734
54755
  children: item.name
54735
54756
  }
54736
54757
  ) }) }, item.name));
@@ -54771,56 +54792,65 @@ var NavbarSimpleLinks = ({
54771
54792
  className: cn(className),
54772
54793
  pattern,
54773
54794
  patternOpacity,
54774
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("nav", { className: cn("flex items-center justify-between", navClassName), children: [
54775
- renderLogo(),
54776
- /* @__PURE__ */ jsxRuntime.jsx(
54777
- NavigationMenu,
54778
- {
54779
- className: cn("hidden lg:block", navigationMenuClassName),
54780
- children: /* @__PURE__ */ jsxRuntime.jsxs(
54781
- NavigationMenuList,
54795
+ children: /* @__PURE__ */ jsxRuntime.jsx(
54796
+ "div",
54797
+ {
54798
+ className: cn(
54799
+ "container border-b border-border/50 shadow-sm",
54800
+ containerClassName
54801
+ ),
54802
+ children: /* @__PURE__ */ jsxRuntime.jsxs("nav", { className: cn("flex items-center justify-between", navClassName), children: [
54803
+ renderLogo(),
54804
+ /* @__PURE__ */ jsxRuntime.jsx(
54805
+ NavigationMenu,
54806
+ {
54807
+ className: cn("hidden lg:block", navigationMenuClassName),
54808
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
54809
+ NavigationMenuList,
54810
+ {
54811
+ ref: menuRef,
54812
+ className: cn(
54813
+ "flex items-center gap-6 rounded-4xl px-8 py-3",
54814
+ menuListClassName
54815
+ ),
54816
+ children: [
54817
+ renderNavItems(),
54818
+ /* @__PURE__ */ jsxRuntime.jsx(
54819
+ "div",
54820
+ {
54821
+ ref: indicatorRef,
54822
+ className: "absolute bottom-2 flex h-1 items-center justify-center px-2 transition-all duration-300",
54823
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-0.5 w-full rounded-t-none bg-foreground transition-all duration-300" })
54824
+ }
54825
+ )
54826
+ ]
54827
+ }
54828
+ )
54829
+ }
54830
+ ),
54831
+ /* @__PURE__ */ jsxRuntime.jsx(
54832
+ MobileNav,
54833
+ {
54834
+ navItems: navItems ?? [],
54835
+ activeItem,
54836
+ setActiveItem,
54837
+ actions,
54838
+ actionsSlot
54839
+ }
54840
+ ),
54841
+ /* @__PURE__ */ jsxRuntime.jsx(
54842
+ "div",
54782
54843
  {
54783
- ref: menuRef,
54784
54844
  className: cn(
54785
- "flex items-center gap-6 rounded-4xl px-8 py-3",
54786
- menuListClassName
54845
+ "hidden items-center gap-2 lg:flex",
54846
+ actionsClassName
54787
54847
  ),
54788
- children: [
54789
- renderNavItems(),
54790
- /* @__PURE__ */ jsxRuntime.jsx(
54791
- "div",
54792
- {
54793
- ref: indicatorRef,
54794
- className: "absolute bottom-2 flex h-1 items-center justify-center px-2 transition-all duration-300",
54795
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-0.5 w-full rounded-t-none bg-foreground transition-all duration-300" })
54796
- }
54797
- )
54798
- ]
54848
+ children: renderActions()
54799
54849
  }
54800
54850
  )
54801
- }
54802
- ),
54803
- /* @__PURE__ */ jsxRuntime.jsx(
54804
- MobileNav,
54805
- {
54806
- navItems: navItems ?? [],
54807
- activeItem,
54808
- setActiveItem,
54809
- actions,
54810
- actionsSlot
54811
- }
54812
- ),
54813
- /* @__PURE__ */ jsxRuntime.jsx(
54814
- "div",
54815
- {
54816
- className: cn(
54817
- "hidden items-center gap-2 lg:flex",
54818
- actionsClassName
54819
- ),
54820
- children: renderActions()
54821
- }
54822
- )
54823
- ] }) })
54851
+ ] })
54852
+ }
54853
+ )
54824
54854
  }
54825
54855
  );
54826
54856
  };