From 3a51bd1e69d8eb279fee138df2bc69ddb1ba5f82 Mon Sep 17 00:00:00 2001
From: fragosti <francesco.agosti93@gmail.com>
Date: Fri, 9 Nov 2018 13:56:04 -0800
Subject: feat: create connect metamask

---
 packages/instant/src/components/payment_method.tsx | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

(limited to 'packages/instant/src/components/payment_method.tsx')

diff --git a/packages/instant/src/components/payment_method.tsx b/packages/instant/src/components/payment_method.tsx
index f50c9bf3c..dcf68da53 100644
--- a/packages/instant/src/components/payment_method.tsx
+++ b/packages/instant/src/components/payment_method.tsx
@@ -5,6 +5,7 @@ import * as React from 'react';
 import { ColorOption } from '../style/theme';
 import { Account, AccountState, Network } from '../types';
 
+import { MetaMaskLogo } from './meta_mask_logo';
 import { PaymentMethodDropdown } from './payment_method_dropdown';
 import { Circle } from './ui/circle';
 import { Container } from './ui/container';
@@ -20,7 +21,7 @@ export class PaymentMethod extends React.Component<PaymentMethodProps> {
     public render(): React.ReactNode {
         return (
             <Container padding="20px" width="100%">
-                <Container marginBottom="10px">
+                <Container marginBottom="12px">
                     <Flex justify="space-between">
                         <Text
                             letterSpacing="1px"
@@ -77,7 +78,24 @@ export class PaymentMethod extends React.Component<PaymentMethodProps> {
             case AccountState.Error:
             case AccountState.Locked:
             case AccountState.None:
-                return 'connect your wallet';
+                return (
+                    <Container
+                        padding="12px"
+                        border={`1px solid ${ColorOption.darkOrange}`}
+                        backgroundColor={ColorOption.lightOrange}
+                        width="100%"
+                        borderRadius="4px"
+                    >
+                        <Flex>
+                            <Container marginRight="10px">
+                                <MetaMaskLogo width={19} height={18} />
+                            </Container>
+                            <Text fontSize="16px" fontColor={ColorOption.darkOrange}>
+                                Connect MetaMask
+                            </Text>
+                        </Flex>
+                    </Container>
+                );
             case AccountState.Ready:
                 return (
                     <PaymentMethodDropdown
-- 
cgit v1.2.3

