📈 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 testimonals, hidden checklist section
Blue Mouse69b265077522
diff --git a/public/locales/en.json b/public/locales/en.jsonindex 8d7804c84..a7d233f68 100644--- a/public/locales/en.json+++ b/public/locales/en.json@@ -177,6 +177,23 @@"marketplaceBlock": "Marketplace and extension features","coreFeaturesBlock": "Core features","testimonials": "Testimonials",+ "lTestimonials": [+ {+ "name": "Alex",+ "role": "Startup founder",+ "desc": "We use several analytics systems for the project in order to obtain the most accurate data.\nFor web analytics, we chose Swetrix as a solution where the team is constantly making new improvements and features."+ },+ {+ "name": "Michael",+ "role": "Small business owner",+ "desc": "In business, I need to understand how customers behave on a website and why they buy or don't buy my product.\nSwetrix gives me the necessary data and valuable insights to understand my website visitors and help me increase sales."+ },+ {+ "name": "Rachel",+ "role": "CMO at NDA Company",+ "desc": "I am working on a fairly large project and we need to comply with the GDPR agreements and a number of other requirements.\nWe work with large companies around the world and visitors to our resources want to see that we are loyal to them, but at the same time allow our department to increase conversion on the site and receive valuable insights to test new product hypotheses.\nThese tasks are completely solved by Swetrix."+ }+ ],"opensourceAdv": "Adventages of using <url>open source</url>","opensource": [{diff --git a/src/pages/MainPage/NewMainPage.jsx b/src/pages/MainPage/NewMainPage.jsxindex 8752731e2..bc14b038f 100644--- a/src/pages/MainPage/NewMainPage.jsx+++ b/src/pages/MainPage/NewMainPage.jsx@@ -1,6 +1,7 @@import React, { memo } from 'react'import { Link, useHistory } from 'react-router-dom'import { useTranslation, Trans } from 'react-i18next'+import cx from 'clsx'import { useSelector } from 'react-redux'import { ExternalLinkIcon, ArrowSmRightIcon, CheckCircleIcon } from '@heroicons/react/solid'import { CheckCircleIcon as CheckCircleIconOutline, CogIcon, ClockIcon } from '@heroicons/react/outline'@@ -297,54 +298,30 @@ const Main = () => {{t('main.testimonials')}</h1><div className='flex items-center flex-col md:flex-row justify-between mt-16'>- <div- className='max-w-xs w-full dark:bg-gray-800'- style={{- boxShadow: '-22px -11px 40px rgba(0, 0, 0, 0.02), 3px -5px 16px rgba(0, 0, 0, 0.02), 17px 24px 20px rgba(0, 0, 0, 0.02)',- borderRadius: '100px 30px 30px 30px',- }}- >- <Quote theme={theme} color='black' className='mx-auto relative -top-4' />- <div className='px-14 mb-12'>- <p className='text-gray-500 text-sm mt-8 dark:text-gray-400'>Joe Massad</p>- <p className='text-gray-800 dark:text-white text-lg text mt-2 leading-9'>- Start out for free, no credit card needed.- When your business grows, you can upgrade your plan at any time.- </p>- </div>- </div>- <div- className='max-w-xs w-full md:mx-4 mt-10 md:mt-0 dark:bg-gray-800'- style={{- boxShadow: '-22px -11px 40px rgba(0, 0, 0, 0.02), 3px -5px 16px rgba(0, 0, 0, 0.02), 17px 24px 20px rgba(0, 0, 0, 0.02)',- borderRadius: '100px 30px 30px 30px',- }}- >- <Quote theme={theme} color='yellow' className='mx-auto relative -top-4' />- <div className='px-14 mb-12'>- <p className='text-gray-500 text-sm mt-8 dark:text-gray-400'>Joe Massad</p>- <p className='text-gray-800 dark:text-white text-lg mt-2 leading-9'>- Start out for free, no credit card needed.- When your business grows, you can upgrade your plan at any time.- </p>- </div>- </div>- <div- className='max-w-xs w-full mt-10 md:mt-0 dark:bg-gray-800'- style={{- boxShadow: '-22px -11px 40px rgba(0, 0, 0, 0.02), 3px -5px 16px rgba(0, 0, 0, 0.02), 17px 24px 20px rgba(0, 0, 0, 0.02)',- borderRadius: '100px 30px 30px 30px',- }}- >- <Quote theme={theme} color='black' className='mx-auto relative -top-4' />- <div className='px-14 mb-12'>- <p className='text-gray-500 text-sm mt-8 dark:text-gray-400'>Joe Massad</p>- <p className='text-gray-800 dark:text-white text-lg mt-2 leading-9'>- Start out for free, no credit card needed.- When your business grows, you can upgrade your plan at any time.- </p>+ {_map(t('main.lTestimonials', { returnObjects: true }), (item, index) => (+ <div+ key={item.name}+ className={cx('max-w-xs w-full dark:bg-gray-800', {+ 'mt-5 md:mt-0': index > 0,+ })}+ style={{+ boxShadow: '-22px -11px 40px rgba(0, 0, 0, 0.02), 3px -5px 16px rgba(0, 0, 0, 0.02), 17px 24px 20px rgba(0, 0, 0, 0.02)',+ borderRadius: '100px 30px 30px 30px',+ }}+ >+ <Quote theme={theme} color={index === 1 ? 'yellow' : 'black'} className='mx-auto relative -top-4' />+ <div className='px-10 mb-10 max-h-80 overflow-auto'>+ <p className='text-gray-500 text-sm mt-8 dark:text-gray-400'>+ {item.name}+ <br />+ {item.role}+ </p>+ <p className='text-gray-800 dark:text-white text-md text mt-2 leading-9 whitespace-pre-line'>+ {item.desc}+ </p>+ </div></div>- </div>+ ))}</div></div></section>@@ -371,7 +348,8 @@ const Main = () => {</section></div>- <section className='bg-white dark:bg-gray-800 px-4 md:px-8 pt-24 pb-32 relative'>+ {/* Checklist section */}+ {/* <section className='bg-white dark:bg-gray-800 px-4 md:px-8 pt-24 pb-32 relative'><div className='absolute right-0 top-0 z-0 sm:top-28'><BackgroundSvg type='circle' /></div>@@ -519,7 +497,7 @@ const Main = () => {</div></div></div>- </section>+ </section> */}<section className='flex items-center lg:flex-row flex-col-reverse justify-between max-w-7xl w-full mx-auto py-20 lg:py-32 px-5'><img src={theme === 'dark' ? '/assets/opensource_dark.png' : '/assets/opensource_light.png'} loading='lazy' alt='Swetrix open source' /><div className='max-w-lg w-full lg:ml-5'>