React = require 'react'
Page = require './page'
{RetinaImg} = require 'nylas-component-kit'

class SuccessPage extends Page
  @displayName: "SuccessPage"

  componentDidMount: ->
    setTimeout ->
      atom.close()
    , 2500

  render: =>
    # http://codepen.io/stevenfabre/pen/NPWeVb
    <div className="page">
      <div className="check">
        <svg preserveAspectRatio="xMidYMid" width="61" height="52" viewBox="0 0 61 52" className="check-icon">
          <path d="M56.560,-0.010 C37.498,10.892 26.831,26.198 20.617,33.101 C20.617,33.101 5.398,23.373 5.398,23.373 C5.398,23.373 0.010,29.051 0.010,29.051 C0.010,29.051 24.973,51.981 24.973,51.981 C29.501,41.166 42.502,21.583 60.003,6.565 C60.003,6.565 56.560,-0.010 56.560,-0.010 Z" id="path-1" className="cls-2" fill-rule="evenodd"/>
        </svg>
      </div>
    </div>

module.exports = SuccessPage
