"use client"; import { Button } from "@/app/_components/ui/button"; import { Input } from "@/app/_components/ui/input"; import { Github, Lock } from "lucide-react"; import Link from "next/link"; import { SubmitButton } from "../../../_components/submit-button"; import { FormField } from "../../../_components/form-field"; import { useSignInForm } from "@/hooks/use-signin"; export function LoginForm2({ className, ...props }: React.ComponentPropsWithoutRef<"form">) { const { formData, errors, isSubmitting, setFormData, handleChange, handleSelectChange, handleSubmit, } = useSignInForm(); return (

Welcome back

Sign in to your account

{/* */}
or
} error={errors.email} /> {/* Forgot Email? */} Sign In
Don't have an account? Contact Us

By continuing, you agree to Sigap's{" "} Terms of Service {" "} and{" "} Privacy Policy , and to receive periodic emails with updates.

); }