A Next.js 14 application delivering the creator β upload β library β play loop with authentication, Prisma/Postgres, S3-compatible storage, search, and analytics.
41a1d8d
verified
| ```typescript | |
| "use client" | |
| import { signIn } from "next-auth/react" | |
| export function SignInButton() { | |
| return ( | |
| <button | |
| onClick={() => signIn()} | |
| className="bg-indigo-600 text-white px-4 py-2 rounded-md hover:bg-indigo-700 transition" | |
| > | |
| Sign In | |
| </button> | |
| ) | |
| } | |
| ``` |