_renderButtons: ->
buttons = []
btnText = ""
if @state.step is 0
btnText = "Let’s get started"
else if @state.step is 1
btnText = "Continue"
else if @state.step is 2
btnText = "Get started"
buttons.push
return buttons
_renderSteps: -> [
@_renderStep0()
@_renderStep1()
@_renderStep2()
]
_stepClass: (n) ->
obj =
"step-wrap": true
"active": @state.step is n
obj["step-#{n}-wrap"] = true
className = classnames(obj)
return className
_renderStep0: ->
Welcome to Nylas N1
{@_renderNavBubble(0)}
_renderStep1: ->
Open source & made for developers.
{@_gears()}
Nylas N1 and the cloud sync engine are available on GitHub
{@_renderNavBubble(1)}
_gears: ->
gears = []
gear = "gear-large@2x.png"
for i in [0..3]
if i isnt 0 then gear = "gear-large-outer@2x.png"
gears.push
return gears
_renderStep2: ->