Skip to content

Commit

Permalink
feat: use a single mentor login button
Browse files Browse the repository at this point in the history
  • Loading branch information
harshkhandeparkar committed Nov 18, 2023
1 parent 1c61554 commit 40c8a3b
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,21 +69,9 @@ function LoginButton({ isMobile }: { isMobile: boolean }) {
src={`https://github.com/${authContext.userData.username}.png`}
/>
) : (
"MENTOR REGISTRATION"
"MENTOR LOGIN"
)}
</Link>
{!authContext.isAuthenticated && (
<Link
to={GH_OAUTH_URL}
className={
isMobile
? "flex justify-end pr-2 pt-2 font-semibold text-sm"
: "font-semibold"
}
>
SIGN IN
</Link>
)}
</>
);
}
Expand Down

0 comments on commit 40c8a3b

Please sign in to comment.