aboutsummaryrefslogtreecommitdiffstats
path: root/mascara/src/app/first-time/create-password-screen.js
blob: 4b4cea51d77c08ae958d3cb1e10e4c07ef7ec7dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import React, {Component, PropTypes} from 'react'
import Breadcrumbs from './breadcrumbs'

export default class CreatePasswordScreen extends Component {

  state = {
    password: '',
    confirmPassword: ''
  }

  render() {
    return (
      <div className="create-password">
        <div className="create-password__title">
          Create Password
        </div>
        <input
          className="first-time-flow__input"
          type="password"
          placeholder="New Password (min 8 characters)"
          onChange={e => this.setState({password: e.target.value})}
        />
        <input
          className="first-time-flow__input create-password__confirm-input"
          type="password"
          placeholder="Confirm Password"
          onChange={e => this.setState({confirmPassword: e.target.value})}
        />
        <button
          className="first-time-flow__button"
        >
          Create
        </button>
        <a
          href=""
          className="first-time-flow__link create-password__import-link"
          onClick={e => e.preventDefault()}
        >
          Import an account
        </a>
        <Breadcrumbs total={3} currentIndex={0} />
      </div>
    )
  }

}