diff options
| author | Andrej Mihajlov <and@codeispoetry.ru> | 2017-02-09 12:14:08 +0000 |
|---|---|---|
| committer | Andrej Mihajlov <and@codeispoetry.ru> | 2017-02-09 12:14:08 +0000 |
| commit | ce8b81c69760185d425032dc9ce91c4e9aa09b17 (patch) | |
| tree | 010540abf824ebacaa34434a75a919a3c4568684 /app/components/Layout.js | |
| parent | a76a93169841ec78f08b973aa17eea9fcf982feb (diff) | |
| download | mullvadvpn-ce8b81c69760185d425032dc9ce91c4e9aa09b17.tar.xz mullvadvpn-ce8b81c69760185d425032dc9ce91c4e9aa09b17.zip | |
Add basic structure and login screen
Diffstat (limited to 'app/components/Layout.js')
| -rw-r--r-- | app/components/Layout.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app/components/Layout.js b/app/components/Layout.js new file mode 100644 index 0000000000..7619f3df4f --- /dev/null +++ b/app/components/Layout.js @@ -0,0 +1,20 @@ +import React, { PropTypes, Component } from 'react'; +import HeaderBar from './HeaderBar'; + +export default class Layout extends Component { + static propTypes = { + children: PropTypes.element.isRequired + }; + render() { + return ( + <div className="layout"> + <div className="layout__header"> + <HeaderBar /> + </div> + <div className="layout__container"> + {this.props.children} + </div> + </div> + ); + } +} |
