Skip to content

Commit ae92a8d

Browse files
committed
增加重定向 & social links
1 parent 8d8cb72 commit ae92a8d

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

.vitepress/config.mts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export default defineConfig({
2727
},
2828

2929
socialLinks: [
30+
{ icon: "qq", link: "https://sleepy.wss.moe/qq" },
31+
{ icon: "telegram", link: "https://sleepy.wss.moe/tgc" },
32+
{ icon: "discord", link: "https://sleepy.wss.moe/dc" },
3033
{ icon: "github", link: "https://github.com/sleepy-project" },
3134
],
3235

@@ -61,6 +64,8 @@ export default defineConfig({
6164
nav: [{ text: "Home", link: "/en_us/" }],
6265

6366
socialLinks: [
67+
{ icon: "telegram", link: "https://sleepy.wss.moe/tgc" },
68+
{ icon: "discord", link: "https://sleepy.wss.moe/dc" },
6469
{ icon: "github", link: "https://github.com/sleepy-project" },
6570
],
6671

public/_redirects

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Social Platforms
2+
/dc https://discord.gg/DyBY6gwkeg
3+
/tg https://t.me/sleepy_awa
4+
/tgc https://t.me/sleepy_waw
5+
/qq https://qm.qq.com/q/uItkv96Wn6
6+
7+
# GitHub
8+
/bug https://github.com/wyf9/sleepy/issues/new?template=1-bug-report.yml
9+
/feature https://github.com/wyf9/sleepy/issues/new?template=2-feature-request.yml
10+
/security https://github.com/wyf9/sleepy/security/policy
11+
12+
# Legacy
13+
/t/dc https://discord.gg/DyBY6gwkeg
14+
/t/tg https://t.me/sleepy_awa
15+
/t/tgc https://t.me/sleepy_waw
16+
/t/qq https://qm.qq.com/q/uItkv96Wn6
17+
/t/bug https://github.com/wyf9/sleepy/issues/new?template=1-bug-report.yml
18+
/t/feature https://github.com/wyf9/sleepy/issues/new?template=2-feature-request.yml
19+
/t/security https://github.com/wyf9/sleepy/security/policy

0 commit comments

Comments
 (0)