diff --git a/app/mail/page.tsx b/app/mail/page.tsx index 54adf6a..2aef73c 100644 --- a/app/mail/page.tsx +++ b/app/mail/page.tsx @@ -18,6 +18,8 @@ import { } from "@/components/ui/alert-dialog"; import { Avatar, AvatarFallback } from "@/components/ui/avatar"; import { MoreVertical, Settings, Plus as PlusIcon, Trash2, Edit, Mail, Inbox, Send, Star, Trash, Plus, ChevronLeft, ChevronRight, Search, ChevronDown, Folder, ChevronUp, Reply, Forward, ReplyAll, MoreHorizontal, FolderOpen, X } from 'lucide-react'; +import { Label } from "@/components/ui/label"; +import { Paperclip, Copy, EyeOff } from 'lucide-react'; interface Account { id: number; @@ -106,6 +108,8 @@ export default function MailPage() { const [deleteType, setDeleteType] = useState<'email' | 'emails' | 'account'>('email'); const [itemToDelete, setItemToDelete] = useState(null); const [showBulkActions, setShowBulkActions] = useState(false); + const [showCc, setShowCc] = useState(false); + const [showBcc, setShowBcc] = useState(false); // Mock folders data const folders = [ @@ -664,23 +668,24 @@ export default function MailPage() { {/* Compose email modal */} {composeOpen && ( -
- - - New Message +
+ + + New Message - -
+ +
- - {accounts.map(account => (
- - +
+ +
+ {!showCc && ( + + )} + {!showBcc && ( + + )} +
+
+
+ {showCc && ( +
+
+ + +
+ +
+ )} + {showBcc && ( +
+
+ + +
+ +
+ )}
- - -
-
- -