From a01f60f3c520d618eba1097976656a287fb17fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Zi=C3=B3=C5=82ek?= Date: Fri, 11 Oct 2024 23:25:28 +0200 Subject: [PATCH] feat: OCT-2094 Privacy Policy in the footer --- .../shared/Layout/LayoutFooter/LayoutFooter.tsx | 10 +++++++--- client/src/constants/urls.ts | 1 + client/src/locales/en/translation.json | 5 +++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/client/src/components/shared/Layout/LayoutFooter/LayoutFooter.tsx b/client/src/components/shared/Layout/LayoutFooter/LayoutFooter.tsx index 10e62e83db..38e943da12 100644 --- a/client/src/components/shared/Layout/LayoutFooter/LayoutFooter.tsx +++ b/client/src/components/shared/Layout/LayoutFooter/LayoutFooter.tsx @@ -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'; @@ -31,16 +33,18 @@ const LayoutFooter: FC = ({ 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 }, ]; diff --git a/client/src/constants/urls.ts b/client/src/constants/urls.ts index 27530177e0..46c6bc559f 100644 --- a/client/src/constants/urls.ts +++ b/client/src/constants/urls.ts @@ -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'; diff --git a/client/src/locales/en/translation.json b/client/src/locales/en/translation.json index c93e0cd3a7..b2633356e2 100644 --- a/client/src/locales/en/translation.json +++ b/client/src/locales/en/translation.json @@ -381,7 +381,8 @@ "brandAssets": "Brand assets", "termsOfUse": "Terms of use", "farcaster": "Farcaster", - "twitterX": "Twitter/X" + "twitterX": "Twitter/X", + "privacyPolicy": "Privacy policy" } } }, @@ -533,4 +534,4 @@ "information": "We're synchronizing things to prepare the
next epoch, so the app will be unavailable
for a little while. Please check back soon." } } -} \ No newline at end of file +}