"use client"; import { useActionState } from "react"; import { login } from "@/app/actions/auth"; import { Lock, ArrowRight } from "lucide-react"; import Image from "next/image"; export default function LoginPage() { const [state, formAction, isPending] = useActionState(login, null); return (
{/* Background Image with Overlay */}
Kite Beach Akyaka
{/* Logo or Brand */}

KITE BEACH

Yönetim Paneli

{/* Decorative Glow */}
{state?.error && (
{state.error}
)}
); }