/* eslint-disable @typescript-eslint/no-unsafe-assignment */ import Link from "next/link"; import Image from "next/image"; import Splash from "public/splash.jpg"; import { Input } from "~/components/ui/input"; import { Button } from "~/components/ui/button"; import { signIn } from "next-auth/react"; import { useState } from "react"; import { Loader2 } from "lucide-react"; import { useRouter } from "next/router"; export default function AuthenticationPage() { const [details, setDetails] = useState({ email: "", password: "" }); const [loading, setLoading] = useState(false); const router = useRouter(); const handleSignIn = async () => { setLoading(true); await signIn("credentials", { email: details.email, password: details.password, callbackUrl: (router.query.callbackUrl as string) ?? "/", }); setLoading(false); }; return ( <>
“Zamaqo has revolutionized our development workflow by spotting errors early, drastically cutting debugging hours and development costs across all our companies.”
Enter your details below
By clicking continue, you agree to our{" "} Terms of Service {" "} and{" "} Privacy Policy .