Skip to content

Commit 83909ab

Browse files
committed
update sponsor
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
1 parent 222e385 commit 83909ab

File tree

6 files changed

+5
-209
lines changed

6 files changed

+5
-209
lines changed

src/assets/alipay.png

-118 KB
Binary file not shown.

src/assets/wxpay.png

-77.7 KB
Binary file not shown.

src/components/Layout.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</el-menu>
1515

1616
<el-space>
17-
<el-button plain type="primary" @click="sponsor = true">
17+
<el-button plain type="primary" @click="openSponsor">
1818
<el-icon :size="20" color="red"><HeartIcon/></el-icon>
1919
<span>{{ $t('navbar.sponsor') }}</span>
2020
</el-button>
@@ -67,13 +67,11 @@
6767
</el-space>
6868
</el-footer>
6969
</el-container>
70-
<Sponsor v-model="sponsor"/>
7170
</template>
7271

7372
<script setup>
7473
import { Terminal as TerminalIcon, Github as GithubIcon, Heart as HeartIcon } from '@vicons/fa'
7574
import { useRttyVersionStore } from '@/stores/rtty-version'
76-
import Sponsor from './Sponsor.vue'
7775
import particlesOptions from './particles'
7876
import { watch, ref, onMounted } from 'vue'
7977
import { useRoute } from 'vue-router'
@@ -91,10 +89,12 @@ watch(route, newRoute => selectedMenu.value = newRoute.path)
9189
9290
const version = useRttyVersionStore()
9391
94-
const sponsor = ref(false)
95-
9692
const stars = ref('0')
9793
94+
function openSponsor() {
95+
window.open('https://zhaojh329.github.io/zhaojh329/')
96+
}
97+
9898
function openRttyRelease() {
9999
window.open('https://github.com/zhaojh329/rtty/releases')
100100
}

src/components/Sponsor.vue

Lines changed: 0 additions & 186 deletions
This file was deleted.

src/locales/en.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,6 @@
1010
"language": "Language",
1111
"sponsor": "Sponsor"
1212
},
13-
"sponsor": {
14-
"title": "Support RTTY project",
15-
"wxpay": "WeChat Pay",
16-
"alipay": "Alipay",
17-
"wallet": "Wallet",
18-
"walletnote": "Make sure to copy the wallet addresses exactly when making your donation, as we cannot recover funds sent to the wrong wallet.",
19-
"acknowledgments": "Thank you for considering sponsoring the RTTY project! Your support will help me continue to develop and maintain the RTTY project!",
20-
"contact": "If you have any questions, please contact: "
21-
},
2213
"hero": {
2314
"title": "Remote Terminal Access, Simplified",
2415
"subtitle": "Access your devices anywhere, anytime through a web browser",

src/locales/zh-CN.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,6 @@
1010
"language": "语言",
1111
"sponsor": "赞助"
1212
},
13-
"sponsor": {
14-
"title": "支持 RTTY 项目",
15-
"wxpay": "微信支付",
16-
"alipay": "支付宝",
17-
"wallet": "钱包",
18-
"walletnote": "捐赠时请务必准确复制钱包地址,因为我们无法追回发送到错误钱包的资金。",
19-
"acknowledgments": "感谢您考虑赞助 RTTY 项目!您的支持将帮助我持续开发和维护 RTTY 项目!",
20-
"contact": "如有问题,请联系:"
21-
},
2213
"hero": {
2314
"title": "远程终端访问,从未如此简单",
2415
"subtitle": "随时随地通过浏览器访问您的设备",

0 commit comments

Comments
 (0)