From 8b2c8b66498f6a236f5d58dde047db2699534357 Mon Sep 17 00:00:00 2001 From: Harsh Upadhye Date: Sat, 29 Jul 2023 23:31:28 +0530 Subject: [PATCH 1/3] fixed and updated --- components/Navbar.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 0e96b97f3..8a4c2073b 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -60,7 +60,8 @@ const Navbar: NextPage = () => { target="_blank" rel="noopener noreferrer" className={ - activePath === navLink.path + activePath === navLink.path || + activePath === navLink.path + "/" ? "inline-block py-2 px-3 text-center text-primary hover:text-primary rounded-lg" : "inline-block py-2 px-3 text-center text-white hover:text-primary rounded-lg" } @@ -71,7 +72,8 @@ const Navbar: NextPage = () => { Date: Sat, 29 Jul 2023 23:39:30 +0530 Subject: [PATCH 2/3] updated --- components/Navbar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 8a4c2073b..cd848353e 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -66,7 +66,7 @@ const Navbar: NextPage = () => { : "inline-block py-2 px-3 text-center text-white hover:text-primary rounded-lg" } > - {navLink.name} + {navLink.name} ) : ( Date: Sun, 30 Jul 2023 21:48:05 +0530 Subject: [PATCH 3/3] updated --- components/Banner.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/components/Banner.tsx b/components/Banner.tsx index 1fbb33533..93e0a6cfe 100644 --- a/components/Banner.tsx +++ b/components/Banner.tsx @@ -31,22 +31,22 @@ export default function Banner() {
- - Showcase your projects - - + Why should you use this? + + - Why should you use this? - + className="text-base font-semibold leading-7 text-primary"> + Showcase your projects +