import { signup } from "@/app/login/actions"; import { AuthPageShell } from "@/components/auth/auth-page-shell"; import { ErrorToaster } from "@/components/error-toaster"; import { LockKeyhole, Mail, Search, UserPlus } from "lucide-react"; import Link from "next/link"; import { Button, Input, Label } from "poyraz-ui/atoms"; export default async function RegisterPage({ 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 Hesap oluştur } secondaryAction={ veya Google ile devam et } footer={ Zaten hesabın var mı?{" "} Giriş yap } /> > ); }