"use client"; import type React from "react"; import { Lock } from "lucide-react"; import { Button } from "../ui/button"; import { Input } from "../ui/input"; import { SubmitButton } from "../submit-button"; import Link from "next/link"; import { FormField } from "../form-field"; import { useSignInForm } from "@/src/controller/auth/sign-in-controller"; export function SignInForm({ className, ...props }: React.ComponentPropsWithoutRef<"form">) { const { formData, errors, isSubmitting, message, handleChange, handleSubmit, } = useSignInForm(); return (

Welcome back

Sign in to your account

{message && (
{message}
)}
or
} error={errors.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.

); }