Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/vector redesign #600

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tools]
node = "21.3.0"
74 changes: 0 additions & 74 deletions chains/mainnet/axelar.json

This file was deleted.

49 changes: 35 additions & 14 deletions chains/mainnet/cosmos.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,46 @@
"chain_name": "cosmos",
"registry_name": "cosmoshub",
"api": [
{"provider": "cosmos.directory", "address": "https://rest.cosmos.directory/cosmoshub"},
{"provider": "publicnode", "address": "https://cosmos-rest.publicnode.com"},
{"provider": "silknode", "address": "https://cosmos.api.silknodes.io"}
{
"provider": "cosmos.directory",
"address": "https://rest.cosmos.directory/cosmoshub"
},
{
"provider": "publicnode",
"address": "https://cosmos-rest.publicnode.com"
},
{
"provider": "silknode",
"address": "https://cosmos.api.silknodes.io"
}
],
"rpc": [
{"provider": "icycro", "address": "https://cosmos-rpc.icycro.org"},
{"provider": "dragonstake", "address": "https://rpc.cosmos.dragonstake.io"},
{"provider": "Golden Ratio Staking", "address": "https://rpc-cosmoshub.goldenratiostaking.net"}
{
"provider": "icycro",
"address": "https://cosmos-rpc.icycro.org"
},
{
"provider": "dragonstake",
"address": "https://rpc.cosmos.dragonstake.io"
},
{
"provider": "Golden Ratio Staking",
"address": "https://rpc-cosmoshub.goldenratiostaking.net"
}
],
"sdk_version": "0.45.1",
"coin_type": "118",
"min_tx_fee": "800",
"addr_prefix": "cosmos",
"logo": "/logos/cosmos.svg",
"assets": [{
"base": "uatom",
"symbol": "ATOM",
"exponent": "6",
"coingecko_id": "cosmos",
"logo": "/logos/cosmos.svg"
}]
}
"theme_color": "#9cd3b8",
"assets": [
{
"base": "uatom",
"symbol": "ATOM",
"exponent": "6",
"coingecko_id": "cosmos",
"logo": "/logos/cosmos.svg"
}
]
}
30 changes: 0 additions & 30 deletions chains/mainnet/neutron.json

This file was deleted.

27 changes: 0 additions & 27 deletions chains/mainnet/nolus.json

This file was deleted.

32 changes: 0 additions & 32 deletions chains/mainnet/osmosis.json

This file was deleted.

11 changes: 0 additions & 11 deletions chains/testnet/crossfi.json

This file was deleted.

24 changes: 5 additions & 19 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,40 +4,26 @@
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ping Dashboard - Cosmos Blockchain Explorer And Web Wallet</title>
<meta name="description" content="Ping Dashboard is a block explorer/web wallet for blockchains built on Cosmos SDK, Cosmoshub, Osmosis, Juno, Evmos, Injective, Canto and 70+ blockchains listed on ping.pub" />
<title>Vector Explorer</title>
<meta name="description" content="Dashboard and explorer for the Vector gaming blockchain" />
<link rel="stylesheet" type="text/css" href="/loader.css" />
</head>
<body>
<div id="app">
<div id="loading-bg">
<div class="loading-logo">
<img src="/logo.svg" alt="Logo" />
</div>
<div class="pre-loading">
<div class="effect-1 effects"></div>
<div class="effect-2 effects"></div>
<div class="effect-3 effects"></div>
</div>
</div>

</div>
</div>
<script type="module" src="/src/main.ts"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SSBKVF3GMX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
// Set default consent to 'denied' as a placeholder
// Determine actual values based on your own requirements
gtag('consent', 'default', {
'ad_storage': 'denied',
'ad_user_data': 'denied',
'ad_personalization': 'denied',
'analytics_storage': 'denied'
});
gtag('config', 'G-SSBKVF3GMX');
</script>

<script type="module" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ping-widget.min.js"></script>

</body>
Expand Down
23 changes: 20 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
"build": "run-p type-check build-only",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --noEmit"
"type-check": "vue-tsc --noEmit",
"postinstall": "husky"
},
"dependencies": {
"@chenfengyuan/vue-countdown": "2",
"@cosmjs/crypto": "^0.32.3",
"@cosmjs/amino": "^0.32.3",
"@cosmjs/crypto": "^0.32.3",
"@cosmjs/encoding": "^0.32.3",
"@cosmjs/stargate": "^0.32.3",
"@iconify/vue": "^4.1.0",
Expand All @@ -36,6 +37,7 @@
"cross-fetch": "^3.1.5",
"daisyui": "^3.1.0",
"dayjs": "^1.11.7",
"husky-init": "^8.0.0",
"lazy-load-vue3": "^1.3.0",
"long": "^5.2.1",
"md-editor-v3": "^2.8.1",
Expand All @@ -56,13 +58,18 @@
"vue3-perfect-scrollbar": "^1.6.1"
},
"devDependencies": {
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@osmonauts/telescope": "^0.88.2",
"@types/marked": "^4.0.8",
"@types/node": "^18.11.12",
"@types/numeral": "^2.0.2",
"@types/semver": "7.5.0",
"@vitejs/plugin-vue": "^4.0.0",
"@vue/tsconfig": "^0.1.3",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"husky": "^9.1.7",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"sass": "^1.58.0",
Expand All @@ -75,5 +82,15 @@
"vite-plugin-pages": "^0.28.0",
"vue-json-viewer": "3",
"vue-tsc": "^1.0.12"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true"
}
}
}
}
19 changes: 15 additions & 4 deletions public/loader.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
body{
margin: 0;
}

#loading-bg {
background: var(--initial-loader-bg, #fff);
background: #212121;
display:flex;
position: relative;
height: 100vh;
flex-direction: column;
justify-content: center;
align-items: center;
}

.loading-logo {
position: absolute;
/* position: absolute;
inset-block-start: 40%;
inset-inline-start: calc(50% - 75px);
inset-inline-start: calc(50% - 75px); */
}

.pre-loading {
Expand All @@ -14,8 +24,9 @@
border: 3px solid transparent;
block-size: 55px;
border-radius: 50%;
top: 20px;
inline-size: 55px;
inset-block-start: calc(40% + 35px);
inset-block-start: calc(40% + 140px);
inset-inline-start: calc(50% - 27.5px);
}

Expand Down
Loading