From 01dd4fcde16b85172221c60a34f1116e2eb1031a Mon Sep 17 00:00:00 2001 From: leoding86 Date: Thu, 24 Jun 2021 17:07:56 +0800 Subject: [PATCH] update --- src/renderer/components/Header.vue | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/renderer/components/Header.vue b/src/renderer/components/Header.vue index 4ff8086..23d0fdd 100644 --- a/src/renderer/components/Header.vue +++ b/src/renderer/components/Header.vue @@ -10,6 +10,14 @@
+ + Github + Star it + + Patreon + Support it + +
@@ -60,6 +68,15 @@ export default { ipcRenderer.on('update-service:find-new-version', () => { this.hasNewVersion = true; }); + }, + + methods: { + jumpTo(url) { + let a = document.createElement('a'); + a.href = url; + a.target = '_blank'; + a.click(); + } } } @@ -70,15 +87,17 @@ export default { flex-direction: row; .header__right { + display: flex; + justify-content: flex-end; position: relative; flex: 1; - text-align: right; } } .settings-button { display: inline-block; position: relative; + margin-left: 10px; &__update-icon { position: absolute;