judge4c/src/components/sign-in-form.tsx

29 lines
1.0 KiB
TypeScript
Raw Normal View History

import { GithubSignIn } from "@/components/github-sign-in";
import { CredentialsSignIn } from "@/components/credentials-sign-in";
export function SignInForm() {
return (
<div className="flex flex-col gap-6">
<div className="flex flex-col items-center gap-2 text-center">
<h1 className="text-2xl font-bold">Sign in to your account</h1>
<p className="text-balance text-sm text-muted-foreground">
Enter your email below to sign in to your account
</p>
</div>
<CredentialsSignIn />
<div className="relative text-center text-sm after:absolute after:inset-0 after:top-1/2 after:z-0 after:flex after:items-center after:border-t after:border-border">
<span className="relative z-10 bg-background px-2 text-muted-foreground">
Or
</span>
</div>
<GithubSignIn />
<div className="text-center text-sm">
Don&apos;t have an account?{" "}
<a href="/sign-up" className="underline underline-offset-4">
Sign up
</a>
</div>
</div>
)
}