Skip to content

Commit

Permalink
refactor: Fix login button on light mode (#6661)
Browse files Browse the repository at this point in the history
Co-authored-by: gitstart-sourcegraph <sourcegraph@gitstart.com>
  • Loading branch information
gitstart-app[bot] and gitstart-sourcegraph authored Dec 20, 2023
1 parent 328d4c6 commit 51f8ad1
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/components/Layout/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,18 @@ const HeaderContent: FunctionComponent<Props & { open: boolean; sticky: boolean;
)}
requestInfo={true}
/>
<Link href="https://sourcegraph.com/sign-in?returnTo=/cody/manage"
title="Get started with Cody"
className="btn btn-outline-white text-center"
type="button"
>
Login
<Link
href="https://sourcegraph.com/sign-in?returnTo=/cody/manage"
title="Get started with Cody"
className={classNames(
'btn text-center',
dark
? 'btn-outline-white'
: 'text-violet-500 outline outline-1 outline-violet-500 hover:text-violet-400 hover:outline-violet-400'
)}
type="button"
>
Login
</Link>
<button
type="button"
Expand Down

0 comments on commit 51f8ad1

Please sign in to comment.