2018-01-19 05:40:31 +00:00
|
|
|
|
import React from 'react';
|
|
|
|
|
import CoinbaseLogo from 'assets/images/logo-coinbase.svg';
|
2018-02-16 20:46:50 +00:00
|
|
|
|
import { NewTabLink } from 'components/ui';
|
2018-01-19 05:40:31 +00:00
|
|
|
|
|
2018-03-07 16:54:14 +00:00
|
|
|
|
interface Props {
|
|
|
|
|
address: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const Coinbase: React.SFC<Props> = ({ address }) => (
|
2018-02-16 20:46:50 +00:00
|
|
|
|
<NewTabLink
|
|
|
|
|
className="Promos-promo Promos--coinbase"
|
2018-03-07 16:54:14 +00:00
|
|
|
|
href={`https://buy.coinbase.com?code=60c05061-3a76-57be-b1cd-a7afa97bcb8c&address=${address}&crypto_currency=ETH¤cy=USD`}
|
2018-01-19 05:40:31 +00:00
|
|
|
|
>
|
|
|
|
|
<div className="Promos-promo-inner">
|
|
|
|
|
<div className="Promos-promo-text">
|
|
|
|
|
<p key="1">It’s now easier to get more ETH</p>
|
|
|
|
|
<h5 key="2">Buy ETH with USD</h5>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="Promos-promo-images">
|
|
|
|
|
<img src={CoinbaseLogo} />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2018-02-16 20:46:50 +00:00
|
|
|
|
</NewTabLink>
|
2018-01-19 05:40:31 +00:00
|
|
|
|
);
|