@@ -79,33 +79,37 @@ export function Navbar({ links, CTAId, sections }: NavbarProps) {
7979 const isActive = ( href : string ) => active === href
8080 return (
8181 < div className = "z-100 sticky top-0 w-full p-9 px-[24px] lg:px-[60px] 2xl:px-[160px]" >
82- < GlassCard className = "flex items-center justify-between rounded-full pl-3 pr-5 backdrop-blur-md lg:pr-3" >
83- < div className = "flex w-[142px] items-center justify-center pt-1 lg:w-[120px] 2xl:w-[180px]" >
84- < NavLink href = { "/" } >
85- < Image
86- style = { { width : "100%" , height : "auto" , objectFit : "cover" } }
87- width = { 500 }
88- height = { 242 }
89- src = "/static/logo/Logo.webp"
90- alt = "Bangmod Hackathon"
91- />
92- </ NavLink >
82+ < GlassCard className = "grid grid-cols-3 items-center rounded-full pl-3 pr-5 backdrop-blur-md lg:pr-3" >
83+ < div className = "flex items-center justify-start" >
84+ < div className = "flex w-[142px] items-center justify-center lg:w-[120px] 2xl:w-[180px]" >
85+ < NavLink href = { "/" } >
86+ < Image
87+ style = { { width : "100%" , height : "auto" , objectFit : "cover" } }
88+ width = { 500 }
89+ height = { 242 }
90+ src = "/static/logo/Logo.webp"
91+ alt = "Bangmod Hackathon"
92+ />
93+ </ NavLink >
94+ </ div >
9395 </ div >
94- < div className = "hidden items-center lg:flex lg:gap-2 2xl:justify-between 2xl:gap-2.5" >
95- { links . map ( ( item , i ) => {
96- if ( item . type === "normal" && ! item . mobileOnly ) {
97- return (
98- < NavLink
99- key = { item . label }
100- className = { `rounded-full px-3 py-3 text-white lg:px-3 2xl:px-6 ${ isActive ( item . href . replace ( "#" , "" ) ) ? "text-nav-1-selected liquid" : "text-nav-2" } ` }
101- href = { item . href } >
102- { item . label }
103- </ NavLink >
104- )
105- } else return < Fragment key = { `${ item . label } -${ i } ` } > </ Fragment >
106- } ) }
96+ < div className = "flex items-center justify-center" >
97+ < div className = "hidden items-center lg:flex lg:gap-2 2xl:gap-2.5" >
98+ { links . map ( ( item , i ) => {
99+ if ( item . type === "normal" && ! item . mobileOnly ) {
100+ return (
101+ < NavLink
102+ key = { item . label }
103+ className = { `z-10 whitespace-nowrap rounded-full px-4 py-3 text-white 2xl:px-6 2xl:py-4 ${ isActive ( item . href . replace ( "#" , "" ) ) ? "text-nav-1-selected liquid" : "text-nav-2" } ` }
104+ href = { item . href } >
105+ { item . label }
106+ </ NavLink >
107+ )
108+ } else return < Fragment key = { `${ item . label } -${ i } ` } > </ Fragment >
109+ } ) }
110+ </ div >
107111 </ div >
108- < div className = "flex h-[70px] items-center" >
112+ < div className = "flex h-[70px] items-center justify-end " >
109113 { CTA [ CTAId ] }
110114 < Drawer >
111115 < DrawerTrigger asChild >
0 commit comments