import { login } from "@/app/login/actions"; import { AuthPageShell } from "@/components/auth/auth-page-shell"; import { ErrorToaster } from "@/components/error-toaster"; import { LockKeyhole, LogIn, Mail } from "lucide-react"; import Link from "next/link"; import { Input, Label } from "poyraz-ui/atoms"; import { Alert, AlertDescription } from "poyraz-ui/molecules"; import { SubmitButton } from "@/components/auth/submit-button"; import { getPublicBranding } from "@/server/branding/runtime"; 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; const branding = getPublicBranding(); return ( <> {error && message && } {!error && message ? ( {String(message)} ) : null}
Şifremi unuttum
Giriş yap } secondaryAction={null} footer={
İlk kurulumu yapmadın mı?{" "} Admin hesabını oluştur
} /> ); }