diff --git a/index.html b/index.html index 1490d45..9bbcbd5 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ - + DMail | داناک diff --git a/src/assets/images/download.jpeg b/src/assets/images/download.jpeg new file mode 100644 index 0000000..6bd7eb7 Binary files /dev/null and b/src/assets/images/download.jpeg differ diff --git a/src/assets/images/intelligense.png b/src/assets/images/intelligense.png new file mode 100644 index 0000000..fa4a72a Binary files /dev/null and b/src/assets/images/intelligense.png differ diff --git a/src/assets/images/intelligense.svg b/src/assets/images/intelligense.svg new file mode 100644 index 0000000..f20a2d8 --- /dev/null +++ b/src/assets/images/intelligense.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/components/DefaulModal.tsx b/src/components/DefaulModal.tsx index 89766bd..a9956f2 100644 --- a/src/components/DefaulModal.tsx +++ b/src/components/DefaulModal.tsx @@ -26,7 +26,7 @@ const DefaulModal: FC = (props: Props) => { { props.open && ( -
+
@@ -46,7 +46,7 @@ const DefaulModal: FC = (props: Props) => {
-
+
) } diff --git a/src/components/RowActionsDropdown.tsx b/src/components/RowActionsDropdown.tsx index 249cfff..c666c74 100644 --- a/src/components/RowActionsDropdown.tsx +++ b/src/components/RowActionsDropdown.tsx @@ -77,7 +77,7 @@ const RowActionsDropdown: React.FC = ({ actions, classN return createPortal(
({ > {selectable && (
e.stopPropagation()} > ({ {/* {inlineActions && (
e.stopPropagation()} > {inlineActions(item).map((action, actionIndex) => ( @@ -190,7 +190,7 @@ const Table = ({ {rowActions && (
e.stopPropagation()} > @@ -236,7 +236,7 @@ const Table = ({ > {selectable && ( e.stopPropagation()} >
@@ -276,7 +276,7 @@ const Table = ({ ))} {rowActions && ( e.stopPropagation()} > @@ -295,7 +295,7 @@ const Table = ({ {selectable && ( e.stopPropagation()} > { const { t } = useTranslation('global') @@ -124,11 +125,17 @@ const NewMessage: FC = () => {
- setSubject(e.target.value)} - /> +
+ setSubject(e.target.value)} + /> + +
+ intelligense +
+
{
{showModal && ( -
+
{t('notif.natification')}
diff --git a/src/pages/received/Components/Summerize.tsx b/src/pages/received/Components/Summerize.tsx index 370f2e2..f3b4e54 100644 --- a/src/pages/received/Components/Summerize.tsx +++ b/src/pages/received/Components/Summerize.tsx @@ -3,6 +3,7 @@ import { useSummarizeEmail } from '../hooks/useEmailData'; import DefaulModal from '@/components/DefaulModal'; import Button from '@/components/Button'; import { InboxMessage } from '@/pages/draft/types/DraftTypes'; +import Intelligense from '@/assets/images/intelligense.svg' const Summerize: FC<{ id: string, mailbox: string, item: InboxMessage }> = ({ id, mailbox, item }) => { @@ -26,8 +27,10 @@ const Summerize: FC<{ id: string, mailbox: string, item: InboxMessage }> = ({ id return (
- S + summerize
+ + setOpen(false)} diff --git a/src/shared/Header.tsx b/src/shared/Header.tsx index ab86168..14fd988 100644 --- a/src/shared/Header.tsx +++ b/src/shared/Header.tsx @@ -99,7 +99,7 @@ const Header: FC = () => { }, []) return ( -
+
{/* Desktop Search */}