@@ -15,6 +15,7 @@ import InfoIcon from '@material-ui/icons/Info';
1515import AttachMoneyIcon from '@material-ui/icons/AttachMoney' ;
1616import AccountBalanceIcon from '@material-ui/icons/AccountBalance' ;
1717import Divider from '@material-ui/core/Divider' ;
18+ import { Link } from 'gatsby' ;
1819import AlertDialog from '../../components/AlertDialog' ;
1920import PageHeader from '../../components/PageHeader' ;
2021import Layout from '../../components/Layout' ;
@@ -23,7 +24,7 @@ import { setPageIndex } from '../../reducers/MainReducer/Actions';
2324
2425const Donate = ( ) => {
2526 const [ , dispatch ] = useContext ( MainContext ) ;
26- const [ btcOpen , setBtcOpen ] = useState ( false ) ;
27+ const [ egldOpen , setEgldOpen ] = useState ( false ) ;
2728
2829 useEffect ( ( ) => {
2930 dispatch ( setPageIndex ( 3 ) ) ;
@@ -50,7 +51,7 @@ const Donate = () => {
5051 < Typography >
5152 Donations are always welcome. All of the money that is donated to us will go towards
5253 the development of new and old projects, the maintenance of our servers, domain name
53- fees and the occasional cup of coffee! Simply click the PayPal or BTC button to
54+ fees and the occasional cup of coffee! Simply click the PayPal or EGLD button to
5455 start the donation process! PayPal allows you to donate using practically
5556 any payment method you like. Brave tips are also welcome!
5657 </ Typography >
@@ -62,7 +63,7 @@ const Donate = () => {
6263 </ Typography >
6364
6465 < Typography style = { { marginTop : 20 } } >
65- In case of a BTC donation, please email us if you’d
66+ In case of a EGLD donation, please email us if you’d
6667 like to appear in the hall of fame, otherwise it will show up as an anonymous
6768 donation.
6869 </ Typography >
@@ -109,9 +110,9 @@ const Donate = () => {
109110 < Button
110111 variant = "outlined"
111112 style = { { width : '100%' } }
112- onClick = { ( ) => setBtcOpen ( true ) }
113+ onClick = { ( ) => setEgldOpen ( true ) }
113114 >
114- Donate BTC
115+ Donate EGLD
115116 </ Button >
116117 </ Grid >
117118 </ Grid >
@@ -167,11 +168,29 @@ const Donate = () => {
167168 </ CardContent >
168169 </ Card >
169170
170- { btcOpen ? (
171+ { egldOpen ? (
171172 < AlertDialog
172173 title = "Donate"
173- onClose = { ( ) => setBtcOpen ( false ) }
174- content = "You can donate using this BTC address: 1LCWomLj5AEM3t7C2XTj3PwGvs98GJEJx5"
174+ onClose = { ( ) => setEgldOpen ( false ) }
175+ content = { (
176+ < >
177+ < p >
178+ You can donate
179+ { ' ' }
180+ < Link to = "https://elrond.com" > EGLD</ Link >
181+ { ' ' }
182+ to the following address:
183+ erd1qkrm8vlxhhazj6gl3jsfhsdppjvyn5zukdvas26hlqmyyhkce90qfc3sw5
184+ </ p >
185+ < p >
186+ Alternatively, you can donate using this
187+ { ' ' }
188+ < Link to = "https://maiar.com" > Maiar</ Link >
189+ { ' ' }
190+ herotag: @codedead
191+ </ p >
192+ </ >
193+ ) }
175194 ok = "OK"
176195 />
177196 ) : null }
0 commit comments