📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
added Donation link
Blue Mouse0170776d2971
diff --git a/src/components/Footer/index.jsx b/src/components/Footer/index.jsxindex c01306f66..0e48fae4d 100644--- a/src/components/Footer/index.jsx+++ b/src/components/Footer/index.jsx@@ -6,7 +6,7 @@ import _map from 'lodash/map'import Flag from 'react-flagkit'import PropTypes from 'prop-types'-import { isSelfhosted } from 'redux/constants'+import { isSelfhosted, DONATE_URL } from 'redux/constants'import routes from 'routes'const STATUSPAGE_URL = 'https://stats.uptimerobot.com/33rvmiXXEz'@@ -20,6 +20,7 @@ const navigation = {company: [{ key: 'contact', href: routes.contact, internal: true },{ key: 'status', href: STATUSPAGE_URL },+ { key: 'donate', href: DONATE_URL },],legal: [{ key: 'privacy', href: routes.privacy },diff --git a/src/i18n/de.json b/src/i18n/de.jsonindex f6992772e..e78e666bc 100644--- a/src/i18n/de.json+++ b/src/i18n/de.json@@ -345,6 +345,7 @@"guides": "Anleitungen","privacy": "Datenschutz","terms": "AGB",- "status": "Status"+ "status": "Status",+ "donate": "Unterstützen"}}diff --git a/src/i18n/en.json b/src/i18n/en.jsonindex 58ea89fa5..454b25131 100644--- a/src/i18n/en.json+++ b/src/i18n/en.json@@ -346,6 +346,7 @@"guides": "Guides","privacy": "Privacy","terms": "Terms",- "status": "Status"+ "status": "Status",+ "donate": "Donate"}}diff --git a/src/i18n/hi.json b/src/i18n/hi.jsonindex 187bacbe8..fc4b71537 100644--- a/src/i18n/hi.json+++ b/src/i18n/hi.json@@ -342,6 +342,7 @@"guides": "मार्गदर्शक","privacy": "गोपनीयता","terms": "शर्तें",- "status": "स्थिति"+ "status": "स्थिति",+ "donate": "दान करना"}}diff --git a/src/i18n/ru.json b/src/i18n/ru.jsonindex 8bd9d411d..536d9ba38 100644--- a/src/i18n/ru.json+++ b/src/i18n/ru.json@@ -342,6 +342,7 @@"guides": "Руководства","privacy": "Приватность","terms": "Условия",- "status": "Статус"+ "status": "Статус",+ "donate": "Донат"}}diff --git a/src/i18n/uk.json b/src/i18n/uk.jsonindex 21d0bec23..c5b781e9e 100644--- a/src/i18n/uk.json+++ b/src/i18n/uk.json@@ -342,6 +342,7 @@"guides": "Посібники","privacy": "Приватність","terms": "Умови",- "status": "Статус"+ "status": "Статус",+ "donate": "Донат"}}diff --git a/src/i18n/zh.json b/src/i18n/zh.jsonindex 29598196e..2ba079d9c 100644--- a/src/i18n/zh.json+++ b/src/i18n/zh.json@@ -342,6 +342,7 @@"guides": "指南","privacy": "隐私","terms": "条款",- "status": "状态"+ "status": "状态",+ "donate": "捐"}}diff --git a/src/redux/constants/index.js b/src/redux/constants/index.jsindex b9834e0eb..c53d4e674 100644--- a/src/redux/constants/index.js+++ b/src/redux/constants/index.js@@ -47,6 +47,8 @@ export const TITLE_SUFFIX = '| Swetrix'export const LS_THEME_SETTING = 'colour-theme'+export const DONATE_URL = 'https://ko-fi.com/andriir'+export const isSelfhosted = Boolean(process.env.REACT_APP_SELFHOSTED)export const LIVE_VISITORS_UPDATE_INTERVAL = 40000