diff --git a/client/layout/logged-out.jsx b/client/layout/logged-out.jsx index a56c277309a28..3f4ba8df5cea6 100644 --- a/client/layout/logged-out.jsx +++ b/client/layout/logged-out.jsx @@ -1,7 +1,8 @@ /** * External dependencies */ -var React = require( 'react' ); +var React = require( 'react' ), + classNames = require( 'classnames' ); /** * Internal dependencies @@ -15,15 +16,19 @@ module.exports = React.createClass( { getInitialState: function() { return { - section: undefined + section: undefined, + noSidebar: false }; }, render: function() { - var sectionClass = 'wp' + ( this.state.section ? ' is-section-' + this.state.section : '' ); + var sectionClass = this.state.section ? ' is-section-' + this.state.section : '', + classes = classNames( 'wp', sectionClass, { + 'has-no-sidebar': this.state.noSidebar + } ); return ( -
+