Skip to content

Commit

Permalink
feat: added button to GitHub repo
Browse files Browse the repository at this point in the history
  • Loading branch information
FleetAdmiralJakob committed Oct 19, 2024
1 parent 16a3a9e commit 9f17438
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function SignInWithGitHub() {
type="button"
onClick={() => void signIn("github", { redirectTo: "/" })}
>
<GitHubLogoIcon className="mr-2 h-4 w-4" /> GitHub
Sign In
</Button>
);
}
Expand Down Expand Up @@ -79,6 +79,9 @@ export default function Header() {
<div className="">
<ThemeToggle />
</div>
<Button variant="outline" type="button">
<GitHubLogoIcon className="mr-2 h-4 w-4" /> Repo
</Button>
{!isAuthenticated ? (
<SignInWithGitHub />
) : (
Expand Down

0 comments on commit 9f17438

Please sign in to comment.