forked from passportxyz/passport
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(platforms): adding more info to Holonym sidebar (passportxyz#2221)
- Loading branch information
1 parent
ba3b821
commit 1b42bcb
Showing
2 changed files
with
31 additions
and
12 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,31 @@ | ||
/* eslint-disable */ | ||
import React from "react"; | ||
import { AppContext, Platform, ProviderPayload } from "../types"; | ||
|
||
export class HolonymPlatform implements Platform { | ||
platformId = "Holonym"; | ||
path = "Holonym"; | ||
|
||
banner = { | ||
heading: "To add the Holonym Stamp to your Gitcoin Passport...", | ||
content: ( | ||
<ul style={{ listStyleType: "disc", paddingLeft: "20px" }}> | ||
<li>Have a smartphone, valid ID, and an Ethereum wallet with ~$10 in ETH or AVAX.</li> | ||
<li> | ||
Go to Holonym's page, verify your ID by connecting your wallet, pay the verification fee, and follow prompts | ||
to take ID and selfie photos. | ||
</li> | ||
<li>After verification, mint the SBT to your wallet, then link it to your Gitcoin Passport by verifying it.</li> | ||
</ul> | ||
), | ||
cta: { | ||
label: "Learn more", | ||
url: "https://support.gitcoin.co/gitcoin-knowledge-base/gitcoin-passport/how-do-i-add-passport-stamps/guide-to-add-holonym-stamp-to-gitcoin-passport", | ||
}, | ||
}; | ||
|
||
async getProviderPayload(appContext: AppContext): Promise<ProviderPayload> { | ||
const result = await Promise.resolve({}); | ||
return result; | ||
} | ||
} |