📈 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
Add FeaturesGrid
Blue Mouse4664aa59c3c7
diff --git a/web/app/components/marketing/FeaturesGrid.tsx b/web/app/components/marketing/FeaturesGrid.tsxindex e3c741f26..5b24b4ec1 100644--- a/web/app/components/marketing/FeaturesGrid.tsx+++ b/web/app/components/marketing/FeaturesGrid.tsx@@ -13,7 +13,6 @@ import {import { useTranslation } from 'react-i18next'import { Text } from '~/ui/Text'-import { cn } from '~/utils/generic'const FEATURES = [{ icon: ShieldCheckIcon, key: 'privacy' },@@ -222,29 +221,12 @@ const DashboardMockup = () => (</div>)-interface FeaturesGridProps {- classes?: {- container?: string- subContainer?: string- }-}--export const FeaturesGrid = ({ classes }: FeaturesGridProps) => {+export const FeaturesGrid = () => {const { t } = useTranslation('common')return (- <section- className={cn(- 'relative mx-auto max-w-7xl px-4 py-14 lg:px-8',- classes?.container,- )}- >- <div- className={cn(- 'grid items-center gap-10 lg:grid-cols-2 lg:gap-16',- classes?.subContainer,- )}- >+ <section className='relative mx-auto max-w-7xl px-4 py-14 lg:px-8'>+ <div className='grid items-center gap-10 lg:grid-cols-2 lg:gap-16'><DashboardMockup /><div><Textdiff --git a/web/app/routes/google-analytics-alternative.tsx b/web/app/routes/google-analytics-alternative.tsxindex ffe1fe096..d27717887 100644--- a/web/app/routes/google-analytics-alternative.tsx+++ b/web/app/routes/google-analytics-alternative.tsx@@ -34,6 +34,7 @@ import FAQ from '~/components/marketing/FAQ'import { FeedbackDual } from './_index'import MarketingPricing from '~/components/pricing/MarketingPricing'import { getDescription, getPreviewImage, getTitle } from '~/utils/seo'+import { FeaturesGrid } from '~/components/marketing/FeaturesGrid'export const meta: MetaFunction = () => {// eslint-disable-next-line react-hooks/rules-of-hooks@@ -617,6 +618,7 @@ export default function GoogleAnalyticsAlternativeRoute() {<main className='bg-gray-50 dark:bg-slate-950'><Hero /><FeedbackDual />+ <FeaturesGrid /><WhySwitch /><ComparisonTable /><Migration />