diff --git a/src/assets/icons/add_circle.svg b/src/assets/icons/add_circle.svg deleted file mode 100644 index 6916c28e..00000000 --- a/src/assets/icons/add_circle.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/assets/icons/add_new_page.svg b/src/assets/icons/add_new_page.svg new file mode 100644 index 00000000..e1fd9f36 --- /dev/null +++ b/src/assets/icons/add_new_page.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/icons/add_reaction.svg b/src/assets/icons/add_reaction.svg deleted file mode 100644 index 03e3ef9f..00000000 --- a/src/assets/icons/add_reaction.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - diff --git a/src/assets/icons/book.svg b/src/assets/icons/book.svg deleted file mode 100644 index c05e5ec5..00000000 --- a/src/assets/icons/book.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/src/assets/icons/bulleted_1.svg b/src/assets/icons/bulleted_1.svg new file mode 100644 index 00000000..c202253b --- /dev/null +++ b/src/assets/icons/bulleted_1.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/bulleted_2.svg b/src/assets/icons/bulleted_2.svg new file mode 100644 index 00000000..19541a4b --- /dev/null +++ b/src/assets/icons/bulleted_2.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/bulleted_3.svg b/src/assets/icons/bulleted_3.svg new file mode 100644 index 00000000..917925c8 --- /dev/null +++ b/src/assets/icons/bulleted_3.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/bulleted_list_icon_1.svg b/src/assets/icons/bulleted_list_icon_1.svg deleted file mode 100644 index de5a0823..00000000 --- a/src/assets/icons/bulleted_list_icon_1.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/assets/icons/bulleted_list_icon_2.svg b/src/assets/icons/bulleted_list_icon_2.svg deleted file mode 100644 index abaa0a77..00000000 --- a/src/assets/icons/bulleted_list_icon_2.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/assets/icons/bulleted_list_icon_3.svg b/src/assets/icons/bulleted_list_icon_3.svg deleted file mode 100644 index 5fb47c44..00000000 --- a/src/assets/icons/bulleted_list_icon_3.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/assets/icons/chat_circle_text.svg b/src/assets/icons/chat_circle_text.svg deleted file mode 100644 index cfc1c200..00000000 --- a/src/assets/icons/chat_circle_text.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/src/assets/icons/chat_suggestion.svg b/src/assets/icons/chat_suggestion.svg new file mode 100644 index 00000000..02129254 --- /dev/null +++ b/src/assets/icons/chat_suggestion.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/check_filled_circle.svg b/src/assets/icons/check_filled_circle.svg deleted file mode 100644 index c6dcaef3..00000000 --- a/src/assets/icons/check_filled_circle.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/src/assets/icons/columns.svg b/src/assets/icons/columns.svg deleted file mode 100644 index 8c7eed17..00000000 --- a/src/assets/icons/columns.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - diff --git a/src/assets/icons/controller.svg b/src/assets/icons/controller.svg new file mode 100644 index 00000000..bb3713be --- /dev/null +++ b/src/assets/icons/controller.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/currency_circle_dollar.svg b/src/assets/icons/currency_circle_dollar.svg deleted file mode 100644 index e59a21c3..00000000 --- a/src/assets/icons/currency_circle_dollar.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/src/assets/icons/database.svg b/src/assets/icons/database.svg index 300cc54c..bfbae5f8 100644 --- a/src/assets/icons/database.svg +++ b/src/assets/icons/database.svg @@ -1,7 +1,3 @@ - - - + diff --git a/src/assets/icons/divider.svg b/src/assets/icons/divider.svg new file mode 100644 index 00000000..2bfacd89 --- /dev/null +++ b/src/assets/icons/divider.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/double_arrow.svg b/src/assets/icons/double_arrow.svg deleted file mode 100644 index 816e93e0..00000000 --- a/src/assets/icons/double_arrow.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/src/assets/icons/engineering.svg b/src/assets/icons/engineering.svg new file mode 100644 index 00000000..5bfa62dc --- /dev/null +++ b/src/assets/icons/engineering.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/favorited.svg b/src/assets/icons/favorited.svg deleted file mode 100644 index 19e0f800..00000000 --- a/src/assets/icons/favorited.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - diff --git a/src/assets/icons/filled_star.svg b/src/assets/icons/filled_star.svg new file mode 100644 index 00000000..577ca6f2 --- /dev/null +++ b/src/assets/icons/filled_star.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/graduation_cap.svg b/src/assets/icons/graduation_cap.svg index 19a0e320..227d8de6 100644 --- a/src/assets/icons/graduation_cap.svg +++ b/src/assets/icons/graduation_cap.svg @@ -1,7 +1,3 @@ - - - + diff --git a/src/assets/icons/hashtag.svg b/src/assets/icons/hashtag.svg new file mode 100644 index 00000000..cdee4e43 --- /dev/null +++ b/src/assets/icons/hashtag.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/help.svg b/src/assets/icons/help.svg index 02ee64a3..a40401aa 100644 --- a/src/assets/icons/help.svg +++ b/src/assets/icons/help.svg @@ -1,4 +1,4 @@ - - + + diff --git a/src/assets/icons/help_no_circle.svg b/src/assets/icons/help_no_circle.svg deleted file mode 100644 index 4faf4f31..00000000 --- a/src/assets/icons/help_no_circle.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/assets/icons/inbox.svg b/src/assets/icons/inbox.svg deleted file mode 100644 index 962b5b8e..00000000 --- a/src/assets/icons/inbox.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/src/assets/icons/lightbulb.svg b/src/assets/icons/lightbulb.svg deleted file mode 100644 index c516b237..00000000 --- a/src/assets/icons/lightbulb.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/src/assets/icons/lightning.svg b/src/assets/icons/lightning.svg deleted file mode 100644 index be4e01bb..00000000 --- a/src/assets/icons/lightning.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - diff --git a/src/assets/icons/link_arrow.svg b/src/assets/icons/link_arrow.svg index 0e229389..778581ba 100644 --- a/src/assets/icons/link_arrow.svg +++ b/src/assets/icons/link_arrow.svg @@ -1,4 +1,4 @@ - - + + diff --git a/src/assets/icons/management.svg b/src/assets/icons/management.svg new file mode 100644 index 00000000..ce91f3ca --- /dev/null +++ b/src/assets/icons/management.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/marketing.svg b/src/assets/icons/marketing.svg new file mode 100644 index 00000000..07adbb03 --- /dev/null +++ b/src/assets/icons/marketing.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/icons/megaphone_simple.svg b/src/assets/icons/megaphone_simple.svg deleted file mode 100644 index 40038226..00000000 --- a/src/assets/icons/megaphone_simple.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/src/assets/icons/monitor.svg b/src/assets/icons/monitor.svg deleted file mode 100644 index 72809940..00000000 --- a/src/assets/icons/monitor.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/src/assets/icons/notepad.svg b/src/assets/icons/notepad.svg deleted file mode 100644 index 8ae73a18..00000000 --- a/src/assets/icons/notepad.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/src/assets/icons/paragraph_mark.svg b/src/assets/icons/paragraph_mark.svg deleted file mode 100644 index f239fac1..00000000 --- a/src/assets/icons/paragraph_mark.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - diff --git a/src/assets/icons/plus.svg b/src/assets/icons/plus.svg index a99d3ed2..97929042 100644 --- a/src/assets/icons/plus.svg +++ b/src/assets/icons/plus.svg @@ -1,3 +1,3 @@ - + diff --git a/src/assets/icons/reply.svg b/src/assets/icons/reply.svg deleted file mode 100644 index d9022ddd..00000000 --- a/src/assets/icons/reply.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/assets/icons/sales.svg b/src/assets/icons/sales.svg new file mode 100644 index 00000000..a3dc2a18 --- /dev/null +++ b/src/assets/icons/sales.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/settings_more.svg b/src/assets/icons/settings_more.svg index de51be78..294ec485 100644 --- a/src/assets/icons/settings_more.svg +++ b/src/assets/icons/settings_more.svg @@ -7,15 +7,4 @@ stroke-linejoin="round"/> - - - - - - - diff --git a/src/assets/icons/shuffle.svg b/src/assets/icons/shuffle.svg index cfaae93a..fe2df624 100644 --- a/src/assets/icons/shuffle.svg +++ b/src/assets/icons/shuffle.svg @@ -1,12 +1,3 @@ - - - - - - - \ No newline at end of file + + + diff --git a/src/assets/icons/sign-hashtag.svg b/src/assets/icons/sign-hashtag.svg deleted file mode 100644 index 35cf27cf..00000000 --- a/src/assets/icons/sign-hashtag.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/src/assets/icons/slash_menu_icon_divider.svg b/src/assets/icons/slash_menu_icon_divider.svg deleted file mode 100644 index 87aa7842..00000000 --- a/src/assets/icons/slash_menu_icon_divider.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/assets/icons/startup.svg b/src/assets/icons/startup.svg new file mode 100644 index 00000000..17cac49c --- /dev/null +++ b/src/assets/icons/startup.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/wiki.svg b/src/assets/icons/wiki.svg new file mode 100644 index 00000000..7d6d13bd --- /dev/null +++ b/src/assets/icons/wiki.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/_shared/file-dropzone/FileDropzone.tsx b/src/components/_shared/file-dropzone/FileDropzone.tsx index 8fea580f..aab7e49a 100644 --- a/src/components/_shared/file-dropzone/FileDropzone.tsx +++ b/src/components/_shared/file-dropzone/FileDropzone.tsx @@ -1,6 +1,6 @@ import React, { useState, useRef } from 'react'; import { useTranslation } from 'react-i18next'; -import { ReactComponent as Inbox } from '@/assets/icons/inbox.svg'; +import { ReactComponent as ImageIcon } from '@/assets/icons/image.svg'; interface FileDropzoneProps { onChange?: (files: File[]) => void; @@ -78,8 +78,8 @@ function FileDropzone({ onChange, accept, multiple, disabled, placeholder }: Fil }} >
- -
+ +
{placeholder || t('fileDropzone.dropFile')}
diff --git a/src/components/_shared/help/Help.tsx b/src/components/_shared/help/Help.tsx index 7cf15512..1ff8bf8e 100644 --- a/src/components/_shared/help/Help.tsx +++ b/src/components/_shared/help/Help.tsx @@ -7,7 +7,6 @@ import { PopoverProps } from '@mui/material/Popover'; import { useContext } from 'react'; import * as React from 'react'; import Box from '@mui/material/Box'; -import { ReactComponent as SpeedDialIcon } from '@/assets/icons/help_no_circle.svg'; import { useTranslation } from 'react-i18next'; import { ReactComponent as WhatsNewIcon } from '@/assets/icons/star.svg'; import { ReactComponent as SupportIcon } from '@/assets/icons/help.svg'; @@ -44,7 +43,7 @@ export default function Help() { 'flex h-9 w-9 cursor-pointer items-center justify-center rounded-full border border-line-border bg-bg-body shadow-md hover:bg-fill-list-hover' } > - +
diff --git a/src/components/_shared/tag/Tag.tsx b/src/components/_shared/tag/Tag.tsx index 119b6407..933c24e6 100644 --- a/src/components/_shared/tag/Tag.tsx +++ b/src/components/_shared/tag/Tag.tsx @@ -1,5 +1,5 @@ import { FC, useMemo } from 'react'; -import { ReactComponent as CircleIcon } from '@/assets/icons/bulleted_list_icon_1.svg'; +import { ReactComponent as CircleIcon } from '@/assets/icons/bulleted_1.svg'; export interface TagProps { color?: string; diff --git a/src/components/app/favorite/Favorite.tsx b/src/components/app/favorite/Favorite.tsx index 01ba1e26..23c7a8ac 100644 --- a/src/components/app/favorite/Favorite.tsx +++ b/src/components/app/favorite/Favorite.tsx @@ -8,7 +8,7 @@ import { PopoverProps } from '@mui/material/Popover'; import dayjs from 'dayjs'; import { groupBy, sortBy } from 'lodash-es'; import React, { useEffect, useMemo } from 'react'; -import { ReactComponent as FavoritedIcon } from '@/assets/icons/favorited.svg'; +import { ReactComponent as FavoritedIcon } from '@/assets/icons/filled_star.svg'; import { useTranslation } from 'react-i18next'; import { ReactComponent as MoreIcon } from '@/assets/icons/more.svg'; @@ -110,7 +110,7 @@ export function Favorite() { 'flex w-full items-center gap-2 rounded-[8px] p-1 text-sm hover:bg-fill-list-hover focus:outline-none' } > - +
{t('sideBar.favorites')}
diff --git a/src/components/app/share/ShareTabs.tsx b/src/components/app/share/ShareTabs.tsx index bd9f2040..6c052f77 100644 --- a/src/components/app/share/ShareTabs.tsx +++ b/src/components/app/share/ShareTabs.tsx @@ -8,7 +8,7 @@ import { useTranslation } from 'react-i18next'; import { ViewTabs, ViewTab, TabPanel } from 'src/components/_shared/tabs/ViewTabs'; import { ReactComponent as Templates } from '@/assets/icons/template.svg'; -import { ReactComponent as PublishedWithChanges } from '@/assets/icons/check_filled_circle.svg'; +import { ReactComponent as SuccessIcon } from '@/assets/icons/success.svg'; enum TabKey { SHARE = 'share', @@ -32,7 +32,7 @@ function ShareTabs({ opened, viewId, onClose }: { opened: boolean; viewId: strin { value: TabKey.PUBLISH, label: t('shareAction.publish'), - icon: view?.is_published ? : undefined, + icon: view?.is_published ? : undefined, Panel: PublishPanel, }, currentUser?.email?.endsWith('appflowy.io') && diff --git a/src/components/app/view-actions/NewPage.tsx b/src/components/app/view-actions/NewPage.tsx index db91bccc..5f4c2b76 100644 --- a/src/components/app/view-actions/NewPage.tsx +++ b/src/components/app/view-actions/NewPage.tsx @@ -1,5 +1,5 @@ import { ViewLayout } from '@/application/types'; -import { ReactComponent as Add } from '@/assets/icons/add_circle.svg'; +import { ReactComponent as Add } from '@/assets/icons/add_new_page.svg'; import { NormalModal } from '@/components/_shared/modal'; import { notify } from '@/components/_shared/notify'; import { useAppHandlers, useAppOutline } from '@/components/app/app.hooks'; @@ -61,7 +61,7 @@ function NewPage() { <>