📈 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
showing status page lint in footer
Blue Mouse5e2fa9558a28
diff --git a/src/components/Footer/index.jsx b/src/components/Footer/index.jsxindex f64a4ddd8..d82c19070 100644--- a/src/components/Footer/index.jsx+++ b/src/components/Footer/index.jsx@@ -8,6 +8,8 @@ import PropTypes from 'prop-types'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` }),@@ -16,7 +18,7 @@ const navigation = {],company: [{ key: 'about', href: '#' },- { key: 'blog', href: '#' },+ { key: 'status', href: STATUSPAGE_URL },],legal: [{ key: 'privacy', href: routes.privacy },@@ -69,8 +71,8 @@ const Footer = ({ minimal, authenticated }) => {</Link></div><div className='px-5 py-2'>- <a href='#/' className='text-base text-gray-300 hover:text-white'>- {t('footer.blog')}+ <a href={STATUSPAGE_URL} className='text-base text-gray-300 hover:text-white' target='_blank' rel='noopener noreferrer'>+ {t('footer.status')}</a></div></nav>@@ -155,9 +157,9 @@ const Footer = ({ minimal, authenticated }) => {<ul className='mt-4 space-y-4'>{_map(navigation.company, ({ key, href }) => (<li key={key}>- <Link to={href} className='text-base text-gray-300 hover:text-white'>+ <a href={href} className='text-base text-gray-300 hover:text-white' target='_blank' rel='noopener noreferrer'>{t(`footer.${key}`)}- </Link>+ </a></li>))}</ul>diff --git a/src/i18n/en.json b/src/i18n/en.jsonindex 8e0fa8476..8d10add0e 100644--- a/src/i18n/en.json+++ b/src/i18n/en.json@@ -334,6 +334,7 @@"docs": "Documentation","guides": "Guides","privacy": "Privacy",- "terms": "Terms"+ "terms": "Terms",+ "status": "Status"}}diff --git a/src/i18n/ru.json b/src/i18n/ru.jsonindex b475388ee..7bcf0b8d2 100644--- a/src/i18n/ru.json+++ b/src/i18n/ru.json@@ -334,6 +334,7 @@"docs": "Документация","guides": "Руководства","privacy": "Приватность",- "terms": "Условия"+ "terms": "Условия",+ "status": "Статус"}}diff --git a/src/i18n/uk.json b/src/i18n/uk.jsonindex 91cd7e122..02a2716fe 100644--- a/src/i18n/uk.json+++ b/src/i18n/uk.json@@ -334,6 +334,7 @@"docs": "Документація","guides": "Посібники","privacy": "Приватність",- "terms": "Умови"+ "terms": "Умови",+ "status": "Статус"}}