import React, {PureComponent} from 'react';
import UserSection from 'authentication/components/user_section';

import './top_bar.scss';

class TopBar extends PureComponent {
  render() {
    return (
      <div className="mo-web-top-bar">
        <div className="max-width-container">
          <span className="mo-web-banner">
            Free Shipping & Returns in the U.S. | Use Code NEWTOMODA for 10% Off
            Your First Purchase
          </span>
          <UserSection />
        </div>
      </div>
    );
  }
}

export default TopBar;
