"use client" import { useState } from "react" import { useRouter } from "next/navigation" import { motion } from "framer-motion" import { Button } from "@/components/ui/button" import { Input } from "@/components/ui/input" import { Label } from "@/components/ui/label" import { Checkbox } from "@/components/ui/checkbox" import { COMPANY_NAME } from "@/lib/constants" import { Eye, EyeOff, Loader2 } from "lucide-react" function LoginForm() { const router = useRouter() const searchParams = useSearchParams() const [email, setEmail] = useState("") const [password, setPassword] = useState("") const [showPassword, setShowPassword] = useState(false) const [loading, setLoading] = useState(false) const [remember, setRemember] = useState(false) const handleSubmit = async (e: React.FormEvent) => { e.preventDefault() setError("") setLoading(true) await new Promise((resolve) => setTimeout(resolve, 1200)) router.push("/dashboard") } return ( <>
{COMPANY_NAME}

Your Agency's{" "} Growth{" "} Starts Here

Manage leads, track conversions, and grow your web development business with our CRM.

{counts.leads.toLocaleString()}
leads tracked
{counts.conversion}%
conversion lift
{counts.users}
active users

“This CRM transformed how we manage our sales pipeline. We've seen a 40% increase in lead conversion.”

Marcus Johnson, Sales Lead at Coast IT

Welcome back

Sign in to your account to continue

setEmail(e.target.value)} required autoComplete="email" />
setPassword(e.target.value)} required autoComplete="current-password" />
setRemember(checked as boolean)} />

By signing in, you agree to our{" "} {" "} and{" "}

) }