Skip to content

Commit b4fdf5e

Browse files
feat(ui): clean up unnecessary stuff
1 parent bdf9b52 commit b4fdf5e

File tree

10 files changed

+26
-20
lines changed

10 files changed

+26
-20
lines changed

chains/mainnet/pastel-devnet.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"base": "upsl",
2020
"symbol": "PSL",
2121
"exponent": "6",
22-
"logo": "/logos/cosmos.svg"
22+
"logo": "/logos/pastel.png"
2323
}],
2424
"addr_prefix": "pastel",
25-
"logo": "/logos/cosmos.svg"
25+
"logo": "/logos/pastel.png"
2626
}

public/logos/cosmos.svg

Lines changed: 1 addition & 0 deletions
Loading

public/logos/pastel.png

49.1 KB
Loading

src/assets/images/logo.png

49.1 KB
Loading

src/assets/logo.png

49.1 KB
Loading

src/layouts/components/DefaultLayout.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ dayjs()
8181
>
8282
<div class="flex justify-between mt-1 pl-4 py-4 mb-1">
8383
<RouterLink to="/" class="flex items-center">
84-
<img class="w-10 h-10" src="../../assets/logo.svg" />
84+
<img class="w-10 h-10" src="../../assets/logo.png" />
8585
<h1 class="flex-1 ml-3 text-2xl font-semibold dark:text-white">
86-
Ping.pub
86+
Pastel<br>Network
8787
</h1>
8888
</RouterLink>
8989
<div
@@ -259,10 +259,12 @@ dayjs()
259259
Wallet Helper
260260
</div>
261261
</RouterLink>
262-
<div class="px-4 text-sm pt-2 text-gray-400 pb-2 uppercase">
262+
<!--
263+
<div class="px-4 text-sm pt-2 text-gray-400 pb-2 uppercase">
263264
{{ $t('module.sponsors') }}
264265
</div>
265266
<Sponsors />
267+
-->
266268
<div class="px-4 text-sm pt-2 text-gray-400 pb-2 uppercase">{{ $t('module.links') }}</div>
267269
<a
268270
href="https://twitter.com/ping_pub"

src/layouts/components/NavFooter.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
<footer
44
class="flex items-center h-12 mt-5 text-sm bg-gray-100 dark:bg-[#171d30] py-2 z-10 w-full"
55
>
6+
<!--
67
<div class="flex flex-1">
78
&copy;&nbsp;
89
{{ new Date().getFullYear() }}&nbsp;
9-
Made With&nbsp;
10-
<img src="../../assets/images/heart.svg" />&nbsp;
11-
By&nbsp;
10+
&nbsp;
1211
<a
1312
class="link link-primary no-underline"
14-
href="https://ping.pub"
13+
href="https://pastel.network"
1514
target="_blank"
1615
rel="noopener noreferrer"
17-
>Ping.pub</a
16+
>Pastel Network</a
1817
>
1918
</div>
19+
-->
2020
<div
2121
class="hidden md:!block"
2222
>

src/pages/index.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ const chainStore = useBlockchain()
3939
</script>
4040
<template>
4141
<div class="">
42+
<!--
4243
<div class="flex md:!flex-row flex-col items-center justify-center mb-6 mt-14 gap-2">
4344
<div class="w-16 rounded-full">
4445
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
@@ -96,12 +97,13 @@ const chainStore = useBlockchain()
9697
<div class="text-center text-base mt-6 text-primary">
9798
<h2 class="mb-6">{{ $t('pages.description') }}</h2>
9899
</div>
99-
100+
100101
<div class="flex items-center rounded-lg bg-base-100 border border-gray-200 dark:border-gray-700 mt-10">
101102
<Icon icon="mdi:magnify" class="text-2xl text-gray-400 ml-3"/>
102103
<input :placeholder="$t('pages.search_placeholder')" class="px-4 h-10 bg-transparent flex-1 outline-none text-base" v-model="keywords" />
103104
<div class="px-4 text-base hidden md:!block">{{ chains.length }}/{{ dashboard.length }}</div>
104105
</div>
106+
-->
105107

106108
<div
107109
class="grid grid-cols-1 gap-4 mt-6 md:!grid-cols-3 lg:!grid-cols-4 2xl:!grid-cols-5"

src/stores/useBlockchain.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,14 @@ export const useBlockchain = defineStore('blockchain', {
120120
return [
121121
...currNavItem,
122122
{ heading: 'Ecosystem' } as NavSectionTitle,
123-
{
124-
title: 'Favorite',
125-
children: favNavItems,
126-
badgeContent: favNavItems.length,
127-
badgeClass: 'bg-primary',
128-
i18n: true,
129-
icon: { icon: 'mdi-star', size: '22' },
130-
} as NavGroup,
123+
// {
124+
// title: 'Favorite',
125+
// children: favNavItems,
126+
// badgeContent: favNavItems.length,
127+
// badgeClass: 'bg-primary',
128+
// i18n: true,
129+
// icon: { icon: 'mdi-star', size: '22' },
130+
// } as NavGroup,
131131
{
132132
title: 'All Blockchains',
133133
to: { path: '/' },

src/stores/useDashboard.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ export function fromLocal(lc: LocalConfig): ChainConfig {
185185
}
186186
}
187187
conf.features = lc.features
188-
conf.logo = lc.logo.startsWith('http') ? lc.logo : `https://ping.pub${lc.logo}`;
188+
//conf.logo = lc.logo.startsWith('http') ? lc.logo : `https://ping.pub${lc.logo}`;
189+
conf.logo = lc.logo;
189190
conf.keplrFeatures = lc.keplr_features;
190191
conf.keplrPriceStep = lc.keplr_price_step;
191192
conf.themeColor = lc.theme_color;

0 commit comments

Comments
 (0)