From a291e682da24c82bcde1a5c44586f00e56590e4a Mon Sep 17 00:00:00 2001 From: hanshino Date: Mon, 16 Dec 2024 16:47:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E9=99=A4=20Discord=20?= =?UTF-8?q?=E7=9B=B8=E9=97=9C=E9=80=A3=E7=B5=90=E5=8F=8A=E5=85=83=E4=BB=B6?= =?UTF-8?q?=EF=BC=8C=E7=B0=A1=E5=8C=96=E4=BB=8B=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/config/default.json | 1 - app/src/templates/common/welcome.js | 1 - frontend/src/components/Home/index.jsx | 10 ---------- frontend/src/components/NavBar.jsx | 6 ------ 4 files changed, 18 deletions(-) diff --git a/app/config/default.json b/app/config/default.json index 7859206d..840d8981 100644 --- a/app/config/default.json +++ b/app/config/default.json @@ -74,7 +74,6 @@ "bullshit": "https://api.howtobullshit.me/" }, "links": { - "discord": "https://discord.gg/Fy82rTb", "github": "https://github.com/hanshino/redive_linebot", "bahamut": "https://forum.gamer.com.tw/C.php?bsn=30861&snA=32345&tnum=11" }, diff --git a/app/src/templates/common/welcome.js b/app/src/templates/common/welcome.js index 9e9de123..dfa19664 100644 --- a/app/src/templates/common/welcome.js +++ b/app/src/templates/common/welcome.js @@ -90,7 +90,6 @@ function genPuddingStatus() { ), ]), genRowButtons([ - genLinkButton("Discord", config.get("color.discord"), config.get("links.discord")), genLinkButton("GitHub", config.get("color.github"), config.get("links.github")), genLinkButton("巴哈姆特", config.get("color.bahamut"), config.get("links.bahamut")), ]), diff --git a/frontend/src/components/Home/index.jsx b/frontend/src/components/Home/index.jsx index 3bad7c5c..1871985e 100644 --- a/frontend/src/components/Home/index.jsx +++ b/frontend/src/components/Home/index.jsx @@ -26,16 +26,6 @@ const Home = () => { - - - ); }; diff --git a/frontend/src/components/NavBar.jsx b/frontend/src/components/NavBar.jsx index 84f2759e..ad0d4a37 100644 --- a/frontend/src/components/NavBar.jsx +++ b/frontend/src/components/NavBar.jsx @@ -158,12 +158,6 @@ const NavBar = props => { - - - - - -