"use client"; import { ChevronDown, Plus } from "lucide-react"; import { useTranslation } from "react-i18next"; import { Avatar, AvatarFallback } from "@/components/ui/avatar"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { CopyField, FieldLabel, SettingsCard, SettingsSection, ToggleRow, } from "@/components/settings/settings-parts"; // Keys into settings.profile.notif.* — these toggles are illustrative. const patientNotifications = [ { titleKey: "newLab", descKey: "newLabDesc" }, { titleKey: "recordUpdated", descKey: "recordUpdatedDesc" }, { titleKey: "approvalRequested", descKey: "approvalRequestedDesc" }, { titleKey: "changeApproved", descKey: "changeApprovedDesc" }, { titleKey: "newMessage", descKey: "newMessageDesc" }, { titleKey: "visitScheduled", descKey: "visitScheduledDesc" }, ] as const; export function ProfilePanel() { const { t } = useTranslation(); return ( <> {t("settings.profile.avatar")} K {t("settings.profile.displayName")} {t("settings.profile.specialty")} {t("settings.profile.selectSpecialty")} {t("settings.profile.clinic")} {t("settings.profile.contactEmail")} {t("settings.profile.professionalLinks")} {t("settings.profile.professionalLinksHint")} {t("settings.profile.addLink")} {patientNotifications.map((item) => ( ))} {t("settings.profile.deleteAccount")} {t("settings.profile.deleteAccountDescription")} {t("settings.profile.delete")} > ); }
{t("settings.profile.professionalLinksHint")}
{t("settings.profile.deleteAccount")}
{t("settings.profile.deleteAccountDescription")}