Skip to content

📈 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!

added Twitter link to footer

Blue Mouse3fc162fc1687
diff --git a/src/components/Footer/index.jsx b/src/components/Footer/index.jsx
index 266cf6ce0..3b56d33d2 100644
--- a/src/components/Footer/index.jsx
+++ b/src/components/Footer/index.jsx
@@ -7,12 +7,11 @@ import Flag from 'react-flagkit'
import PropTypes from 'prop-types'
import {
- isSelfhosted, DONATE_URL, FIREFOX_ADDON_URL, CHROME_EXTENSION_URL, GITHUB_URL, LINKEDIN_URL,
+ isSelfhosted, DONATE_URL, FIREFOX_ADDON_URL, CHROME_EXTENSION_URL, GITHUB_URL,
+ LINKEDIN_URL, STATUSPAGE_URL, TWITTER_URL,
} from 'redux/constants'
import routes from 'routes'
-const STATUSPAGE_URL = 'https://stats.uptimerobot.com/33rvmiXXEz'
-
const navigation = {
support: [
(authenticated) => (authenticated ? { key: 'billing', href: routes.billing } : { key: 'pricing', href: `${routes.main}#pricing` }),
@@ -42,6 +41,19 @@ const navigation = {
</svg>
),
},
+ {
+ name: 'Twitter',
+ href: TWITTER_URL,
+ icon: (props) => (
+ <svg fill='currentColor' viewBox='0 0 24 24' {...props}>
+ <path
+ d='M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84'
+ fillRule='evenodd'
+ clipRule='evenodd'
+ />
+ </svg>
+ ),
+ },
{
name: 'LinkedIn',
href: LINKEDIN_URL,
diff --git a/src/redux/constants/index.js b/src/redux/constants/index.js
index d27783bf4..91a1d25c1 100644
--- a/src/redux/constants/index.js
+++ b/src/redux/constants/index.js
@@ -97,6 +97,8 @@ export const CHROME_EXTENSION_URL = 'https://chrome.google.com/webstore/detail/s
export const HAVE_I_BEEN_PWNED_URL = 'https://haveibeenpwned.com/passwords'
export const LINKEDIN_URL = 'https://www.linkedin.com/company/swetrix/'
export const GITHUB_URL = 'https://github.com/Swetrix'
+export const TWITTER_URL = 'https://twitter.com/swetrix'
+export const STATUSPAGE_URL = 'https://stats.uptimerobot.com/33rvmiXXEz'
export const SUPPORTED_THEMES = ['light', 'dark']