Skip to content

Commit

Permalink
feat: move the link to our GP dashboard to UQ onboarding slide no 2
Browse files Browse the repository at this point in the history
  • Loading branch information
aziolek committed Jul 15, 2024
1 parent a39ac27 commit 84e3831
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ import Img from 'components/ui/Img';
import Modal from 'components/ui/Modal';
import ProgressStepperSlim from 'components/ui/ProgressStepperSlim';
import Text from 'components/ui/Text';
import { GITCOIN_PASSPORT, SCORING_20_FOR_HUMANS_GUIDE } from 'constants/urls';
import {
GITCOIN_PASSPORT,
SCORING_20_FOR_HUMANS_GUIDE,
GITCOIN_PASSPORT_CUSTOM_OCTANT_DASHBOARD,
} from 'constants/urls';
import useModalStepperNavigation from 'hooks/helpers/useModalStepperNavigation';

import styles from './ModalSettingsCalculatingYourUniqueness.module.scss';
Expand All @@ -25,6 +29,13 @@ const ModalSettingsCalculatingYourUniqueness: FC<ModalSettingsCalculatingYourUni
/>,
<Trans
className={styles.onboardingModalText}
components={[
<Button
className={styles.link}
href={GITCOIN_PASSPORT_CUSTOM_OCTANT_DASHBOARD}
variant="link3"
/>,
]}
i18nKey="views.settings.calculatingYourUniquenessStep2"
/>,
<Trans
Expand Down
1 change: 1 addition & 0 deletions client/src/constants/urls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ export const OCTANT_BUILD_LINK = 'https://octant.build/';
export const TWITTER_LINK = 'https://twitter.com/OctantApp';
export const TERMS_OF_USE = 'https://docs.octant.app/terms-of-use.html';
export const GITCOIN_PASSPORT = 'https://support.passport.xyz/passport-knowledge-base';
export const GITCOIN_PASSPORT_CUSTOM_OCTANT_DASHBOARD = 'https://passport.gitcoin.co/#/octant/';
export const SCORING_20_FOR_HUMANS_GUIDE =
'https://support.passport.xyz/passport-knowledge-base/stamps/scoring-20-for-humans';
4 changes: 2 additions & 2 deletions client/src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -531,8 +531,8 @@
"addresses": "addresses",
"calculatingYourUniqueness": "Calculating your uniqueness",
"switchAccounts": "Switch accounts",
"calculatingYourUniquenessStep1": "To prove your uniqueness your need a<br/><0>Gitcoin Passport</0> score of 20 or higher.<br/><br/>If you have this your donations will attract the maximum amount of match funding. If not, maximum match funding will be set to 20%.<br/><br/>You can increase your score in a couple of different ways.",
"calculatingYourUniquenessStep2": "You can go to Passport and add stamps to the score connected to your Octant address.<br/><br/>If your Passport score is not on your primary address, you can delegate your score from another address with a 20+ Passport score. <br/><br/>You can only do this once, and it must be done before allocating to benefit the current epoch.",
"calculatingYourUniquenessStep1": "To prove your uniqueness your need a <0>Gitcoin Passport</0> score of 20 or higher.<br/><br/>If you have this your donations will attract the maximum amount of match funding. If not, maximum match funding will be set to 20%.<br/><br/>You can increase your score in a couple of different ways.",
"calculatingYourUniquenessStep2": "You can go to our <0>Passport dashboard</0> and add stamps to the score for your Octant address.<br/><br/>If your Passport score is not on your primary address, you can delegate your score from another address with a 20+ Passport score. <br/><br/>You can only do this once, and it must be done before allocating to benefit the current epoch.",
"calculatingYourUniquenessStep3": "Delegation will not link your addresses or compromise your privacy in any way.<br/><br/>We require proof of uniqueness to defend against sybil attacks as we have switched to a quadratic funding model.<br/><br/> To learn more, check out Gitcoin’s handy guide to <0>scoring 20, for humans.</0>",
"primary": "Primary",
"delegationFailedText": "Delegation failed — your score needs to be 20 or higher. Please try another address",
Expand Down

0 comments on commit 84e3831

Please sign in to comment.