From f83d026c330ec56b76dc995afabe67bc45f654c7 Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Wed, 17 Apr 2019 15:03:25 +0300 Subject: [PATCH] + client: privacy policy link Closes #393 --- client/src/__locales/en.json | 1 + client/src/components/ui/Footer.js | 5 ++++- client/src/helpers/constants.js | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/client/src/__locales/en.json b/client/src/__locales/en.json index aa95a923..ac8560c3 100644 --- a/client/src/__locales/en.json +++ b/client/src/__locales/en.json @@ -50,6 +50,7 @@ "copyright": "Copyright", "homepage": "Homepage", "report_an_issue": "Report an issue", + "privacy_policy": "Privacy policy", "enable_protection": "Enable protection", "enabled_protection": "Enabled protection", "disable_protection": "Disable protection", diff --git a/client/src/components/ui/Footer.js b/client/src/components/ui/Footer.js index 21e3573d..37c4022e 100644 --- a/client/src/components/ui/Footer.js +++ b/client/src/components/ui/Footer.js @@ -1,6 +1,6 @@ import React, { Component } from 'react'; import { Trans, withNamespaces } from 'react-i18next'; -import { REPOSITORY, LANGUAGES } from '../../helpers/constants'; +import { REPOSITORY, LANGUAGES, PRIVACY_POLICY_LINK } from '../../helpers/constants'; import i18n from '../../i18n'; import './Footer.css'; @@ -30,6 +30,9 @@ class Footer extends Component { homepage + + privacy_policy + report_an_issue diff --git a/client/src/helpers/constants.js b/client/src/helpers/constants.js index 703a8dff..503ca2ed 100644 --- a/client/src/helpers/constants.js +++ b/client/src/helpers/constants.js @@ -22,6 +22,8 @@ export const REPOSITORY = { TRACKERS_DB: 'https://github.com/AdguardTeam/AdGuardHome/tree/master/client/src/helpers/trackers/adguard.json', }; +export const PRIVACY_POLICY_LINK = 'https://adguard.com/privacy/home.html'; + export const LANGUAGES = [ { key: 'en',