From d1f698b8f7172cb529091799fa5768ef024b1f87 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 24 Oct 2024 18:25:36 -0400 Subject: [PATCH] @KrystalSkullOfficial --- src/components/VencordSettings/VencordTab.tsx | 42 +++++++++++++------ .../VencordSettings/settingsStyles.css | 11 +++++ 2 files changed, 41 insertions(+), 12 deletions(-) diff --git a/src/components/VencordSettings/VencordTab.tsx b/src/components/VencordSettings/VencordTab.tsx index 296099ae..29e83da0 100644 --- a/src/components/VencordSettings/VencordTab.tsx +++ b/src/components/VencordSettings/VencordTab.tsx @@ -19,16 +19,16 @@ import { openNotificationLogModal } from "@api/Notifications/notificationLog"; import { useSettings } from "@api/Settings"; import { classNameFactory } from "@api/Styles"; -import DonateButton from "@components/DonateButton"; import { openPluginModal } from "@components/PluginSettings/PluginModal"; import { gitRemote } from "@shared/vencordUserAgent"; +import { openInviteModal } from "@utils/discord"; import { Margins } from "@utils/margins"; import { identity } from "@utils/misc"; import { relaunch, showItemInFolder } from "@utils/native"; import { useAwaiter } from "@utils/react"; -import { Button, Card, Forms, React, Select, Switch } from "@webpack/common"; +import { Button, Card, Forms, React, Select, showToast, Switch } from "@webpack/common"; -import { Flex, FolderIcon, GithubIcon, LogIcon, PaintbrushIcon, RestartIcon } from ".."; +import { Flex, FolderIcon, GithubIcon, Heart, LogIcon, PaintbrushIcon, RestartIcon } from ".."; import { openNotificationSettingsModal } from "./NotificationSettings"; import { QuickAction, QuickActionCard } from "./quickActions"; import { SettingsTab, wrapTab } from "./shared"; @@ -49,6 +49,7 @@ function EquicordSettings() { }); const settings = useSettings(); + const discordInvite = "bFp57wxCkv"; const donateImage = React.useMemo(() => Math.random() > 0.5 ? DEFAULT_DONATE_IMAGE : SHIGGY_DONATE_IMAGE, []); const isWindows = navigator.platform.toLowerCase().startsWith("win"); @@ -99,7 +100,7 @@ function EquicordSettings() { return ( - + +
- Support the Project - Please consider supporting the development of Equicord by donating! - + Join the discord! + Please consider joining the discord for any news on breaking changes, or new bigger updates! + You can also donate to me if you'd like to support this project. + +
+ + + +
diff --git a/src/components/VencordSettings/settingsStyles.css b/src/components/VencordSettings/settingsStyles.css index 5349993d..c88d8073 100644 --- a/src/components/VencordSettings/settingsStyles.css +++ b/src/components/VencordSettings/settingsStyles.css @@ -15,11 +15,22 @@ flex-direction: row; } +.vc-settings-discordinvite { + display: flex; + flex-direction: row; +} + .vc-settings-card { padding: 1em; margin-bottom: 1em; } +.vc-settings-card-buttons { + display: flex; + margin-top: 1.5em; + gap: 0.5em; +} + .vc-backup-restore-card { background-color: var(--info-warning-background); border-color: var(--info-warning-foreground);