Navbar buttons intended to show or hide based on the current page (pathname) are consistently displayed regardless of the active route. 