diff --git a/components/common/Navbar.js b/components/common/Navbar.js index eb20f087..c0374826 100644 --- a/components/common/Navbar.js +++ b/components/common/Navbar.js @@ -356,16 +356,16 @@ const Navbar = () => { onClick={() => { router.push('/'); setTimeout(() => { - const contacts = document.getElementById('contactus'); + const contacts = document.getElementById('contact_us'); if (contacts) contacts.scrollIntoView(); //onClick(); }, 10); }} - className={`${styles.lnk} ${contactActive ? styles.active : ''} ${ - navbar && styles.nav_active + className={`${styles.lnk} ${contactActive ? styles.active : ' '} ${ + navbar && styles.nav_active }`} > - Contact Us + Contact Us diff --git a/pages/index.js b/pages/index.js index 7b5a4a11..636e63bd 100644 --- a/pages/index.js +++ b/pages/index.js @@ -245,8 +245,8 @@ export default function Home() { {/* */} -