diff --git a/app/components/auth/form/sign-in-button.tsx b/app/components/auth/form/sign-in-button.tsx new file mode 100644 index 0000000..36922e5 --- /dev/null +++ b/app/components/auth/form/sign-in-button.tsx @@ -0,0 +1,22 @@ +import { ArrowRight, Loader2 } from 'lucide-react'; +import { Button } from '~/components/ui/button'; +import { BRAND } from '~/data/brand'; + +export type SignInState = 'idle' | 'busy' | 'done'; + +const LABELS: Record = { + idle: 'Sign in', + busy: 'Signing in…', + done: `Signed in. Opening ${BRAND.product}`, +}; + +export function SignInButton({ state }: { state: SignInState }) { + const working = state !== 'idle'; + return ( + + ); +}