Skip to content

Commit 9fe373a

Browse files
authored
Merge pull request #9757 from ethereum/fredriksvantes-patch-1
Adding bug bounty banner
2 parents 245fd01 + 0ef5705 commit 9fe373a

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={true}>
10+
<Center>
11+
<Text m={0} p={0}>
12+
All Shapella-related bounties currently receive a 2x bonus multiplier
13+
(up to 500,000 USD) until 5th of April 2023.
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
@@ -24,6 +24,7 @@ import ButtonLink from "../components/ButtonLink"
2424
import PageMetadata from "../components/PageMetadata"
2525
import ExpandableCard from "../components/ExpandableCard"
2626
import FeedbackCard from "../components/FeedbackCard"
27+
import BugBountyBanner from "../components/Banners/BugBountyBanner"
2728
import { getImage } from "../utils/image"
2829

2930
import type { ChildOnlyProp, Context } from "../types"
@@ -444,6 +445,8 @@ const BugBountiesPage = ({
444445
title={t("page-upgrades-bug-bounty-meta-title")}
445446
description={t("page-upgrades-bug-bounty-meta-description")}
446447
/>
448+
{/* TODO: Remove April 6 */}
449+
<BugBountyBanner />
447450
<Content>
448451
<HeroCard>
449452
<HeroContainer>

0 commit comments

Comments
 (0)