1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 09:43:23 +00:00

[PM-1802] Update 2fa provider icons and description (#9568)

* Update yubikey to yubico

* Update icons and descriptions

* Change order of 2fa providers

* Refactor 2fa providers into separate component

* Update i18n messages for 2fa providers

* Update design

* Fix link

* Remove unused SVGs

* Undo changes to scss

* Add speedbumps to links

* Fix missing i18n string

* Add a11y tags

* Fix incorrect filepath

* Remove unused i18n strings

* Delete accidentally committed file

* Fix premium and enabled checkmark being in new line

* Rename two-factor-icon selector

* Update authenticator names in two-factor-authenticator setup component

* Update text according to figma design

* Update keys to notify crowdin translators of changed content

* Move svg icons to separate file

* Fix incorrect i18n key
This commit is contained in:
Bernd Schoolmann
2024-06-27 19:14:21 +02:00
committed by GitHub
parent 3c8eeb4420
commit c01f6be286
20 changed files with 728 additions and 102 deletions

View File

@@ -0,0 +1,16 @@
<ng-container>
<!-- TOTP Authenticator -->
<bit-icon [icon]="Icons.TOTPIcon" *ngIf="provider == 0"></bit-icon>
<!-- Email -->
<bit-icon [icon]="Icons.EmailIcon" *ngIf="provider == 1"></bit-icon>
<!-- Webauthn -->
<bit-icon [icon]="Icons.WebAuthnIcon" *ngIf="provider == 7"></bit-icon>
<!-- Recovery Code -->
<bit-icon [icon]="Icons.RecoveryCodeIcon" *ngIf="provider == 'rc'"></bit-icon>
<!-- Other 2FA Types (Duo, Yubico, U2F as PNG) -->
<img
[class]="'mfaType' + provider"
[alt]="name"
*ngIf="provider == 2 || provider == 3 || provider == 4 || provider == 5 || provider == 6"
/>
</ng-container>