Skip to content

Commit eeb554c

Browse files
committed
mrg
2 parents 11eb623 + d09655e commit eeb554c

3 files changed

Lines changed: 18 additions & 6 deletions

File tree

components/TheFooter.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,10 @@ const handleChangeTheme = (target) => {
166166
<Text size="12" weight="500" color="tertiary"> Addresses </Text>
167167
</NuxtLink>
168168
<NuxtLink to="/gas" :class="$style.link">
169-
<Text size="12" weight="500" color="tertiary">Gas Tracker</Text>
169+
<Text size="12" weight="500" color="tertiary"> Gas Tracker </Text>
170+
</NuxtLink>
171+
<NuxtLink to="https://docs.celenium.io" :class="$style.link" target="_blank">
172+
<Text size="12" weight="500" color="tertiary"> Docs </Text>
170173
</NuxtLink>
171174
</Flex>
172175
</Flex>

components/cmd/CommandMenu.vue

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,15 @@ const rawNavigationActions = [
273273
router.push("/addresses")
274274
},
275275
},
276+
{
277+
type: "callback",
278+
icon: "arrow-narrow-right",
279+
title: "Go to Documentation",
280+
runText: "Open Documentation",
281+
callback: () => {
282+
window.open("https://docs.celenium.io", "_blank")
283+
},
284+
},
276285
]
277286
const navigationGroup = computed(() => {
278287
const actions = rawNavigationActions.map((a) => ({ id: id(), ...a }))

components/widgets/BlobsWidget.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ onMounted(async () => {
2929
days.value.reverse()
3030
3131
totalSize.value = days.value.reduce((a, b) => (a += parseInt(b.value)), 0)
32-
minValue.value = Math.min(...days.value.map((d) => d.value).filter(value => value > 0))
32+
minValue.value = Math.min(...days.value.map((d) => d.value).filter((value) => value > 0))
3333
maxValue.value = Math.max(...days.value.map((d) => d.value))
3434
3535
const firstDayDt = DateTime.fromISO(days.value[0].time)
@@ -53,7 +53,7 @@ onMounted(async () => {
5353
weeks.value.push(new Array(7))
5454
}
5555
56-
/** remove unnecessary weeks */
56+
/** remove first weeks */
5757
while (weeks.value.length > 24) {
5858
weeks.value.shift()
5959
}
@@ -74,11 +74,11 @@ const getOpacity = (val) => {
7474
const calculateOpacity = (val) => {
7575
let opacity = 0.4
7676
if (val) {
77-
const normalizedValue = (val - minValue.value) / (maxValue.value - minValue.value);
78-
opacity += normalizedValue * 0.6;
77+
const normalizedValue = (val - minValue.value) / (maxValue.value - minValue.value)
78+
opacity += normalizedValue * 0.6
7979
}
8080
81-
return opacity;
81+
return opacity
8282
}
8383
</script>
8484

0 commit comments

Comments
 (0)