📈 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 Comparisons column
Blue Mouse0cef70d5d68b
diff --git a/public/locales/en.json b/public/locales/en.jsonindex 1ecd4ea8c..bc41a3da1 100644--- a/public/locales/en.json+++ b/public/locales/en.json@@ -626,6 +626,7 @@"terms": "Terms","status": "Status","donate": "Donate",- "about": "About us"+ "about": "About us",+ "comparisons": "Comparisons"}}diff --git a/src/components/Footer/index.jsx b/src/components/Footer/index.jsxindex 871a32769..7fa000a00 100644--- a/src/components/Footer/index.jsx+++ b/src/components/Footer/index.jsx@@ -12,6 +12,8 @@ import {} from 'redux/constants'import routes from 'routes'+const SWETRIX_VS_GOOGLE = 'https://blog.swetrix.com/post/vs-google-analytics/'+const navigation = {support: [(authenticated) => (authenticated ? { key: 'billing', href: routes.billing } : { key: 'pricing', href: `${routes.main}#pricing` }),@@ -30,6 +32,9 @@ const navigation = {{ key: 'privacy', href: routes.privacy },{ key: 'terms', href: routes.terms },],+ comparisons: [+ { value: 'Google Analytics', href: SWETRIX_VS_GOOGLE },+ ],social: [{name: 'GitHub',@@ -168,7 +173,24 @@ const Footer = ({ minimal, authenticated }) => {</div><div className='mt-12 grid grid-cols-2 gap-8 xl:mt-0 xl:col-span-2'><div className='md:grid md:grid-cols-2 md:gap-8'>- <div />+ <div>+ <h3 className='text-sm font-semibold text-white tracking-wider uppercase'>+ {t('footer.comparisons')}+ </h3>+ <ul className='mt-4 space-y-4'>+ {_map(navigation.comparisons, (data) => {+ const { value, href } = data++ return (+ <li key={value}>+ <a href={href} className='text-base text-gray-300 hover:text-white' target='_blank' rel='noopener noreferrer'>+ {value}+ </a>+ </li>+ )+ })}+ </ul>+ </div><div className='mt-12 md:mt-0'><h3 className='text-sm font-semibold text-white tracking-wider uppercase'>{t('footer.support')}