RippleWorkers / src /components /LoginButton.tsx
damndeepesh
Initialize project with LavinMQ integration and Docker support
c7fbc2e
Raw History Blame Contribute Delete
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>
);
}