From 53ced596dcf72605d9044dab6edb391d9d608a1a Mon Sep 17 00:00:00 2001 From: alma Date: Wed, 16 Apr 2025 12:15:52 +0200 Subject: [PATCH] mail page ui correction maj compose 6 --- app/mail/page.tsx | 85 +++++++++++++++++++++++++++++------------------ 1 file changed, 52 insertions(+), 33 deletions(-) diff --git a/app/mail/page.tsx b/app/mail/page.tsx index 8bb6bf1..81d302c 100644 --- a/app/mail/page.tsx +++ b/app/mail/page.tsx @@ -1076,18 +1076,20 @@ export default function MailPage() { - {/* Compose Email Modal */} + {/* Compose Email Modal - Updated Design */} {showCompose && ( -
-
-
+
+
+ {/* Modal Header */} +

New Message

- -
-
-
- + + {/* Modal Body */} +
+
+ {/* To Field */} +
+ setComposeTo(e.target.value)} placeholder="recipient@example.com" + className="w-full border-gray-200 focus:border-blue-500 focus:ring-blue-500 rounded-md" />
- -
+ + {/* CC/BCC Toggle Buttons */} +
+ {/* CC Field */} {showCc && ( -
- +
+ setComposeCc(e.target.value)} placeholder="cc@example.com" + className="w-full border-gray-200 focus:border-blue-500 focus:ring-blue-500 rounded-md" />
)} + {/* BCC Field */} {showBcc && ( -
- +
+ setComposeBcc(e.target.value)} placeholder="bcc@example.com" + className="w-full border-gray-200 focus:border-blue-500 focus:ring-blue-500 rounded-md" />
)} -
- + {/* Subject Field */} +
+ setComposeSubject(e.target.value)} placeholder="Enter subject" + className="w-full border-gray-200 focus:border-blue-500 focus:ring-blue-500 rounded-md" />
-
- + {/* Message Body */} +
+