📈 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
added links to docs / demo
Blue Mouse7c5599532fe3
diff --git a/app/pages/Contact/index.tsx b/app/pages/Contact/index.tsxindex e7b84223b..00967354e 100644--- a/app/pages/Contact/index.tsx+++ b/app/pages/Contact/index.tsx@@ -1,8 +1,28 @@/* eslint-disable jsx-a11y/anchor-has-content */import React from 'react'import { useTranslation, Trans } from 'react-i18next'+import { ArrowTopRightOnSquareIcon } from '@heroicons/react/24/outline'-import { CONTACT_EMAIL, TWITTER_URL, TWITTER_USERNAME, DISCORD_URL } from 'redux/constants'+import { CONTACT_EMAIL, TWITTER_URL, TWITTER_USERNAME, DISCORD_URL, DOCS_URL, BOOK_A_CALL_URL } from 'redux/constants'++interface IPanel {+ href: string+ title: string+ description: string+}++const Panel = ({ href, title, description }: IPanel) => (+ <a+ href={href}+ target='_blank'+ rel='noopener noreferrer'+ className='relative block rounded-2xl bg-gray-100 hover:bg-gray-200 dark:bg-slate-800/80 dark:hover:bg-slate-800 p-10 border border-gray-300/80 dark:border-slate-900/80'+ >+ <ArrowTopRightOnSquareIcon className='w-5 h-5 absolute top-5 right-5 text-gray-900' />+ <h3 className='text-lg font-semibold leading-7 text-gray-900'>{title}</h3>+ <p className='mt-3 text-sm leading-6 text-gray-600'>{description}</p>+ </a>+)const Contact = (): JSX.Element => {const { t } = useTranslation('common')@@ -38,6 +58,10 @@ const Contact = (): JSX.Element => {}}/></div>+ <div className='grid grid-cols-1 gap-6 md:grid-cols-2 lg:col-span-2 lg:gap-8 mt-8'>+ <Panel href={DOCS_URL} title={t('contact.docs.title')} description={t('contact.docs.desc')} />+ <Panel href={BOOK_A_CALL_URL} title={t('contact.demo.title')} description={t('contact.demo.desc')} />+ </div></div></div>)diff --git a/public/locales/en.json b/public/locales/en.jsonindex e1af8d2f4..82479c218 100644--- a/public/locales/en.json+++ b/public/locales/en.json@@ -963,7 +963,15 @@"cancelDesc": "After cancelling your subscription, no new events will be collected by Swetrix for your projects.\nYou will be able to return to your current plan at any time.\nIf you have any questions, you can always email us at {{email}}."},"contact": {- "description": "You can reach us at <mail>{{email}}</mail>, tweet us at <twitter>{{twitterHandle}}</twitter> or talk to us via our <discord>Discord</discord> community. We aim to respond as soon as possible, usually within a day."+ "description": "You can reach us at <mail>{{email}}</mail>, tweet us at <twitter>{{twitterHandle}}</twitter> or talk to us via our <discord>Discord</discord> community. We aim to respond as soon as possible, usually within a day.",+ "docs": {+ "title": "Documentation",+ "desc": "Learn how to integrate Swetrix into your application and find answers to the most common questions"+ },+ "demo": {+ "title": "Book a demo call",+ "desc": "Book a demo with our team to see how Swetrix can solve your problems"+ }},"beta": {"title": "Beta",