import Link from "next/link";

import { LoginForm } from "@/components/auth/login-form";

export default function LoginPage() {
  return (
    <main className="mx-auto flex min-h-screen w-full max-w-md flex-col justify-center gap-6 px-6">
      <div>
        <h1 className="text-3xl font-bold text-slate-900">Sign in</h1>
        <p className="mt-2 text-sm text-slate-600">
          Use your agency email to receive a magic-link and access the portal.
        </p>
      </div>

      <LoginForm />

      <Link href="/" className="text-sm text-slate-500">
        ← Back to home
      </Link>
    </main>
  );
}
