📈 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
Open source redesign
Blue Mouseb34d41496b86
diff --git a/app/redux/constants/index.ts b/app/redux/constants/index.tsindex e81da8854..de104503b 100644--- a/app/redux/constants/index.ts+++ b/app/redux/constants/index.ts@@ -339,7 +339,7 @@ export const CHROME_EXTENSION_URL: string ='https://chrome.google.com/webstore/detail/swetrix/glbeclfdldjldjonfnpnembfkhphmeld'export const HAVE_I_BEEN_PWNED_URL: string = 'https://haveibeenpwned.com/passwords'export const LINKEDIN_URL: string = 'https://www.linkedin.com/company/swetrix/'-export const GITHUB_URL: string = 'https://github.com/Swetrix'+export const GITHUB_URL: string = 'https://github.com/Swetrix/swetrix-api'export const TWITTER_URL: string = 'https://twitter.com/intent/user?screen_name=swetrix'export const TWITTER_USERNAME: string = '@swetrix'export const DISCORD_URL: string = 'https://discord.gg/ZVK8Tw2E8j'diff --git a/app/routes/index.tsx b/app/routes/index.tsxindex 1123ee028..5294f1763 100644--- a/app/routes/index.tsx+++ b/app/routes/index.tsx@@ -10,7 +10,7 @@ import { detectTheme, isAuthenticated } from 'utils/server'import { useTranslation, Trans } from 'react-i18next'import { useSelector } from 'react-redux'import { ClientOnly } from 'remix-utils/client-only'-import { CheckCircleIcon, StarIcon } from '@heroicons/react/24/solid'+import { StarIcon } from '@heroicons/react/24/solid'import { ArrowRightIcon } from '@heroicons/react/20/solid'import _map from 'lodash/map'@@ -37,7 +37,13 @@ import React, { useEffect, useState } from 'react'import clsx from 'clsx'import { MetricCard, MetricCardSelect } from 'pages/Project/View/components/MetricCards'import CCRow from 'pages/Project/View/components/CCRow'-import { CursorArrowRaysIcon, GlobeAltIcon, NewspaperIcon } from '@heroicons/react/24/outline'+import {+ CheckBadgeIcon,+ CheckIcon,+ CursorArrowRaysIcon,+ GlobeAltIcon,+ NewspaperIcon,+} from '@heroicons/react/24/outline'import { LogoTimeline } from 'components/marketing/LogoTimeline'import { MarketplaceCluster } from 'components/marketing/MarketplaceCluster'import { ConveyorBelt } from 'components/marketing/ConveyorBelt'@@ -206,13 +212,13 @@ const OpensourceAdvantages = ({ theme }: { theme: 'dark' | 'light' }) => {<h2 className='text-4xl font-extrabold text-slate-900 dark:text-white md:text-4xl'><Transt={t}- i18nKey='main.opensourceAdv'+ i18nKey='main.weAreOpensource'components={{// eslint-disable-next-line jsx-a11y/anchor-has-contenturl: (<ahref={GITHUB_URL}- className='hover:underline'+ className='underline decoration-dashed hover:decoration-solid'target='_blank'rel='noopener noreferrer'aria-label='Source code (opens in a new tab)'@@ -226,7 +232,7 @@ const OpensourceAdvantages = ({ theme }: { theme: 'dark' | 'light' }) => {{_map(t('main.opensource', { returnObjects: true }), (item: { desc: string }) => (<p key={item.desc} className='mb-3 flex items-center text-sm leading-6 text-slate-700 dark:text-gray-300'><span>- <CheckCircleIcon className='mr-4 h-6 w-6 text-indigo-500' />+ <CheckIcon className='mr-4 h-6 w-6 text-green-500' /></span>{item.desc}</p>diff --git a/public/locales/en.json b/public/locales/en.jsonindex 16621798e..b237113df 100644--- a/public/locales/en.json+++ b/public/locales/en.json@@ -300,16 +300,16 @@"peopleLoveSwetrix": "People 🥰 Swetrix","whyPeopleLoveSwetrix": "Swetrix is an ethical and powerful service. Hundreds of people have already made the switch from Google Analytics and other alternatives.","coreFeaturesBlock": "Core features",- "opensourceAdv": "Advantages of using <url>open source</url>",+ "weAreOpensource": "We are <url>open source</url>","opensource": [{"desc": "Install Swetrix on your own servers - the source code is available to everyone."},{- "desc": "Find bugs and suggest improvements - the community will be grateful to you."+ "desc": "Take part in the development of Swetrix - contribute by suggesting improvements, reporting bugs or developing new features."},{- "desc": "Your data is protected, all the features and fixes are implemented in a matter of days by our developers."+ "desc": "We are a customer-first company, and transparency is our top priority."}],"timeToDitchGoogleAnalytics": "It's time <colour>to ditch</colour> Google Analytics.",