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!

colourful, eye catching cta

Blue Mouse5296ea560e81
diff --git a/web/app/components/marketing/DitchGoogle.tsx b/web/app/components/marketing/DitchGoogle.tsx
index 3eb09af47..5b5fba367 100644
--- a/web/app/components/marketing/DitchGoogle.tsx
+++ b/web/app/components/marketing/DitchGoogle.tsx
@@ -1,4 +1,5 @@
-import { ArrowRightIcon, CheckCircleIcon } from '@heroicons/react/20/solid'
+import { ArrowRightIcon } from '@heroicons/react/20/solid'
+import { CheckIcon } from 'lucide-react'
import { Trans, useTranslation } from 'react-i18next'
import { Link } from 'react-router'
@@ -8,45 +9,52 @@ export const DitchGoogle = () => {
const { t } = useTranslation('common')
return (
- <div className='relative mx-auto max-w-7xl px-6 py-24 sm:py-28 lg:px-8'>
- <div className='mx-auto max-w-4xl text-center'>
- <div className='rounded-xl border border-gray-200 bg-white p-8 backdrop-blur-xl sm:p-12 lg:p-16 dark:border-gray-700 dark:bg-slate-800/40'>
- <h2 className='mb-6 text-4xl font-bold tracking-tight text-slate-900 sm:text-5xl lg:text-6xl dark:text-white'>
- <Trans
- t={t}
- i18nKey='main.timeToDitchGoogleAnalytics'
- components={{
- colour: <span className='bg-gradient-to-r from-red-600 to-orange-600 bg-clip-text text-transparent' />,
- }}
- />
- </h2>
- <p className='mx-auto mb-10 max-w-2xl text-xl leading-relaxed text-slate-700 dark:text-slate-300'>
- {t('main.whyDitch')}
- </p>
- <div className='mb-8 flex flex-col items-center justify-center gap-4 sm:flex-row'>
- <Link
- to={routes.signup}
- className='group relative inline-flex items-center justify-center rounded-xl border border-gray-200 bg-gradient-to-r from-indigo-500 to-purple-500 bg-[length:200%] bg-[position:0%_0%] px-10 py-5 text-xl font-semibold text-white shadow-sm transition-all duration-300 hover:bg-[position:100%_100%] hover:shadow-md dark:border-gray-700 dark:from-indigo-600 dark:to-purple-600'
- aria-label={t('titles.signup')}
- >
- <span className='relative flex items-center'>
- {t('main.startAXDayFreeTrial', { amount: 14 })}
- <ArrowRightIcon className='ml-3 h-6 w-6 transition-transform group-hover:translate-x-1' />
- </span>
- </Link>
- </div>
- <div className='flex flex-wrap items-center justify-center gap-x-8 gap-y-4 text-sm text-slate-700 dark:text-slate-300'>
- <div className='flex items-center'>
- <CheckCircleIcon className='mr-2 h-5 w-5 text-green-500' />
- {t('main.freeToTry')}
- </div>
- <div className='flex items-center'>
- <CheckCircleIcon className='mr-2 h-5 w-5 text-green-500' />
- {t('main.easyToUse')}
+ <div className='relative mx-auto max-w-7xl px-6 py-20 lg:px-8'>
+ <div className='relative mx-auto max-w-7xl overflow-hidden rounded-4xl p-1 text-center sm:p-2 lg:p-3'>
+ <div aria-hidden className='pointer-events-none absolute inset-0'>
+ <div className='absolute inset-0 rounded-4xl bg-linear-115 from-red-500/50 to-orange-300/30 sm:bg-linear-145' />
+ </div>
+ <div className='rounded-xl p-8 backdrop-blur-xl sm:p-12 lg:p-16'>
+ <div className='mx-auto max-w-4xl'>
+ <h2 className='mb-6 text-4xl font-bold tracking-tight text-slate-900 sm:text-5xl lg:text-6xl dark:text-white'>
+ <Trans
+ t={t}
+ i18nKey='main.timeToDitchGoogleAnalytics'
+ components={{
+ colour: (
+ <span className='bg-gradient-to-r from-red-600 to-orange-600 bg-clip-text text-transparent' />
+ ),
+ }}
+ />
+ </h2>
+ <p className='mx-auto mb-10 max-w-2xl text-xl leading-relaxed text-slate-900 dark:text-slate-200'>
+ {t('main.whyDitch')}
+ </p>
+ <div className='mb-8 flex flex-col items-center justify-center gap-4 sm:flex-row'>
+ <Link
+ to={routes.signup}
+ className='flex items-center justify-center rounded-md border-2 border-slate-900 bg-slate-900 px-6 py-4 text-white transition-all duration-300 hover:bg-transparent hover:text-slate-900 dark:border-slate-50 dark:bg-gray-50 dark:text-slate-900 dark:hover:text-gray-50'
+ aria-label={t('titles.signup')}
+ >
+ <span className='mr-1 text-center text-base font-semibold'>
+ {t('main.startAXDayFreeTrial', { amount: 14 })}
+ </span>
+ <ArrowRightIcon className='mt-[1px] h-4 w-5' />
+ </Link>
</div>
- <div className='flex items-center'>
- <CheckCircleIcon className='mr-2 h-5 w-5 text-green-500' />
- {t('main.privacyFirst')}
+ <div className='flex flex-wrap items-center justify-center gap-x-8 gap-y-4 text-sm text-slate-900 dark:text-slate-200'>
+ <div className='flex items-center'>
+ <CheckIcon className='mr-1 size-4' />
+ {t('main.freeToTry')}
+ </div>
+ <div className='flex items-center'>
+ <CheckIcon className='mr-1 size-4' />
+ {t('main.easyToUse')}
+ </div>
+ <div className='flex items-center'>
+ <CheckIcon className='mr-1 size-4' />
+ {t('main.privacyFirst')}
+ </div>
</div>
</div>
</div>
diff --git a/web/app/routes/_index.tsx b/web/app/routes/_index.tsx
index 49ce2c140..8ec5fbdd0 100644
--- a/web/app/routes/_index.tsx
+++ b/web/app/routes/_index.tsx
@@ -352,13 +352,13 @@ const Hero = () => {
<div className='mt-8 flex flex-col items-stretch sm:flex-row sm:items-center'>
<Link
to={routesPath.signup}
- className='group flex h-12 items-center justify-center rounded-md bg-slate-900 px-4 text-white ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 sm:mr-6 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600'
+ className='flex h-12 items-center justify-center rounded-md border-2 border-slate-900 bg-slate-900 px-4 text-white transition-all duration-300 hover:bg-transparent hover:text-slate-900 dark:border-slate-50 dark:bg-gray-50 dark:text-slate-900 dark:hover:text-gray-50'
aria-label={t('titles.signup')}
>
<span className='mr-1 text-center text-base font-semibold'>
{t('main.startAXDayFreeTrial', { amount: 14 })}
</span>
- <ArrowRightIcon className='mt-[1px] h-4 w-5 transition-transform group-hover:scale-[1.15]' />
+ <ArrowRightIcon className='mt-[1px] h-4 w-5' />
</Link>
</div>
@@ -513,31 +513,6 @@ const FAQ = () => {
)
}
-export default function Index() {
- const { isAuthenticated } = useAuth()
-
- return (
- <div className='overflow-hidden'>
- <main className='bg-gray-50 dark:bg-slate-900'>
- <Hero />
-
- <FeedbackDual />
-
- <FeaturesShowcase />
-
- {/* Hiding the Pricing for authenticated users on the main page as the Paddle script only loads on the Billing page */}
- {!isAuthenticated ? <Pricing authenticated={false} /> : null}
-
- <FAQ />
-
- <WeAreOpensource />
-
- <DitchGoogle />
- </main>
- </div>
- )
-}
-
const FeatureCard = ({ title, description, media }: { title: string; description: string; media: React.ReactNode }) => (
<div className='flex h-full flex-col overflow-hidden rounded-xl bg-white ring-1 ring-black/5 dark:bg-slate-800 dark:ring-white/10'>
<div className='relative h-60 overflow-hidden'>{media}</div>
@@ -1484,3 +1459,28 @@ const FeaturesShowcase = () => {
</section>
)
}
+
+export default function Index() {
+ const { isAuthenticated } = useAuth()
+
+ return (
+ <div className='overflow-hidden'>
+ <main className='bg-gray-50 dark:bg-slate-900'>
+ <Hero />
+
+ <FeedbackDual />
+
+ <FeaturesShowcase />
+
+ {/* Hiding the Pricing for authenticated users on the main page as the Paddle script only loads on the Billing page */}
+ {!isAuthenticated ? <Pricing authenticated={false} /> : null}
+
+ <FAQ />
+
+ <WeAreOpensource />
+
+ <DitchGoogle />
+ </main>
+ </div>
+ )
+}