25 lines
698 B
TypeScript
25 lines
698 B
TypeScript
"use client";
|
|
|
|
const LoginButton: React.FC = () => {
|
|
// const { signInWithKeyCloak } = useSignIn();
|
|
// const { user, loading } = useGetCurrentUser();
|
|
|
|
// if (loading || user) {
|
|
// return <div />;
|
|
// }
|
|
// return (
|
|
// <div className="hidden lg:block">
|
|
// <button
|
|
// onClick={signInWithKeyCloak}
|
|
// type="button"
|
|
// className="rounded-md bg-blue-600 px-2.5 py-1.5 text-sm font-semibold text-white shadow-sm hover:bg-blue-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-600"
|
|
// >
|
|
// Login
|
|
// </button>
|
|
// </div>
|
|
// );
|
|
return <div />;
|
|
};
|
|
|
|
export default LoginButton;
|