parent
81a14e90eb
commit
5c771c806d
9 changed files with 101 additions and 51 deletions
@ -0,0 +1,26 @@ |
||||
import { GitHubButton } from './GitHubButton'; |
||||
import { GoogleButton } from './GoogleButton'; |
||||
import { LinkedInButton } from './LinkedInButton'; |
||||
import { EmailLoginForm } from './EmailLoginForm'; |
||||
import { useState } from 'react'; |
||||
|
||||
export function AuthenticationForm() { |
||||
const [isDisabled, setIsDisabled] = useState(false); |
||||
return ( |
||||
<> |
||||
<div className="flex w-full flex-col gap-2"> |
||||
<GitHubButton isDisabled={isDisabled} setIsDisabled={setIsDisabled} /> |
||||
<GoogleButton isDisabled={isDisabled} setIsDisabled={setIsDisabled} /> |
||||
<LinkedInButton isDisabled={isDisabled} setIsDisabled={setIsDisabled} /> |
||||
</div> |
||||
|
||||
<div className="flex w-full items-center gap-2 py-6 text-sm text-slate-600"> |
||||
<div className="h-px w-full bg-slate-200" /> |
||||
OR |
||||
<div className="h-px w-full bg-slate-200" /> |
||||
</div> |
||||
|
||||
<EmailLoginForm isDisabled={isDisabled} setIsDisabled={setIsDisabled} /> |
||||
</> |
||||
); |
||||
} |
Loading…
Reference in new issue