-
Notifications
You must be signed in to change notification settings - Fork 504
/
index.js
56 lines (53 loc) · 1.62 KB
/
index.js
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import React from 'react'
import styled from 'styled-components'
import { FormattedMessage } from 'react-intl'
import { LinkContainer } from 'react-router-bootstrap'
import { Icon, IconButton, Separator, Text } from 'blockchain-info-components'
import EtherWelcome from './EtherWelcome'
const Wrapper = styled.div`
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
`
const Transactions = styled.div`
display: flex;
flex-direction: column;
justify-content: center;
align-items : center;
margin-top: 50px;
`
const Ether = styled.div`
display: flex;
flex-direction: column;
justify-content: center;
align-items : center;
margin-top: 25px;
`
const TransactionIcon = styled(Icon)`
justify-content: center;
`
const Empty = props => (
<Wrapper>
<EtherWelcome />
<Transactions>
<Text size='20px' weight={300} capitalize>
<TransactionIcon name='transactions' />
<FormattedMessage id='scenes.transactions.ether.content.empty.transactions' defaultMessage='Your transactions' />
</Text>
<Text size='14px' weight={300}>
<FormattedMessage id='scenes.transactions.ether.content.empty.explain' defaultMessage='Transactions occur when you receive and send ether.' />
</Text>
<Separator />
</Transactions>
<Ether>
<LinkContainer to='/exchange'>
<IconButton name='exchange' nature='empty' uppercase>
<FormattedMessage id='scenes.transactions.ether.content.empty.getether' defaultMessage='Get ether' />
</IconButton>
</LinkContainer>
</Ether>
</Wrapper>
)
export default Empty