From db7abc26a489532b410f4eeaae875abec7b5b7aa Mon Sep 17 00:00:00 2001 From: Shebuka Date: Mon, 9 Sep 2024 13:43:53 +0200 Subject: [PATCH] Using custom svg icon for discord instead of one from @mdi/js --- src/images/Discord-icon.svg | 3 +++ src/pages/start/index.js | 7 +++---- 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 src/images/Discord-icon.svg diff --git a/src/images/Discord-icon.svg b/src/images/Discord-icon.svg new file mode 100644 index 000000000..3412691d6 --- /dev/null +++ b/src/images/Discord-icon.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/pages/start/index.js b/src/pages/start/index.js index af6401d75..972e7c398 100644 --- a/src/pages/start/index.js +++ b/src/pages/start/index.js @@ -3,6 +3,7 @@ import { useSearchParams } from "react-router-dom"; import { Link } from 'react-router-dom'; import { HashLink } from 'react-router-hash-link'; import { useTranslation } from 'react-i18next'; +import { ReactComponent as DiscordIcon } from '../../images/Discord-icon.svg'; import QueueBrowserTask from '../../modules/queue-browser-task.js'; @@ -25,7 +26,6 @@ import { mdiProgressWrench, mdiMap, mdiViewGrid, - mdiDiscord, mdiHome, mdiCalendarClock, mdiEmoticonDevil, @@ -215,10 +215,9 @@ function Start() { - {t('Invite Discord bot')}