aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-16 04:17:02 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-16 04:24:59 +0800
commit54f79c2798c095344b003139144b77fc1024d8c3 (patch)
tree079217538d8a7330cbdf90d1e0b04eb956a51e97 /packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
parentd0a3779091661cfa099ec84f12e5d944287d1e3f (diff)
downloaddexon-sol-tools-54f79c2798c095344b003139144b77fc1024d8c3.tar
dexon-sol-tools-54f79c2798c095344b003139144b77fc1024d8c3.tar.gz
dexon-sol-tools-54f79c2798c095344b003139144b77fc1024d8c3.tar.bz2
dexon-sol-tools-54f79c2798c095344b003139144b77fc1024d8c3.tar.lz
dexon-sol-tools-54f79c2798c095344b003139144b77fc1024d8c3.tar.xz
dexon-sol-tools-54f79c2798c095344b003139144b77fc1024d8c3.tar.zst
dexon-sol-tools-54f79c2798c095344b003139144b77fc1024d8c3.zip
Improve styles of onboarding tooltip
Diffstat (limited to 'packages/website/ts/components/onboarding/portal_onboarding_flow.tsx')
-rw-r--r--packages/website/ts/components/onboarding/portal_onboarding_flow.tsx20
1 files changed, 14 insertions, 6 deletions
diff --git a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
index efb844cb5..3deefec3c 100644
--- a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
+++ b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
@@ -47,41 +47,47 @@ export class PortalOnboardingFlow extends React.Component<PortalOnboardingFlowPr
const steps: Step[] = [
{
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',
placement: 'right',
- hideBackButton: true,
- hideNextButton: true,
+ shouldHideBackButton: true,
+ shouldHideNextButton: true,
},
{
target: '.wallet',
+ title: '0x Ecosystem Setup',
content: 'Unlock your metamask extension to begin',
placement: 'right',
- hideBackButton: true,
- hideNextButton: true,
+ shouldHideBackButton: true,
+ shouldHideNextButton: true,
},
{
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',
placement: 'right',
- hideBackButton: true,
+ shouldHideBackButton: true,
continueButtonDisplay: 'enabled',
},
{
target: '.eth-row',
+ title: 'Add ETH',
content: 'Before you begin you will need to send some ETH to your metamask wallet',
placement: 'right',
continueButtonDisplay: this._userHasVisibleEth() ? 'enabled' : 'disabled',
},
{
target: '.weth-row',
+ title: 'Step 1/2',
content: 'You need to convert some of your ETH into tradeable Wrapped ETH (WETH)',
placement: 'right',
continueButtonDisplay: this._userHasVisibleWeth() ? 'enabled' : 'disabled',
},
{
target: '.weth-row',
+ title: 'Step 2/2',
content: (
<div>
Unlock your tokens for trading. You only need to do this once for each token.
@@ -94,9 +100,11 @@ export class PortalOnboardingFlow extends React.Component<PortalOnboardingFlowPr
},
{
target: '.wallet',
- content: 'Congrats! Your wallet is now set up for trading. Use it on any relayer in the 0x ecosystem.',
+ title: '🎉 Congrats! The ecosystem awaits.',
+ content: 'Your wallet is now set up for trading. Use it on any relayer in the 0x ecosystem.',
placement: 'right',
continueButtonDisplay: 'enabled',
+ shouldHideNextButton: true,
},
];
return steps;