[portal][nav] change navbar font weights

This commit is contained in:
Yangshun Tay
2022-10-26 16:27:05 +08:00
parent a7e07008b8
commit 84c3caeb1c

View File

@ -27,7 +27,7 @@ export default function ProductNavigation({ items, title, titleHref }: Props) {
return ( return (
<nav aria-label="Global" className="flex h-full items-center space-x-8"> <nav aria-label="Global" className="flex h-full items-center space-x-8">
<Link <Link
className="hover:text-primary-700 text-sm font-bold text-slate-900" className="hover:text-primary-700 text-sm font-medium"
href={titleHref}> href={titleHref}>
{title} {title}
</Link> </Link>
@ -81,7 +81,7 @@ export default function ProductNavigation({ items, title, titleHref }: Props) {
<Link <Link
key={item.name} key={item.name}
className={clsx( className={clsx(
'hover:text-primary-600 inline-flex h-full items-center border-y-2 border-t-transparent text-sm font-medium text-slate-900', 'hover:text-primary-600 inline-flex h-full items-center border-y-2 border-t-transparent text-sm text-slate-900',
isActive ? 'border-b-primary-500' : 'border-b-transparent', isActive ? 'border-b-primary-500' : 'border-b-transparent',
)} )}
href={item.href} href={item.href}