File size: 549 Bytes
c7fbc2e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"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>
    );
}