// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. import $ from 'jquery'; import {FormattedMessage} from 'react-intl'; import React from 'react'; export default class NotLoggedIn extends React.Component { componentDidMount() { $('body').addClass('sticky'); $('#root').addClass('container-fluid'); } componentWillUnmount() { $('body').removeClass('sticky'); $('#root').removeClass('container-fluid'); } render() { return (
{this.props.children}
{global.window.mm_config.SiteName}
{'© 2015-2016 Mattermost, Inc.'}
); } } NotLoggedIn.defaultProps = { }; NotLoggedIn.propTypes = { children: React.PropTypes.object };