Spaces:
Runtime error
Runtime error
Download src/components/LoginButton.tsx from damndeepesh-dev/RippleWorkers: direct link, hf CLI and curl.
- Browser
- Download file 549 Bytes
-
https://huggingface.co/spaces/damndeepesh-dev/RippleWorkers/resolve/main/src/components/LoginButton.tsx
- Command line
-
hf download hf://spaces/damndeepesh-dev/RippleWorkers/src/components/LoginButton.tsx
-
curl -L -o LoginButton.tsx https://huggingface.co/spaces/damndeepesh-dev/RippleWorkers/resolve/main/src/components/LoginButton.tsx
549 Bytes
| "use client"; | |
| import { signIn } from "next-auth/react"; | |
| import { Instagram } from "lucide-react"; | |
| export default function LoginButton() { | |
| return ( | |
| <button | |
| onClick={() => signIn("facebook", { callbackUrl: "/dashboard" })} | |
| className="flex items-center justify-center gap-2 bg-[#2eaadc] hover:bg-[#2897c4] text-white px-4 py-2.5 rounded-[4px] font-medium text-[14px] transition-all" | |
| > | |
| <Instagram className="w-4 h-4" /> | |
| <span>Sign in with Instagram</span> | |
| </button> | |
| ); | |
| } | |