mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-28 04:33:42 +08:00
[portal][nav] change navbar font weights
This commit is contained in:
@ -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}
|
||||||
|
Reference in New Issue
Block a user