Skip to content

Commit bcd427d

Browse files
authored
Merge pull request #137 from celenium-io/test-node-stats
Node stats
2 parents 40b5129 + 1e8d69b commit bcd427d

4 files changed

Lines changed: 15 additions & 5 deletions

File tree

components/LeftSidebar.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ const mainLinks = reactive([
9595
name: "Ecosystem",
9696
path: "/stats?tab=ecosystem",
9797
queryParam: {tab: "ecosystem"},
98-
show: false,
99-
// show: isMainnet(),
98+
show: isMainnet(),
10099
},
101100
],
102101
},

components/modules/stats/GeoMap.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ watch(
510510
<template #content>
511511
<Flex align="center" gap="2" :style="{ width: '200px' }">
512512
<Text size="12" weight="600" color="secondary">
513-
Somewhere in..
513+
"Somewhere in ..."
514514
<Text size="12" weight="400" color="secondary">
515515
means that it was not possible to determine the exact location.
516516
</Text>

components/modules/stats/tabs/EcosystemTab.vue

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ onMounted(async () => {
8484
:class="$style.chart_card"
8585
/>
8686
</Flex>
87+
88+
<Flex align="center" justify="end" wide>
89+
<Text size="12" color="tertiary" justify="start">Data provided by the
90+
<NuxtLink to="https://probelab.io" target="_blank" :class="$style.link">ProbeLab</NuxtLink>
91+
team
92+
</Text>
93+
</Flex>
8794
</Flex>
8895
</Flex>
8996
</template>
@@ -116,6 +123,11 @@ onMounted(async () => {
116123
height: 240px;
117124
}
118125
126+
.link {
127+
color: var(--brand);
128+
font-weight: 600;
129+
}
130+
119131
@media (max-width: 1050px) {
120132
.chart {
121133
/* width: 700px; */

pages/stats/index.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ const tabs = ref([
7777
},
7878
{
7979
name: "ecosystem",
80-
visible: false,
81-
// visible: isMainnet(),
80+
visible: isMainnet(),
8281
},
8382
])
8483
const activeTab = ref(route.query.tab && tabs.value.filter(t => t.visible).map(t => t.name).includes(route.query.tab) ? route.query.tab : tabs.value[0].name)

0 commit comments

Comments
 (0)