aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/onboarding
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-16 06:17:20 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-16 06:17:20 +0800
commit5993125cc7d5129aead37a06663741d42ff0189e (patch)
tree60730c82710c7a2d26d1730fd7dd8af7839bb39f /packages/website/ts/components/onboarding
parent0c3430913332c9f082c4278d8d999dd749d13513 (diff)
downloaddexon-sol-tools-5993125cc7d5129aead37a06663741d42ff0189e.tar
dexon-sol-tools-5993125cc7d5129aead37a06663741d42ff0189e.tar.gz
dexon-sol-tools-5993125cc7d5129aead37a06663741d42ff0189e.tar.bz2
dexon-sol-tools-5993125cc7d5129aead37a06663741d42ff0189e.tar.lz
dexon-sol-tools-5993125cc7d5129aead37a06663741d42ff0189e.tar.xz
dexon-sol-tools-5993125cc7d5129aead37a06663741d42ff0189e.tar.zst
dexon-sol-tools-5993125cc7d5129aead37a06663741d42ff0189e.zip
Prettify account setup and add eth steps of onboarding
Diffstat (limited to 'packages/website/ts/components/onboarding')
-rw-r--r--packages/website/ts/components/onboarding/portal_onboarding_flow.tsx33
1 files changed, 30 insertions, 3 deletions
diff --git a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
index 7e6ce6d02..11f1becfe 100644
--- a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
+++ b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
@@ -88,8 +88,24 @@ export class PortalOnboardingFlow extends React.Component<PortalOnboardingFlowPr
{
target: '.wallet',
title: '0x Ecosystem Account Setup',
- content:
- 'In order to start trading on any 0x relayer in the 0x ecosystem, you need to complete two simple steps',
+ content: (
+ <div className="flex items-center flex-column">
+ <Text>
+ In order to start trading on any 0x relayer in the 0x ecosystem, you need to complete two
+ simple steps.
+ </Text>
+ <Container width="100%" marginTop="25px" marginBottom="15px" className="flex justify-around">
+ <div className="flex flex-column items-center">
+ <img src="/images/eth_token.svg" height="50px" width="50x" />
+ <Text> Wrap ETH </Text>
+ </div>
+ <div className="flex flex-column items-center">
+ <img src="/images/fake_toggle.svg" height="50px" width="50px" />
+ <Text> Unlock tokens </Text>
+ </div>
+ </Container>
+ </div>
+ ),
placement: 'right',
shouldHideBackButton: true,
continueButtonDisplay: 'enabled',
@@ -97,7 +113,18 @@ export class PortalOnboardingFlow extends React.Component<PortalOnboardingFlowPr
{
target: '.eth-row',
title: 'Add ETH',
- content: 'Before you begin you will need to send some ETH to your metamask wallet',
+ content: (
+ <div className="flex items-center flex-column">
+ <Text> Before you begin you will need to send some ETH to your metamask wallet.</Text>
+ <Container marginTop="15px" marginBottom="15px">
+ <img src="/images/ether_alt.svg" height="50px" width="50px" />
+ </Container>
+ <Text>
+ Click on the <img src="/images/metamask_icon.png" height="20px" width="20px" /> metamask
+ extension in your browser and click either <b>BUY</b> or <b>DEPOSIT</b>.
+ </Text>
+ </div>
+ ),
placement: 'right',
continueButtonDisplay: this._userHasVisibleEth() ? 'enabled' : 'disabled',
},