Skip to content

Commit

Permalink
Add Kleros provider
Browse files Browse the repository at this point in the history
  • Loading branch information
ardier16 committed Dec 20, 2023
1 parent e0e1e64 commit ba1abfd
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 0 deletions.
45 changes: 45 additions & 0 deletions src/assets/icons/kleros-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/enums/icon-names.enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,5 @@ export enum IconNames {
GitCoin = 'gitcoin-passport',
Unstoppable = 'unstoppable-domains',
WorldCoin = 'worldcoin',
Kleros = 'kleros',
}
1 change: 1 addition & 0 deletions src/enums/kyc-providers.enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export enum SupportedKycProvider {
GITCOIN = 'GitCoin',
UNSTOPPABLEDOMAINS = 'Unstoppable',
WORLDCOIN = 'WorldCoin',
KLEROS = 'Kleros',
}
2 changes: 2 additions & 0 deletions src/localization/resources/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"Unstoppable": "Unstoppable Domains",
"GitCoin": "Gitcoin Passport",
"Civic": "Civic",
"Kleros": "Kleros",
"Unknown": "Unknown"

},
"mobile-device-message": {
"title": "Mobile version is not yet available.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const CredentialsTile: FC<Props> = ({ credential }) => {
GitcoinPassport: SupportedKycProvider.GITCOIN,
UnstoppableDomains: SupportedKycProvider.UNSTOPPABLEDOMAINS,
Worldcoin: SupportedKycProvider.WORLDCOIN,
Kleros: SupportedKycProvider.KLEROS,
}[provider]
},
[credential],
Expand Down

0 comments on commit ba1abfd

Please sign in to comment.