handle active list header links

This commit is contained in:
Ehsan
2025-05-12 23:04:52 +03:30
parent 405c66d100
commit de1f307574
9 changed files with 15 additions and 19 deletions
+6 -7
View File
@@ -10,13 +10,12 @@ function Row({ name }) {
<Link
href={nav.link}
className={`
${
isActiveURL(nav.link.replace("/", ""), name)
? "!text-[#526CAC]"
: "text-[#525252]"
}
text-[16px] font-medium
`}
${nav.link === name
? "!text-[#526CAC]"
: "text-[#525252]"
}
text-[16px] font-medium
`}
>
{nav.name}
</Link>