"use client"; import Link from "next/link"; import { useActionState, useState } from "react"; import { FlaskConical, Loader2, Stethoscope } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Card, CardContent } from "@/components/ui/card"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import { Logo } from "@/components/logo"; import { cn } from "@/lib/utils"; import { signInAction } from "@/lib/appwrite/auth-actions"; import { initialAuthState } from "@/lib/appwrite/auth-types"; type Kind = "clinic" | "lab"; export function LoginForm1({ className, inviteCode, ...props }: React.ComponentProps<"div"> & { inviteCode?: string }) { const [kind, setKind] = useState("clinic"); const [state, formAction, isPending] = useActionState(signInAction, initialAuthState); return (
{inviteCode && }
DLS
{inviteCode && (

Davete katılmak için giriş yapın.

)}

Tekrar hoş geldiniz

Hesabınıza giriş yapın

{!inviteCode && ( )}
Şifremi unuttum
{state.mfaRequired && (
)} {state.error && (

{state.error}

)}
Hesabınız yok mu?{" "} Hesap oluştur

Giriş yaparak{" "} Kullanım Şartları {" "} ve{" "} Gizlilik Politikası 'nı kabul etmiş olursunuz.

); } function KindPill({ value, onChange, disabled, }: { value: Kind; onChange: (next: Kind) => void; disabled?: boolean; }) { return (
onChange("clinic")} disabled={disabled} > Klinik onChange("lab")} disabled={disabled} > Laboratuvar
); } function PillButton({ active, onClick, disabled, children, }: { active: boolean; onClick: () => void; disabled?: boolean; children: React.ReactNode; }) { return ( ); } function BrandPanel() { return (
DLS

Klinik ve laboratuvar tek panelde.

İş yayınla, taranan dosyaları paylaş, protez aşamalarını adım adım takip et — finansal akışla birlikte.

Kovak Yazılım tarafından
); }