Skip to content

Commit

Permalink
update url tomoz -> vicz
Browse files Browse the repository at this point in the history
  • Loading branch information
bobcoin98 committed Dec 7, 2023
1 parent a3bc89b commit 6133fe8
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 20 deletions.
2 changes: 1 addition & 1 deletion app/assets/scss/components/_token.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
margin-left: 5px;
}
.apply-tomoz {
background: $background-violet;
background: $background-blue;
@include fsz(14);
// border-radius: 30px;
padding: 2px 10px;
Expand Down
4 changes: 2 additions & 2 deletions app/assets/scss/settings/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ $background-white: #ffffff;
$background-oranges: #141414;
$background-blue: #766B60;
$background-blue-active: #766B60;
$background-violet: #5565c7;
$background-violet-active: #3D4DAC;
$background-violet: #766B60;
$background-violet-active: #766B60;

$background-primary: #EBE9E5;

Expand Down
4 changes: 2 additions & 2 deletions app/components/Token.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
v-if="(token.type === 'trc21' || token.type === 'vrc25')
&& !isAppliedZ
&& account === contractCreation"
:to="'/tomozcondition/' + address"
:to="'/viczcondition/' + address"
class="tmp-btn-violet"
style="width: 240px">
<span class="tm-icon-tomoz-new-w mr-1">
Expand Down Expand Up @@ -95,7 +95,7 @@
</template>
<!-- <b-dropdown-item
v-if="token.type === 'trc21' && !isAppliedZ && account === contractCreation"
:to="'/tomozcondition/' + address">
:to="'/viczcondition/' + address">
Apply to Viction Zero Gas Protocol
</b-dropdown-item>
<b-dropdown-item
Expand Down
19 changes: 10 additions & 9 deletions app/components/accounts/ListToken.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
#cell(price)="data">
{{ data.item.price || '---' }}
</template>
<template
<!-- <template
#cell(totalSupply)="data">
{{ formatNumber(data.supply) }}
</template>
</template> -->
<template
#cell(volume)="data">
{{ data.item.volume || '---' }}
Expand Down Expand Up @@ -83,7 +83,7 @@
</template>
<b-dropdown-item
v-if="data.type === 'trc21' && !data.item.applytomoz"
:to="'/tomozcondition/' + data.item.hash">
:to="'/viczcondition/' + data.item.hash">
Apply to VICZ
</b-dropdown-item>
<!-- <b-dropdown-item
Expand All @@ -109,7 +109,7 @@
</b-dropdown>
<!-- <router-link
v-if="!data.value"
:to="`/tomozcondition/${data.item.hash}`">
:to="`/viczcondition/${data.item.hash}`">
Apply VICZ
</router-link> -->
</template>
Expand Down Expand Up @@ -162,7 +162,7 @@ export default {
return {
listokenCurrentPage: this.$store.state.listokenCurrentPage || 1,
listokenRows: 0,
listokenPerPage: 7,
listokenPerPage: 8,
listokenFields: [
{ key: 'logo', label: '', variant: 'sp-text-center' },
{ key: 'token', label: 'Token' },
Expand All @@ -175,7 +175,7 @@ export default {
{ key: 'applytomoz', label: '', variant: 'sp-text-center' }
],
listokenItems: [],
sortBy: 'totalSupplyNumber',
sortBy: 'price',
sortDesc: true,
tokens: [],
loading: false,
Expand Down Expand Up @@ -225,11 +225,12 @@ export default {
symbol: i.symbol,
hash: i.address,
price: i.price ? i.price : '---',
totalSupply: i.totalSupplyNumber,
// totalSupply: this.formatNumber(i.totalSupplyNumber),
ownerBalance: ownerBalanceStr + ownerValueStr,
supply: new BigNumber(
supply: this.formatNumber(new BigNumber(
i.circulatingSupply ? i.circulatingSupply : i.totalSupply
).div(10 ** i.decimals),
).div(10 ** i.decimals)
),
holders: i.holder || '---',
applytomoz: ((self.appliedZList || []).indexOf(i.address) > -1),
applytomox: ((self.appliedXList || []).indexOf(i.address) > -1),
Expand Down
2 changes: 1 addition & 1 deletion app/components/applying/bridgeToken/ConfirmBridgeToken.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
class="btn tmp-btn-boder-violet btn-secondary">Token detail
</router-link>
<!-- <router-link
:to="'/tomozcondition/' + contractAddress"
:to="'/viczcondition/' + contractAddress"
class="tmp-btn-violet">
<span class="tm-icon-tomoz-new-w mr-1">
<span class="path1"/><span class="path2"/>
Expand Down
4 changes: 2 additions & 2 deletions app/components/applytomo/VicZApplication.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<span class="tm-icon-tomoz-new"><span class="path1"/><span class="path2"/></span>
</p>
<!-- <p><i class="tm-icon-tomoz-new"/></p> -->
<h2 class="tmp-title-large">Zero Protocol Application</h2>
<h2 class="tmp-title-large">Zero Gas Protocol Application</h2>
</div>
<b-form
class="tmp-form-one"
Expand Down Expand Up @@ -146,7 +146,7 @@ export default {
this.$router.go(-2)
},
confirm () {
this.$router.push({ name: 'TomoZConfirm',
this.$router.push({ name: 'VicZConfirm',
params: {
address: this.address,
token: this.token,
Expand Down
2 changes: 1 addition & 1 deletion app/components/applytomo/VicZApplied.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<p>
<span class="tm-icon-tomoz-new"><span class="path1"/><span class="path2"/></span>
</p>
<h2 class="tmp-title-large">TomoZ Protocol Application</h2>
<h2 class="tmp-title-large">Zero Gas Protocol Application</h2>
</div>
<b-form
class="tmp-form-one"
Expand Down
4 changes: 2 additions & 2 deletions app/components/applytomo/VicZConfirm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<i class="tm-icon-tomoz-new"><span class="path1"/><span class="path2"/></i>
</p>
<!-- <p><i class="tm-icon-tomoz-new"/></p> -->
<h2 class="tmp-title-large">TomoZ Protocol Application</h2>
<h2 class="tmp-title-large">Zero Gas Protocol Application</h2>
</div>
<div class="tmp-table-three">
<table>
Expand Down Expand Up @@ -54,7 +54,7 @@
<b-button
class="tmp-btn-violet"
@click="applyTomoZ">
Apply to TomoZ protocol
Apply Zero Gas protocol
</b-button>
</div>
<b-modal
Expand Down

0 comments on commit 6133fe8

Please sign in to comment.