Skip to content

Commit

Permalink
feat: OCT-2094 Privacy Policy in the footer
Browse files Browse the repository at this point in the history
  • Loading branch information
aziolek committed Oct 11, 2024
1 parent a5d270e commit a01f60f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ import {
OCTANT_BUILD_LINK,
OCTANT_DOCS,
TERMS_OF_USE,
TWITTER_LINK,
// TODO OCT-2097 Bring Twitter link back.
// TWITTER_LINK,
PRIVACY_POLICY,
} from 'constants/urls';
import useMediaQuery from 'hooks/helpers/useMediaQuery';
import { octantSemiTransparent } from 'svg/logo';
Expand All @@ -31,16 +33,18 @@ const LayoutFooter: FC<LayoutFooterProps> = ({ className }) => {
{ label: t('links.blog'), link: BLOG_POST },
{ label: t('links.discord'), link: DISCORD_LINK },
{ label: t('links.farcaster'), link: FARCASTER_LINK },
{ label: t('links.twitterX'), link: TWITTER_LINK },
// TODO OCT-2097 Bring Twitter/X back.
// { label: t('links.twitterX'), link: TWITTER_LINK },
{ label: t('links.brandAssets'), link: BRAND_ASSETS_FIGMA_LINK },
{ label: t('links.privacyPolicy'), link: PRIVACY_POLICY },
{ label: t('links.termsOfUse'), link: TERMS_OF_USE },
]
: [
{ label: t('links.website'), link: OCTANT_BUILD_LINK },
{ label: t('links.docs'), link: OCTANT_DOCS },
{ label: t('links.farcaster'), link: FARCASTER_LINK },
{ label: t('links.twitterX'), link: TWITTER_LINK },
{ label: t('links.discord'), link: DISCORD_LINK },
{ label: t('links.privacyPolicy'), link: PRIVACY_POLICY },
{ label: t('links.termsOfUse'), link: TERMS_OF_USE },
];

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 @@ -14,3 +14,4 @@ export const SCORING_20_FOR_HUMANS_GUIDE =
'https://support.passport.xyz/passport-knowledge-base/stamps/scoring-20-for-humans';
export const TIME_OUT_LIST_DISPUTE_FORM = 'https://octant.fillout.com/t/wLNsbSGJKWus';
export const SYBIL_ATTACK_EXPLANATION = 'https://chain.link/education-hub/sybil-attack';
export const PRIVACY_POLICY = 'https://docs.octant.app/privacy-policy.html';
5 changes: 3 additions & 2 deletions client/src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@
"brandAssets": "Brand assets",
"termsOfUse": "Terms of use",
"farcaster": "Farcaster",
"twitterX": "Twitter/X"
"twitterX": "Twitter/X",
"privacyPolicy": "Privacy policy"
}
}
},
Expand Down Expand Up @@ -533,4 +534,4 @@
"information": "We're synchronizing things to prepare the<br/>next epoch, so the app will be unavailable<br/>for a little while. Please check back soon."
}
}
}
}

0 comments on commit a01f60f

Please sign in to comment.