Add clg for testing

This commit is contained in:
Dilson's Pickles
2023-03-07 16:48:02 +00:00
parent 9397e586b0
commit 88d62bbab4

View File

@@ -28,6 +28,8 @@ function NavigationReact() {
const currentURL = "/" + window.location.href.split('/').pop();
const navLinkURL = navLink.href;
console.log(currentURL, navLinkURL);
return (
<a href={navLink.href} target={navLink.target} key={index} className={navLinkURL === currentURL ? 'underline underline-offset-4 text-gray-800' : 'font-regular text-gray-800 hover:text-blue-700'}>
{navLink.linkText}