From be65576d91a254df994d32729ba61c0d97a267f2 Mon Sep 17 00:00:00 2001
From: NanamiNakano
Date: Wed, 3 May 2023 05:00:54 +0800
Subject: [PATCH] Fixed the delete button on social platforms settings' css
(#479)
---
public/assets/social/steam.svg | 6 ++++++
src/components/site/Platform.tsx | 5 +++++
.../dashboard/[subdomain]/settings/social-platforms.tsx | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
create mode 100644 public/assets/social/steam.svg
diff --git a/public/assets/social/steam.svg b/public/assets/social/steam.svg
new file mode 100644
index 00000000..af1c3362
--- /dev/null
+++ b/public/assets/social/steam.svg
@@ -0,0 +1,6 @@
+
+
diff --git a/src/components/site/Platform.tsx b/src/components/site/Platform.tsx
index 336f5ab6..2a92f557 100644
--- a/src/components/site/Platform.tsx
+++ b/src/components/site/Platform.tsx
@@ -79,6 +79,11 @@ const syncMap: {
icon: "/assets/social/xiaoyuzhou.png",
url: "https://www.xiaoyuzhoufm.com/podcast/{username}",
},
+ steam: {
+ name: "Steam",
+ icon: "/assets/social/steam.svg",
+ url: "https://steamcommunity.com/id/{username}",
+ },
}
export const Platform: React.FC<{
diff --git a/src/pages/dashboard/[subdomain]/settings/social-platforms.tsx b/src/pages/dashboard/[subdomain]/settings/social-platforms.tsx
index 9dfe04ff..68ab7a18 100644
--- a/src/pages/dashboard/[subdomain]/settings/social-platforms.tsx
+++ b/src/pages/dashboard/[subdomain]/settings/social-platforms.tsx
@@ -211,7 +211,7 @@ export default function SiteSettingsNavigationPage() {