diff --git a/dashboard/src/i18n/locales/en-US/features/welcome.json b/dashboard/src/i18n/locales/en-US/features/welcome.json index 0d7cd0db7..676e0f07f 100644 --- a/dashboard/src/i18n/locales/en-US/features/welcome.json +++ b/dashboard/src/i18n/locales/en-US/features/welcome.json @@ -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." } } diff --git a/dashboard/src/i18n/locales/zh-CN/features/welcome.json b/dashboard/src/i18n/locales/zh-CN/features/welcome.json index 6e72aa6b0..188445379 100644 --- a/dashboard/src/i18n/locales/zh-CN/features/welcome.json +++ b/dashboard/src/i18n/locales/zh-CN/features/welcome.json @@ -27,6 +27,8 @@ "title": "相关资源", "githubDesc": "给 AstrBot 点个 Star 吧!", "docsTitle": "文档", - "docsDesc": "查阅 AstrBot 的官方文档。" + "docsDesc": "查阅 AstrBot 的官方文档。", + "afdianTitle": "爱发电", + "afdianDesc": "通过爱发电支持 AstrBot 团队。" } } diff --git a/dashboard/src/views/WelcomePage.vue b/dashboard/src/views/WelcomePage.vue index eb7c80308..8d52131b1 100644 --- a/dashboard/src/views/WelcomePage.vue +++ b/dashboard/src/views/WelcomePage.vue @@ -70,7 +70,7 @@ {{ tm('resources.title') }} - + @@ -84,7 +84,7 @@ - + @@ -98,6 +98,20 @@ + + + +
+ mdi-hand-heart + {{ tm('resources.afdianTitle') }} +
+

+ {{ tm('resources.afdianDesc') }} +

+
+
+