File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ import React from "react"
2
+ import BannerNotification from "../BannerNotification"
3
+ import Link from "../Link"
4
+ import { Text } from "@chakra-ui/react"
5
+
6
+ const StakingSurveyBanner : React . FC = ( ) => (
7
+ < BannerNotification shouldShow >
8
+ < Text m = { 0 } textAlign = "center" >
9
+ Researchers with EthStaker and the Ethereum Foundation are looking for
10
+ anonymous feedback from stakers.{ " " }
11
+ < Link to = "https://stakingsurvey.paperform.co/" >
12
+ Take a quick survey here
13
+ </ Link >
14
+ </ Text >
15
+ </ BannerNotification >
16
+ )
17
+
18
+ export default StakingSurveyBanner
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import {
20
20
import FeedbackCard from "../../components/FeedbackCard"
21
21
import ExpandableCard from "../../components/ExpandableCard"
22
22
import StakingStatsBox from "../../components/Staking/StakingStatsBox"
23
+ import StakingSurveyBanner from "../../components/Staking/StakingSurveyBanner"
23
24
import StakingHierarchy from "../../components/Staking/StakingHierarchy"
24
25
import StakingHomeTableOfContents from "../../components/Staking/StakingHomeTableOfContents"
25
26
import StakingCommunityCallout from "../../components/Staking/StakingCommunityCallout"
@@ -344,6 +345,7 @@ const StakingPage = ({
344
345
description = { translateMessageId ( "page-staking-meta-description" , intl ) }
345
346
/>
346
347
< HeroStatsWrapper >
348
+ < StakingSurveyBanner />
347
349
< PageHero content = { heroContent } />
348
350
< StakingStatsBox />
349
351
</ HeroStatsWrapper >
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ import StakingHowSoloWorks from "../components/Staking/StakingHowSoloWorks"
46
46
import StakingConsiderations from "../components/Staking/StakingConsiderations"
47
47
import StakingCommunityCallout from "../components/Staking/StakingCommunityCallout"
48
48
import StakingGuides from "../components/Staking/StakingGuides"
49
+ import StakingSurveyBanner from "../components/Staking/StakingSurveyBanner"
49
50
50
51
import { isLangRightToLeft , TranslationKey } from "../utils/translations"
51
52
import { Context } from "../types"
@@ -403,6 +404,7 @@ const StakingPage = ({
403
404
404
405
return (
405
406
< Container >
407
+ < StakingSurveyBanner />
406
408
< HeroContainer >
407
409
< TitleCard >
408
410
< Breadcrumbs slug = { location . pathname } />
You can’t perform that action at this time.
0 commit comments