diff options
author | Sriram Viswanathan <sriramv@thoughtworks.com> | 2017-04-04 17:57:48 -0300 |
---|---|---|
committer | Sriram Viswanathan <sriramv@thoughtworks.com> | 2017-04-04 17:57:48 -0300 |
commit | 50d64627a924234ef5858b82bee8c9c33fb08f09 (patch) | |
tree | f2af020cd63976db53c8d2325b2b9ba4beb6063e /web-ui/src/account_recovery/backup_account_step/backup_account_step.js | |
parent | 92523b7c8ceb8f3b7adf282e1b9e573ce5b37f04 (diff) |
[#938] Adds backup account step to forgot password flow
with @anikarni
Diffstat (limited to 'web-ui/src/account_recovery/backup_account_step/backup_account_step.js')
-rw-r--r-- | web-ui/src/account_recovery/backup_account_step/backup_account_step.js | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/web-ui/src/account_recovery/backup_account_step/backup_account_step.js b/web-ui/src/account_recovery/backup_account_step/backup_account_step.js new file mode 100644 index 00000000..b4dcbaaf --- /dev/null +++ b/web-ui/src/account_recovery/backup_account_step/backup_account_step.js @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2017 ThoughtWorks, Inc. + * + * Pixelated is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Pixelated is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Pixelated. If not, see <http://www.gnu.org/licenses/>. + */ +import React from "react"; +import {translate} from "react-i18next"; + +export const BackupAccountStep = ({ t }) => ( + <div className='account-recovery-form backup-account'> + <img + className='account-recovery-progress' + src='/public/images/account-recovery/step_4.svg' + alt={t('account-recovery.backup-account-step.image-description')} + /> + <h1>{t('account-recovery.backup-account-step.title')}</h1> + </div> +); + +BackupAccountStep.propTypes = { + t: React.PropTypes.func.isRequired +}; + +export default translate('', { wait: true })(BackupAccountStep); |