Blame view
imports/client/views/org/app/module/AppLayout.js
1.4 KB
39d8f536d
|
1 2 3 4 5 6 7 |
import _ from 'lodash'; import { Meteor } from 'meteor/meteor'; import React, { Component } from 'react'; import { Link } from 'react-router'; import { Avatar } from '/imports/client/components/Avatar'; import { Icon } from '/imports/client/components/Icon'; import classNames from 'classnames'; |
c4d3e07d0
|
8 9 |
import { EnterModule } from '/imports/client/views/org/enter/module/index'; // import { VerifyModule } from '/imports/client/views/verify/module/index'; |
39d8f536d
|
10 11 12 |
export class AppLayout extends Component { |
39d8f536d
|
13 |
render() { |
c4d3e07d0
|
14 |
console.log(this.props); |
39d8f536d
|
15 16 17 18 |
const {user} = this.props.data; if(!user) { return ( |
c4d3e07d0
|
19 20 21 22 |
<EnterModule pane = {this.props.location.query.enter} location = {this.props.location} /> |
39d8f536d
|
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
); } return ( <div className = "appLayout-box"> <div className = "appLayout-wrapOuter"> <div className = "appLayout-wrapInner"> <div className = "appLayout-menuWrap"> </div> <div className = "appLayout-contentWrap"> <div className = "appLayout-content"> { this.props.children } </div> </div> </div> </div> </div> ); }; }; |