@@ -58,57 +58,69 @@ const externalLinks: NavLink[] = [
5858const MobileMenu : React . FC < MobileMenuProps > = ( { setShowMobileMenu, auth } ) => {
5959 console . log ( auth , "auth" ) ;
6060 return (
61- < div className = "overflow-auto fixed top-0 left-0 z-40 px-4 w-full h-full bg-gray-2 block md:hidden" >
61+ < div className = "block overflow-auto fixed top-0 left-0 z-40 px-4 w-full h-full bg-gray-2 md:hidden" >
6262 < div className = "pb-12" >
6363 < nav className = "relative mt-24 mobile" >
6464 < ul className = "p-0 space-y-4" >
6565 { internalLinks . map ( ( link , index ) => (
66- < li key = { `internal-${ index } ` } >
66+ < li key = { `internal-${ index . toString ( ) } ` } >
6767 < Link
6868 onClick = { ( ) => setShowMobileMenu ( false ) }
6969 href = { link . href }
7070 passHref
71- className = "text-lg text-black "
71+ className = "text-lg font-medium text-gray-12 "
7272 >
7373 { link . text }
7474 </ Link >
7575 </ li >
7676 ) ) }
7777 < div className = "pt-5 pb-8 space-y-4" >
7878 { externalLinks . map ( ( link , index ) => (
79- < li key = { `external-${ index } ` } >
79+ < li key = { `external-${ index . toString ( ) } ` } >
8080 < Link
8181 href = { link . href }
8282 passHref
8383 target = "_blank"
84- className = "flex items-center text-lg text-black "
84+ className = "flex items-center text-lg text-gray-12 "
8585 >
8686 { link . icon }
87- < span className = "ml-2 text-lg text-black" > { link . text } </ span >
87+ < span className = "ml-2 text-lg font-medium text-gray-11" >
88+ { link . text }
89+ </ span >
8890 </ Link >
8991 </ li >
9092 ) ) }
9193 </ div >
9294 </ ul >
9395 < div className = "flex flex-col gap-4 items-center" >
9496 { auth === null && (
95- < Button
96- variant = "gray"
97- href = "/login"
98- size = "lg"
99- className = "w-full font-medium"
100- >
101- Login
102- </ Button >
97+ < >
98+ < Button
99+ variant = "dark"
100+ href = { auth ? "/dashboard" : "/signup" }
101+ size = "lg"
102+ className = "w-full font-medium sm:w-auto"
103+ >
104+ { auth ? "Dashboard" : "Sign Up" }
105+ </ Button >
106+ < Button
107+ variant = "gray"
108+ href = "/login"
109+ size = "lg"
110+ className = "w-full font-medium"
111+ >
112+ Login
113+ </ Button >
114+ </ >
103115 ) }
104116
105117 < Button
106- variant = "primary "
107- href = { auth === null ? "/download" : "/dashboard "}
118+ variant = "blue "
119+ href = { "/download" }
108120 size = "lg"
109- className = "w-full font-medium"
121+ className = "mt-6 w-full font-medium"
110122 >
111- { auth === null ? " Download App" : "Dashboard" }
123+ Download App
112124 </ Button >
113125 </ div >
114126 </ nav >
0 commit comments