Skip to content

Commit 5d91b1c

Browse files
committed
Update the login page design.
1 parent b8ca1ec commit 5d91b1c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/pages/Login.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<q-page class="bg-vblack">
55
<div class="row background-gradient window-height items-center">
66
<div class="col text-center q-pa-xl">
7-
<q-img src="statics/icons/icon-512x512.png" spinner-color="vdark" style="height: 150px; max-width: 150px" />
7+
<img src="@/statics/icons/icon-512x512.png" style="height: 150px; max-width: 150px">
88
<div class="text-h5 text-vdark"><span class="text-weight-bolder">vDexNode</span> dashboard</div>
99
<div class="text-subtitle1 text-vdark">Rent your computer to earn VTX</div>
1010
</div>
@@ -19,6 +19,7 @@
1919
</q-input>
2020
<q-btn color="black" :disabled="privateKey ? false: true" unelevated rounded outline class="full-width q-mt-md" label="Continue" type="submit" />
2121
</q-form>
22+
<q-btn flat round color="vdark" class="fixed-top-right q-ma-sm" icon="fas fa-link" @click="$utils.openExternal('Volentix')" />
2223
</div>
2324
</div>
2425
</q-page>

src/util/utils.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,11 @@ function getUniqueLocations (locations) {
5858
}
5959

6060
function openExternal (accountName) {
61+
// TODO: Get rid of if-else.
6162
if (accountName === 'VTX') {
6263
shell.openExternal('https://www.stex.com/')
64+
} else if (accountName === 'Volentix') {
65+
shell.openExternal('https://volentix.io/')
6366
} else {
6467
shell.openExternal('https://bloks.io/account/' + accountName)
6568
}

0 commit comments

Comments
 (0)