Skip to content

Commit 4883c99

Browse files
authored
Merge pull request #11892 from fredriksvantes/fredriksvantes-patch-1
Add 2x multiplier banner for Dencun on bug bounty page
2 parents 55756df + 2954c6c commit 4883c99

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Libraries
2+
import React from "react"
3+
import { Center, Text } from "@chakra-ui/react"
4+
5+
// Components
6+
import BannerNotification from "../BannerNotification"
7+
8+
const BugBountyBanner: React.FC = () => (
9+
<BannerNotification shouldShow>
10+
<Center>
11+
<Text m={0} p={0}>
12+
All Dencun-related bounties currently receive a 2x bonus multiplier
13+
(up to 500,000 USD) up to two weeks before the scheduled mainnet hardfork.
14+
</Text>
15+
</Center>
16+
</BannerNotification>
17+
)
18+
19+
export default BugBountyBanner

src/pages/bug-bounty.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import {
1212

1313
import type { BasePageProps, ChildOnlyProp } from "@/lib/types"
1414

15+
import BugBountyBanner from "@/components/Banners/BugBountyBanner"
1516
import Breadcrumbs from "@/components/Breadcrumbs"
1617
import BugBountyCards from "@/components/BugBountyCards"
1718
import ButtonLink from "@/components/Buttons/ButtonLink"
@@ -451,6 +452,8 @@ const BugBountiesPage = () => {
451452
title={t("page-upgrades-bug-bounty-meta-title")}
452453
description={t("page-upgrades-bug-bounty-meta-description")}
453454
/>
455+
{/* TODO: Remove two weeks prior to scheduled mainnet Dencun hardfork */}
456+
<BugBountyBanner />
454457
<Content>
455458
<HeroCard>
456459
<HeroContainer>

0 commit comments

Comments
 (0)