Skip to content

Commit

Permalink
feat: 移除 Discord 相關連結及元件,簡化介面
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshino committed Dec 16, 2024
1 parent 849a226 commit a291e68
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 18 deletions.
1 change: 0 additions & 1 deletion app/config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
1 change: 0 additions & 1 deletion app/src/templates/common/welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -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")),
]),
Expand Down
10 changes: 0 additions & 10 deletions frontend/src/components/Home/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,6 @@ const Home = () => {
<Announcement />
<Statistics />
<Features />
<Grid item xs={12}>
<iframe
width="100%"
src="https://discord.com/widget?id=669080231079968770&theme=dark"
height="500"
allowtransparency="true"
frameBorder="0"
sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"
></iframe>
</Grid>
</Grid>
);
};
Expand Down
6 changes: 0 additions & 6 deletions frontend/src/components/NavBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,6 @@ const NavBar = props => {
</ListItemIcon>
<ListItemText primary="布丁巴哈更新串" />
</ListItem>
<ListItem button component="a" href="https://discord.gg/Fy82rTb">
<ListItemIcon>
<LanguageIcon />
</ListItemIcon>
<ListItemText primary="布丁Discord" />
</ListItem>
<ListItem
button
component="a"
Expand Down

0 comments on commit a291e68

Please sign in to comment.