From 2d6c369942431a59785395b58bc3d40e17a849b5 Mon Sep 17 00:00:00 2001 From: Abhijit Prajapati Date: Tue, 18 Nov 2025 01:11:40 +0530 Subject: [PATCH 1/2] navbar repetition fix --- apps/web/src/app/(main)/(landing)/layout.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/web/src/app/(main)/(landing)/layout.tsx b/apps/web/src/app/(main)/(landing)/layout.tsx index 3a5bdbe5..1ca3e604 100644 --- a/apps/web/src/app/(main)/(landing)/layout.tsx +++ b/apps/web/src/app/(main)/(landing)/layout.tsx @@ -1,10 +1,8 @@ -import Navbar from '@/components/landing-sections/navbar' import React from 'react' const Layout = ({ children }: { children: React.ReactNode }) => { return (
- {children}
) From 071e6e17a8fb83a4e336cdb080445615df389fa7 Mon Sep 17 00:00:00 2001 From: Abhijit Prajapati Date: Sun, 30 Nov 2025 01:21:02 +0530 Subject: [PATCH 2/2] fix : navbar UI fix --- apps/web/src/components/landing-sections/navbar.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/apps/web/src/components/landing-sections/navbar.tsx b/apps/web/src/components/landing-sections/navbar.tsx index 82524471..78866a26 100644 --- a/apps/web/src/components/landing-sections/navbar.tsx +++ b/apps/web/src/components/landing-sections/navbar.tsx @@ -57,7 +57,7 @@ const Navbar = () => { >
-
+
{links.map((link, index) => { const isActive = pathname === link.href; return ( @@ -98,7 +100,7 @@ const Navbar = () => { href="https://github.com/apsinghdev/opensox" target="_blank" rel="noopener noreferrer" - className="hidden lg:flex items-center gap-2 px-4 py-2.5 bg-[#0d1117] hover:bg-[#161b22] transition-colors rounded-lg border border-[#30363d] text-white" + className="hidden min-[1115px]:flex items-center gap-2 px-4 py-2.5 bg-[#0d1117] hover:bg-[#161b22] transition-colors rounded-lg border border-[#30363d] text-white" > Contribute @@ -115,7 +117,7 @@ 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 min-[1115px]:hidden flex flex-col items-center py-5 space-y-4 z-50 rounded-3xl" > {links.map((link, index) => (