📈 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
display contact us as a tile
Blue Mouse0b805ad92235
diff --git a/web/app/components/pricing/BillingPricing.tsx b/web/app/components/pricing/BillingPricing.tsxindex c8ed9c993..8eaa5d387 100644--- a/web/app/components/pricing/BillingPricing.tsx+++ b/web/app/components/pricing/BillingPricing.tsx@@ -7,7 +7,6 @@ import _map from 'lodash/map'import { CircleHelpIcon } from 'lucide-react'import React, { memo, useEffect, useMemo, useState } from 'react'import { Trans, useTranslation } from 'react-i18next'-import { Link } from 'react-router'import { toast } from 'sonner'import { changeSubscriptionPlan, getPaymentMetainfo, previewSubscriptionUpdate } from '~/api'@@ -342,22 +341,17 @@ const BillingPricing = ({ lastEvent }: BillingPricingProps) => {</div>))}- <p className='mt-6 text-slate-800 dark:text-slate-200'>- <Trans- t={t}- i18nKey='billing.contact'- values={{ amount: 10 }}- components={{- url: (- <Link- to={routes.contact}- className='underline decoration-dashed hover:decoration-solid'- aria-label={t('footer.tos')}- />- ),- }}- />- </p>+ <a+ href={routes.contact}+ target='_blank'+ rel='noopener noreferrer'+ className='group flex items-center justify-between rounded-xl border border-gray-200 px-4 py-3 text-black backdrop-blur-sm dark:border-white/10 dark:bg-white/2 dark:text-white'+ >+ <span className='text-base font-medium'>+ {t('pricing.overXEvents', { amount: formatEventsLong(10000000) })}+ </span>+ <p className='text-sm group-hover:underline'>{t('pricing.contactUs')}</p>+ </a></div></div>diff --git a/web/app/components/pricing/MarketingPricing.tsx b/web/app/components/pricing/MarketingPricing.tsxindex dae90de69..5713edb6d 100644--- a/web/app/components/pricing/MarketingPricing.tsx+++ b/web/app/components/pricing/MarketingPricing.tsx@@ -4,7 +4,7 @@ import cx from 'clsx'import _map from 'lodash/map'import { ArrowRightIcon, CircleHelpIcon } from 'lucide-react'import { useEffect, useState } from 'react'-import { Trans, useTranslation } from 'react-i18next'+import { useTranslation } from 'react-i18next'import { Link } from 'react-router'import { getPaymentMetainfo } from '~/api'@@ -176,24 +176,18 @@ const MarketingPricing = () => {</div>))}- <p className='mt-6 text-slate-200'>- <Trans- t={t}- i18nKey='billing.contact'- values={{ amount: 10 }}- components={{- url: (- <a- href={routes.contact}- target='_blank'- rel='noopener noreferrer'- className='underline decoration-dashed hover:decoration-solid'- aria-label={`${t('footer.contact')} (opens in a new tab)`}- />- ),- }}- />- </p>+ <a+ href={routes.contact}+ target='_blank'+ rel='noopener noreferrer'+ aria-label={`${t('footer.contact')} (opens in a new tab)`}+ className='group flex items-center justify-between rounded-xl border border-white/10 bg-white/2 px-4 py-3 text-white backdrop-blur-sm transition-all duration-300 hover:bg-white/10'+ >+ <span className='text-base font-medium'>+ {t('pricing.overXEvents', { amount: formatEventsLong(10000000) })}+ </span>+ <p className='text-sm group-hover:underline'>{t('pricing.contactUs')}</p>+ </a></div></div></div>diff --git a/web/public/locales/en.json b/web/public/locales/en.jsonindex 57cc62848..bae35a237 100644--- a/web/public/locales/en.json+++ b/web/public/locales/en.json@@ -1221,7 +1221,6 @@"billing": {"title": "Billing & Plans","desc": "It is free to get started and use our services.\nIf you need to handle more traffic, you probably need to upgrade your plan.\nBelow is a list of available plans. No hidden fees or other BS, everything is clear and transparent!",- "contact": "Do you have more than {{amount}} million events per month? <url>Get in touch</url> to discuss your needs!","update": "Update payment details","nextBillDate": "Next bill date:","nextBillDateIs": "Your next bill date is {{date}}",@@ -1308,6 +1307,8 @@"trialEnded": "Trial ended","trialEndsToday": "Trial ends today","trialEndsTomorrow": "Trial ends tomorrow",+ "overXEvents": "Over {{amount}} events",+ "contactUs": "Contact us","tiers": {"trial": "Free trial","upToXEVMo": "Up to {{amount}} events per month",