feat: add Afdian support card to resources section in WelcomePage

This commit is contained in:
Soulter
2026-02-15 16:20:34 +08:00
parent 754144ad99
commit 2d23c36067
3 changed files with 22 additions and 4 deletions
@@ -27,6 +27,8 @@
"title": "Resources",
"githubDesc": "Give us a Star!",
"docsTitle": "Documentation",
"docsDesc": "Read the official AstrBot documentation."
"docsDesc": "Read the official AstrBot documentation.",
"afdianTitle": "Afdian",
"afdianDesc": "Support the AstrBot team on Afdian."
}
}
@@ -27,6 +27,8 @@
"title": "相关资源",
"githubDesc": "给 AstrBot 点个 Star 吧!",
"docsTitle": "文档",
"docsDesc": "查阅 AstrBot 的官方文档。"
"docsDesc": "查阅 AstrBot 的官方文档。",
"afdianTitle": "爱发电",
"afdianDesc": "通过爱发电支持 AstrBot 团队。"
}
}
+16 -2
View File
@@ -70,7 +70,7 @@
{{ tm('resources.title') }}
</div>
<v-row>
<v-col cols="12" sm="6">
<v-col cols="12" sm="4">
<!-- GitHub Card -->
<v-card variant="outlined" class="h-100 pa-4 d-flex flex-column"
href="https://github.com/AstrBotDevs/AstrBot/" target="_blank">
@@ -84,7 +84,7 @@
</v-card>
</v-col>
<v-col cols="12" sm="6">
<v-col cols="12" sm="4">
<!-- Docs Card -->
<v-card variant="outlined" class="h-100 pa-4 d-flex flex-column" href="https://docs.astrbot.app"
target="_blank">
@@ -98,6 +98,20 @@
</v-card>
</v-col>
<v-col cols="12" sm="4">
<!-- Afdian Card -->
<v-card variant="outlined" class="h-100 pa-4 d-flex flex-column"
href="https://afdian.com/a/astrbot_team" target="_blank">
<div class="d-flex align-center mb-3">
<v-icon size="32" class="mr-3">mdi-hand-heart</v-icon>
<span class="text-h6 font-weight-bold">{{ tm('resources.afdianTitle') }}</span>
</div>
<p class="text-body-2 text-medium-emphasis mb-0">
{{ tm('resources.afdianDesc') }}
</p>
</v-card>
</v-col>
</v-row>
</v-card>
</v-col>