Skip to content

Commit

Permalink
fix!: widget new version
Browse files Browse the repository at this point in the history
  • Loading branch information
MGrgr committed May 5, 2022
1 parent 3cf975e commit 55cea62
Show file tree
Hide file tree
Showing 158 changed files with 680 additions and 8,613 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# meta
VITE_APP_TITLE="staking.kiwi"
VITE_APP_TITLE="widget.staking.kiwi"
VITE_APP_DESCRIPTION="Solana staking."
VITE_APP_KEYWORDS="Solana, SOL, Staking"

Expand Down
6 changes: 0 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@
<meta name="keywords" content="<%- keywords %>"/>
<meta content="ie=edge" http-equiv="x-ua-compatible"/>
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport"/>
<meta property="og:title" content="<%- title %>"/>
<meta property="og:description" content="<%- description %>"/>
<meta property="og:type" content="website"/>
<meta name="og:image" content="/img/logo.svg"/>
<meta name="twitter:creator" content="@JPoolSolana"/>
<meta name="twitter:title" content="<%- title %>"/>
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="/img/favicon.svg" rel="icon"/>
Expand Down
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "staking-kiwi",
"name": "staking-kiwi-widget",
"version": "1.2.0",
"license": "ISC",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/mfactory-lab/staking_kiwi.git"
"url": "git+https://github.com/mfactory-lab/widget_staking_kiwi.git"
},
"bugs": {
"url": "https://github.com/mfactory-lab/staking_kiwi/issues"
"url": "https://github.com/mfactory-lab/widget_staking_kiwi/issues"
},
"homepage": "https://github.com/mfactory-lab/staking_kiwi#readme",
"homepage": "https://github.com/mfactory-lab/widget_staking_kiwi#readme",
"scripts": {
"dev": "vite --port 3333",
"build": "vite build --mode production",
Expand All @@ -33,15 +33,13 @@
"@vueuse/head": "^0.7.6",
"axios": "^0.26.0",
"bn.js": "^5.2.0",
"chart.js": "^3.7.1",
"localstorage-memory": "^1.0.3",
"lodash-es": "^4.17.21",
"mitt": "^3.0.0",
"pinia": "^2.0.13",
"quasar": "^2.6.6",
"solana-wallets-vue": "^0.3.2",
"vue": "^3.2.33",
"vue-chart-3": "^3.1.8",
"vue-gtag": "^2.0.1",
"vue-router": "^4.0.14"
},
Expand Down
14 changes: 1 addition & 13 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,12 @@
</template>

<script lang="ts" setup>
import { onBeforeMount, watch } from 'vue';
import { onBeforeMount } from 'vue';
import { initWallet } from '@/hooks';
import router from '@/router';

import '@/assets/scss/app.scss';

onBeforeMount(() => {
initWallet();
});

watch(
[router.currentRoute],
async ([route]) => {
const validator = route.query?.validator;
if (validator) {
await router.push({ path: `/app/${validator}` });
}
},
{ immediate: true },
);
</script>
29 changes: 0 additions & 29 deletions src/assets/img/CoinGecko-Logo.svg

This file was deleted.

31 changes: 0 additions & 31 deletions src/assets/img/arrow-grow.svg

This file was deleted.

10 changes: 0 additions & 10 deletions src/assets/img/atom.svg

This file was deleted.

15 changes: 0 additions & 15 deletions src/assets/img/avalanche.svg

This file was deleted.

6 changes: 0 additions & 6 deletions src/assets/img/badge-delinq.svg

This file was deleted.

6 changes: 0 additions & 6 deletions src/assets/img/badge-jpool.svg

This file was deleted.

Loading

0 comments on commit 55cea62

Please sign in to comment.