Skip to content

Commit

Permalink
send button in games
Browse files Browse the repository at this point in the history
  • Loading branch information
2z2z2z committed Aug 28, 2023
1 parent 49516b8 commit e5702ad
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lang/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ export default {
'join-channel': 'Подписаться на канал',
'join-conversation': 'Вступить в группу',
'game-community': 'Сообщество игры',
'button-send-tokens': 'Отправить токены в игру',
'button-send-tokens': 'Отправить токены',
},
'deposit-p2p': {
'title': 'Пополнение с карты',
Expand Down
4 changes: 2 additions & 2 deletions pages/metagarden/game/heist.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,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=heist" target="_blank">{{ $td('Play', 'mg-games.button-play') }}</a>
<a class="button button--ghost-main button--full" :href="$i18nGetPreferredPath('/send/-/' + game.coin)">{{ $td('Send tokens', 'mg-games.button-send-tokens') }}</a>
<!--<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="$i18nGetPreferredPath('/send/-/' + game.coin)">{{ $td('Send tokens to the Game', 'mg-games.button-send-tokens') }}</a>-->
</nuxt-link>-->
</MetagardenGame>
</template>
4 changes: 2 additions & 2 deletions pages/metagarden/game/magic-box.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,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=wonder" target="_blank">{{ $td('Play', 'mg-games.button-play') }}</a>
<a class="button button--ghost-main button--full" :href="$i18nGetPreferredPath('/withdraw?coin='+ game.coin +'&network=bsc')">{{ $td('Send tokens', 'mg-games.button-send-tokens') }}
<!--<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="$i18nGetPreferredPath('/withdraw?coin='+ game.coin +'&network=bsc')">{{ $td('Send tokens to the Game', 'mg-games.button-send-tokens') }}</a>-->
</nuxt-link></a>-->
</MetagardenGame>
</template>
4 changes: 2 additions & 2 deletions pages/metagarden/game/snatch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,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>
<a class="button button--ghost-main button--full" :href="$i18nGetPreferredPath('/send/-/' + game.coin)">{{ $td('Send tokens', 'mg-games.button-send-tokens') }}</a>
<!--<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="$i18nGetPreferredPath('/send/-/' + game.coin)">{{ $td('Send tokens to the Game', 'mg-games.button-send-tokens') }}</a>-->
</nuxt-link>-->
</MetagardenGame>
</template>

0 comments on commit e5702ad

Please sign in to comment.