Skip to content

Commit 776ab6b

Browse files
committed
Add Celestia upgrade banner
1 parent 0cdedd1 commit 776ab6b

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

components/LeftSidebar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ const handleNavigate = (url) => {
234234
</Flex>
235235
</Flex> -->
236236

237-
<AdvBanner />
237+
<AdvBanner advName="celestia_update" />
238238
</Flex>
239239

240240
<Flex direction="column" gap="16" style="margin-right: 20px">

components/widgets/BlockWidget.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ onBeforeUnmount(() => {
121121
</Flex>
122122

123123
<Tooltip>
124-
<Flex direction="column" gap="8" align="end">
124+
<Flex direction="column" gap="12" align="end" justify="end">
125125
<Text v-if="lastBlock" size="14" weight="600" color="primary"> ~{{ Math.ceil(avgBlockTime) }}s </Text>
126126
<Skeleton v-else w="32" h="14" />
127127

layouts/default.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import AdvBanner from "@/components/shared/AdvBanner.vue"
1111

1212
<Flex direction="column" align="center" :class="$style.content">
1313
<Feed />
14-
<AdvBanner advName="celenium_survey" orientation="horizontal" />
14+
<AdvBanner advName="celestia_update" orientation="horizontal" />
1515
<ActionBar />
1616

1717
<Flex direction="column" align="center" wide :class="$style.container">

services/constants/advertising.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@ const advertisements = [
2626
footer: 'Run Light Node',
2727
weight: 0.5,
2828
},
29+
{
30+
name: 'celestia_update',
31+
link: 'https://blog.celestia.org/ginger/',
32+
icon: 'zap',
33+
header: 'Ginger Upgrade',
34+
body: 'Celestia mainnet update on 28.01.2025.',
35+
footer: 'View Docs',
36+
weight: 1.1,
37+
},
2938
]
3039

3140
export function getRandomAdv() {

0 commit comments

Comments
 (0)