aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/install_wallet_panel_content.tsx
blob: 7000e27f63179878c222fd50cbad658bbdbf0b1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import * as React from 'react';

import { META_MASK_CHROME_STORE_URL, META_MASK_SITE_URL } from '../constants';
import { ColorOption } from '../style/theme';

import { MetaMaskLogo } from './meta_mask_logo';
import { StandardPanelContent } from './standard_panel_content';
import { Button } from './ui/button';

export interface InstallWalletPanelContentProps {}

export const InstallWalletPanelContent: React.StatelessComponent<InstallWalletPanelContentProps> = () => (
    <StandardPanelContent
        image={<MetaMaskLogo width={85} height={80} />}
        title="Install MetaMask"
        description="Please install the MetaMask wallet extension from the Chrome Store."
        moreInfoSettings={{
            href: META_MASK_SITE_URL,
            text: 'What is MetaMask?',
        }}
        action={
            <Button
                href={META_MASK_CHROME_STORE_URL}
                width="100%"
                fontSize="16px"
                fontColor={ColorOption.white}
                backgroundColor={ColorOption.darkOrange}
            >
                Get Chrome Extension
            </Button>
        }
    />
);