aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/onboarding
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-16 05:49:01 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-16 05:49:01 +0800
commit0c3430913332c9f082c4278d8d999dd749d13513 (patch)
tree35c0fb6ef1c73f755e734bc615d70d44e5fab4b2 /packages/website/ts/components/onboarding
parent3d6ce0fb7618ff7531f234929ead39fafecb1d11 (diff)
downloaddexon-sol-tools-0c3430913332c9f082c4278d8d999dd749d13513.tar
dexon-sol-tools-0c3430913332c9f082c4278d8d999dd749d13513.tar.gz
dexon-sol-tools-0c3430913332c9f082c4278d8d999dd749d13513.tar.bz2
dexon-sol-tools-0c3430913332c9f082c4278d8d999dd749d13513.tar.lz
dexon-sol-tools-0c3430913332c9f082c4278d8d999dd749d13513.tar.xz
dexon-sol-tools-0c3430913332c9f082c4278d8d999dd749d13513.tar.zst
dexon-sol-tools-0c3430913332c9f082c4278d8d999dd749d13513.zip
Make metamask part of the fow pretty
Diffstat (limited to 'packages/website/ts/components/onboarding')
-rw-r--r--packages/website/ts/components/onboarding/portal_onboarding_flow.tsx29
1 files changed, 26 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 3deefec3c..7e6ce6d02 100644
--- a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
+++ b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
@@ -1,9 +1,13 @@
+import { colors } from '@0xproject/react-shared';
import * as _ from 'lodash';
import * as React from 'react';
import { BigNumber } from '@0xproject/utils';
+import ActionAccountBalanceWallet from 'material-ui/svg-icons/action/account-balance-wallet';
import { Blockchain } from 'ts/blockchain';
import { OnboardingFlow, Step } from 'ts/components/onboarding/onboarding_flow';
+import { Container } from 'ts/components/ui/container';
+import { Text } from 'ts/components/ui/text';
import { AllowanceToggle } from 'ts/containers/inputs/allowance_toggle';
import { ProviderType, Token, TokenByAddress, TokenStateByAddress } from 'ts/types';
import { utils } from 'ts/utils/utils';
@@ -48,8 +52,20 @@ export class PortalOnboardingFlow extends React.Component<PortalOnboardingFlowPr
{
target: '.wallet',
title: '0x Ecosystem Setup',
- content:
- 'Before you begin, you need to connect to a wallet. This will be used across all 0x relayers and dApps',
+ content: (
+ <div className="flex items-center flex-column">
+ <Container marginTop="15px" marginBottom="15px">
+ <ActionAccountBalanceWallet
+ style={{ width: '30px', height: '30px' }}
+ color={colors.orange}
+ />
+ </Container>
+ <Text>
+ Before you begin, you need to connect to a wallet. This will be used across all 0x relayers
+ and dApps.
+ </Text>
+ </div>
+ ),
placement: 'right',
shouldHideBackButton: true,
shouldHideNextButton: true,
@@ -57,7 +73,14 @@ export class PortalOnboardingFlow extends React.Component<PortalOnboardingFlowPr
{
target: '.wallet',
title: '0x Ecosystem Setup',
- content: 'Unlock your metamask extension to begin',
+ content: (
+ <div className="flex items-center flex-column">
+ <Container marginTop="15px" marginBottom="15px">
+ <img src="/images/metamask_icon.png" height="50px" width="50px" />
+ </Container>
+ <Text>Unlock your metamask extension to begin.</Text>
+ </div>
+ ),
placement: 'right',
shouldHideBackButton: true,
shouldHideNextButton: true,