From 4784f28ea90df80a4ba6128eb27327d232f311e9 Mon Sep 17 00:00:00 2001 From: AyrisAI Date: Thu, 14 May 2026 02:23:35 +0300 Subject: [PATCH] Add client connection info modal to mailboxes list --- app/dashboard/mailboxes/page.tsx | 54 ++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/app/dashboard/mailboxes/page.tsx b/app/dashboard/mailboxes/page.tsx index a513808..99c0f40 100644 --- a/app/dashboard/mailboxes/page.tsx +++ b/app/dashboard/mailboxes/page.tsx @@ -26,6 +26,7 @@ export default function MailboxesPage() { const [loading, setLoading] = useState(false); const [showCreateModal, setShowCreateModal] = useState(false); const [showPasswordModal, setShowPasswordModal] = useState(null); + const [showInfoModal, setShowInfoModal] = useState(null); const [isPending, startTransition] = useTransition(); const [search, setSearch] = useState(""); const [createForm, setCreateForm] = useState({ local_part: "", name: "", password: "", quota: 3072 }); @@ -241,6 +242,13 @@ export default function MailboxesPage() {
+
)} + {/* Info Modal */} + {showInfoModal && ( +
e.target === e.currentTarget && setShowInfoModal(null)}> +
+
+

İstemci Bağlantı Bilgileri

+ +
+
+
+ {showInfoModal} hesabını Apple Mail, Outlook veya telefonunuza kurmak için aşağıdaki bilgileri kullanın: +
+ +
+
+
IMAP (Gelen Sunucu)
+
+ Sunucu: mail.{showInfoModal.split("@")[1]} + Port: 993 (SSL/TLS) +
+
+ +
+
SMTP (Giden Sunucu)
+
+ Sunucu: mail.{showInfoModal.split("@")[1]} + Port: 587 (STARTTLS) veya 465 (SSL) +
+
+ +
+
Kimlik Doğrulama
+
+
Kullanıcı Adı: {showInfoModal}
+
Şifre: Hesap oluştururken belirlediğiniz şifre
+
+
+
+
+
+ +
+
+
+ )} ); } @@ -380,3 +433,4 @@ function KeyIcon() { return ; } function PlayIcon() { return ; } function XIcon() { return ; } +function InfoIcon() { return ; }