diff --git a/src/components/github-sign-in.tsx b/src/components/github-sign-in.tsx new file mode 100644 index 0000000..85cd0dd --- /dev/null +++ b/src/components/github-sign-in.tsx @@ -0,0 +1,23 @@ +import { signIn } from "@/lib/auth"; +import { Button } from "@/components/ui/button"; + +export function GithubSignIn() { + return ( +
{ + "use server"; + await signIn("github"); + }} + > + +
+ ); +}