From 212148d77c665d40e1d377c3fa9ec961935211d7 Mon Sep 17 00:00:00 2001 From: Harshit Singh <114082380+Harshit7492@users.noreply.github.com> Date: Tue, 9 Jan 2024 22:43:06 +0530 Subject: [PATCH 1/4] updated dependencies --- components/common/Navbar.js | 2 +- pages/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/common/Navbar.js b/components/common/Navbar.js index eb20f087..c11978dd 100644 --- a/components/common/Navbar.js +++ b/components/common/Navbar.js @@ -356,7 +356,7 @@ const Navbar = () => { onClick={() => { router.push('/'); setTimeout(() => { - const contacts = document.getElementById('contactus'); + const contacts = document.getElementById('contact_us'); if (contacts) contacts.scrollIntoView(); //onClick(); }, 10); 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() { {/* */} -

- Get In Touch With Us +

+ Get In Touch With Us

From 727ac751b5ee194214fad45ee884805ed7a61c7a Mon Sep 17 00:00:00 2001 From: Harshit Singh <114082380+Harshit7492@users.noreply.github.com> Date: Tue, 9 Jan 2024 23:17:25 +0530 Subject: [PATCH 2/4] updated all dependencies --- components/common/Navbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/common/Navbar.js b/components/common/Navbar.js index c11978dd..844ab3af 100644 --- a/components/common/Navbar.js +++ b/components/common/Navbar.js @@ -365,7 +365,7 @@ const Navbar = () => { navbar && styles.nav_active }`} > - Contact Us + Contact Us From 4b1cff8b521d1ab63a80abc1844b052f6b6d3a0c Mon Sep 17 00:00:00 2001 From: Harshit Singh <114082380+Harshit7492@users.noreply.github.com> Date: Wed, 10 Jan 2024 00:15:09 +0530 Subject: [PATCH 3/4] updated dependencies --- components/common/Navbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/common/Navbar.js b/components/common/Navbar.js index 844ab3af..a32cf838 100644 --- a/components/common/Navbar.js +++ b/components/common/Navbar.js @@ -362,7 +362,7 @@ const Navbar = () => { }, 10); }} className={`${styles.lnk} ${contactActive ? styles.active : ''} ${ - navbar && styles.nav_active + navbar && styles.nav_active }`} > Contact Us From 6aaaaef61b878a40d030d41d3cca0df16455cf24 Mon Sep 17 00:00:00 2001 From: Harshit Singh <114082380+Harshit7492@users.noreply.github.com> Date: Wed, 10 Jan 2024 00:40:05 +0530 Subject: [PATCH 4/4] all changes done --- components/common/Navbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/common/Navbar.js b/components/common/Navbar.js index a32cf838..c0374826 100644 --- a/components/common/Navbar.js +++ b/components/common/Navbar.js @@ -361,7 +361,7 @@ const Navbar = () => { //onClick(); }, 10); }} - className={`${styles.lnk} ${contactActive ? styles.active : ''} ${ + className={`${styles.lnk} ${contactActive ? styles.active : ' '} ${ navbar && styles.nav_active }`} >