"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" export default function LoginPage() { const router = useRouter() const [email, setEmail] = useState("admin@coastalit.com") 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() setLoading(true) await new Promise((resolve) => setTimeout(resolve, 1200)) router.push("/dashboard") } return (
{/* Left - Brand panel */}
C
{COMPANY_NAME}
Your Agency's Growth Starts Here Manage leads, track conversions, and grow your web development business with our CRM.

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

Marcus Johnson

Sales Lead, Coastal IT

© 2026 {COMPANY_NAME}. All rights reserved.
{/* Right - Login form */}
{/* Mobile logo */}
C
{COMPANY_NAME}

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{" "}

) }