Skip to content

Commit

Permalink
Merge pull request #39 from planetarium/feat/popup/remove-bridge-feature
Browse files Browse the repository at this point in the history
feat(popup): obsolete bridge feature
  • Loading branch information
moreal authored May 16, 2024
2 parents dc0453b + 446341b commit 4406878
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 281 deletions.
12 changes: 0 additions & 12 deletions popup/src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import InitiateMnemonic from "@/views/InitiateMnemonic.vue";
import Login from "@/views/Login.vue";
import ForgotPassword from "@/views/ForgotPassword.vue";
import Send from "@/views/Send.vue";
import BridgeWNCG from "@/views/BridgeWNCG.vue";
import Bridge from "@/views/Bridge.vue";
import Confirmation from "@/views/Confirmation.vue";

let router = createRouter({
Expand Down Expand Up @@ -42,16 +40,6 @@ let router = createRouter({
name: 'send',
component: Send
},
{
path: '/bridge',
name: 'bridge',
component: Bridge
},
{
path: '/bridge/ncg2wncg',
name: 'ncg2wncg',
component: BridgeWNCG
},
{
path: '/confirmation',
name: 'confirmation',
Expand Down
64 changes: 0 additions & 64 deletions popup/src/views/Bridge.vue

This file was deleted.

197 changes: 0 additions & 197 deletions popup/src/views/BridgeWNCG.vue

This file was deleted.

9 changes: 1 addition & 8 deletions popup/src/views/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@
</div>
</div>
<div class="mt-4">
<v-btn dark size="large" color="#666666" class="mx-1 action-btn" :disabled="balanceLoading" @click="$router.replace({name: 'bridge'})">
<div>
{{t('bridge')}}
<div style="font-size: 10px;color:#888;letter-spacing: 0px">WNCG</div>
</div>
</v-btn>
<v-btn dark large
color="#F0B90B"
class="mx-1 action-btn point-btn"
Expand All @@ -47,8 +41,7 @@
<span class="ml-3" :class="tx.status">{{tx.status}}</span>
</span>
<span class="tx-type">
<span v-if="tx.action === 'bridgeWNCG'">Bridge WNCG</span>
<span v-else>{{ tx.type == 'transfer_asset5' ? 'Transfer Asset' : tx.type}}</span>
<span>{{ tx.type == 'transfer_asset5' ? 'Transfer Asset' : tx.type}}</span>
</span>
</div>
<div style="margin-right: -16px;" class="d-flex align-center">
Expand Down

0 comments on commit 4406878

Please sign in to comment.