-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInfoPanel.js
More file actions
52 lines (50 loc) · 1.45 KB
/
InfoPanel.js
File metadata and controls
52 lines (50 loc) · 1.45 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
48
49
50
51
52
import React, { Component } from 'react'
import { DefaultButton } from 'office-ui-fabric-react/lib/Button'
import { Panel, PanelType } from 'office-ui-fabric-react/lib/Panel'
class InfoPanel extends Component {
render() {
return (
<Panel
isBlocking={false}
isOpen={this.props.isOpen}
type={PanelType.smallFluid}
onDismiss={this.props.onDismiss}
headerText=""
closeButtonAriaLabel="Close"
>
<div
style={{
display: 'flex',
flexDirection: 'column',
width: '50%',
fontSize: '1.25em',
}}
>
<p>
<strong>SwarmBin</strong> is a simple and secure way to share code
snippets and pastes with others.
</p>
<p>
Data is AES 256-bit encrypted and uploaded to{' '}
<a href="https://swarm.ethereum.org/" target="_blank">
Swarm
</a>. This project is modeled after ZeroBin, originally developed by{' '}
<a href="https://github.com/sebsauvage/ZeroBin">
Sébastien Sauvage
</a>.
</p>
<div>
<DefaultButton
style={{ marginTop: 15 }}
primary
data-automation-id="test"
text="Close"
onClick={this.props.onDismiss}
/>
</div>
</div>
</Panel>
)
}
}
export default InfoPanel