From a75ea54d55d755fa873cbb0795bee8a5ba06eafe Mon Sep 17 00:00:00 2001 From: Mohit Thapa Date: Wed, 3 Dec 2025 21:27:49 +0545 Subject: [PATCH] fix: navbar responsive issue --- .../components/landing-sections/navbar.tsx | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/apps/web/src/components/landing-sections/navbar.tsx b/apps/web/src/components/landing-sections/navbar.tsx index a38855c..e39fec0 100644 --- a/apps/web/src/components/landing-sections/navbar.tsx +++ b/apps/web/src/components/landing-sections/navbar.tsx @@ -46,26 +46,26 @@ const Navbar = () => { return ( -
+
-
-
+
+
background { className="object-cover w-full h-full" />
- Opensox AI + Opensox AI
-
+
{links.map((link, index) => { const isActive = pathname === link.href; return ( @@ -84,7 +84,7 @@ const Navbar = () => { key={index} href={link.href} className={cn( - "cursor-pointer hover:text-white", + "cursor-pointer hover:text-white whitespace-nowrap transition-colors", isActive && "text-white" )} > @@ -93,19 +93,19 @@ const Navbar = () => { ); })}
-
+
Contribute - - + + Get Started @@ -115,14 +115,14 @@ const Navbar = () => { initial={{ opacity: 0, y: -10 }} animate={{ opacity: 1, y: 0 }} transition={{ duration: 0.25 }} - className="absolute top-full mt-2 left-0 w-full bg-neutral-900/90 backdrop-blur-xl border border-white/10 md:hidden flex flex-col items-center py-5 space-y-4 z-50 rounded-3xl" + className="absolute top-full mt-2 left-0 w-full bg-neutral-900/90 backdrop-blur-xl border border-white/10 lg:hidden flex flex-col items-center py-5 space-y-4 z-50 rounded-3xl" > {links.map((link, index) => ( setIsOpen(false)} - className="text-white hover:text-gray-300 text-lg" + className="text-white hover:text-gray-300 text-base sm:text-lg" > {link.name}