'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = RootPage;

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _classnames = require('classnames');

var _classnames2 = _interopRequireDefault(_classnames);

var _Footer = require('../sections/Footer');

var _Footer2 = _interopRequireDefault(_Footer);

var _RootPage = require('../../../styles/cspace-ui/RootPage.css');

var _RootPage2 = _interopRequireDefault(_RootPage);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function RootPage(props) {
  var children = props.children,
      className = props.className;


  var classes = (0, _classnames2.default)(_RootPage2.default.common, className);

  return _react2.default.createElement(
    'div',
    { className: classes },
    children,
    _react2.default.createElement(_Footer2.default, null)
  );
}

RootPage.propTypes = {
  children: _react.PropTypes.node,
  className: _react.PropTypes.string
};