|
|
|
@ -83,7 +83,12 @@ export const Navbar = ({
|
|
|
|
className='hidden sm:flex'>
|
|
|
|
className='hidden sm:flex'>
|
|
|
|
<NextLink
|
|
|
|
<NextLink
|
|
|
|
className={clsx(
|
|
|
|
className={clsx(
|
|
|
|
linkStyles({ color: 'foreground' }),
|
|
|
|
linkStyles({
|
|
|
|
|
|
|
|
color:
|
|
|
|
|
|
|
|
item.href === pathname
|
|
|
|
|
|
|
|
? 'primary'
|
|
|
|
|
|
|
|
: 'foreground',
|
|
|
|
|
|
|
|
}),
|
|
|
|
'data-[active=true]:font-medium data-[active=true]:text-primary'
|
|
|
|
'data-[active=true]:font-medium data-[active=true]:text-primary'
|
|
|
|
)}
|
|
|
|
)}
|
|
|
|
color='foreground'
|
|
|
|
color='foreground'
|
|
|
|
@ -170,7 +175,11 @@ export const Navbar = ({
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<NavbarMenuItem key={`${item}-${index}`}>
|
|
|
|
<NavbarMenuItem key={`${item}-${index}`}>
|
|
|
|
<Link
|
|
|
|
<Link
|
|
|
|
color={'foreground'}
|
|
|
|
color={
|
|
|
|
|
|
|
|
item.href === pathname
|
|
|
|
|
|
|
|
? 'primary'
|
|
|
|
|
|
|
|
: 'foreground'
|
|
|
|
|
|
|
|
}
|
|
|
|
href={item.href}
|
|
|
|
href={item.href}
|
|
|
|
size='lg'>
|
|
|
|
size='lg'>
|
|
|
|
{item.label}
|
|
|
|
{item.label}
|
|
|
|
|