aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components
diff options
context:
space:
mode:
authorSteve Klebanoff <steve@0xproject.com>2018-11-21 01:05:28 +0800
committerGitHub <noreply@github.com>2018-11-21 01:05:28 +0800
commit36e888c3a50ea9a639a8935690ea7dd67dedf166 (patch)
treebb2c285024b9b94a8e096c03a5db9211231e25eb /packages/instant/src/components
parent69391823486acf2ecb6c25c99be8b58bbe2f0241 (diff)
parent0ba34f587c58074a7448cec43894bfab764e4bc3 (diff)
downloaddexon-sol-tools-36e888c3a50ea9a639a8935690ea7dd67dedf166.tar
dexon-sol-tools-36e888c3a50ea9a639a8935690ea7dd67dedf166.tar.gz
dexon-sol-tools-36e888c3a50ea9a639a8935690ea7dd67dedf166.tar.bz2
dexon-sol-tools-36e888c3a50ea9a639a8935690ea7dd67dedf166.tar.lz
dexon-sol-tools-36e888c3a50ea9a639a8935690ea7dd67dedf166.tar.xz
dexon-sol-tools-36e888c3a50ea9a639a8935690ea7dd67dedf166.tar.zst
dexon-sol-tools-36e888c3a50ea9a639a8935690ea7dd67dedf166.zip
Merge pull request #1287 from 0xProject/feature/instant/add-powered-by
[instant] Add "Powered By 0x"
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r--packages/instant/src/components/zero_ex_instant_container.tsx13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_container.tsx b/packages/instant/src/components/zero_ex_instant_container.tsx
index 698bfef17..47c938472 100644
--- a/packages/instant/src/components/zero_ex_instant_container.tsx
+++ b/packages/instant/src/components/zero_ex_instant_container.tsx
@@ -1,5 +1,7 @@
import * as React from 'react';
+import PoweredByLogo from '../assets/powered_by_0x.svg';
+import { ZERO_EX_SITE_URL } from '../constants';
import { AvailableERC20TokenSelector } from '../containers/available_erc20_token_selector';
import { ConnectedBuyOrderProgressOrPaymentMethod } from '../containers/connected_buy_order_progress_or_payment_method';
import { CurrentStandardSlidingPanel } from '../containers/current_standard_sliding_panel';
@@ -64,6 +66,17 @@ export class ZeroExInstantContainer extends React.Component<{}, ZeroExInstantCon
</SlidingPanel>
<CurrentStandardSlidingPanel />
</Container>
+ <Container
+ display={{ sm: 'none', default: 'block' }}
+ marginTop="10px"
+ marginLeft="auto"
+ marginRight="auto"
+ width="140px"
+ >
+ <a href={ZERO_EX_SITE_URL} target="_blank">
+ <PoweredByLogo />
+ </a>
+ </Container>
</Container>
</React.Fragment>
);