diff --git a/views/partials/head.ejs b/views/partials/head.ejs index f5ee55d..7a1ba49 100644 --- a/views/partials/head.ejs +++ b/views/partials/head.ejs @@ -51,4 +51,11 @@ .selected{ color: rgb(255, 189, 51)!important; } + .hidden{ + display: none; + } + .nav-link:hover, .navbar-brand:hover{ + color: #f0a400!important; + transition: all 0.5s; + } \ No newline at end of file diff --git a/views/partials/header.ejs b/views/partials/header.ejs index 19f4311..da98426 100644 --- a/views/partials/header.ejs +++ b/views/partials/header.ejs @@ -1,8 +1,12 @@ @@ -21,6 +22,7 @@ aTags.forEach(aTag => { if(aTag.getAttribute('href') == window.location.pathname){ aTag.classList.add('selected') + aTag.classList.remove('hidden') } }) \ No newline at end of file