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!

fix broken docs link

Blue Mousef7b426822cc7
diff --git a/src/components/Footer/index.jsx b/src/components/Footer/index.jsx
index 26c0b38fc..cfc50a589 100644
--- a/src/components/Footer/index.jsx
+++ b/src/components/Footer/index.jsx
@@ -15,7 +15,7 @@ import routes from 'routes'
const navigation = {
support: [
- (authenticated) => (authenticated ? { key: 'billing', href: routes.billing } : { key: 'pricing', href: `${routes.main}#pricing` }),
+ (authenticated) => (authenticated ? { key: 'billing', href: routes.billing, internal: true } : { key: 'pricing', href: `${routes.main}#pricing`, internal: true }),
() => ({ key: 'docs', href: DOCS_URL }),
() => ({ key: 'contact', href: routes.contact, internal: true }),
],
@@ -202,9 +202,15 @@ const Footer = ({ minimal, authenticated }) => {
return (
<li key={key}>
- <HashLink to={href} className='text-base text-gray-300 hover:text-white'>
- {t(`footer.${key}`)}
- </HashLink>
+ {internal ? (
+ <HashLink to={href} className='text-base text-gray-300 hover:text-white'>
+ {t(`footer.${key}`)}
+ </HashLink>
+ ) : (
+ <a href={href} className='text-base text-gray-300 hover:text-white' target='_blank' rel='noopener noreferrer' aria-label={`${t(`footer.${key}`)} (opens in a new tab)`}>
+ {t(`footer.${key}`)}
+ </a>
+ )}
</li>
)
})}