import { colors } from '@0xproject/react-shared'; import * as React from 'react'; import { Container } from 'ts/components/ui/container'; import { Image } from 'ts/components/ui/image'; import { Text } from 'ts/components/ui/text'; import { utils } from 'ts/utils/utils'; export interface InstallWalletOnboardingStepProps {} export const InstallWalletOnboardingStep: React.StatelessComponent = () => { const [downloadLink, isOnMobile] = utils.getBestWalletDownloadLinkAndIsMobile(); const followupText = isOnMobile ? `Please revisit this site in your mobile dApp browser to continue!` : `Please refresh the page once you've done this to continue!`; const downloadText = isOnMobile ? 'Get Coinbase Wallet' : 'Get the MetaMask extension'; return (
First, you need to connect to a wallet. This will be used across all 0x relayers and dApps. {downloadText} {followupText}
); };