import { login } from "@/app/login/actions"; import { AuthPageShell } from "@/components/auth/auth-page-shell"; import { ErrorToaster } from "@/components/error-toaster"; import { LockKeyhole, LogIn, Mail, Search } from "lucide-react"; import Link from "next/link"; import { Button, Input, Label } from "poyraz-ui/atoms"; export default async function LoginPage({ searchParams, }: { searchParams: Promise<{ [key: string]: string | string[] | undefined }>; }) { const resolvedParams = await searchParams; const error = resolvedParams?.error; const message = resolvedParams?.message; return ( <> {error && message && } E-posta Şifre Şifremi unuttum Giriş yap } secondaryAction={ veya Google ile devam et } footer={ Hesabın yok mu?{" "} Kayıt ol } /> > ); }