Skip to content

Commit

Permalink
snatch send btn + remove cancel btn in topup
Browse files Browse the repository at this point in the history
  • Loading branch information
2z2z2z committed May 12, 2023
1 parent 8d54d71 commit fbc9b72
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions lang/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,7 @@ export default {
'join-channel': 'Подписаться на канал',
'join-conversation': 'Вступить в группу',
'game-community': 'Сообщество игры',
'button-send-snatch': 'Отправить токены SNATCH в игру',
},
'deposit-p2p': {
'title': 'Пополнение с карты',
Expand Down
3 changes: 2 additions & 1 deletion pages/metagarden/game/snatch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ export default {
<template>
<MetagardenGame v-slot="{game}">
<a class="button button--main button--full u-mb-10 u-mt-15" href="http://t.me/metagardenbot?start=snatch" target="_blank">{{ $td('Play', 'mg-games.button-play') }}</a>
<nuxt-link class="button button--ghost-main button--full" :to="$i18nGetPreferredPath('/swap/' + game.coin)">
<nuxt-link class="button button--ghost-main button--full u-mb-10" :to="$i18nGetPreferredPath('/swap/' + game.coin)">
{{ $t('action.title-buy-coin', {coin: game.coin}) }}
</nuxt-link>
<a class="button button--ghost-main button--full" href="/send/-/SNATCH">{{ $td('Send SNATCH tokens to the Game', 'mg-games.button-send-snatch') }}</a>
</MetagardenGame>
</template>
4 changes: 2 additions & 2 deletions pages/topup/coin/_coin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ export default {
{{ $td('Swap in Honee', 'topup.buy-in-honee') }}
</nuxt-link>

<nuxt-link class="button button--ghost button--full u-mt-10" :to="$i18nGetPreferredPath('/topup/coin/' + $route.params.coin)">
<!--<nuxt-link class="button button--ghost button--full u-mt-10" :to="$i18nGetPreferredPath('/topup/coin/' + $route.params.coin)">
{{ $td('Cancel', 'topup.cancel') }}
</nuxt-link>
</nuxt-link>-->
</div>

<nuxt-link class="link--default-black u-mt-15" v-if="$options.isOnboarding" :to="$i18nGetPreferredPath($store.state.authRedirectPath || DASHBOARD_URL)" @click.native="$nextTick(() => $store.commit('SET_AUTH_REDIRECT_PATH', ''))">
Expand Down

0 comments on commit fbc9b72

Please sign in to comment.