context = window

@JamClassPhone = React.createClass(
  {
    displayName: 'JamClassPhone',

    getInitialProps: () ->
      {
        customClass: null
      }
    render: ->
      classes = {"jamclass-phone": true}

      if @props.customClass?
        classes[@props.customClass] = true

      `<div className={classNames(classes)}>
        <img src="/assets/content/phone-icon.png" width="32" height="32"/>

        <div className="callwrapper">
          <div className="call-num">
            Call&nbsp;
          <span className="phonenumber">
            877-37-MUSIC
          </span>
          </div>
          <div className="call-prompt">
            Have questions? Call now!
          </div>
        </div>
      </div>`
  }
)