diff --git a/apps/web/app/routes/auth/login.tsx b/apps/web/app/routes/auth/login.tsx index 9c7afd1de..c11a67cf6 100644 --- a/apps/web/app/routes/auth/login.tsx +++ b/apps/web/app/routes/auth/login.tsx @@ -1,5 +1,9 @@ "use client"; +import { zodResolver } from "@hookform/resolvers/zod"; +import { useForm } from "react-hook-form"; +import { z } from "zod"; + import { authClient } from "~/api/auth-client"; import { Button } from "~/components/ui/button"; import { @@ -9,14 +13,104 @@ import { CardHeader, CardTitle, } from "~/components/ui/card"; +import { + Form, + FormControl, + FormField, + FormItem, + FormLabel, + FormMessage, +} from "~/components/ui/form"; +import { Input } from "~/components/ui/input"; +import { Separator } from "~/components/ui/separator"; const signInGoogle = () => { void authClient.signIn.social({ provider: "google" }); }; +function LoginSeparator() { + return ( +