-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
feat(ux): Update 2fa signin screens/reset PW copy, create HeadingPrimary
- Loading branch information
Showing
20 changed files
with
144 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
packages/fxa-settings/src/components/HeadingPrimary/index.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
import React from 'react'; | ||
import { HeadingPrimary } from '.'; | ||
import { Meta } from '@storybook/react'; | ||
|
||
export default { | ||
title: 'Components/HeadingPrimary', | ||
component: HeadingPrimary, | ||
} as Meta; | ||
|
||
export const Default = <HeadingPrimary>Primary heading text</HeadingPrimary>; |
13 changes: 13 additions & 0 deletions
13
packages/fxa-settings/src/components/HeadingPrimary/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
import React from 'react'; | ||
|
||
export const HeadingPrimary = ({ | ||
children, | ||
marginClass = 'mb-5', | ||
}: { | ||
children: React.ReactNode; | ||
marginClass?: string; | ||
}) => <h1 className={`${marginClass} text-grey-400 text-base`}>{children}</h1>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
packages/fxa-settings/src/pages/ResetPassword/ConfirmTotpResetPassword/en.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
## PasswordResetConfirmTotp Page | ||
|
||
confirm-totp-reset-password-header = Reset your password | ||
confirm-totp-reset-password-subheader = Enter your two-factor authentication security code (2FA) | ||
confirm-totp-reset-password-instruction = Check your authenticator app to reset your password. | ||
confirm-totp-reset-password-subheader-v2 = Enter two-step authentication code | ||
confirm-totp-reset-password-instruction-v2 = Check your <strong>authenticator app</strong> to reset your password. | ||
confirm-totp-reset-password-trouble-code = Trouble entering code? | ||
confirm-totp-reset-password-confirm-button = Confirm | ||
confirm-totp-reset-password-input-label = Enter code | ||
confirm-totp-reset-password-use-different-account = Use a different account | ||
confirm-totp-reset-password-input-label-v2 = Enter 6-digit code | ||
confirm-totp-reset-password-use-different-account = Use a different account | ||
confirm-recovery-code-reset-password-input-label = Enter 10-character code | ||
confirm-recovery-code-reset-password-trouble-code = Back |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.