add tittle to the nav link

This commit is contained in:
Maycon Santos
2024-12-23 16:52:19 +01:00
parent 8ef3f4a37c
commit bf2c616dce

View File

@@ -87,6 +87,7 @@ export function NavLink({ href, tag, active, isAnchorLink = false, children, lin
href={href ? href : "#"}
data-nb-link={active ? 1 : 0}
aria-current={active ? 'page' : undefined}
title={children}
className={clsx(
'flex justify-between gap-2 py-1 pr-3 text-sm transition',
isAnchorLink ? 'pl-7' : 'pl-4',