Initial commit from Create Next App

This commit is contained in:
Atakan Doğan Özban
2026-07-12 15:40:35 +02:00
commit 4f29120768
52 changed files with 10164 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
"use client";
import { signIn } from "next-auth/react";
type Props = {
large?: boolean;
};
export function SignInButton({ large }: Props) {
return (
<button
onClick={() => signIn("google", { callbackUrl: "/dashboard" })}
className={`rounded bg-white font-medium text-gray-900 transition-colors hover:bg-gray-100 ${
large ? "px-8 py-3 text-base" : "px-4 py-2 text-sm"
}`}
>
Sign in with Google
</button>
);
}