From e17a63b042c7d230c1a5aebf374590ae34947c9c Mon Sep 17 00:00:00 2001 From: Masterain Date: Fri, 23 Feb 2024 19:12:07 -0800 Subject: [PATCH] Update Sponsor.vue --- docs/.vuepress/components/Sponsor.vue | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/docs/.vuepress/components/Sponsor.vue b/docs/.vuepress/components/Sponsor.vue index f9fdf5849..44a6f1223 100644 --- a/docs/.vuepress/components/Sponsor.vue +++ b/docs/.vuepress/components/Sponsor.vue @@ -4,7 +4,7 @@ @@ -38,7 +38,10 @@ enum SponsorType { interface SponsorItem { icon: string; - name: string; + name: { + zh: string; + en: string; + }; type: SponsorType; qrcode: string; label: { @@ -50,7 +53,10 @@ interface SponsorItem { const sponsor: SponsorItem[] = [{ icon: "/images/202312/github-mark.svg", - name: 'Github', + name: { + zh: "GitHub", + en: "GitHub", + }, type: SponsorType.github, qrcode: "/images/202402/github-sponsor.png", label: { @@ -60,7 +66,10 @@ const sponsor: SponsorItem[] = [{ url: "https://github.com/sponsors/DGP-Studio" }, { icon: "/svg/afd-official.svg", - name: '爱发电', + name: { + zh: '爱发电', + en: "AFDian" + }, type: SponsorType.afdian, qrcode: "/images/202402/aifadian-qr.png", label: { @@ -70,7 +79,10 @@ const sponsor: SponsorItem[] = [{ url: "https://afdian.net/a/DismissedLight" }, { icon: "/svg/paypal.svg", - name: 'PayPal', + name: { + zh: 'PayPal', + en: "PayPal" + }, type: SponsorType.paypal, qrcode: "/images/202402/paypal-qr.png", label: {