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

Clean up UI #605

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
74 changes: 0 additions & 74 deletions chains/mainnet/axelar.json

This file was deleted.

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.

26 changes: 26 additions & 0 deletions chains/mainnet/pastel-devnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"chain_name": "pastel-devnet-1",
"api": [
{
"address": "https://lcd.pastel.network",
"provider": "PastelNetwork"
}
],
"rpc": [
{
"address": "https://rpc.pastel.network",
"provider": "PastelNetwork"
}
],
"sdk_version": "0.50.10",
"coin_type": "118",
"min_tx_fee": "30",
"assets":[{
"base": "upsl",
"symbol": "PSL",
"exponent": "6",
"logo": "/logos/pastel.png"
}],
"addr_prefix": "pastel",
"logo": "/logos/pastel.png"
}
11 changes: 0 additions & 11 deletions chains/testnet/crossfi.json

This file was deleted.

1 change: 1 addition & 0 deletions public/logos/cosmos.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/logos/pastel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions src/layouts/components/DefaultLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ dayjs()
>
<div class="flex justify-between mt-1 pl-4 py-4 mb-1">
<RouterLink to="/" class="flex items-center">
<img class="w-10 h-10" src="../../assets/logo.svg" />
<img class="w-10 h-10" src="../../assets/logo.png" />
<h1 class="flex-1 ml-3 text-2xl font-semibold dark:text-white">
Ping.pub
Pastel<br>Network
</h1>
</RouterLink>
<div
Expand Down Expand Up @@ -259,10 +259,12 @@ dayjs()
Wallet Helper
</div>
</RouterLink>
<div class="px-4 text-sm pt-2 text-gray-400 pb-2 uppercase">
<!--
<div class="px-4 text-sm pt-2 text-gray-400 pb-2 uppercase">
{{ $t('module.sponsors') }}
</div>
<Sponsors />
-->
<div class="px-4 text-sm pt-2 text-gray-400 pb-2 uppercase">{{ $t('module.links') }}</div>
<a
href="https://twitter.com/ping_pub"
Expand Down
10 changes: 5 additions & 5 deletions src/layouts/components/NavFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
<footer
class="flex items-center h-12 mt-5 text-sm bg-gray-100 dark:bg-[#171d30] py-2 z-10 w-full"
>
<!--
<div class="flex flex-1">
&copy;&nbsp;
{{ new Date().getFullYear() }}&nbsp;
Made With&nbsp;
<img src="../../assets/images/heart.svg" />&nbsp;
By&nbsp;
&nbsp;
<a
class="link link-primary no-underline"
href="https://ping.pub"
href="https://pastel.network"
target="_blank"
rel="noopener noreferrer"
>Ping.pub</a
>Pastel Network</a
>
</div>
-->
<div
class="hidden md:!block"
>
Expand Down
4 changes: 3 additions & 1 deletion src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const chainStore = useBlockchain()
</script>
<template>
<div class="">
<!--
<div class="flex md:!flex-row flex-col items-center justify-center mb-6 mt-14 gap-2">
<div class="w-16 rounded-full">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -96,12 +97,13 @@ const chainStore = useBlockchain()
<div class="text-center text-base mt-6 text-primary">
<h2 class="mb-6">{{ $t('pages.description') }}</h2>
</div>

<div class="flex items-center rounded-lg bg-base-100 border border-gray-200 dark:border-gray-700 mt-10">
<Icon icon="mdi:magnify" class="text-2xl text-gray-400 ml-3"/>
<input :placeholder="$t('pages.search_placeholder')" class="px-4 h-10 bg-transparent flex-1 outline-none text-base" v-model="keywords" />
<div class="px-4 text-base hidden md:!block">{{ chains.length }}/{{ dashboard.length }}</div>
</div>
-->

<div
class="grid grid-cols-1 gap-4 mt-6 md:!grid-cols-3 lg:!grid-cols-4 2xl:!grid-cols-5"
Expand Down
16 changes: 8 additions & 8 deletions src/stores/useBlockchain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,14 @@ export const useBlockchain = defineStore('blockchain', {
return [
...currNavItem,
{ heading: 'Ecosystem' } as NavSectionTitle,
{
title: 'Favorite',
children: favNavItems,
badgeContent: favNavItems.length,
badgeClass: 'bg-primary',
i18n: true,
icon: { icon: 'mdi-star', size: '22' },
} as NavGroup,
// {
// title: 'Favorite',
// children: favNavItems,
// badgeContent: favNavItems.length,
// badgeClass: 'bg-primary',
// i18n: true,
// icon: { icon: 'mdi-star', size: '22' },
// } as NavGroup,
{
title: 'All Blockchains',
to: { path: '/' },
Expand Down
3 changes: 2 additions & 1 deletion src/stores/useDashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ export function fromLocal(lc: LocalConfig): ChainConfig {
}
}
conf.features = lc.features
conf.logo = lc.logo.startsWith('http') ? lc.logo : `https://ping.pub${lc.logo}`;
//conf.logo = lc.logo.startsWith('http') ? lc.logo : `https://ping.pub${lc.logo}`;
conf.logo = lc.logo;
conf.keplrFeatures = lc.keplr_features;
conf.keplrPriceStep = lc.keplr_price_step;
conf.themeColor = lc.theme_color;
Expand Down
Loading