Skip to content

Commit

Permalink
OCT-1776 Add link to custom GitcoinPassport dashboard in the UI (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
aziolek authored Jul 14, 2024
2 parents e9f6bf6 + 8490787 commit 2e0b990
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ 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_CUSTOM_OCTANT_DASHBOARD,
SCORING_20_FOR_HUMANS_GUIDE,
} from 'constants/urls';
import useModalStepperNavigation from 'hooks/helpers/useModalStepperNavigation';

import styles from './ModalSettingsCalculatingYourUniqueness.module.scss';
Expand All @@ -20,7 +23,13 @@ const ModalSettingsCalculatingYourUniqueness: FC<ModalSettingsCalculatingYourUni
const steps = [
<Trans
className={styles.onboardingModalText}
components={[<Button className={styles.link} href={GITCOIN_PASSPORT} variant="link3" />]}
components={[
<Button
className={styles.link}
href={GITCOIN_PASSPORT_CUSTOM_OCTANT_DASHBOARD}
variant="link3"
/>,
]}
i18nKey="views.settings.calculatingYourUniquenessStep1"
/>,
<Trans
Expand Down
2 changes: 1 addition & 1 deletion client/src/constants/urls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ export const BLOG_POST = 'https://docs.octant.app/using-the-app.html';
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';

0 comments on commit 2e0b990

Please sign in to comment.