Bold selected text in admin nav

This commit is contained in:
Sam Becker 2023-10-05 22:04:26 -05:00
parent c9599120d2
commit 35af0057c2

View File

@ -28,7 +28,7 @@ export default function AdminNav({
href={href}
className={cc(
'flex gap-0.5',
!pathname.startsWith(href) && 'text-dim',
pathname.startsWith(href) ? 'font-bold' : 'text-dim',
)}
>
<span>{label}</span>