forked from 1Hive/gardens-ui
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathAccountNotConnected.js
More file actions
47 lines (44 loc) · 1.11 KB
/
AccountNotConnected.js
File metadata and controls
47 lines (44 loc) · 1.11 KB
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
import React from 'react'
import { GU, IconConnect, RADIUS, textStyle, useTheme } from '@tecommons/ui'
function AccountNotConnected() {
const theme = useTheme()
return (
<div
css={`
border-radius: ${RADIUS}px;
background: ${theme.background};
padding: ${3.5 * GU}px ${10 * GU}px;
text-align: center;
`}
>
<div
css={`
${textStyle('body1')};
`}
>
You must enable your account to interact on this proposal
</div>
<div
css={`
${textStyle('body2')};
color: ${theme.surfaceContentSecondary};
margin-top: ${2 * GU}px;
`}
>
Connect to your Ethereum provider by clicking on the{' '}
<strong
css={`
display: inline-flex;
align-items: center;
position: relative;
top: 7px;
`}
>
<IconConnect /> Enable account
</strong>{' '}
button on the header. You may be temporarily redirected to a new screen.
</div>
</div>
)
}
export default AccountNotConnected