import React from 'react';
import PrimaryNav from '../../components/PrimaryNav';
import {ReactRouter, Router, Link, withRouter} from 'react-router';

class Layout extends React.Component {

    onHelpClick(e) {
        e.preventDefault();
        this.props.router.push('/createWorkshop');
    }

    render () {
        const styleItUpStooge = {
            backgroundColor: '#FAFAFA',
        };
        return (

            <div style={styleItUpStooge}>
                <PrimaryNav />
                <div id="Page">

                    {this.props.children}

                </div>
            </div>

        );
    }
}

export default withRouter(Layout);
import React from 'react';
import PrimaryNav from '../../components/PrimaryNav';
import {ReactRouter, Router, Link, withRouter} from 'react-router';

class Layout extends React.Component {

    onHelpClick(e) {
        e.preventDefault();
        this.props.router.push('/createWorkshop');
    }

    render () {
        return (

            <div>
                <PrimaryNav />
                <div id="Page">

                    {this.props.children}

                </div>
            </div>

        );
    }
}

export default withRouter(Layout);
Remove white background in high level element
Remove white background in high level element

