A Next.js 14 application delivering the creator β upload β library β play loop with authentication, Prisma/Postgres, S3-compatible storage, search, and analytics.
41a1d8d verified Download src/components/auth/SignInButton.tsx from kingarnica/echosphere-audio-visualizer: direct link, hf CLI and curl.
- Browser
- Download file 295 Bytes
-
https://huggingface.co/spaces/kingarnica/echosphere-audio-visualizer/resolve/main/src/components/auth/SignInButton.tsx
- Command line
-
hf download hf://spaces/kingarnica/echosphere-audio-visualizer/src/components/auth/SignInButton.tsx
-
curl -L -o SignInButton.tsx https://huggingface.co/spaces/kingarnica/echosphere-audio-visualizer/resolve/main/src/components/auth/SignInButton.tsx
295 Bytes
| ```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> | |
| ) | |
| } | |
| ``` |