Skip to content

Commit

Permalink
add tittle to the nav link
Browse files Browse the repository at this point in the history
  • Loading branch information
mlsmaycon committed Dec 23, 2024
1 parent 8ef3f4a commit bf2c616
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/NavigationAPI.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit bf2c616

Please sign in to comment.