@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.
- package/dist/navbar-animated-preview.cjs +17 -12
- package/dist/navbar-animated-preview.d.cts +4 -63
- package/dist/navbar-animated-preview.d.ts +4 -63
- package/dist/navbar-animated-preview.js +17 -12
- package/dist/navbar-centered-menu.cjs +60 -51
- package/dist/navbar-centered-menu.d.cts +2 -10
- package/dist/navbar-centered-menu.d.ts +2 -10
- package/dist/navbar-centered-menu.js +60 -51
- package/dist/navbar-dark-icons.cjs +4 -4
- package/dist/navbar-dark-icons.d.cts +1 -10
- package/dist/navbar-dark-icons.d.ts +1 -10
- package/dist/navbar-dark-icons.js +4 -4
- package/dist/navbar-dropdown-menu.cjs +59 -50
- package/dist/navbar-dropdown-menu.d.cts +3 -11
- package/dist/navbar-dropdown-menu.d.ts +3 -11
- package/dist/navbar-dropdown-menu.js +59 -50
- package/dist/navbar-education-platform.cjs +4 -4
- package/dist/navbar-education-platform.d.cts +1 -10
- package/dist/navbar-education-platform.d.ts +1 -10
- package/dist/navbar-education-platform.js +4 -4
- package/dist/navbar-enterprise-mega.cjs +7 -7
- package/dist/navbar-enterprise-mega.d.cts +2 -36
- package/dist/navbar-enterprise-mega.d.ts +2 -36
- package/dist/navbar-enterprise-mega.js +7 -7
- package/dist/navbar-feature-grid.cjs +4 -4
- package/dist/navbar-feature-grid.d.cts +1 -10
- package/dist/navbar-feature-grid.d.ts +1 -10
- package/dist/navbar-feature-grid.js +4 -4
- package/dist/navbar-floating-pill.cjs +4 -4
- package/dist/navbar-floating-pill.d.cts +1 -10
- package/dist/navbar-floating-pill.d.ts +1 -10
- package/dist/navbar-floating-pill.js +4 -4
- package/dist/navbar-fullscreen-menu.d.cts +1 -10
- package/dist/navbar-fullscreen-menu.d.ts +1 -10
- package/dist/navbar-icon-links.cjs +3 -3
- package/dist/navbar-icon-links.d.cts +4 -10
- package/dist/navbar-icon-links.d.ts +4 -10
- package/dist/navbar-icon-links.js +3 -3
- package/dist/navbar-image-preview.cjs +16 -11
- package/dist/navbar-image-preview.d.cts +6 -16
- package/dist/navbar-image-preview.d.ts +6 -16
- package/dist/navbar-image-preview.js +16 -11
- package/dist/navbar-mega-menu.cjs +26 -28
- package/dist/navbar-mega-menu.d.cts +3 -73
- package/dist/navbar-mega-menu.d.ts +3 -73
- package/dist/navbar-mega-menu.js +26 -28
- package/dist/navbar-multi-column-groups.cjs +4 -4
- package/dist/navbar-multi-column-groups.d.cts +1 -10
- package/dist/navbar-multi-column-groups.d.ts +1 -10
- package/dist/navbar-multi-column-groups.js +4 -4
- package/dist/navbar-platform-resources.cjs +20 -15
- package/dist/navbar-platform-resources.d.cts +2 -36
- package/dist/navbar-platform-resources.d.ts +2 -36
- package/dist/navbar-platform-resources.js +20 -15
- package/dist/navbar-search-focused.cjs +3 -3
- package/dist/navbar-search-focused.d.cts +1 -10
- package/dist/navbar-search-focused.d.ts +1 -10
- package/dist/navbar-search-focused.js +3 -3
- package/dist/navbar-sidebar-mobile.cjs +4 -4
- package/dist/navbar-sidebar-mobile.d.cts +1 -10
- package/dist/navbar-sidebar-mobile.d.ts +1 -10
- package/dist/navbar-sidebar-mobile.js +4 -4
- package/dist/navbar-simple-links.cjs +58 -49
- package/dist/navbar-simple-links.d.cts +1 -10
- package/dist/navbar-simple-links.d.ts +1 -10
- package/dist/navbar-simple-links.js +58 -49
- package/dist/navbar-split-cta.cjs +4 -4
- package/dist/navbar-split-cta.d.cts +1 -10
- package/dist/navbar-split-cta.d.ts +1 -10
- package/dist/navbar-split-cta.js +4 -4
- package/dist/navbar-sticky-compact.cjs +4 -4
- package/dist/navbar-sticky-compact.d.cts +1 -10
- package/dist/navbar-sticky-compact.d.ts +1 -10
- package/dist/navbar-sticky-compact.js +4 -4
- package/dist/navbar-tabbed-sections.cjs +4 -4
- package/dist/navbar-tabbed-sections.d.cts +1 -10
- package/dist/navbar-tabbed-sections.d.ts +1 -10
- package/dist/navbar-tabbed-sections.js +4 -4
- package/dist/navbar-transparent-overlay.cjs +3 -3
- package/dist/navbar-transparent-overlay.d.cts +1 -10
- package/dist/navbar-transparent-overlay.d.ts +1 -10
- package/dist/navbar-transparent-overlay.js +3 -3
- package/dist/registry.cjs +222 -192
- package/dist/registry.js +222 -192
- package/dist/types-D2b35ylu.d.cts +98 -0
- package/dist/types-D2b35ylu.d.ts +98 -0
- package/package.json +1 -1
|
@@ -986,7 +986,7 @@ function NavigationMenuList({
|
|
|
986
986
|
{
|
|
987
987
|
"data-slot": "navigation-menu-list",
|
|
988
988
|
className: cn(
|
|
989
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
989
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
990
990
|
className
|
|
991
991
|
),
|
|
992
992
|
...props
|
|
@@ -1007,7 +1007,7 @@ function NavigationMenuItem({
|
|
|
1007
1007
|
);
|
|
1008
1008
|
}
|
|
1009
1009
|
var navigationMenuTriggerStyle = cva(
|
|
1010
|
-
"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-
|
|
1010
|
+
"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"
|
|
1011
1011
|
);
|
|
1012
1012
|
function NavigationMenuTrigger({
|
|
1013
1013
|
className,
|
|
@@ -1027,7 +1027,7 @@ function NavigationMenuTrigger({
|
|
|
1027
1027
|
DynamicIcon,
|
|
1028
1028
|
{
|
|
1029
1029
|
name: "lucide/chevron-down",
|
|
1030
|
-
className: "relative top-[1px] ml-1 size-
|
|
1030
|
+
className: "relative top-[1px] ml-1 size-2 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1031
1031
|
"aria-hidden": "true"
|
|
1032
1032
|
}
|
|
1033
1033
|
)
|
|
@@ -1085,7 +1085,7 @@ function NavigationMenuLink({
|
|
|
1085
1085
|
{
|
|
1086
1086
|
"data-slot": "navigation-menu-link",
|
|
1087
1087
|
className: cn(
|
|
1088
|
-
"data-[active=true]:focus:bg-
|
|
1088
|
+
"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",
|
|
1089
1089
|
className
|
|
1090
1090
|
),
|
|
1091
1091
|
...props
|
|
@@ -952,7 +952,7 @@ function NavigationMenuList({
|
|
|
952
952
|
{
|
|
953
953
|
"data-slot": "navigation-menu-list",
|
|
954
954
|
className: cn(
|
|
955
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
955
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
956
956
|
className
|
|
957
957
|
),
|
|
958
958
|
...props
|
|
@@ -973,7 +973,7 @@ function NavigationMenuItem({
|
|
|
973
973
|
);
|
|
974
974
|
}
|
|
975
975
|
var navigationMenuTriggerStyle = classVarianceAuthority.cva(
|
|
976
|
-
"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-
|
|
976
|
+
"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"
|
|
977
977
|
);
|
|
978
978
|
function NavigationMenuTrigger({
|
|
979
979
|
className,
|
|
@@ -993,7 +993,7 @@ function NavigationMenuTrigger({
|
|
|
993
993
|
DynamicIcon,
|
|
994
994
|
{
|
|
995
995
|
name: "lucide/chevron-down",
|
|
996
|
-
className: "relative top-[1px] ml-1 size-
|
|
996
|
+
className: "relative top-[1px] ml-1 size-2 transition duration-300 group-data-[state=open]:rotate-180",
|
|
997
997
|
"aria-hidden": "true"
|
|
998
998
|
}
|
|
999
999
|
)
|
|
@@ -1051,7 +1051,7 @@ function NavigationMenuLink({
|
|
|
1051
1051
|
{
|
|
1052
1052
|
"data-slot": "navigation-menu-link",
|
|
1053
1053
|
className: cn(
|
|
1054
|
-
"data-[active=true]:focus:bg-
|
|
1054
|
+
"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",
|
|
1055
1055
|
className
|
|
1056
1056
|
),
|
|
1057
1057
|
...props
|
|
@@ -2,6 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { P as PatternName } from './pattern-background-a7gKHzHy.cjs';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.cjs';
|
|
5
|
+
import { L as LogoConfig } from './types-D2b35ylu.cjs';
|
|
5
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-Cohq4eio.cjs';
|
|
6
7
|
import 'class-variance-authority';
|
|
7
8
|
import './button-variants-lRElsmTc.cjs';
|
|
@@ -17,16 +18,6 @@ interface NavItem {
|
|
|
17
18
|
href: string;
|
|
18
19
|
dropdownItems?: DropdownItem[];
|
|
19
20
|
}
|
|
20
|
-
/**
|
|
21
|
-
* Logo configuration interface
|
|
22
|
-
*/
|
|
23
|
-
interface LogoConfig {
|
|
24
|
-
url?: string;
|
|
25
|
-
src?: string;
|
|
26
|
-
alt?: string;
|
|
27
|
-
title?: React.ReactNode;
|
|
28
|
-
className?: string;
|
|
29
|
-
}
|
|
30
21
|
/**
|
|
31
22
|
* Props for the NavbarFloatingPill component
|
|
32
23
|
*/
|
|
@@ -2,6 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { P as PatternName } from './pattern-background-a7gKHzHy.js';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.js';
|
|
5
|
+
import { L as LogoConfig } from './types-D2b35ylu.js';
|
|
5
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-k17uluAz.js';
|
|
6
7
|
import 'class-variance-authority';
|
|
7
8
|
import './button-variants-lRElsmTc.js';
|
|
@@ -17,16 +18,6 @@ interface NavItem {
|
|
|
17
18
|
href: string;
|
|
18
19
|
dropdownItems?: DropdownItem[];
|
|
19
20
|
}
|
|
20
|
-
/**
|
|
21
|
-
* Logo configuration interface
|
|
22
|
-
*/
|
|
23
|
-
interface LogoConfig {
|
|
24
|
-
url?: string;
|
|
25
|
-
src?: string;
|
|
26
|
-
alt?: string;
|
|
27
|
-
title?: React.ReactNode;
|
|
28
|
-
className?: string;
|
|
29
|
-
}
|
|
30
21
|
/**
|
|
31
22
|
* Props for the NavbarFloatingPill component
|
|
32
23
|
*/
|
|
@@ -930,7 +930,7 @@ function NavigationMenuList({
|
|
|
930
930
|
{
|
|
931
931
|
"data-slot": "navigation-menu-list",
|
|
932
932
|
className: cn(
|
|
933
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
933
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
934
934
|
className
|
|
935
935
|
),
|
|
936
936
|
...props
|
|
@@ -951,7 +951,7 @@ function NavigationMenuItem({
|
|
|
951
951
|
);
|
|
952
952
|
}
|
|
953
953
|
var navigationMenuTriggerStyle = cva(
|
|
954
|
-
"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-
|
|
954
|
+
"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"
|
|
955
955
|
);
|
|
956
956
|
function NavigationMenuTrigger({
|
|
957
957
|
className,
|
|
@@ -971,7 +971,7 @@ function NavigationMenuTrigger({
|
|
|
971
971
|
DynamicIcon,
|
|
972
972
|
{
|
|
973
973
|
name: "lucide/chevron-down",
|
|
974
|
-
className: "relative top-[1px] ml-1 size-
|
|
974
|
+
className: "relative top-[1px] ml-1 size-2 transition duration-300 group-data-[state=open]:rotate-180",
|
|
975
975
|
"aria-hidden": "true"
|
|
976
976
|
}
|
|
977
977
|
)
|
|
@@ -1029,7 +1029,7 @@ function NavigationMenuLink({
|
|
|
1029
1029
|
{
|
|
1030
1030
|
"data-slot": "navigation-menu-link",
|
|
1031
1031
|
className: cn(
|
|
1032
|
-
"data-[active=true]:focus:bg-
|
|
1032
|
+
"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",
|
|
1033
1033
|
className
|
|
1034
1034
|
),
|
|
1035
1035
|
...props
|
|
@@ -2,6 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { P as PatternName } from './pattern-background-a7gKHzHy.cjs';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.cjs';
|
|
5
|
+
import { L as LogoConfig } from './types-D2b35ylu.cjs';
|
|
5
6
|
import { O as OptixFlowConfig } from './blocks-Cohq4eio.cjs';
|
|
6
7
|
import 'class-variance-authority';
|
|
7
8
|
import './button-variants-lRElsmTc.cjs';
|
|
@@ -15,16 +16,6 @@ interface SocialLink {
|
|
|
15
16
|
label: string;
|
|
16
17
|
href: string;
|
|
17
18
|
}
|
|
18
|
-
/**
|
|
19
|
-
* Logo configuration interface
|
|
20
|
-
*/
|
|
21
|
-
interface LogoConfig {
|
|
22
|
-
url?: string;
|
|
23
|
-
src?: string;
|
|
24
|
-
alt?: string;
|
|
25
|
-
title?: React.ReactNode;
|
|
26
|
-
className?: string;
|
|
27
|
-
}
|
|
28
19
|
/**
|
|
29
20
|
* Props for the NavbarFullscreenMenu component
|
|
30
21
|
*/
|
|
@@ -2,6 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { P as PatternName } from './pattern-background-a7gKHzHy.js';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.js';
|
|
5
|
+
import { L as LogoConfig } from './types-D2b35ylu.js';
|
|
5
6
|
import { O as OptixFlowConfig } from './blocks-k17uluAz.js';
|
|
6
7
|
import 'class-variance-authority';
|
|
7
8
|
import './button-variants-lRElsmTc.js';
|
|
@@ -15,16 +16,6 @@ interface SocialLink {
|
|
|
15
16
|
label: string;
|
|
16
17
|
href: string;
|
|
17
18
|
}
|
|
18
|
-
/**
|
|
19
|
-
* Logo configuration interface
|
|
20
|
-
*/
|
|
21
|
-
interface LogoConfig {
|
|
22
|
-
url?: string;
|
|
23
|
-
src?: string;
|
|
24
|
-
alt?: string;
|
|
25
|
-
title?: React.ReactNode;
|
|
26
|
-
className?: string;
|
|
27
|
-
}
|
|
28
19
|
/**
|
|
29
20
|
* Props for the NavbarFullscreenMenu component
|
|
30
21
|
*/
|
|
@@ -956,7 +956,7 @@ function NavigationMenuList({
|
|
|
956
956
|
{
|
|
957
957
|
"data-slot": "navigation-menu-list",
|
|
958
958
|
className: cn(
|
|
959
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
959
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
960
960
|
className
|
|
961
961
|
),
|
|
962
962
|
...props
|
|
@@ -977,7 +977,7 @@ function NavigationMenuItem({
|
|
|
977
977
|
);
|
|
978
978
|
}
|
|
979
979
|
classVarianceAuthority.cva(
|
|
980
|
-
"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-
|
|
980
|
+
"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"
|
|
981
981
|
);
|
|
982
982
|
function NavigationMenuViewport({
|
|
983
983
|
className,
|
|
@@ -1012,7 +1012,7 @@ function NavigationMenuLink({
|
|
|
1012
1012
|
{
|
|
1013
1013
|
"data-slot": "navigation-menu-link",
|
|
1014
1014
|
className: cn(
|
|
1015
|
-
"data-[active=true]:focus:bg-
|
|
1015
|
+
"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",
|
|
1016
1016
|
className
|
|
1017
1017
|
),
|
|
1018
1018
|
...props
|
|
@@ -2,26 +2,20 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { P as PatternName } from './pattern-background-a7gKHzHy.cjs';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.cjs';
|
|
5
|
+
import { L as LogoConfig } from './types-D2b35ylu.cjs';
|
|
5
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-Cohq4eio.cjs';
|
|
6
7
|
import 'class-variance-authority';
|
|
7
8
|
import './button-variants-lRElsmTc.cjs';
|
|
8
9
|
import 'class-variance-authority/types';
|
|
9
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Navigation item with icon for compact navbar display
|
|
13
|
+
*/
|
|
10
14
|
interface NavItem {
|
|
11
15
|
title: string;
|
|
12
16
|
url: string;
|
|
13
17
|
icon: string;
|
|
14
18
|
}
|
|
15
|
-
/**
|
|
16
|
-
* Logo configuration interface
|
|
17
|
-
*/
|
|
18
|
-
interface LogoConfig {
|
|
19
|
-
url?: string;
|
|
20
|
-
src?: string;
|
|
21
|
-
alt?: string;
|
|
22
|
-
title?: React.ReactNode;
|
|
23
|
-
className?: string;
|
|
24
|
-
}
|
|
25
19
|
/**
|
|
26
20
|
* Props for the NavbarIconLinks component
|
|
27
21
|
*/
|
|
@@ -2,26 +2,20 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { P as PatternName } from './pattern-background-a7gKHzHy.js';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.js';
|
|
5
|
+
import { L as LogoConfig } from './types-D2b35ylu.js';
|
|
5
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-k17uluAz.js';
|
|
6
7
|
import 'class-variance-authority';
|
|
7
8
|
import './button-variants-lRElsmTc.js';
|
|
8
9
|
import 'class-variance-authority/types';
|
|
9
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Navigation item with icon for compact navbar display
|
|
13
|
+
*/
|
|
10
14
|
interface NavItem {
|
|
11
15
|
title: string;
|
|
12
16
|
url: string;
|
|
13
17
|
icon: string;
|
|
14
18
|
}
|
|
15
|
-
/**
|
|
16
|
-
* Logo configuration interface
|
|
17
|
-
*/
|
|
18
|
-
interface LogoConfig {
|
|
19
|
-
url?: string;
|
|
20
|
-
src?: string;
|
|
21
|
-
alt?: string;
|
|
22
|
-
title?: React.ReactNode;
|
|
23
|
-
className?: string;
|
|
24
|
-
}
|
|
25
19
|
/**
|
|
26
20
|
* Props for the NavbarIconLinks component
|
|
27
21
|
*/
|
|
@@ -932,7 +932,7 @@ function NavigationMenuList({
|
|
|
932
932
|
{
|
|
933
933
|
"data-slot": "navigation-menu-list",
|
|
934
934
|
className: cn(
|
|
935
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
935
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
936
936
|
className
|
|
937
937
|
),
|
|
938
938
|
...props
|
|
@@ -953,7 +953,7 @@ function NavigationMenuItem({
|
|
|
953
953
|
);
|
|
954
954
|
}
|
|
955
955
|
cva(
|
|
956
|
-
"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-
|
|
956
|
+
"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"
|
|
957
957
|
);
|
|
958
958
|
function NavigationMenuViewport({
|
|
959
959
|
className,
|
|
@@ -988,7 +988,7 @@ function NavigationMenuLink({
|
|
|
988
988
|
{
|
|
989
989
|
"data-slot": "navigation-menu-link",
|
|
990
990
|
className: cn(
|
|
991
|
-
"data-[active=true]:focus:bg-
|
|
991
|
+
"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",
|
|
992
992
|
className
|
|
993
993
|
),
|
|
994
994
|
...props
|
|
@@ -954,7 +954,7 @@ function NavigationMenuList({
|
|
|
954
954
|
{
|
|
955
955
|
"data-slot": "navigation-menu-list",
|
|
956
956
|
className: cn(
|
|
957
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
957
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
958
958
|
className
|
|
959
959
|
),
|
|
960
960
|
...props
|
|
@@ -975,7 +975,7 @@ function NavigationMenuItem({
|
|
|
975
975
|
);
|
|
976
976
|
}
|
|
977
977
|
var navigationMenuTriggerStyle = classVarianceAuthority.cva(
|
|
978
|
-
"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-
|
|
978
|
+
"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"
|
|
979
979
|
);
|
|
980
980
|
function NavigationMenuTrigger({
|
|
981
981
|
className,
|
|
@@ -995,7 +995,7 @@ function NavigationMenuTrigger({
|
|
|
995
995
|
DynamicIcon,
|
|
996
996
|
{
|
|
997
997
|
name: "lucide/chevron-down",
|
|
998
|
-
className: "relative top-[1px] ml-1 size-
|
|
998
|
+
className: "relative top-[1px] ml-1 size-2 transition duration-300 group-data-[state=open]:rotate-180",
|
|
999
999
|
"aria-hidden": "true"
|
|
1000
1000
|
}
|
|
1001
1001
|
)
|
|
@@ -1053,7 +1053,7 @@ function NavigationMenuLink({
|
|
|
1053
1053
|
{
|
|
1054
1054
|
"data-slot": "navigation-menu-link",
|
|
1055
1055
|
className: cn(
|
|
1056
|
-
"data-[active=true]:focus:bg-
|
|
1056
|
+
"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",
|
|
1057
1057
|
className
|
|
1058
1058
|
),
|
|
1059
1059
|
...props
|
|
@@ -1255,6 +1255,11 @@ var imagePlaceholders = [
|
|
|
1255
1255
|
"https://toastability-production.s3.amazonaws.com/e13qu3083lkhdg7th64vb628172a",
|
|
1256
1256
|
"https://toastability-production.s3.amazonaws.com/w87w0fyjdol9yzwo7yywkgxidvzo"
|
|
1257
1257
|
];
|
|
1258
|
+
|
|
1259
|
+
// components/blocks/navbars/types.ts
|
|
1260
|
+
function getLinkUrl(item) {
|
|
1261
|
+
return item.href || item.url || "#";
|
|
1262
|
+
}
|
|
1258
1263
|
var MOBILE_BREAKPOINT = 1024;
|
|
1259
1264
|
var NavbarImagePreview = ({
|
|
1260
1265
|
className,
|
|
@@ -1401,7 +1406,7 @@ var NavbarImagePreview = ({
|
|
|
1401
1406
|
containerClassName
|
|
1402
1407
|
),
|
|
1403
1408
|
ref: navRef,
|
|
1404
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container border-b", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1409
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container border-b border-border/50 shadow-sm", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1405
1410
|
"div",
|
|
1406
1411
|
{
|
|
1407
1412
|
className: cn(
|
|
@@ -1481,7 +1486,7 @@ var DesktopMenuItem = ({
|
|
|
1481
1486
|
};
|
|
1482
1487
|
if (item.links) {
|
|
1483
1488
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
1484
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "bg-transparent", children: item.title }),
|
|
1489
|
+
/* @__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 }),
|
|
1485
1490
|
/* @__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: [
|
|
1486
1491
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-square w-full overflow-hidden rounded-xl", children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1487
1492
|
img.Img,
|
|
@@ -1503,14 +1508,14 @@ var DesktopMenuItem = ({
|
|
|
1503
1508
|
/* @__PURE__ */ jsxRuntime.jsx("ul", { children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1504
1509
|
Pressable,
|
|
1505
1510
|
{
|
|
1506
|
-
href: link
|
|
1511
|
+
href: getLinkUrl(link),
|
|
1507
1512
|
className: "flex items-center gap-4 rounded-lg px-4 py-3 hover:bg-muted",
|
|
1508
1513
|
"data-index": linkIndex,
|
|
1509
1514
|
onMouseEnter: handleMouseEnter,
|
|
1510
1515
|
onMouseLeave: handleMouseLeave,
|
|
1511
1516
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1512
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "leading-normal font-medium", children: link.label }),
|
|
1513
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "leading-normal text-muted-foreground", children: link.description })
|
|
1517
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm leading-normal font-medium", children: link.label }),
|
|
1518
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs leading-normal text-muted-foreground", children: link.description })
|
|
1514
1519
|
] })
|
|
1515
1520
|
}
|
|
1516
1521
|
) }, `desktop-nav-sublink-${linkIndex}`)) })
|
|
@@ -1522,7 +1527,7 @@ var DesktopMenuItem = ({
|
|
|
1522
1527
|
NavigationMenuItem,
|
|
1523
1528
|
{
|
|
1524
1529
|
value: `${index}`,
|
|
1525
|
-
className: `${navigationMenuTriggerStyle()} bg-transparent`,
|
|
1530
|
+
className: `${navigationMenuTriggerStyle()} bg-transparent text-foreground/80 hover:bg-muted hover:text-foreground`,
|
|
1526
1531
|
children: /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuLink, { href: item.url, children: item.title })
|
|
1527
1532
|
},
|
|
1528
1533
|
`desktop-menu-item-${index}`
|
|
@@ -1553,7 +1558,7 @@ var MobileNavigationMenu = ({
|
|
|
1553
1558
|
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-3", children: item.links?.map((link, i) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1554
1559
|
Pressable,
|
|
1555
1560
|
{
|
|
1556
|
-
href: link
|
|
1561
|
+
href: getLinkUrl(link),
|
|
1557
1562
|
className: cn(
|
|
1558
1563
|
"text-primary-foreground leading-normal font-medium",
|
|
1559
1564
|
index === 0 ? "text-2xl" : "text-base"
|
|
@@ -2,17 +2,17 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { P as PatternName } from './pattern-background-a7gKHzHy.cjs';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.cjs';
|
|
5
|
+
import { L as LogoConfig, b as ILinkItem } from './types-D2b35ylu.cjs';
|
|
5
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-Cohq4eio.cjs';
|
|
6
7
|
import 'class-variance-authority';
|
|
7
8
|
import './button-variants-lRElsmTc.cjs';
|
|
8
9
|
import 'class-variance-authority/types';
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
11
|
+
/**
|
|
12
|
+
* MenuLink type alias for backward compatibility
|
|
13
|
+
* Uses shared ILinkItem which supports both href and url
|
|
14
|
+
*/
|
|
15
|
+
type MenuLink = ILinkItem;
|
|
16
16
|
interface MenuItem {
|
|
17
17
|
title: React.ReactNode;
|
|
18
18
|
url?: string;
|
|
@@ -25,16 +25,6 @@ interface SocialLink {
|
|
|
25
25
|
icon?: React.ReactNode;
|
|
26
26
|
iconName?: string;
|
|
27
27
|
}
|
|
28
|
-
/**
|
|
29
|
-
* Logo configuration interface
|
|
30
|
-
*/
|
|
31
|
-
interface LogoConfig {
|
|
32
|
-
url?: string;
|
|
33
|
-
src?: string;
|
|
34
|
-
alt?: string;
|
|
35
|
-
title?: React.ReactNode;
|
|
36
|
-
className?: string;
|
|
37
|
-
}
|
|
38
28
|
/**
|
|
39
29
|
* Props for the NavbarImagePreview component
|
|
40
30
|
*/
|
|
@@ -2,17 +2,17 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { P as PatternName } from './pattern-background-a7gKHzHy.js';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.js';
|
|
5
|
+
import { L as LogoConfig, b as ILinkItem } from './types-D2b35ylu.js';
|
|
5
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-k17uluAz.js';
|
|
6
7
|
import 'class-variance-authority';
|
|
7
8
|
import './button-variants-lRElsmTc.js';
|
|
8
9
|
import 'class-variance-authority/types';
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
11
|
+
/**
|
|
12
|
+
* MenuLink type alias for backward compatibility
|
|
13
|
+
* Uses shared ILinkItem which supports both href and url
|
|
14
|
+
*/
|
|
15
|
+
type MenuLink = ILinkItem;
|
|
16
16
|
interface MenuItem {
|
|
17
17
|
title: React.ReactNode;
|
|
18
18
|
url?: string;
|
|
@@ -25,16 +25,6 @@ interface SocialLink {
|
|
|
25
25
|
icon?: React.ReactNode;
|
|
26
26
|
iconName?: string;
|
|
27
27
|
}
|
|
28
|
-
/**
|
|
29
|
-
* Logo configuration interface
|
|
30
|
-
*/
|
|
31
|
-
interface LogoConfig {
|
|
32
|
-
url?: string;
|
|
33
|
-
src?: string;
|
|
34
|
-
alt?: string;
|
|
35
|
-
title?: React.ReactNode;
|
|
36
|
-
className?: string;
|
|
37
|
-
}
|
|
38
28
|
/**
|
|
39
29
|
* Props for the NavbarImagePreview component
|
|
40
30
|
*/
|
|
@@ -931,7 +931,7 @@ function NavigationMenuList({
|
|
|
931
931
|
{
|
|
932
932
|
"data-slot": "navigation-menu-list",
|
|
933
933
|
className: cn(
|
|
934
|
-
"group flex flex-1 list-none items-center justify-center gap-
|
|
934
|
+
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
935
935
|
className
|
|
936
936
|
),
|
|
937
937
|
...props
|
|
@@ -952,7 +952,7 @@ function NavigationMenuItem({
|
|
|
952
952
|
);
|
|
953
953
|
}
|
|
954
954
|
var navigationMenuTriggerStyle = cva(
|
|
955
|
-
"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-
|
|
955
|
+
"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"
|
|
956
956
|
);
|
|
957
957
|
function NavigationMenuTrigger({
|
|
958
958
|
className,
|
|
@@ -972,7 +972,7 @@ function NavigationMenuTrigger({
|
|
|
972
972
|
DynamicIcon,
|
|
973
973
|
{
|
|
974
974
|
name: "lucide/chevron-down",
|
|
975
|
-
className: "relative top-[1px] ml-1 size-
|
|
975
|
+
className: "relative top-[1px] ml-1 size-2 transition duration-300 group-data-[state=open]:rotate-180",
|
|
976
976
|
"aria-hidden": "true"
|
|
977
977
|
}
|
|
978
978
|
)
|
|
@@ -1030,7 +1030,7 @@ function NavigationMenuLink({
|
|
|
1030
1030
|
{
|
|
1031
1031
|
"data-slot": "navigation-menu-link",
|
|
1032
1032
|
className: cn(
|
|
1033
|
-
"data-[active=true]:focus:bg-
|
|
1033
|
+
"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",
|
|
1034
1034
|
className
|
|
1035
1035
|
),
|
|
1036
1036
|
...props
|
|
@@ -1232,6 +1232,11 @@ var imagePlaceholders = [
|
|
|
1232
1232
|
"https://toastability-production.s3.amazonaws.com/e13qu3083lkhdg7th64vb628172a",
|
|
1233
1233
|
"https://toastability-production.s3.amazonaws.com/w87w0fyjdol9yzwo7yywkgxidvzo"
|
|
1234
1234
|
];
|
|
1235
|
+
|
|
1236
|
+
// components/blocks/navbars/types.ts
|
|
1237
|
+
function getLinkUrl(item) {
|
|
1238
|
+
return item.href || item.url || "#";
|
|
1239
|
+
}
|
|
1235
1240
|
var MOBILE_BREAKPOINT = 1024;
|
|
1236
1241
|
var NavbarImagePreview = ({
|
|
1237
1242
|
className,
|
|
@@ -1378,7 +1383,7 @@ var NavbarImagePreview = ({
|
|
|
1378
1383
|
containerClassName
|
|
1379
1384
|
),
|
|
1380
1385
|
ref: navRef,
|
|
1381
|
-
children: /* @__PURE__ */ jsx("div", { className: "container border-b", children: /* @__PURE__ */ jsxs(
|
|
1386
|
+
children: /* @__PURE__ */ jsx("div", { className: "container border-b border-border/50 shadow-sm", children: /* @__PURE__ */ jsxs(
|
|
1382
1387
|
"div",
|
|
1383
1388
|
{
|
|
1384
1389
|
className: cn(
|
|
@@ -1458,7 +1463,7 @@ var DesktopMenuItem = ({
|
|
|
1458
1463
|
};
|
|
1459
1464
|
if (item.links) {
|
|
1460
1465
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
|
|
1461
|
-
/* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "bg-transparent", children: item.title }),
|
|
1466
|
+
/* @__PURE__ */ 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 }),
|
|
1462
1467
|
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "rounded-2xl! p-0!", children: /* @__PURE__ */ jsxs("div", { className: "grid min-h-75 w-181 grid-cols-[22.5rem_1fr] gap-4 p-3", children: [
|
|
1463
1468
|
/* @__PURE__ */ jsx("div", { className: "relative aspect-square w-full overflow-hidden rounded-xl", children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsx(
|
|
1464
1469
|
Img,
|
|
@@ -1480,14 +1485,14 @@ var DesktopMenuItem = ({
|
|
|
1480
1485
|
/* @__PURE__ */ jsx("ul", { children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
1481
1486
|
Pressable,
|
|
1482
1487
|
{
|
|
1483
|
-
href: link
|
|
1488
|
+
href: getLinkUrl(link),
|
|
1484
1489
|
className: "flex items-center gap-4 rounded-lg px-4 py-3 hover:bg-muted",
|
|
1485
1490
|
"data-index": linkIndex,
|
|
1486
1491
|
onMouseEnter: handleMouseEnter,
|
|
1487
1492
|
onMouseLeave: handleMouseLeave,
|
|
1488
1493
|
children: /* @__PURE__ */ jsxs("div", { children: [
|
|
1489
|
-
/* @__PURE__ */ jsx("h3", { className: "leading-normal font-medium", children: link.label }),
|
|
1490
|
-
/* @__PURE__ */ jsx("p", { className: "leading-normal text-muted-foreground", children: link.description })
|
|
1494
|
+
/* @__PURE__ */ jsx("h3", { className: "text-sm leading-normal font-medium", children: link.label }),
|
|
1495
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs leading-normal text-muted-foreground", children: link.description })
|
|
1491
1496
|
] })
|
|
1492
1497
|
}
|
|
1493
1498
|
) }, `desktop-nav-sublink-${linkIndex}`)) })
|
|
@@ -1499,7 +1504,7 @@ var DesktopMenuItem = ({
|
|
|
1499
1504
|
NavigationMenuItem,
|
|
1500
1505
|
{
|
|
1501
1506
|
value: `${index}`,
|
|
1502
|
-
className: `${navigationMenuTriggerStyle()} bg-transparent`,
|
|
1507
|
+
className: `${navigationMenuTriggerStyle()} bg-transparent text-foreground/80 hover:bg-muted hover:text-foreground`,
|
|
1503
1508
|
children: /* @__PURE__ */ jsx(NavigationMenuLink, { href: item.url, children: item.title })
|
|
1504
1509
|
},
|
|
1505
1510
|
`desktop-menu-item-${index}`
|
|
@@ -1530,7 +1535,7 @@ var MobileNavigationMenu = ({
|
|
|
1530
1535
|
/* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-3", children: item.links?.map((link, i) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
1531
1536
|
Pressable,
|
|
1532
1537
|
{
|
|
1533
|
-
href: link
|
|
1538
|
+
href: getLinkUrl(link),
|
|
1534
1539
|
className: cn(
|
|
1535
1540
|
"text-primary-foreground leading-normal font-medium",
|
|
1536
1541
|
index === 0 ? "text-2xl" : "text-base"
|