summaryrefslogtreecommitdiffhomepage
path: root/app/components/Settings.js
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@codeispoetry.ru>2017-02-16 17:30:09 +0000
committerAndrej Mihajlov <and@codeispoetry.ru>2017-02-16 17:30:09 +0000
commitca574470c6ce9449a43eaeb81fcb8a35a7656923 (patch)
treee32fd43d0e0c4205c1e28e72c7a5c4b5683cf920 /app/components/Settings.js
parent4aaf7e0ddbbdf9a5e03fdbb20ecabe4866de96c3 (diff)
downloadmullvadvpn-ca574470c6ce9449a43eaeb81fcb8a35a7656923.tar.xz
mullvadvpn-ca574470c6ce9449a43eaeb81fcb8a35a7656923.zip
Add settings pane
Diffstat (limited to 'app/components/Settings.js')
-rw-r--r--app/components/Settings.js26
1 files changed, 26 insertions, 0 deletions
diff --git a/app/components/Settings.js b/app/components/Settings.js
new file mode 100644
index 0000000000..6e077356c0
--- /dev/null
+++ b/app/components/Settings.js
@@ -0,0 +1,26 @@
+import React, { Component, PropTypes } from 'react';
+import { Layout, Container, Header } from './Layout';
+
+export default class Settings extends Component {
+
+ static propTypes = {
+ logout: PropTypes.func.isRequired
+ }
+
+ onClose() {
+ this.props.router.push('/connect');
+ }
+
+ render() {
+ return (
+ <Layout>
+ <Header hidden={ true } />
+ <Container>
+ <div className="settings">
+ <button className="settings__close" onClick={ ::this.onClose } />
+ </div>
+ </Container>
+ </Layout>
+ );
+ }
+}