) => {
+ event.preventDefault();
+ await supabase.auth.signInWithPassword({
+ email,
+ password,
+ });
+ router.push("/");
+ };
+
+ return (
+
+ setEmail(e.target.value)} placeholder="Email" />
+ setPassword(e.target.value)} placeholder="Password" />
+
+
+ );
+}
diff --git a/src/components/ui/input.tsx b/src/components/ui/input.tsx
new file mode 100644
index 0000000..a921025
--- /dev/null
+++ b/src/components/ui/input.tsx
@@ -0,0 +1,25 @@
+import * as React from "react"
+
+import { cn } from "@/lib/utils"
+
+export interface InputProps
+ extends React.InputHTMLAttributes {}
+
+const Input = React.forwardRef(
+ ({ className, type, ...props }, ref) => {
+ return (
+
+ )
+ }
+)
+Input.displayName = "Input"
+
+export { Input }