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!

Redesigned main page so it would finally sell :)

Blue Mouse5b2ebeece86c
diff --git a/app/components/Footer/index.tsx b/app/components/Footer/index.tsx
index 636ea0df0..5bb6f87b7 100644
--- a/app/components/Footer/index.tsx
+++ b/app/components/Footer/index.tsx
@@ -22,6 +22,7 @@ import {
CAPTCHA_URL,
} from 'redux/constants'
import routesPath from 'utils/routes'
+import { ArrowTopRightOnSquareIcon } from '@heroicons/react/24/solid'
const navigation = {
company: [
@@ -350,6 +351,15 @@ const Footer = ({ minimal, authenticated, showDBIPMessage }: IFooter): JSX.Eleme
<p className='pt-10 text-base text-gray-300'>
&copy; {year} {t('footer.copy')}
</p>
+ <a
+ href='https://u24.gov.ua/'
+ target='_blank'
+ rel='noreferrer noopener'
+ className='block max-w-max items-center border-b-2 border-transparent text-base text-gray-300 hover:border-gray-300'
+ >
+ {t('main.ukrSupport')}
+ <ArrowTopRightOnSquareIcon className='mb-1 ml-1 inline size-4' />
+ </a>
</div>
<div className='mt-12 xl:mt-0'>
<div className='grid grid-cols-2 gap-8 md:grid-cols-3'>
diff --git a/app/components/marketing/LogoTimeline.tsx b/app/components/marketing/LogoTimeline.tsx
new file mode 100644
index 000000000..1b146ac79
--- /dev/null
+++ b/app/components/marketing/LogoTimeline.tsx
@@ -0,0 +1,136 @@
+import React from 'react'
+import clsx from 'clsx'
+import {
+ SiFramer,
+ SiGhost,
+ SiGoogletagmanager,
+ SiNextdotjs,
+ SiNodedotjs,
+ SiReact,
+ SiSlack,
+ SiSvelte,
+ SiVuedotjs,
+ SiWebflow,
+ SiWix,
+ SiWordpress,
+} from '@icons-pack/react-simple-icons'
+
+const Row = ({ children }: { children: React.ReactNode }) => {
+ return (
+ <div className='group relative'>
+ <div className='absolute inset-x-0 top-1/2 h-0.5 bg-gradient-to-r from-black/15 from-[2px] to-[2px] bg-[length:12px_100%] group-data-[dark]:from-white/15' />
+ <div className='absolute inset-x-0 bottom-0 h-0.5 bg-gradient-to-r from-black/5 from-[2px] to-[2px] bg-[length:12px_100%] group-last:hidden group-data-[dark]:from-white/5' />
+ {children}
+ </div>
+ )
+}
+
+const Logo = ({ label, icon, className }: { label: string; icon: React.ReactNode; className: string }) => {
+ return (
+ <div
+ className={clsx(
+ className,
+ 'absolute top-2 grid grid-cols-[1rem,1fr] items-center gap-2 whitespace-nowrap px-3 py-1',
+ 'rounded-full bg-gradient-to-t from-gray-800 from-50% to-gray-700 ring-1 ring-inset ring-white/10',
+ '[--move-x-from:-100%] [--move-x-to:calc(100%+100cqw)] [animation-iteration-count:infinite] [animation-name:move-x] [animation-play-state:paused] [animation-timing-function:linear] group-hover:[animation-play-state:running]',
+ )}
+ >
+ {icon}
+ <span className='text-sm/6 font-medium text-white'>{label}</span>
+ </div>
+ )
+}
+
+export const LogoTimeline = () => {
+ return (
+ <div aria-hidden='true' className='relative h-full overflow-hidden'>
+ <div className='absolute inset-0 top-8 z-10 flex items-center justify-center'>
+ <div
+ className='absolute inset-0 backdrop-blur-md'
+ style={{
+ maskImage: `url('data:image/svg+xml,<svg width="96" height="96" viewBox="0 0 96 96" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="96" height="96" rx="12" fill="black"/></svg>')`,
+ maskPosition: 'center',
+ maskRepeat: 'no-repeat',
+ }}
+ />
+ <div className='relative flex size-24 items-center justify-center rounded-xl bg-gradient-to-t from-white/5 to-white/25 shadow outline outline-offset-[-5px] outline-white/5 ring-1 ring-inset ring-white/10'>
+ <img src='/logo512.png' alt='' className='object-contain' />
+ </div>
+ </div>
+ <div className='absolute inset-0 grid grid-cols-1 pt-8 [container-type:inline-size]'>
+ <Row>
+ <Logo
+ label='React'
+ icon={<SiReact color='#61DAFB' size={16} />}
+ className='[animation-delay:-26s] [animation-duration:30s]'
+ />
+ <Logo
+ label='Vue'
+ icon={<SiVuedotjs color='#4FC08D' size={16} />}
+ className='[animation-delay:-8s] [animation-duration:30s]'
+ />
+ </Row>
+ <Row>
+ <Logo
+ label='Webflow'
+ icon={<SiWebflow color='#146EF5' size={16} />}
+ className='[animation-delay:-40s] [animation-duration:40s]'
+ />
+ <Logo
+ label='Ghost'
+ icon={<SiGhost color='#FFFFFF' size={16} />}
+ className='[animation-delay:-20s] [animation-duration:40s]'
+ />
+ </Row>
+ <Row>
+ <Logo
+ label='Framer'
+ icon={<SiFramer color='#0055FF' size={16} />}
+ className='[animation-delay:-10s] [animation-duration:40s]'
+ />
+ <Logo
+ label='WordPress'
+ icon={<SiWordpress color='#21759B' size={16} />}
+ className='[animation-delay:-32s] [animation-duration:40s]'
+ />
+ </Row>
+ <Row>
+ <Logo
+ label='Wix'
+ icon={<SiWix color='#0C6EFC' size={16} />}
+ className='[animation-delay:-45s] [animation-duration:45s]'
+ />
+ <Logo
+ label='Google Tag Manager'
+ icon={<SiGoogletagmanager color='#246FDB' size={16} />}
+ className='[animation-delay:-23s] [animation-duration:45s]'
+ />
+ </Row>
+ <Row>
+ <Logo
+ label='Svelte'
+ icon={<SiSvelte color='#FF3E00' size={16} />}
+ className='[animation-delay:-55s] [animation-duration:60s]'
+ />
+ <Logo
+ label='Node.js'
+ icon={<SiNodedotjs color='#5FA04E' size={16} />}
+ className='[animation-delay:-20s] [animation-duration:60s]'
+ />
+ </Row>
+ <Row>
+ <Logo
+ label='Next.js'
+ icon={<SiNextdotjs color='#FFFFFF' size={16} />}
+ className='[animation-delay:-9s] [animation-duration:40s]'
+ />
+ <Logo
+ label='Slack'
+ icon={<SiSlack color='#7C3085' size={16} />}
+ className='[animation-delay:-28s] [animation-duration:40s]'
+ />
+ </Row>
+ </div>
+ </div>
+ )
+}
diff --git a/app/components/marketing/MarketplaceCluster.tsx b/app/components/marketing/MarketplaceCluster.tsx
new file mode 100644
index 000000000..fea144958
--- /dev/null
+++ b/app/components/marketing/MarketplaceCluster.tsx
@@ -0,0 +1,133 @@
+import React from 'react'
+import { clsx } from 'clsx'
+import { motion } from 'framer-motion'
+
+const Circle = ({ size, delay, opacity }: { size: number; delay: number; opacity: string }) => {
+ return (
+ <motion.div
+ variants={{
+ idle: { width: `${size}px`, height: `${size}px` },
+ active: {
+ width: [`${size}px`, `${size + 10}px`, `${size}px`],
+ height: [`${size}px`, `${size + 10}px`, `${size}px`],
+ transition: {
+ duration: 0.75,
+ repeat: Infinity,
+ repeatDelay: 1.25,
+ ease: 'easeInOut',
+ delay,
+ },
+ },
+ }}
+ style={{ '--opacity': opacity } as React.CSSProperties}
+ className={clsx(
+ 'absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 rounded-full',
+ 'bg-[radial-gradient(circle,transparent_25%,color-mix(in_srgb,_theme(colors.blue.500)_var(--opacity),transparent)_100%)]',
+ 'ring-1 ring-inset ring-blue-500/[8%]',
+ )}
+ />
+ )
+}
+
+const Circles = () => {
+ return (
+ <div className='absolute inset-0'>
+ <Circle size={528} opacity='3%' delay={0.45} />
+ <Circle size={400} opacity='5%' delay={0.3} />
+ <Circle size={272} opacity='5%' delay={0.15} />
+ <Circle size={144} opacity='10%' delay={0} />
+ <div className='absolute inset-0 bg-gradient-to-t from-white to-35% group-data-[dark]:from-slate-800' />
+ </div>
+ )
+}
+
+const MainLogo = () => {
+ return (
+ <div className='absolute left-44 top-32 flex size-16 items-center justify-center rounded-full bg-white shadow ring-1 ring-black/5'>
+ <img src='/logo512.png' alt='' className='h-9 fill-black' />
+ </div>
+ )
+}
+
+const Logo = ({
+ src,
+ left,
+ top,
+ hover,
+}: {
+ src: string
+ left: number
+ top: number
+ hover: { x: number; y: number; rotate: number; delay: number }
+}) => {
+ return (
+ <motion.div
+ variants={{
+ idle: { x: 0, y: 0, rotate: 0 },
+ active: {
+ x: [0, hover.x, 0],
+ y: [0, hover.y, 0],
+ rotate: [0, hover.rotate, 0],
+ transition: {
+ duration: 0.75,
+ repeat: Infinity,
+ repeatDelay: 1.25,
+ ease: 'easeInOut',
+ delay: hover.delay,
+ },
+ },
+ }}
+ style={{ left, top } as React.CSSProperties}
+ className='absolute flex size-16 items-center justify-center rounded-full bg-white shadow ring-1 ring-black/5 group-data-[dark]:bg-slate-700/60'
+ >
+ <img src={src} alt='' className='size-10' />
+ </motion.div>
+ )
+}
+
+export const MarketplaceCluster = () => {
+ return (
+ <div aria-hidden='true' className='relative h-full overflow-hidden'>
+ <Circles />
+ <div className='absolute left-1/2 h-full w-[26rem] -translate-x-1/2'>
+ <MainLogo />
+ <Logo
+ src='/assets/marketplace-extensions/json.png'
+ left={360}
+ top={144}
+ hover={{ x: 6, y: 1, rotate: 5, delay: 0.38 }}
+ />
+ <Logo
+ src='/assets/marketplace-extensions/tree.png'
+ left={285}
+ top={20}
+ hover={{ x: 4, y: -5, rotate: 6, delay: 0.3 }}
+ />
+ <Logo
+ src='/assets/marketplace-extensions/toml.png'
+ left={255}
+ top={210}
+ hover={{ x: 3, y: 5, rotate: 7, delay: 0.2 }}
+ />
+ <Logo
+ src='/assets/marketplace-extensions/xml.png'
+ left={144}
+ top={40}
+ hover={{ x: -2, y: -5, rotate: -6, delay: 0.15 }}
+ />
+ <Logo
+ src='/assets/marketplace-extensions/yaml.png'
+ left={36}
+ top={56}
+ hover={{ x: -4, y: -5, rotate: -6, delay: 0.35 }}
+ />
+ {/* <Logo
+ src='./logo-cluster/we-work-remotely.svg'
+ left={96}
+ top={176}
+ hover={{ x: -3, y: 5, rotate: 3, delay: 0.15 }}
+ /> */}
+ </div>
+ </div>
+ )
+}
diff --git a/app/components/marketing/Pricing.tsx b/app/components/marketing/Pricing.tsx
index f7899e439..f593a4e5d 100644
--- a/app/components/marketing/Pricing.tsx
+++ b/app/components/marketing/Pricing.tsx
@@ -1,6 +1,5 @@
/* eslint-disable no-confusing-arrow */
import React, { memo, useState, useEffect } from 'react'
-import type i18next from 'i18next'
import { useSelector, useDispatch } from 'react-redux'
import { ClientOnly } from 'remix-utils/client-only'
import { Link } from '@remix-run/react'
@@ -9,7 +8,7 @@ import dayjs from 'dayjs'
import _map from 'lodash/map'
import _isNil from 'lodash/isNil'
import _includes from 'lodash/includes'
-import { Trans } from 'react-i18next'
+import { Trans, useTranslation } from 'react-i18next'
import { RadioGroup } from '@headlessui/react'
import cx from 'clsx'
import { toast } from 'sonner'
@@ -49,13 +48,15 @@ const getPaidFeatures = (t: any, tier: any) => {
}
interface IPricing {
- t: typeof i18next.t
- language: string
authenticated: boolean
isBillingPage?: boolean
}
-const Pricing = ({ t, language, authenticated, isBillingPage }: IPricing) => {
+const Pricing = ({ authenticated, isBillingPage }: IPricing) => {
+ const {
+ t,
+ i18n: { language },
+ } = useTranslation('common')
const dispatch: AppDispatch = useDispatch()
const { user } = useSelector((state: StateType) => state.auth)
const { theme } = useSelector((state: StateType) => state.ui.theme)
@@ -264,7 +265,7 @@ const Pricing = ({ t, language, authenticated, isBillingPage }: IPricing) => {
<h2 className='text-3xl font-extrabold text-gray-900 dark:text-gray-50 sm:text-center'>
{t('pricing.title')}
</h2>
- <p className='mb-5 mt-5 max-w-prose text-xl text-gray-600 dark:text-gray-200 sm:text-center'>
+ <p className='my-5 max-w-prose text-xl leading-[1.625rem] text-slate-900 dark:text-slate-300 sm:text-center'>
{t('pricing.adv', {
amount: TRIAL_DAYS,
})}
@@ -456,7 +457,6 @@ const Pricing = ({ t, language, authenticated, isBillingPage }: IPricing) => {
type='warning'
message={
<Trans
- // @ts-ignore
t={t}
i18nKey='pricing.downgradeDesc'
values={{
diff --git a/app/pages/Auth/Signup/BasicSignup.tsx b/app/pages/Auth/Signup/BasicSignup.tsx
deleted file mode 100644
index 68007667e..000000000
--- a/app/pages/Auth/Signup/BasicSignup.tsx
+++ /dev/null
@@ -1,225 +0,0 @@
-import React, { memo, useState, useEffect } from 'react'
-import sagaActions from 'redux/sagas/actions'
-import { useTranslation, Trans } from 'react-i18next'
-import { useNavigate } from '@remix-run/react'
-import _size from 'lodash/size'
-import _keys from 'lodash/keys'
-import _isEmpty from 'lodash/isEmpty'
-import _omit from 'lodash/omit'
-
-import Input from 'ui/Input'
-import Button from 'ui/Button'
-import Checkbox from 'ui/Checkbox'
-import Tooltip from 'ui/Tooltip'
-import { isValidEmail, isValidPassword, MIN_PASSWORD_CHARS, MAX_PASSWORD_CHARS } from 'utils/validator'
-import { HAVE_I_BEEN_PWNED_URL } from 'redux/constants'
-import { trackCustom } from 'utils/analytics'
-import { useAppDispatch } from 'redux/store'
-import GoogleAuth from 'components/GoogleAuth'
-import GithubAuth from 'components/GithubAuth'
-import routes from 'utils/routes'
-
-interface ISignUpForm {
- email: string
- password: string
- repeat: string
- tos: boolean
- dontRemember: boolean
- checkIfLeaked: boolean
-}
-
-interface IBasicSignup {
- ssrTheme: string
-}
-
-const BasicSignup: React.FC<IBasicSignup> = ({ ssrTheme }): JSX.Element => {
- const { t } = useTranslation('common')
- const navigate = useNavigate()
- const dispatch = useAppDispatch()
- const [form, setForm] = useState<ISignUpForm>({
- email: '',
- password: '',
- repeat: '',
- tos: true,
- dontRemember: false,
- checkIfLeaked: true,
- })
- const [validated, setValidated] = useState<boolean>(false)
- const [errors, setErrors] = useState<{
- email?: string
- password?: string
- repeat?: string
- tos?: string
- }>({})
- const [beenSubmitted, setBeenSubmitted] = useState<boolean>(false)
- const [isLoading, setIsLoading] = useState<boolean>(false)
-
- const signUpCallback = (result: boolean) => {
- if (result) {
- trackCustom('SIGNUP', {
- from: 'Landing page',
- })
- navigate(routes.confirm_email)
- } else {
- setIsLoading(false)
- }
- }
-
- const authSSO = (provider: string) => {
- dispatch(sagaActions.authSSO(provider, form.dontRemember, t, signUpCallback))
- }
-
- const onSubmit = (data: ISignUpForm) => {
- if (!isLoading) {
- setIsLoading(true)
- dispatch(sagaActions.signupAsync(_omit(data, 'tos'), t, signUpCallback))
- }
- }
-
- const validate = () => {
- const allErrors = {} as {
- email?: string
- password?: string
- repeat?: string
- }
-
- if (!isValidEmail(form.email)) {
- allErrors.email = t('auth.common.badEmailError')
- }
-
- if (!isValidPassword(form.password)) {
- allErrors.password = t('auth.common.xCharsError', { amount: MIN_PASSWORD_CHARS })
- }
-
- if (form.password !== form.repeat || form.repeat === '') {
- allErrors.repeat = t('auth.common.noMatchError')
- }
-
- if (_size(form.password) > 50) {
- allErrors.password = t('auth.common.passwordTooLong', { amount: MAX_PASSWORD_CHARS })
- }
-
- const valid = _isEmpty(_keys(allErrors))
-
- setErrors(allErrors)
- setValidated(valid)
- }
-
- useEffect(() => {
- validate()
- }, [form]) // eslint-disable-line
-
- const handleInput = (event: React.ChangeEvent<HTMLInputElement>) => {
- const { target } = event
-
- setForm((oldForm) => ({
- ...oldForm,
- [target.name]: target.value,
- }))
- }
-
- const handleSubmit = (e: React.FormEvent<HTMLFormElement>) => {
- e.preventDefault()
- e.stopPropagation()
- setBeenSubmitted(true)
-
- if (validated) {
- onSubmit(form)
- }
- }
-
- return (
- <form className='space-y-6' onSubmit={handleSubmit}>
- <Input
- name='email'
- type='email'
- value={form.email}
- placeholder={t('auth.signup.email')}
- onChange={handleInput}
- error={beenSubmitted && errors.email}
- />
- <Input
- name='password'
- type='password'
- value={form.password}
- placeholder={t('auth.common.password')}
- className='mt-4'
- onChange={handleInput}
- error={beenSubmitted && errors.password}
- />
- <Input
- name='repeat'
- type='password'
- value={form.repeat}
- placeholder={t('auth.common.repeat')}
- className='mt-4'
- onChange={handleInput}
- error={beenSubmitted && errors.repeat}
- />
- <div className='mt-4 flex'>
- <Checkbox
- checked={form.checkIfLeaked}
- onChange={(checked) =>
- setForm((prev) => ({
- ...prev,
- checkIfLeaked: checked,
- }))
- }
- name='checkIfLeaked'
- label={t('auth.common.checkLeakedPassword')}
- />
- <Tooltip
- className='ml-2'
- text={
- <Trans
- // @ts-ignore
- t={t}
- i18nKey='auth.common.checkLeakedPasswordDesc'
- components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
- db: (
- <a
- href={HAVE_I_BEEN_PWNED_URL}
- className='font-medium text-indigo-400 hover:text-indigo-500 hover:underline dark:text-indigo-400 dark:hover:text-indigo-500'
- target='_blank'
- rel='noreferrer noopener'
- />
- ),
- }}
- values={{
- database: 'haveibeenpwned.com',
- }}
- />
- }
- />
- </div>
- <Button className='flex w-full justify-center' type='submit' loading={isLoading} primary giant>
- {t('auth.signup.create')}
- </Button>
- {/* SSO options */}
- <div>
- <hr className='mt-8 border-gray-200 dark:border-slate-700 xs:mt-2 sm:mt-5' />
- <p className='mb-2 mt-2 text-center text-sm text-gray-500 dark:text-gray-100'>
- {t('auth.socialisation.orSingUpWith')}
- </p>
- <div className='flex justify-around space-x-5'>
- <GoogleAuth
- className='flex w-full justify-center'
- setIsLoading={setIsLoading}
- authSSO={authSSO}
- isMiniButton
- />
- <GithubAuth
- className='flex w-full justify-center'
- setIsLoading={setIsLoading}
- authSSO={authSSO}
- ssrTheme={ssrTheme}
- isMiniButton
- />
- </div>
- </div>
- </form>
- )
-}
-
-export default memo(BasicSignup)
diff --git a/app/pages/Billing/index.tsx b/app/pages/Billing/index.tsx
index 85a8cacb3..7b4838083 100644
--- a/app/pages/Billing/index.tsx
+++ b/app/pages/Billing/index.tsx
@@ -252,7 +252,7 @@ const Billing: React.FC<IBilling> = ({ ssrAuthenticated, ssrTheme }): JSX.Elemen
) : (
<>
<div className='mt-5 flex flex-col xl:flex-row xl:space-x-5'>
- <Pricing authenticated={authenticated} t={t} language={language} isBillingPage />
+ <Pricing authenticated={authenticated} isBillingPage />
<div className='space-y-2'>
{subUpdateURL && (
<Button className='mr-2' onClick={onUpdatePaymentDetails} type='button' primary large>
diff --git a/app/pages/ErrorTracking/index.tsx b/app/pages/ErrorTracking/index.tsx
index 1f46f17a0..efd9c9967 100644
--- a/app/pages/ErrorTracking/index.tsx
+++ b/app/pages/ErrorTracking/index.tsx
@@ -32,10 +32,7 @@ interface IErrorTracking {
}
const ErrorTracking: React.FC<IErrorTracking> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {
- const {
- t,
- i18n: { language },
- } = useTranslation('common')
+ const { t } = useTranslation('common')
const reduxTheme = useSelector((state: StateType) => state.ui.theme.theme)
const { authenticated: reduxAuthenticated, loading } = useSelector((state: StateType) => state.auth)
const { stats, lastBlogPost } = useSelector((state: StateType) => state.ui.misc)
@@ -134,17 +131,15 @@ const ErrorTracking: React.FC<IErrorTracking> = ({ ssrTheme, ssrAuthenticated })
</div>
<p className='text-base leading-8 text-slate-900 dark:text-slate-300 sm:text-xl lg:text-lg xl:text-lg'>
{t('errors.description')}
- <br />
- {t('main.trackEveryMetric')}
</p>
<div className='mt-10 flex flex-col items-center sm:flex-row'>
<Link
to={routesPath.signup}
- className='flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
+ className='group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
aria-label={t('titles.signup')}
>
<span className='mr-1 text-base font-semibold'>{t('main.startAFreeTrial')}</span>
- <ArrowRightIcon className='mt-[1px] h-4 w-5' />
+ <ArrowRightIcon className='mt-[1px] h-4 w-5 transition-transform group-hover:scale-[1.15]' />
</Link>
<a
href={ERROR_TRACKING_LIVE_DEMO_URL}
@@ -247,7 +242,7 @@ const ErrorTracking: React.FC<IErrorTracking> = ({ ssrTheme, ssrAuthenticated })
</div>
{/* For now let's hide Pricing for authenticated users on the main page as the Paddle script only loads on the Billing page */}
- {!authenticated && <Pricing authenticated={false} t={t} language={language} />}
+ {!authenticated && <Pricing authenticated={false} />}
<DitchGoogle
screenshot={{
diff --git a/app/pages/Landings/Marketers.tsx b/app/pages/Landings/Marketers.tsx
index c831b8da4..afcb434bd 100644
--- a/app/pages/Landings/Marketers.tsx
+++ b/app/pages/Landings/Marketers.tsx
@@ -92,17 +92,15 @@ const Marketers = () => {
</h1>
<p className='mx-auto mt-4 max-w-6xl text-center text-base leading-8 text-slate-900 dark:text-slate-300 sm:text-xl lg:text-lg xl:text-lg'>
{t('marketers.description')}
- <br />
- {t('main.trackEveryMetric')}
</p>
<div className='mt-10 flex flex-col items-center justify-center sm:flex-row'>
<Link
to={routesPath.signup}
- className='flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
+ className='group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
aria-label={t('titles.signup')}
>
<span className='mr-1 text-base font-semibold'>{t('main.startAFreeTrial')}</span>
- <ArrowRightIcon className='mt-[1px] h-4 w-5' />
+ <ArrowRightIcon className='mt-[1px] h-4 w-5 transition-transform group-hover:scale-[1.15]' />
</Link>
<a
href={LIVE_DEMO_URL}
diff --git a/app/pages/Landings/SmallBusinesses.tsx b/app/pages/Landings/SmallBusinesses.tsx
index 0e35fb8b8..b2c13f864 100644
--- a/app/pages/Landings/SmallBusinesses.tsx
+++ b/app/pages/Landings/SmallBusinesses.tsx
@@ -92,17 +92,15 @@ const SmallBusinesses = () => {
</h1>
<p className='mx-auto mt-4 max-w-6xl text-center text-base leading-8 text-slate-900 dark:text-slate-300 sm:text-xl lg:text-lg xl:text-lg'>
{t('smbs.description')}
- <br />
- {t('main.trackEveryMetric')}
</p>
<div className='mt-10 flex flex-col items-center justify-center sm:flex-row'>
<Link
to={routesPath.signup}
- className='flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
+ className='group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
aria-label={t('titles.signup')}
>
<span className='mr-1 text-base font-semibold'>{t('main.startAFreeTrial')}</span>
- <ArrowRightIcon className='mt-[1px] h-4 w-5' />
+ <ArrowRightIcon className='mt-[1px] h-4 w-5 transition-transform group-hover:scale-[1.15]' />
</Link>
<a
href={LIVE_DEMO_URL}
diff --git a/app/pages/Landings/Startups.tsx b/app/pages/Landings/Startups.tsx
index a8a1b420d..465cf6efe 100644
--- a/app/pages/Landings/Startups.tsx
+++ b/app/pages/Landings/Startups.tsx
@@ -92,16 +92,16 @@ const Startups = () => {
</h1>
<p className='mx-auto mt-4 max-w-6xl text-center text-base leading-8 text-slate-900 dark:text-slate-300 sm:text-xl lg:text-lg xl:text-lg'>
{t('startups.description')}
- <br />
- {t('main.trackEveryMetric')}
</p>
<div className='mt-10 flex flex-col items-center justify-center sm:flex-row'>
<Link
to={routesPath.signup}
- className='flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
+ className='group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
aria-label={t('titles.signup')}
>
- <span className='mr-1 text-base font-semibold'>{t('main.startAFreeTrial')}</span>
+ <span className='mr-1 text-base font-semibold transition-transform group-hover:scale-[1.15]'>
+ {t('main.startAFreeTrial')}
+ </span>
<ArrowRightIcon className='mt-[1px] h-4 w-5' />
</Link>
<a
diff --git a/app/pages/Performance/index.tsx b/app/pages/Performance/index.tsx
index 7968b335c..3e986a861 100644
--- a/app/pages/Performance/index.tsx
+++ b/app/pages/Performance/index.tsx
@@ -32,10 +32,7 @@ interface IPerformance {
}
const Performance: React.FC<IPerformance> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {
- const {
- t,
- i18n: { language },
- } = useTranslation('common')
+ const { t } = useTranslation('common')
const reduxTheme = useSelector((state: StateType) => state.ui.theme.theme)
const { authenticated: reduxAuthenticated, loading } = useSelector((state: StateType) => state.auth)
const { stats, lastBlogPost } = useSelector((state: StateType) => state.ui.misc)
@@ -134,16 +131,16 @@ const Performance: React.FC<IPerformance> = ({ ssrTheme, ssrAuthenticated }): JS
</div>
<p className='text-base leading-8 text-slate-900 dark:text-slate-300 sm:text-xl lg:text-lg xl:text-lg'>
{t('performance.description')}
- <br />
- {t('main.trackEveryMetric')}
</p>
<div className='mt-10 flex flex-col items-center sm:flex-row'>
<Link
to={routesPath.signup}
- className='flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
+ className='group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
aria-label={t('titles.signup')}
>
- <span className='mr-1 text-base font-semibold'>{t('main.startAFreeTrial')}</span>
+ <span className='mr-1 text-base font-semibold transition-transform group-hover:scale-[1.15]'>
+ {t('main.startAFreeTrial')}
+ </span>
<ArrowRightIcon className='mt-[1px] h-4 w-5' />
</Link>
<a
@@ -242,7 +239,7 @@ const Performance: React.FC<IPerformance> = ({ ssrTheme, ssrAuthenticated }): JS
</div>
{/* For now let's hide Pricing for authenticated users on the main page as the Paddle script only loads on the Billing page */}
- {!authenticated && <Pricing authenticated={false} t={t} language={language} />}
+ {!authenticated && <Pricing authenticated={false} />}
<DitchGoogle
screenshot={{
diff --git a/app/pages/Project/View/components/MetricCards.tsx b/app/pages/Project/View/components/MetricCards.tsx
index 08a166e75..9244a2053 100644
--- a/app/pages/Project/View/components/MetricCards.tsx
+++ b/app/pages/Project/View/components/MetricCards.tsx
@@ -21,6 +21,7 @@ interface IMetricCard {
type?: 'percent' | 'string'
valueMapper?: (value: any, type: 'main' | 'badge') => any
classes?: {
+ container?: string
value?: string
label?: string
}
@@ -71,7 +72,7 @@ export const MetricCard: React.FC<IMetricCard> = ({
valueMapper,
classes,
}) => (
- <div className='flex flex-col'>
+ <div className={cx('flex flex-col', classes?.container)}>
<div className={cx('whitespace-nowrap text-4xl font-bold text-slate-900 dark:text-gray-50', classes?.value)}>
{valueMapper ? valueMapper(value, 'main') : value}
</div>
@@ -100,6 +101,7 @@ interface IMetricCardSelect {
classes?: {
value?: string
label?: string
+ container?: string
}
}
@@ -113,7 +115,7 @@ export const MetricCardSelect: React.FC<IMetricCardSelect> = ({ values, valueMap
}
return (
- <div className='flex flex-col'>
+ <div className={cx('flex flex-col', classes?.container)}>
<div className={cx('whitespace-nowrap text-4xl font-bold text-slate-900 dark:text-gray-50', classes?.value)}>
{valueMapper ? valueMapper(values[selected], selected) : values[selected].value}
</div>
diff --git a/app/pages/ReferralPage/index.tsx b/app/pages/ReferralPage/index.tsx
index 507ad2d54..bb82915c8 100644
--- a/app/pages/ReferralPage/index.tsx
+++ b/app/pages/ReferralPage/index.tsx
@@ -83,10 +83,12 @@ const ReferralPage = ({ ssrTheme }: IReferralPage): JSX.Element => {
<div className='mt-4 flex flex-col items-center sm:flex-row'>
<Link
to={`/ref/${id}${routes.signup}`}
- className='flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
+ className='group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
aria-label={t('titles.signup')}
>
- <span className='mr-1 text-base font-semibold'>{t('main.startAFreeTrial')}</span>
+ <span className='mr-1 text-base font-semibold transition-transform group-hover:scale-[1.15]'>
+ {t('main.startAFreeTrial')}
+ </span>
<ArrowRightIcon className='mt-[1px] h-4 w-5' />
</Link>
<Link
diff --git a/app/redux/models/IMetainfo.ts b/app/redux/models/IMetainfo.ts
index f79f52a1b..bc9489999 100644
--- a/app/redux/models/IMetainfo.ts
+++ b/app/redux/models/IMetainfo.ts
@@ -1,5 +1,7 @@
export interface IMetainfo {
country: string | null
+ region: string | null
+ city: string | null
symbol: string
code: 'USD' | 'EUR' | 'GBP'
}
diff --git a/app/routes/index.tsx b/app/routes/index.tsx
index db5539b6e..435f9feaf 100644
--- a/app/routes/index.tsx
+++ b/app/routes/index.tsx
@@ -2,51 +2,46 @@ import type { LoaderFunctionArgs } from '@remix-run/node'
import { useLoaderData, Link } from '@remix-run/react'
import { json, redirect } from '@remix-run/node'
import type { SitemapFunction } from 'remix-sitemap'
+import { UAParser } from 'ua-parser-js'
+import { motion } from 'framer-motion'
import { detectTheme, isAuthenticated } from 'utils/server'
import { useTranslation, Trans } from 'react-i18next'
import { useSelector } from 'react-redux'
import { ClientOnly } from 'remix-utils/client-only'
-import { ArrowTopRightOnSquareIcon, CheckCircleIcon, ChevronRightIcon } from '@heroicons/react/24/solid'
-import {
- CodeBracketIcon,
- PuzzlePieceIcon,
- ShareIcon,
- ArrowsPointingOutIcon,
- LightBulbIcon,
- ArrowTrendingUpIcon,
- ArrowRightIcon,
-} from '@heroicons/react/20/solid'
+import { CheckCircleIcon, StarIcon } from '@heroicons/react/24/solid'
+import { ArrowRightIcon } from '@heroicons/react/20/solid'
import { TypeAnimation } from 'react-type-animation'
import _map from 'lodash/map'
-import _isEmpty from 'lodash/isEmpty'
import routesPath from 'utils/routes'
import { getAccessToken } from 'utils/accessToken'
-import { nFormatterSeparated } from 'utils/generic'
-import { GITHUB_URL, MARKETPLACE_URL, LIVE_DEMO_URL, BOOK_A_CALL_URL, isBrowser, isSelfhosted } from 'redux/constants'
+import { getStringFromTime, getTimeFromSeconds, nFormatterSeparated } from 'utils/generic'
+import {
+ GITHUB_URL,
+ LIVE_DEMO_URL,
+ isBrowser,
+ isSelfhosted,
+ OS_LOGO_MAP,
+ OS_LOGO_MAP_DARK,
+ BROWSER_LOGO_MAP,
+} from 'redux/constants'
import { StateType } from 'redux/store/index'
import BackgroundSvg from 'ui/icons/BackgroundSvg'
-import Webflow from 'ui/icons/Webflow'
-import NextJS from 'ui/icons/NextJS'
-import NuxtJS from 'ui/icons/NuxtJS'
-import Angular from 'ui/icons/Angular'
-import ReactSVG from 'ui/icons/ReactSVG'
-import Telegram from 'ui/icons/Telegram'
-import Wordpress from 'ui/icons/Wordpress'
-import Cloudflare from 'ui/icons/Cloudflare'
-import Notion from 'ui/icons/Notion'
-import Ghost from 'ui/icons/Ghost'
-import Gatsby from 'ui/icons/Gatsby'
-import Wix from 'ui/icons/Wix'
import Header from 'components/Header'
-import SignUp from 'pages/Auth/Signup/BasicSignup'
import Pricing from 'components/marketing/Pricing'
import { PROCESSED_COMPETITORS_LIST, ComparisonTable } from 'components/marketing/ComparisonTable'
import { DitchGoogle } from 'components/marketing/DitchGoogle'
import { Lines } from 'components/marketing/Lines'
+import React, { useEffect, useState } from 'react'
+import clsx from 'clsx'
+import { MetricCard, MetricCardSelect } from 'pages/Project/View/components/MetricCards'
+import CCRow from 'pages/Project/View/components/CCRow'
+import { CursorArrowRaysIcon, GlobeAltIcon, NewspaperIcon } from '@heroicons/react/24/outline'
+import { LogoTimeline } from 'components/marketing/LogoTimeline'
+import { MarketplaceCluster } from 'components/marketing/MarketplaceCluster'
export const sitemap: SitemapFunction = () => ({
priority: 1,
@@ -61,17 +56,27 @@ export async function loader({ request }: LoaderFunctionArgs) {
const [theme] = detectTheme(request)
const isAuth = isAuthenticated(request)
- return json({ theme, isAuth })
-}
+ const userAgent = request.headers.get('user-agent')
-const M_FEATURES_ICONS = [
- <ArrowsPointingOutIcon className='h-5 w-5' key='ArrowsPointingOutIcon' />,
- <CodeBracketIcon className='h-5 w-5' key='CodeBracketIcon' />,
- <PuzzlePieceIcon className='h-5 w-5' key='PuzzlePieceIcon' />,
- <ArrowTrendingUpIcon className='h-5 w-5' key='ArrowTrendingUpIcon' />,
- <LightBulbIcon className='h-5 w-5' key='LightBulbIcon' />,
- <ShareIcon className='h-5 w-5' key='ShareIcon' />,
-]
+ let deviceInfo: {
+ browser?: string | null
+ os?: string | null
+ } = {
+ browser: 'Chrome',
+ os: 'Windows',
+ }
+
+ if (userAgent) {
+ const parser = new UAParser(userAgent)
+
+ deviceInfo = {
+ browser: parser.getBrowser().name || null,
+ os: parser.getOS().name || null,
+ }
+ }
+
+ return json({ theme, isAuth, deviceInfo })
+}
const TrustedBy = () => {
const { t } = useTranslation('common')
@@ -124,24 +129,6 @@ const TrustedBy = () => {
)
}
-const SupportUkraine = () => {
- const { t } = useTranslation('common')
-
- return (
- <div className='flex items-center justify-center px-2 py-2'>
- <a
- href='https://u24.gov.ua/'
- target='_blank'
- rel='noreferrer noopener'
- className='border-b-2 border-transparent text-center text-slate-900 hover:border-slate-900 dark:text-white dark:hover:border-white'
- >
- {t('main.ukrSupport')}
- </a>
- <ArrowTopRightOnSquareIcon className='ml-1 hidden h-4 w-4 text-slate-800 dark:text-white md:block' />
- </div>
- )
-}
-
interface IFeedback {
name: string
title: string
@@ -242,106 +229,6 @@ const PeopleLoveSwetrix = ({ theme }: { theme: 'dark' | 'light' }) => {
)
}
-const FeatureGallery = ({ theme }: { theme: 'dark' | 'light' }) => {
- const { t } = useTranslation('common')
-
- return (
- <div className='space-y-16 bg-white px-4 py-16 dark:bg-slate-900'>
- <section
- id='core-analytics'
- className='m-auto flex max-w-7xl flex-col-reverse items-center md:flex-row md:items-start md:justify-between'
- >
- <picture>
- <source
- srcSet={theme === 'dark' ? '/assets/CoreFeaturesDark.webp' : '/assets/CoreFeaturesLight.webp'}
- type='image/webp'
- />
- <img
- src={theme === 'dark' ? '/assets/CoreFeaturesDark.png' : '/assets/CoreFeaturesLight.png'}
- className='mt-3 md:mr-3 md:mt-0 md:w-[450px] lg:w-[640px]'
- width='450'
- height='320'
- alt='Core Analytics Features'
- />
- </picture>
- <div className='max-w-lg md:ml-5'>
- <h2 className='text-4xl font-extrabold text-slate-900 dark:text-white'>{t('main.coreFeatures.title')}</h2>
- <p className='mb-6 mt-6 text-gray-600 dark:text-gray-400'>{t('main.coreFeatures.desc')}</p>
- <a
- href={LIVE_DEMO_URL}
- className='flex max-w-max items-center border-0 font-bold text-indigo-700 hover:underline dark:text-indigo-400'
- target='_blank'
- rel='noopener noreferrer'
- aria-label={`${t('common.liveDemo')} (opens in a new tab)`}
- >
- {t('common.liveDemo')}
- <ArrowRightIcon className='mt-[1px] h-4 w-5' />
- </a>
- </div>
- </section>
- <section className='m-auto flex max-w-7xl flex-col items-center md:flex-row md:justify-between'>
- <div className='max-w-[516px]'>
- <h2 className='text-4xl font-extrabold text-slate-900 dark:text-white'>{t('main.marketplace.title')}</h2>
- <p className='mb-3 mt-6 text-gray-600 dark:text-gray-400'>{t('main.marketplace.desc1')}</p>
- <p className='mb-6 text-gray-600 dark:text-gray-400'>{t('main.marketplace.desc2')}</p>
- <a
- href={MARKETPLACE_URL}
- className='flex max-w-max items-center border-0 font-bold text-indigo-700 hover:underline dark:text-indigo-400'
- target='_blank'
- rel='noopener noreferrer'
- aria-label='Swetrix Marketplace (opens in a new tab)'
- >
- {t('main.visitAddons')}
- <ArrowRightIcon className='mt-[1px] h-4 w-5' />
- </a>
- </div>
- <img
- src={
- theme === 'dark' ? '/assets/marketplace_extensions_dark.png' : '/assets/marketplace_extensions_light.png'
- }
- className='mt-3 md:mr-3 md:mt-0 md:w-[450px] lg:w-[640px]'
- width='450'
- height='320'
- alt='Marketplace illustration'
- />
- </section>
- <section className='m-auto flex max-w-7xl flex-col-reverse items-center md:flex-row md:items-start md:justify-between'>
- <img
- className='mt-3 md:mr-3 md:mt-0 md:w-[360px] lg:w-[512px]'
- width='360'
- height='210'
- src='/assets/gdpr.svg'
- alt='GDPR compliant'
- />
- <div className='w-full max-w-[516px] pb-16 md:min-w-[370px] md:pb-0 md:pt-8'>
- <h2 className='mb-6 text-4xl font-extrabold text-slate-900 dark:text-white'>{t('main.privacy.title')}</h2>
- {_map(t('main.privacy.list', { returnObjects: true }), (item: { label: string; desc: string }) => (
- <div key={item.label} className='mb-4 flex items-center'>
- <div className='mr-3'>
- <CheckCircleIcon className='h-[24px] w-[24px] fill-indigo-500' />
- </div>
- <p>
- <span className='dark:text-white'>{item.label}</span>
- <span className='ml-1 mr-1 dark:text-white'>-</span>
- <span className='text-gray-600 dark:text-gray-400'>{item.desc}</span>
- </p>
- </div>
- ))}
- {/* mt-7 because mb-4 in upper component + mt-7 = 11. mb-11 is used for spacing the links in other sections. */}
- <Link
- to={routesPath.privacy}
- className='mt-7 flex max-w-max items-center border-0 font-bold text-indigo-700 hover:underline dark:text-indigo-400'
- aria-label={t('footer.pp')}
- >
- {t('main.dataProtection')}
- <ArrowRightIcon className='mt-[1px] h-4 w-5' />
- </Link>
- </div>
- </section>
- </div>
- )
-}
-
const OpensourceAdvantages = ({ theme }: { theme: 'dark' | 'light' }) => {
const { t } = useTranslation('common')
@@ -454,60 +341,6 @@ const Comparison = () => {
)
}
-const Marketplace = () => {
- const { t } = useTranslation('common')
-
- return (
- <div className='overflow-hidden'>
- <div className='relative isolate mx-auto mt-10 w-full pt-10'>
- <svg
- className='absolute inset-0 -z-10 hidden h-full w-full stroke-gray-200 [mask-image:radial-gradient(64rem_64rem_at_top,white,transparent)] dark:stroke-white/10 sm:block'
- aria-hidden='true'
- >
- <defs>
- <pattern id='rect-pattern-2' width={200} height={200} x='50%' y={0} patternUnits='userSpaceOnUse'>
- <path d='M.5 200V.5H200' fill='none' />
- </pattern>
- </defs>
- <svg x='50%' y={0} className='overflow-visible fill-gray-50 dark:fill-slate-800/30'>
- <path
- d='M-200.5 0h201v201h-201Z M599.5 0h201v201h-201Z M399.5 400h201v201h-201Z M-400.5 600h201v201h-201Z'
- strokeWidth={0}
- />
- </svg>
- <rect width='100%' height='100%' strokeWidth={0} fill='url(#rect-pattern-2)' />
- </svg>
- <section className='relative z-20 mx-auto max-w-7xl px-3'>
- <h2 className='mx-auto mt-20 w-full max-w-lg text-center text-4xl font-extrabold text-slate-900 dark:text-white sm:text-5xl'>
- {t('main.marketplaceBlock')}
- </h2>
- <div className='grid grid-cols-1 justify-between justify-items-center gap-y-10 pb-36 pt-20 text-slate-900 dark:text-white sm:grid-cols-2 sm:gap-y-24 md:grid-cols-3'>
- {_map(
- // @ts-expect-error
- t('main.mFeatures', { returnObjects: true }),
- (
- item: {
- name: string
- desc: string
- },
- index: number,
- ) => (
- <div key={item.name} className='w-full max-w-[310px]'>
- <div className='flex items-center'>
- <span className='mr-4 text-xl text-slate-900 dark:text-gray-200'>{M_FEATURES_ICONS[index]}</span>
- <h2 className='text-xl font-semibold'>{item.name}</h2>
- </div>
- <p className='pl-9 text-slate-700 dark:text-gray-300'>{item.desc}</p>
- </div>
- ),
- )}
- </div>
- </section>
- </div>
- </div>
- )
-}
-
const CoreFeatures = ({ theme }: { theme: 'dark' | 'light' }) => {
const { t } = useTranslation('common')
@@ -539,7 +372,7 @@ const CoreFeatures = ({ theme }: { theme: 'dark' | 'light' }) => {
<h2 className='mx-auto mb-3 max-w-[300px] whitespace-pre-line text-xl font-semibold text-slate-900 dark:text-white'>
{item.name}
</h2>
- <p className='mx-auto max-w-xs text-gray-600 dark:text-gray-400'>{item.desc}</p>
+ <p className='mx-auto max-w-xs leading-[1.625rem] text-gray-600 dark:text-gray-400'>{item.desc}</p>
</div>
</div>
),
@@ -550,85 +383,388 @@ const CoreFeatures = ({ theme }: { theme: 'dark' | 'light' }) => {
)
}
-const Signup = ({ theme, ssrTheme }: { theme: 'dark' | 'light'; ssrTheme: 'dark' | 'light' }) => {
+const REVIEWERS = [
+ {
+ name: 'Tomasz',
+ image: '/assets/small-testimonials/tomasz.png',
+ },
+ {
+ name: 'Alex',
+ image: '/assets/small-testimonials/alex.jpg',
+ },
+ {
+ name: 'Artur',
+ image: '/assets/small-testimonials/artur.jpg',
+ },
+ {
+ name: 'Alper',
+ image: '/assets/small-testimonials/alper.jpg',
+ },
+ {
+ name: 'Andrii',
+ image: '/assets/small-testimonials/andrii.jpg',
+ },
+]
+
+const Testimonials = () => {
const { t } = useTranslation('common')
+ const { stats } = useSelector((state: StateType) => state.ui.misc)
return (
- <div className='relative isolate mx-auto flex w-full max-w-7xl items-center justify-center px-5 py-20 md:justify-between'>
- <div className='absolute inset-x-0 -top-3 -z-10 transform-gpu overflow-hidden px-36 blur-3xl' aria-hidden='true'>
- <div
- className='mx-auto aspect-[1155/678] w-[72.1875rem] bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30'
- style={{
- clipPath:
- 'polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)',
- }}
- />
- </div>
- <div className='relative z-50 rounded-xl lg:col-span-6'>
- <div className='bg-white ring-1 ring-slate-200 dark:bg-slate-800/20 dark:ring-slate-800 sm:mx-auto sm:w-full sm:max-w-md sm:overflow-hidden sm:rounded-lg'>
- <div className='px-4 py-8 sm:px-10'>
- <p className='text-center text-lg font-semibold text-gray-900 dark:text-white md:text-xl'>
- {t('main.signup')}
- </p>
- <div className='mt-6'>
- <SignUp ssrTheme={ssrTheme} />
- </div>
- </div>
- <div className='px-4 sm:px-10'>
- <div className='border-t border-gray-200 bg-transparent py-6 dark:border-slate-700'>
- <p className='text-xs leading-5 text-gray-600 dark:text-gray-100'>
- <Trans
- t={t}
- i18nKey='main.signupTerms'
- components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
- tos: (
- <Link
- to={routesPath.terms}
- className='font-medium text-gray-900 hover:underline dark:text-gray-300'
- aria-label={t('footer.tos')}
- />
- ),
- // eslint-disable-next-line jsx-a11y/anchor-has-content
- pp: (
- <Link
- to={routesPath.privacy}
- className='font-medium text-gray-900 hover:underline dark:text-gray-300'
- aria-label={t('footer.pp')}
- />
- ),
- }}
- />
- </p>
- </div>
+ <div className='mt-8 flex flex-col items-center justify-center gap-3 md:flex-row'>
+ <div className='flex -space-x-5 overflow-hidden'>
+ {_map(REVIEWERS, ({ name, image }) => (
+ <div
+ key={`${name}${image}`}
+ className='relative inline-flex size-12 overflow-hidden rounded-full border-4 border-gray-50 dark:border-slate-900'
+ >
+ <img alt={name} width='400' height='400' style={{ color: 'transparent' }} src={image} />
</div>
- </div>
+ ))}
</div>
- <div className='relative'>
- <picture>
- <source
- srcSet={theme === 'dark' ? '/assets/section-signup-dark.webp' : '/assets/section-signup-light.webp'}
- type='image/webp'
- />
- <img
- src={theme === 'dark' ? '/assets/section-signup-dark.png' : '/assets/section-signup-light.png'}
- className='relative z-50 hidden md:block'
- width='680'
- height='511'
- alt='Swetrix Dashboard overview'
- />
- </picture>
+ <div className='flex flex-col items-center justify-center gap-1 md:items-start'>
+ <div className='relative inline-flex'>
+ <StarIcon className='size-5 text-yellow-500' />
+ <StarIcon className='size-5 text-yellow-500' />
+ <StarIcon className='size-5 text-yellow-500' />
+ <StarIcon className='size-5 text-yellow-500' />
+ <StarIcon className='size-5 text-yellow-500' />
+ </div>
+ <div className='text-base text-gray-900/70 dark:text-gray-200'>
+ <ClientOnly
+ fallback={
+ <Trans
+ values={{
+ amount: '> 1000',
+ }}
+ t={t}
+ i18nKey='main.understandTheirUsers'
+ >
+ <span className='font-semibold text-gray-900 dark:text-gray-50' />
+ </Trans>
+ }
+ >
+ {() => (
+ <Trans
+ values={{
+ // TODO: Move this stuff to loader so there won't be flickering
+ amount: stats.users || '> 1000',
+ }}
+ t={t}
+ i18nKey='main.understandTheirUsers'
+ >
+ <span className='font-semibold text-gray-900 dark:text-gray-50' />
+ </Trans>
+ )}
+ </ClientOnly>
+ </div>
</div>
</div>
)
}
-const LatestNews = () => (
- <p className='rounded-full bg-indigo-500/10 px-3 py-1 text-center text-sm font-semibold leading-6 text-indigo-600 ring-1 ring-inset ring-indigo-500/20 dark:text-indigo-400'>
- Latest news
- </p>
+const Highlighted = ({ children }: { children: React.ReactNode }) => (
+ <span className='relative whitespace-nowrap'>
+ <span className='absolute -bottom-1 -left-2 -right-2 -top-1 -rotate-1 bg-slate-900 dark:bg-gray-200 md:-bottom-0 md:-left-3 md:-right-3 md:-top-0' />
+ <span className='relative text-gray-50 dark:text-slate-900'>{children}</span>
+ </span>
)
+interface FeatureBlockProps {
+ heading: string
+ description: string
+ children: React.ReactNode
+ className?: string
+ dark?: boolean
+}
+
+const FeatureBlock = ({ heading, description, children, className, dark }: FeatureBlockProps) => (
+ <motion.div
+ initial='idle'
+ whileHover='active'
+ variants={{ idle: {}, active: {} }}
+ data-dark={dark ? 'true' : undefined}
+ className={clsx(
+ 'group relative flex flex-col overflow-hidden rounded-lg bg-white shadow-sm ring-1 ring-black/5 data-[dark]:bg-slate-800 data-[dark]:ring-white/15',
+ className,
+ )}
+ >
+ <div className='relative h-80 shrink-0'>{children}</div>
+
+ <div className='relative p-10'>
+ <h3 className='mt-1 text-2xl/8 font-medium tracking-tight text-gray-950 group-data-[dark]:text-white'>
+ {heading}
+ </h3>
+ <p className='mt-2 max-w-[600px] text-sm/6 text-gray-600 group-data-[dark]:text-gray-400'>{description}</p>
+ </div>
+ </motion.div>
+)
+
+const SdurMetric = () => {
+ const { t } = useTranslation('common')
+ const [duration, setDuration] = useState(0)
+
+ useEffect(() => {
+ const timerId = setInterval(() => {
+ setDuration((prevDuration) => prevDuration + 1)
+ }, 1000)
+
+ return () => clearInterval(timerId)
+ }, [])
+
+ return (
+ <MetricCard
+ classes={{
+ value: 'max-md:text-xl md:text-3xl',
+ container: 'rounded-md bg-gray-50 dark:bg-slate-700/60 py-1 px-2 max-w-max',
+ }}
+ label={t('dashboard.sessionDuration')}
+ value={duration}
+ valueMapper={(value) => getStringFromTime(getTimeFromSeconds(value))}
+ />
+ )
+}
+
+const FeatureBlocks = ({ theme }: { theme: 'dark' | 'light' }) => {
+ const {
+ t,
+ i18n: { language },
+ } = useTranslation('common')
+ const { metainfo } = useSelector((state: StateType) => state.ui.misc)
+
+ const { deviceInfo } = useLoaderData<typeof loader>()
+
+ const geo = [
+ {
+ label: t('project.mapping.cc'),
+ value: metainfo.country || 'US',
+ },
+ {
+ label: t('project.mapping.rg'),
+ value: metainfo.region || 'California',
+ },
+ {
+ label: t('project.mapping.ct'),
+ value: metainfo.city || 'San Francisco',
+ },
+ ]
+
+ return (
+ <section className='relative mx-auto max-w-7xl bg-white pb-14 pt-14 dark:bg-slate-900'>
+ <div className='relative mx-auto w-fit text-4xl font-extrabold text-slate-900 sm:text-5xl'>
+ <h2 className='relative z-20 dark:text-white'>Know your customers</h2>
+ </div>
+ <div className='mt-10 grid grid-cols-1 gap-4 sm:mt-16 lg:grid-cols-6 lg:grid-rows-2'>
+ <FeatureBlock
+ heading='Get insights into your traffic'
+ description='Swetrix helps you understand everything you need to know about your website traffic. Know how many people are online, what pages are most popular, where are your users from, and more.'
+ className='max-lg:rounded-t-4xl lg:rounded-tl-4xl lg:col-span-3'
+ dark={theme === 'dark'}
+ >
+ <div
+ className='absolute -top-40 left-60 right-0 z-10 h-full w-full rotate-45 transform-gpu overflow-hidden blur-3xl'
+ aria-hidden='true'
+ >
+ <div
+ className='mx-auto aspect-[1/3] h-full w-full bg-gradient-to-r from-amber-400 to-purple-600 opacity-20'
+ style={{
+ clipPath:
+ 'polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)',
+ }}
+ />
+ </div>
+ <div className='h-80 overflow-hidden'>
+ <img
+ className='object-cover transition-transform group-hover:scale-105'
+ src={theme === 'dark' ? '/assets/screenshot_dark.png' : '/assets/screenshot_light.png'}
+ alt='Swetrix Analytics dashboard'
+ />
+ </div>
+ <div className='absolute inset-0 bg-gradient-to-t from-white to-50% group-data-[dark]:from-slate-800' />
+ </FeatureBlock>
+ <FeatureBlock
+ heading="Understand your site's pain points"
+ description='Nobody likes slow websites. Users are more likely to abandon your website if it takes too long to load, stay ahead of these problems and measure insights from real interactions.'
+ className='lg:rounded-tr-4xl lg:col-span-3'
+ dark={theme === 'dark'}
+ >
+ <div
+ className='absolute -top-40 left-60 right-0 z-10 h-full w-full rotate-45 transform-gpu overflow-hidden blur-3xl'
+ aria-hidden='true'
+ >
+ <div
+ className='mx-auto aspect-[1/3] h-full w-full bg-gradient-to-r from-red-400 to-red-800 opacity-15'
+ style={{
+ clipPath:
+ 'polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)',
+ }}
+ />
+ </div>
+ <div className='h-80 overflow-hidden'>
+ <img
+ className='object-cover transition-transform group-hover:scale-105'
+ src={theme === 'dark' ? '/assets/performance_part_dark.png' : '/assets/performance_part_light.png'}
+ alt='Website speed and performance monitoring'
+ />
+ </div>
+ <div className='absolute inset-0 bg-gradient-to-t from-white to-50% group-data-[dark]:from-gray-800' />
+ </FeatureBlock>
+ <FeatureBlock
+ heading='Complete customisation'
+ description='Missing a feature? We will build it :) But you can also build your own features or install 3rd party addons from our Extensions Marketplace.'
+ className='lg:rounded-bl-4xl lg:col-span-2'
+ dark={theme === 'dark'}
+ >
+ <MarketplaceCluster />
+ </FeatureBlock>
+ <FeatureBlock
+ heading='Works with any platform'
+ description='With dozens of integrations, Swetrix makes it easy to connect your website and know your users, out of the box.'
+ className='!overflow-visible lg:col-span-2'
+ dark={theme === 'dark'}
+ >
+ <LogoTimeline />
+ </FeatureBlock>
+ <FeatureBlock
+ heading='Session analysis'
+ description='Analyse the sessions of your website users and make data-driven decisions.'
+ className='max-lg:rounded-b-4xl lg:rounded-br-4xl lg:col-span-2'
+ dark={theme === 'dark'}
+ >
+ <div className='relative space-y-2 overflow-hidden px-10 pt-5'>
+ <MetricCardSelect
+ classes={{
+ value: 'max-md:text-xl md:text-3xl',
+ container: 'rounded-md bg-gray-50 dark:bg-slate-700/60 py-1 px-2 max-w-max',
+ }}
+ values={geo}
+ selectLabel={t('project.geo')}
+ valueMapper={({ value }, index) => {
+ if (index !== 0) {
+ return value || 'N/A'
+ }
+
+ if (!value) {
+ return t('project.unknownCountry')
+ }
+
+ return (
+ <div className='flex items-center'>
+ <CCRow spaces={1} size={26} cc={value} language={language} />
+ </div>
+ )
+ }}
+ />
+
+ <MetricCard
+ classes={{
+ value: 'max-md:text-xl md:text-3xl',
+ container: 'rounded-md bg-gray-50 dark:bg-slate-700/60 py-1 px-2 max-w-max',
+ }}
+ label={t('project.mapping.os')}
+ value={deviceInfo.os}
+ valueMapper={(value: keyof typeof OS_LOGO_MAP) => {
+ const logoPathLight = OS_LOGO_MAP[value]
+ const logoPathDark = OS_LOGO_MAP_DARK[value as keyof typeof OS_LOGO_MAP_DARK]
+
+ let logoPath = theme === 'dark' ? logoPathDark : logoPathLight
+ logoPath ||= logoPathLight
+
+ if (!logoPath) {
+ return (
+ <>
+ <GlobeAltIcon className='size-6' />
+ &nbsp;
+ {value}
+ </>
+ )
+ }
+ const logoUrl = `/${logoPath}`
+
+ return (
+ <div className='flex items-center'>
+ <img src={logoUrl} className='size-6 dark:fill-gray-50' alt='' />
+ &nbsp;
+ {value}
+ </div>
+ )
+ }}
+ />
+
+ <MetricCard
+ classes={{
+ value: 'max-md:text-xl md:text-3xl',
+ container: 'rounded-md bg-gray-50 dark:bg-slate-700/60 py-1 px-2 max-w-max',
+ }}
+ label={t('project.mapping.br')}
+ value={deviceInfo.browser}
+ valueMapper={(value: keyof typeof BROWSER_LOGO_MAP) => {
+ const logoUrl = BROWSER_LOGO_MAP[value]
+
+ if (!logoUrl) {
+ return (
+ <>
+ <GlobeAltIcon className='size-6' />
+ &nbsp;
+ {value}
+ </>
+ )
+ }
+
+ return (
+ <div className='flex items-center'>
+ <img src={logoUrl} className='size-6 dark:fill-gray-50' alt='' />
+ &nbsp;
+ {value}
+ </div>
+ )
+ }}
+ />
+
+ <SdurMetric />
+
+ <div className='absolute bottom-0 right-0 rotate-12 rounded-md bg-gray-50 px-2 py-1 opacity-20 transition-all group-hover:rotate-6 group-hover:scale-110 group-hover:opacity-50 dark:bg-slate-700/60'>
+ {['/home', '/product', 'SALE'].map((path, index) => (
+ <div key={path} className='relative pb-8'>
+ {index !== 2 ? (
+ <span
+ className='absolute left-4 top-4 -ml-px h-full w-0.5 bg-slate-200 dark:bg-slate-700'
+ aria-hidden='true'
+ />
+ ) : null}
+ <div className='relative flex space-x-3'>
+ <div>
+ <span className='flex h-8 w-8 items-center justify-center rounded-full bg-slate-400 dark:bg-slate-800'>
+ {path.startsWith('/') ? (
+ <NewspaperIcon className='h-5 w-5 text-white' aria-hidden='true' />
+ ) : (
+ <CursorArrowRaysIcon className='h-5 w-5 text-white' aria-hidden='true' />
+ )}
+ </span>
+ </div>
+ <p className='pt-1.5 text-sm text-gray-700 dark:text-gray-300'>
+ <Trans
+ t={t}
+ i18nKey={path.startsWith('/') ? 'project.pageviewX' : 'project.eventX'}
+ components={{
+ value: <span className='font-medium text-gray-900 dark:text-gray-50' />,
+ }}
+ values={{
+ x: path,
+ }}
+ />
+ </p>
+ </div>
+ </div>
+ ))}
+ </div>
+ </div>
+ </FeatureBlock>
+ </div>
+ </section>
+ )
+}
+
const Hero = ({
theme,
ssrTheme,
@@ -639,7 +775,6 @@ const Hero = ({
authenticated: boolean
}) => {
const { t } = useTranslation('common')
- const { lastBlogPost } = useSelector((state: StateType) => state.ui.misc)
return (
<div className='relative isolate overflow-x-clip'>
@@ -673,76 +808,30 @@ const Hero = ({
/>
</div>
<Header ssrTheme={ssrTheme} authenticated={authenticated} transparent />
- <SupportUkraine />
<div className='relative mx-auto min-h-[740px] pb-5 pt-10 sm:px-3 lg:px-6 lg:pt-24 xl:px-8'>
- <div className='relative z-20 flex flex-row content-between justify-center lg:justify-start 2xl:mr-[14vw] 2xl:justify-center'>
- <div className='relative px-4 text-left lg:mr-14 lg:mt-0'>
- <h1 className='max-w-2xl text-4xl font-extrabold text-slate-900 dark:text-white sm:text-5xl sm:leading-none md:text-5xl lg:text-5xl xl:text-6xl xl:leading-[110%]'>
+ <div className='relative z-20 flex flex-col content-between justify-center'>
+ <div className='relative mx-auto flex flex-col px-4 text-left'>
+ <h1 className='mx-auto max-w-4xl text-center text-4xl font-extrabold tracking-[-0.4px] text-slate-900 dark:text-white sm:text-5xl sm:leading-none md:text-5xl lg:text-6xl xl:text-7xl'>
<Trans
t={t}
i18nKey='main.slogan'
components={{
- span: (
- <span className='bg-gradient-to-r from-indigo-700 to-indigo-700 bg-clip-text text-transparent dark:from-indigo-600 dark:to-indigo-400' />
- ),
+ // @ts-expect-error
+ span: <Highlighted />,
}}
/>
</h1>
- <div className='mb-2 mt-3 flex items-center overflow-hidden sm:text-xl lg:text-lg xl:text-lg'>
- {_isEmpty(lastBlogPost) ? (
- <>
- <LatestNews />
- <div className='ml-1 h-6 w-full max-w-xs animate-pulse rounded-md bg-slate-300 dark:bg-slate-700' />
- </>
- ) : (
- <ClientOnly
- fallback={
- <>
- <LatestNews />
- <div className='ml-1 h-6 w-full max-w-xs animate-pulse rounded-md bg-slate-300 dark:bg-slate-700' />
- </>
- }
- >
- {() => (
- <Link
- className='inline-flex items-center space-x-1 text-sm font-semibold leading-6 text-slate-700 dark:text-slate-300'
- to={`blog/${lastBlogPost.handle}`}
- >
- <LatestNews />
- <small className='ml-1 text-sm'>{lastBlogPost.title}</small>
- <ChevronRightIcon className='h-4 w-4 text-slate-500' aria-hidden='true' />
- </Link>
- )}
- </ClientOnly>
- )}
- </div>
- <div className='mt-5 space-y-2 text-base leading-8 text-slate-900 dark:text-slate-300 sm:text-xl lg:text-lg xl:text-lg'>
- <p>
- <Trans t={t} i18nKey='main.description'>
- <Link
- to={routesPath.forMarketers}
- className='font-medium text-indigo-600 hover:underline dark:text-indigo-400'
- />
- <Link
- to={routesPath.forStartups}
- className='font-medium text-indigo-600 hover:underline dark:text-indigo-400'
- />
- <Link
- to={routesPath.forSmallBusinesses}
- className='font-medium text-indigo-600 hover:underline dark:text-indigo-400'
- />
- </Trans>
- </p>
- <p>{t('main.trackEveryMetric')}</p>
- </div>
- <div className='mt-10 flex flex-col items-center sm:flex-row'>
+ <p className='mx-auto mt-4 max-w-4xl text-center text-base leading-[1.625rem] tracking-wide text-slate-900 dark:text-slate-300 sm:text-lg lg:text-xl'>
+ {t('main.description')}
+ </p>
+ <div className='mt-10 flex flex-col items-center justify-center sm:flex-row'>
<Link
to={routesPath.signup}
- className='flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
+ className='group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
aria-label={t('titles.signup')}
>
<span className='mr-1 text-base font-semibold'>{t('main.startAFreeTrial')}</span>
- <ArrowRightIcon className='mt-[1px] h-4 w-5' />
+ <ArrowRightIcon className='mt-[1px] h-4 w-5 transition-transform group-hover:scale-[1.15]' />
</Link>
<a
href={LIVE_DEMO_URL}
@@ -754,35 +843,13 @@ const Hero = ({
<span className='text-base font-semibold'>{t('common.liveDemo')}</span>
</a>
</div>
- <a
- href={BOOK_A_CALL_URL}
- className='mt-8 flex max-w-max items-center border-0 font-bold text-slate-900 hover:underline dark:text-gray-100'
- target='_blank'
- rel='noopener noreferrer'
- aria-label={`${t('common.bookADemo')} (opens in a new tab)`}
- >
- <span className='text-base font-semibold'>{t('common.bookADemo')}</span>
- <ArrowRightIcon className='mt-[1px] h-4 w-5' />
- </a>
+ <Testimonials />
</div>
<div className='hidden max-w-md lg:block xl:max-w-lg'>
<Lines />
- <picture>
- <source
- srcSet={theme === 'dark' ? '/assets/screenshot_dark.webp' : '/assets/screenshot_light.webp'}
- type='image/webp'
- />
- <img
- src={theme === 'dark' ? '/assets/screenshot_dark.png' : '/assets/screenshot_light.png'}
- className='relative h-full min-w-[880px] rounded-xl shadow-2xl ring-1 ring-gray-900/10 dark:ring-white/10'
- width='100%'
- height='auto'
- alt='Swetrix Analytics dashboard'
- />
- </picture>
</div>
</div>
- <div className='relative z-20 my-10 block px-4 md:px-0 lg:hidden'>
+ <div className='relative z-20 mx-auto mt-10 block max-w-7xl px-4 md:px-0'>
<picture>
<source
srcSet={theme === 'dark' ? '/assets/screenshot_dark.webp' : '/assets/screenshot_light.webp'}
@@ -805,10 +872,6 @@ const Hero = ({
export default function Index() {
const { theme: ssrTheme, isAuth } = useLoaderData<typeof loader>()
- const {
- t,
- i18n: { language },
- } = useTranslation('common')
const reduxTheme = useSelector((state: StateType) => state.ui.theme.theme)
const { authenticated: reduxAuthenticated, loading } = useSelector((state: StateType) => state.auth)
const theme = isBrowser ? reduxTheme : ssrTheme
@@ -821,7 +884,8 @@ export default function Index() {
<Hero theme={theme} ssrTheme={ssrTheme} authenticated={authenticated} />
<TrustedBy />
- <FeatureGallery theme={theme} />
+
+ <FeatureBlocks theme={theme} />
<Feedback
name='Alex Bowles'
@@ -831,31 +895,10 @@ export default function Index() {
feedback="Swetrix has been a game changer for our analytics. They've always been on top of feature requests and bug reports and have been friendly every step of the way. I can't recommend them enough."
/>
- {!authenticated && <Signup theme={theme} ssrTheme={ssrTheme} />}
-
<CoreFeatures theme={theme} />
- <section className='relative bg-white px-3 pt-24 text-[initial] dark:bg-slate-900 sm:px-5'>
- <h2 className='sm:ext-5xl mx-auto w-fit text-center text-4xl font-bold text-slate-900 dark:text-white'>
- {t('main.supports')}
- </h2>
- <div className='mx-auto mt-20 grid w-full max-w-7xl grid-cols-3 items-center justify-between justify-items-center gap-x-4 gap-y-10 sm:grid-cols-4 md:grid-cols-6 lg:gap-x-10 lg:gap-y-16'>
- <Telegram className='max-h-16 max-w-[64px] sm:max-w-[150px]' />
- <NuxtJS theme={theme} className='max-h-12 max-w-[106px] sm:max-w-[150px]' />
- <Webflow theme={theme} className='max-h-12 max-w-[106px] sm:max-w-[150px]' />
- <NextJS theme={theme} className='max-h-12 max-w-[78px] sm:max-w-[80px]' />
- <Notion theme={theme} className='max-h-12 max-w-[106px] sm:max-w-[130px]' />
- <ReactSVG className='max-h-16 max-w-[71px] sm:max-w-[150px]' />
- <Angular className='max-h-20 max-w-[60px] sm:max-w-[160px]' />
- <Wordpress theme={theme} className='max-h-16 max-w-[100px] sm:max-w-[160px]' />
- <Wix theme={theme} className='max-h-12 max-w-[105px] sm:max-w-[120px]' />
- <Ghost theme={theme} className='max-h-20 max-w-[105px] sm:max-w-[150px]' />
- <Gatsby theme={theme} className='max-h-12 max-w-[105px] sm:max-w-[150px]' />
- <Cloudflare theme={theme} className='max-h-12 max-w-[105px] sm:max-w-[140px]' />
- </div>
- </section>
-
- <Marketplace />
+ {/* Hiding the Pricing for authenticated users on the main page as the Paddle script only loads on the Billing page */}
+ {!authenticated && <Pricing authenticated={false} />}
<Feedback
name='Alper Alkan'
@@ -865,10 +908,12 @@ export default function Index() {
feedback="Analytics needs on all of our products are provided by Swetrix only. It's unfathomable how good this service is compared to Google Analytics. Swetrix gives me everything I need to know about my websites."
/>
- {/* Hiding the Pricing for authenticated users on the main page as the Paddle script only loads on the Billing page */}
- {!authenticated && <Pricing authenticated={false} t={t} language={language} />}
+ {/* <Comparison /> */}
+
+ <OpensourceAdvantages theme={theme} />
+
+ {/* <PeopleLoveSwetrix theme={theme} /> */}
- <Comparison />
<DitchGoogle
screenshot={{
dark: '/assets/screenshot_dark.png',
@@ -876,8 +921,6 @@ export default function Index() {
}}
theme={theme}
/>
- <OpensourceAdvantages theme={theme} />
- <PeopleLoveSwetrix theme={theme} />
</main>
</div>
)
diff --git a/app/styles/tailwind.css b/app/styles/tailwind.css
index b5c61c956..0d9564a98 100644
--- a/app/styles/tailwind.css
+++ b/app/styles/tailwind.css
@@ -1,3 +1,12 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
+
+@keyframes move-x {
+ 0% {
+ transform: translateX(var(--move-x-from));
+ }
+ 100% {
+ transform: translateX(var(--move-x-to));
+ }
+}
diff --git a/public/assets/CoreFeaturesDark.png b/public/assets/CoreFeaturesDark.png
deleted file mode 100644
index ece03787b..000000000
Binary files a/public/assets/CoreFeaturesDark.png and /dev/null differ
diff --git a/public/assets/CoreFeaturesDark.webp b/public/assets/CoreFeaturesDark.webp
deleted file mode 100644
index ece03787b..000000000
Binary files a/public/assets/CoreFeaturesDark.webp and /dev/null differ
diff --git a/public/assets/CoreFeaturesLight.png b/public/assets/CoreFeaturesLight.png
deleted file mode 100644
index 60cb730c1..000000000
Binary files a/public/assets/CoreFeaturesLight.png and /dev/null differ
diff --git a/public/assets/CoreFeaturesLight.webp b/public/assets/CoreFeaturesLight.webp
deleted file mode 100644
index 60cb730c1..000000000
Binary files a/public/assets/CoreFeaturesLight.webp and /dev/null differ
diff --git a/public/assets/gdpr.svg b/public/assets/gdpr.svg
deleted file mode 100644
index 05d2f909b..000000000
--- a/public/assets/gdpr.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1006.98" height="889.13" viewBox="0 0 1006.98 889.13"><defs><linearGradient id="0bbb0783-00db-46b0-92e3-e6ca2c0b643f-270" x1="436.86" y1="827.5" x2="436.86" y2="266.81" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="gray" stop-opacity="0.25"/><stop offset="0.54" stop-color="gray" stop-opacity="0.12"/><stop offset="1" stop-color="gray" stop-opacity="0.1"/></linearGradient><linearGradient id="307dda9f-981d-4ff4-9930-3a0d53b6cae3-271" x1="729.55" y1="449.33" x2="729.55" y2="-37.39" gradientTransform="translate(-70.12 529.44) rotate(-34.67)" xlink:href="#0bbb0783-00db-46b0-92e3-e6ca2c0b643f-270"/><linearGradient id="7f05ddf0-0286-4412-8910-1e0b2c479f08-272" x1="752.36" y1="126.67" x2="752.36" y2="59.43" gradientTransform="translate(-70.12 529.44) rotate(-34.67)" xlink:href="#0bbb0783-00db-46b0-92e3-e6ca2c0b643f-270"/></defs><title>gdpr</title><path d="M97,468.18c3,33.76,22.14,64.32,33.82,96.47a228.68,228.68,0,0,1,4.45,142c-2.78,9.58-6.21,19.19-6.21,29,0,33.82,38.53,56.27,73.54,71.2a1340.62,1340.62,0,0,0,276.82,83.64c31.07,5.87,69.88,8.4,89.54-13.67,9.44-10.6,11.72-24.44,18.65-36.33,17.67-30.31,60.67-42.1,99.26-48.84a1212.54,1212.54,0,0,1,140.67-16.19c47.48-2.67,101.39-5,132.86-36.17,20-19.82,25.82-47.17,26.62-73,2.61-84.74-37.88-176.44,14.09-249.83,21.79-30.78,57.37-53.26,79-84.13,31.31-44.73,28.61-101.54,7.41-149.21s-58.75-88.2-95.76-127.92C979.46,42.06,966.4,28.4,948,22.31c-19.13-6.34-40.82-3.43-61.33-.43C793.39,35.5,696.54,50.33,618.3,97.11c-38.86,23.23-71.32,53.36-106,81.07C437.44,238.06,350.67,293.36,251.79,317,171.45,336.2,89.73,388,97,468.18Z" transform="translate(-96.51 -5.43)" fill="#6c63ff" opacity="0.1"/><path d="M540.77,473.09a15.42,15.42,0,0,1,1.46-.66S501,449.2,489.52,442.75a96.8,96.8,0,0,1-11.84-8.33c14.34-5.2,34.4-14.49,45-28.44,0,0-3-2.5-6.85-6.13l4.14-4.84s21.62-17.42,6.76-26.45c-12.08-7.34-19.7,12.15-22.13,19.72l-.85-1s-23.26,35.53-54.63,17.86a43,43,0,0,1-4.84-8.83,39.93,39.93,0,0,0-11-15.42l-3.19-12.33-5.69-4.69c0-6.74.22-14.85,1-22q.07-.68.15-1.35c11-4.37,18.76-14.73,18.76-26.82a27.82,27.82,0,0,0-2.84-12.26c4.45-5.09,7.68-12,6.72-18-.75-4.65-4.72-7.68-9.48-9.82-4.58-2.32-10.18-3.68-14.37-4.82-7.71-2.09-16.13-3.08-23.63-.37-12.4,4.47-20.06,9.62-29.7,18.31-7.62,6.87-16,18.83-25,24S328.2,322.61,324.71,332c-4.92,13.28,1.82,27.55,4.86,41.33a79.42,79.42,0,0,1-3.82,46.43c-5.9,14.75-16.45,29.16-13.86,44.75,2,11.84,11.37,21,22.9,26.29A57.8,57.8,0,0,0,351,496c9.71,1.59,20.08,1.08,29.05-2.59a107.73,107.73,0,0,1-16.21,30c-6.65,8.46-6,13.06-.12,13.5q-.31,1.19-.58,2.53c-1.91,9.37-2.52,24.7.7,49.78,8.11,63.23-9.46,82.58-9.46,82.58s1.88.66,5.28,1.64q-.21.57-.42,1.17c-3.72,10.56-7.24,29.16-.12,54,7.67,26.7,9.92,39,10.57,44.28l0,.31c-.77.3-3.57,1.63-5.63,5.78a16.42,16.42,0,0,0,2.46,18v24.5h3.38V800.83a58.32,58.32,0,0,1,7.57,11.51,26.11,26.11,0,0,0,20.14,14.26c8.7,1.18,18.3,1.61,22.3-1.26,0,0,3-5.65-11.35-12.5l-.12-.18c-4.72-6.88-12-18.82-13.1-28.19a78.33,78.33,0,0,0-3.7-16.89h0A49.62,49.62,0,0,1,389,754.83c-1-13.29-2.74-42.42-.16-48.85,1.74-4.33,2.77-15.2,3.35-24.7,0-.43.05-.86.08-1.28a188.88,188.88,0,0,0,45.23.33v6.3s-6.08,19.36,6.08,47.1c0,0,16.49,25.19,20.22,40.07q.16.64.29,1.25c-2.21.26-11.95,2.55-8.34,23.19l-.68,27.1h3.38l.68-23.87s3.38-5.81,14.87,6.45q2.61,2.79,4.72,5.17a41.93,41.93,0,0,0,32.82,13.84c7.38-.26,14.43-1,17.19-2.88,0,0,6.76-5.16-10.14-7.74L510.81,814l-.29,0-1.11-1.24c-5.9-6.68-14.47-18-16.66-29.5a53,53,0,0,0-3.66-11.52l-6.32-14.22L467.9,681.46s.78-3.34,1.54-7.43c.08-.45.17-.92.25-1.38l2.26-.87s13.52-9.68-6.76-68.39c0,0-7.88-32.7-11.87-58.75l9.84-1.89s-1.52-23-4.55-39c2-7.5,3.1-14,1.85-17.18a29.93,29.93,0,0,1-1.72-9,206.09,206.09,0,0,0-2.23-20.71l12.73,9,64.2,31c-2.46-5.06-2.85-9.21-2.14-12.56,4.68,6.69,17.1,21.62,27.82,9.33C570.06,481.2,549.16,475,540.77,473.09Z" transform="translate(-96.51 -5.43)" fill="url(#0bbb0783-00db-46b0-92e3-e6ca2c0b643f-270)"/><path d="M531.63,473.3s33.09,5.73,20.36,21-28-12.09-28-12.09Z" transform="translate(-96.51 -5.43)" fill="#f8bdc5"/><path d="M421.54,374.67s16.54,7.64,22.27,23.54,31.82,39.45,42.63,45.82,49.63,29.27,49.63,29.27-16.54,6.36-8.27,24.18l-60.45-30.54L440,446.58Z" transform="translate(-96.51 -5.43)" fill="#575988"/><path d="M421.54,374.67s16.54,7.64,22.27,23.54,31.82,39.45,42.63,45.82,49.63,29.27,49.63,29.27-16.54,6.36-8.27,24.18l-60.45-30.54L440,446.58Z" transform="translate(-96.51 -5.43)" opacity="0.1"/><path d="M678.25,7.9s-72.88-26.62-150.38,95.21c0,0-32.58,68-105.38,67.73l-7.8-17.78L400,158.83l197,450,14.86-4.77L519.08,390.92c30.78-2.36,99.37-24.52,161.93-162.65,0,0,56.2-104.9,138.5-92.5Z" transform="translate(-96.51 -5.43)" fill="url(#307dda9f-981d-4ff4-9930-3a0d53b6cae3-271)"/><path d="M410.51,172.8,506,388.74s92.6,22.6,174.6-158.44c0,0,55-102.61,135.48-90.48L677.94,14.73s-71.3-26-147.1,93.14C530.83,107.87,493.85,185.12,410.51,172.8Z" transform="translate(-96.51 -5.43)" fill="#5d76b7"/><polygon points="435.62 142.44 440.26 155.38 431.33 164.25 441.74 162.97 445.63 174.81 448.71 161.37 458.4 160.59 449.81 153.62 451.8 140.94 444.21 149.42 435.62 142.44" fill="#ffd037"/><polygon points="455.1 103.68 459.23 115.89 451.42 125.6 460.71 123.47 465.69 134.56 466.93 120.79 477.09 119.14 468.28 113.4 470.16 101.33 463.91 109.42 455.1 103.68" fill="#ffd037"/><polygon points="484.53 80.09 489 90.45 481.33 101.14 490.49 98.04 494.96 108.4 497.93 95.58 508.46 93.68 498.66 88.07 502 75 493.82 84.96 484.53 80.09" fill="#ffd037"/><polygon points="517.42 79.4 521.9 89.76 512.6 98.89 523.24 96.37 527.35 106.98 530.69 93.91 541.47 92.38 532.68 88.23 535.76 74.79 526.72 84.28 517.42 79.4" fill="#ffd037"/><polygon points="544.77 98.7 549.24 109.06 539.95 118.19 550.59 115.67 554.7 126.28 558.03 113.21 568.81 111.68 560.02 107.53 563.11 94.09 554.06 103.58 544.77 98.7" fill="#ffd037"/><polygon points="559.4 128.41 563.87 138.77 554.58 147.9 565.21 145.38 569.33 155.99 572.66 142.92 583.44 141.39 574.65 137.24 577.74 123.8 568.69 133.29 559.4 128.41" fill="#ffd037"/><polygon points="552.35 175.81 557.33 186.9 548.48 200.56 559.2 195.83 563.79 205.57 566.01 191.66 577.35 187.04 567.33 182.67 569.43 169.38 562.6 178.95 552.35 175.81" fill="#ffd037"/><polygon points="536.29 220.29 540.18 232.13 532.42 245.03 542.78 240.56 547.14 251.54 549.22 236.64 558.96 232.06 550.17 227.91 552.5 213.38 545.19 223.82 536.29 220.29" fill="#ffd037"/><polygon points="505.57 247.46 509.59 260.28 500.21 271.62 509.5 269.49 513.62 280.11 516.7 266.67 526.33 262.7 518.75 257.18 520.83 242.29 513.77 253.09 505.57 247.46" fill="#ffd037"/><polygon points="473.85 252.18 477.51 265.25 467.7 273.65 477.64 273.23 480.52 283.62 484.36 271.27 495.25 269.12 487.28 262.26 489.16 250.19 482.05 257.81 473.85 252.18" fill="#ffd037"/><polygon points="445.07 228.48 448.85 240.94 436.83 249.25 449.49 249.65 451.92 262.5 456.71 248.42 468.61 247.72 459.66 241 463.44 225.46 452.8 234.98 445.07 228.48" fill="#ffd037"/><polygon points="433.78 185.7 437.56 198.16 425.54 206.47 438.2 206.86 440.63 219.72 445.42 205.63 457.32 204.94 448.36 198.22 452.15 182.68 441.51 192.19 433.78 185.7" fill="#ffd037"/><path d="M636.68,183.14l-22-24.47a3.83,3.83,0,0,0-5.41-.29L607.5,160l-9.2-10.25a9.75,9.75,0,0,0-13.77-.74l-12,10.77a9.75,9.75,0,0,0-.74,13.77l9.2,10.25-1.79,1.61a3.83,3.83,0,0,0-.29,5.41l22,24.47a3.83,3.83,0,0,0,5.41.29l30.08-27A3.83,3.83,0,0,0,636.68,183.14ZM576.07,173a9.75,9.75,0,0,1,.74-13.77l6.75-6.06a9.75,9.75,0,0,1,13.77.74l7.55,8.41-21.26,19.08Zm34.08,13.86,3.56,4a2.14,2.14,0,1,1-3.19,2.87l-3.76-4.19a5.2,5.2,0,1,1,3.39-2.65Z" transform="translate(-96.51 -5.43)" fill="url(#7f05ddf0-0286-4412-8910-1e0b2c479f08-272)"/><path d="M585.31,150.45l-11.39,10.23a9.26,9.26,0,0,0-.7,13.08l9.65,10.75,2.49-2.24-8.08-9a9.26,9.26,0,0,1,.7-13.08l6.41-5.75a9.26,9.26,0,0,1,13.08.7l8.08,9,2.49-2.24-9.65-10.75A9.26,9.26,0,0,0,585.31,150.45Z" transform="translate(-96.51 -5.43)" fill="#f0f5fa"/><path d="M608.82,159.37,580.25,185a3.64,3.64,0,0,0-.28,5.14l20.87,23.24a3.64,3.64,0,0,0,5.14.28L634.56,188a3.64,3.64,0,0,0,.28-5.14L614,159.65A3.64,3.64,0,0,0,608.82,159.37Zm.81,27.05,3.38,3.77a2,2,0,1,1-3,2.72l-3.57-4a4.94,4.94,0,1,1,3.22-2.51Z" transform="translate(-96.51 -5.43)" fill="#f0f5fa"/><polygon points="309.21 156.95 501.22 595.5 515.75 590.83 323.61 151.3 309.21 156.95" fill="#f0f5fa"/><path d="M499.81,393.12s7.64-31.18,21.64-22.27-6.36,26.09-6.36,26.09l-5.73,7Z" transform="translate(-96.51 -5.43)" fill="#f8bdc5"/><polygon points="326.69 359.16 333.94 365.42 337 377.84 332.03 374.96 332.03 365.42 326.68 364.78 326.69 359.16" fill="#dedff7"/><polygon points="326.69 359.16 333.94 365.42 337 377.84 332.03 374.96 332.03 365.42 326.68 364.78 326.69 359.16" opacity="0.1"/><path d="M444.77,490.48,449,545.21l12.65-2.55s-2.81-44.54-8.43-52.18S444.77,490.48,444.77,490.48Z" transform="translate(-96.51 -5.43)" fill="#575988"/><path d="M444.77,490.48,449,545.21l12.65-2.55s-2.81-44.54-8.43-52.18S444.77,490.48,444.77,490.48Z" transform="translate(-96.51 -5.43)" opacity="0.1"/><path d="M413.9,814.38l-20.36,3.18-11.45-8.91-8.27-26.09V773a21.06,21.06,0,0,0-.23-3.42c-.61-5.17-2.73-17.33-10-43.67-6.71-24.47-3.39-42.81.11-53.22a47.11,47.11,0,0,1,4.34-9.77h27.36s-.15,7.59-.66,16.36c-.55,9.37-1.51,20.1-3.16,24.37-2.44,6.34-.77,35.07.15,48.18a51,51,0,0,0,2.49,12.56h0a80.4,80.4,0,0,1,3.49,16.66c1,9.25,7.89,21,12.33,27.81C412.3,812.24,413.9,814.38,413.9,814.38Z" transform="translate(-96.51 -5.43)" fill="#f8bdc5"/><path d="M510.63,815l-8.91,2.55-17.18-7L462.9,787.65V774.93a24.28,24.28,0,0,0-.69-4.38c-3.51-14.68-19-39.52-19-39.52-11.45-27.36-5.73-46.45-5.73-46.45V664.84s29.91-10.18,31.18-6.36c.71,2.14-.18,8.51-1.09,13.67-.72,4-1.45,7.32-1.45,7.32l14,75.09,5.95,14a54,54,0,0,1,3.44,11.36c2.07,11.31,10.14,22.5,15.69,29.09C508.3,812.76,510.63,815,510.63,815Z" transform="translate(-96.51 -5.43)" fill="#f8bdc5"/><path d="M413.9,814.38l-20.36,3.18-11.45-8.91-8.27-26.09V773a21.06,21.06,0,0,0-.23-3.42,4.76,4.76,0,0,1,.87-.4s2.55,9.55,1.27,14c-1,3.55,7.67,16.81,11.24,22A15.07,15.07,0,0,0,394.3,811c6.95,2.46,13.62-.86,15.8-2.14C412.3,812.24,413.9,814.38,413.9,814.38Z" transform="translate(-96.51 -5.43)" opacity="0.1"/><path d="M410.21,809s-8.06,5.62-16.55,2.61a15.06,15.06,0,0,1-7.33-5.78c-3.57-5.23-12.26-18.49-11.24-22,1.27-4.45-1.27-14-1.27-14s-3.23,1-5.5,5.78a16.81,16.81,0,0,0,2.32,17.78v24.16h3.18V797.21a57.84,57.84,0,0,1,7.13,11.35,24.67,24.67,0,0,0,19,14.06c8.19,1.16,17.23,1.59,21-1.24C420.9,821.38,423.7,815.81,410.21,809Z" transform="translate(-96.51 -5.43)" fill="#575988"/><path d="M510.63,815l-8.91,2.55-17.18-7L462.9,787.65V774.93a24.28,24.28,0,0,0-.69-4.38,4.71,4.71,0,0,1,.69-.07c0,3.31,5.64,11.19,9.6,16.3a99.84,99.84,0,0,1,5.77,8.35c8.24,13.28,22.51,14,26.9,13.92C508.3,812.76,510.63,815,510.63,815Z" transform="translate(-96.51 -5.43)" opacity="0.1"/><path d="M462.9,771.74s-12.09,0-8.27,22.91L454,821.38h3.18l.64-23.54s3.18-5.73,14,6.36q2.46,2.75,4.45,5.1a38.65,38.65,0,0,0,30.91,13.65c6.94-.26,13.59-1,16.19-2.84,0,0,6.36-5.09-9.55-7.64l-7.32-2.23s-18.39,2-28.22-13.85A98.87,98.87,0,0,0,472.5,788C468.55,782.93,462.9,775.05,462.9,771.74Z" transform="translate(-96.51 -5.43)" fill="#575988"/><path d="M368.09,662.93h27.36s-.15,7.59-.66,16.36a193.24,193.24,0,0,1-31-6.59A47.11,47.11,0,0,1,368.09,662.93Z" transform="translate(-96.51 -5.43)" opacity="0.1"/><path d="M467.53,672.15a126.66,126.66,0,0,1-30.09,7.48V664.84s29.91-10.18,31.18-6.36C469.34,660.62,468.45,667,467.53,672.15Z" transform="translate(-96.51 -5.43)" opacity="0.1"/><path d="M469.9,669.93c-52.18,21.64-110.72,0-110.72,0s16.54-19.09,8.91-81.45c-3-24.73-2.46-39.85-.66-49.1,2.73-14.07,8.29-14.53,8.29-14.53l75.09-8.91c-.67,2.55-.71,6.85-.34,12.2,1.79,25.34,13.06,74.34,13.06,74.34C482.63,660.39,469.9,669.93,469.9,669.93Z" transform="translate(-96.51 -5.43)" fill="#575988"/><path d="M429.81,328.85c-1.94,2.91-3.11,8.85-3.81,15.69-1.57,15.58-.65,35.85-.65,35.85s-38.82,21-29.91-6.36A68.36,68.36,0,0,0,391,323.13S436.18,319.31,429.81,328.85Z" transform="translate(-96.51 -5.43)" fill="#f8bdc5"/><path d="M429.81,328.85c-1.94,2.91-3.11,8.85-3.81,15.69a28.64,28.64,0,0,1-29-4.4,65.09,65.09,0,0,0-6-17S436.18,319.31,429.81,328.85Z" transform="translate(-96.51 -5.43)" opacity="0.1"/><circle cx="318.66" cy="311.33" r="28.64" fill="#f8bdc5"/><path d="M450.47,528.14c-3.49,9.58-6.66,17.07-6.66,17.07S413.9,519.75,391,531.85c-10.81,5.7-19.06,8.15-23.56,7.53,2.73-14.07,8.29-14.53,8.29-14.53l75.09-8.91C450.14,518.49,450.1,522.78,450.47,528.14Z" transform="translate(-96.51 -5.43)" opacity="0.1"/><path d="M443.81,542.66S413.9,517.21,391,529.3s-34.36,9.55-22.91-5.73,26.73-47.73,15.27-71.91-15.91-62.36-7-72.54,17.18-21.64,17.18-24.18c0,0,32.45,23.54,38.82,33.09,1.83,2.74,4.82,9.74,8.14,18.33,1.79,4.64,3.69,9.74,5.56,14.88a189.19,189.19,0,0,1,7.1,24.7,208.84,208.84,0,0,1,4.31,32.5,30.76,30.76,0,0,0,1.62,8.86C462.9,497.48,443.81,542.66,443.81,542.66Z" transform="translate(-96.51 -5.43)" fill="#575988"/><path d="M430.45,371.49l-.75,13.28-36.74-28s-.7-5.62,8.85.1S430.45,371.49,430.45,371.49Z" transform="translate(-96.51 -5.43)" fill="#dedff7"/><path d="M453.15,445.94c-33.61.62-71.7-36.91-71.7-36.91-13.36-35.63,31.82-28,31.82-28s3.72,9.58,27.23,25.33c1.79,4.64,3.69,9.74,5.56,14.88A189.19,189.19,0,0,1,453.15,445.94Z" transform="translate(-96.51 -5.43)" opacity="0.1"/><path d="M381.45,404.58s43.27,42.63,78.27,36.27c0,0,41.36-10.18,57.91-33.09,0,0-10.82-9.55-17.82-18.45,0,0-22.27,35.63-52.18,17.18s-34.36-29.91-34.36-29.91S368.09,368.94,381.45,404.58Z" transform="translate(-96.51 -5.43)" fill="#575988"/><path d="M426.28,273.13c-7.26-2.06-15.19-3-22.25-.37-11.68,4.41-18.89,9.49-28,18.06-7.18,6.77-15.08,18.57-23.53,23.65s-16.71,11.7-20,21c-4.63,13.1,1.71,27.17,4.58,40.76a81.81,81.81,0,0,1-3.6,45.79c-5.56,14.54-15.49,28.76-13,44.14,2.61,16.45,19.12,27.61,35.53,30.42,11.18,1.92,23.28.74,32.78-5.44a20,20,0,0,0,6.6-6.5c4.05-7,1.39-15.81-1.11-23.51-5.12-15.77-9.16-31.87-13.21-47.95-2.36-9.39-4.7-19.46-1.36-28.55,3.26-8.87,11.39-15.08,19.89-19.22,3.33-1.62,6.88-3.08,9.38-5.8a16.13,16.13,0,0,0,3.13-5.31c4.28-11.41-.52-26.13,7.74-35.1,4.2-4.56,10.67-6.14,15.85-9.55,6.54-4.31,13-14.49,11.77-22.75C446.13,278.2,433.79,275.26,426.28,273.13Z" transform="translate(-96.51 -5.43)" opacity="0.1"/><path d="M425,272.49c-7.26-2.06-15.19-3-22.25-.37-11.68,4.41-18.89,9.49-28,18.06-7.18,6.77-15.08,18.57-23.53,23.65s-16.71,11.7-20,21c-4.63,13.1,1.71,27.17,4.58,40.76a81.81,81.81,0,0,1-3.6,45.79c-5.56,14.54-15.49,28.76-13,44.14,2.61,16.45,19.12,27.61,35.53,30.42,11.18,1.92,23.28.74,32.78-5.44a20,20,0,0,0,6.6-6.5c4.05-7,1.39-15.81-1.11-23.51-5.12-15.77-9.16-31.87-13.21-47.95-2.36-9.39-4.7-19.46-1.36-28.55,3.26-8.87,11.39-15.08,19.89-19.22,3.33-1.62,6.88-3.08,9.38-5.8a16.13,16.13,0,0,0,3.13-5.31c4.28-11.41-.52-26.13,7.74-35.1,4.2-4.56,10.67-6.14,15.85-9.55,6.54-4.31,13-14.49,11.77-22.75C444.86,277.57,432.52,274.62,425,272.49Z" transform="translate(-96.51 -5.43)" fill="#eb6475"/><path d="M209.19,686.35s-13.26-45,2.49-78.14a71.09,71.09,0,0,0,5.75-44.6,119.57,119.57,0,0,0-6.31-20.93" transform="translate(-96.51 -5.43)" fill="none" stroke="#535461" stroke-miterlimit="10" stroke-width="2"/><path d="M220.9,521.74c0,5.52-10,21.51-10,21.51s-10-16-10-21.51a10,10,0,0,1,20,0Z" transform="translate(-96.51 -5.43)" fill="#6c63ff"/><path d="M237.41,552.29c-3,4.63-20.08,12.63-20.08,12.63s.31-18.86,3.31-23.49a10,10,0,0,1,16.77,10.86Z" transform="translate(-96.51 -5.43)" fill="#6c63ff"/><path d="M236.69,604.51c-4.93,2.48-23.71.77-23.71.77s9.79-16.12,14.71-18.6a10,10,0,0,1,9,17.84Z" transform="translate(-96.51 -5.43)" fill="#6c63ff"/><path d="M227.25,643.9c-4.44,3.28-23.24,4.76-23.24,4.76s6.92-17.54,11.36-20.82a10,10,0,0,1,11.88,16.06Z" transform="translate(-96.51 -5.43)" fill="#6c63ff"/><path d="M196.37,566c4,3.84,22.39,7.83,22.39,7.83s-4.51-18.31-8.47-22.15A10,10,0,1,0,196.37,566Z" transform="translate(-96.51 -5.43)" fill="#6c63ff"/><path d="M185.91,612.19c4.93,2.48,23.71.77,23.71.77s-9.79-16.12-14.71-18.6a10,10,0,1,0-9,17.84Z" transform="translate(-96.51 -5.43)" fill="#6c63ff"/><path d="M181.9,658.49c4.44,3.28,23.24,4.76,23.24,4.76s-6.92-17.54-11.36-20.82a10,10,0,0,0-11.88,16.06Z" transform="translate(-96.51 -5.43)" fill="#6c63ff"/><path d="M577.66,814.74a11.67,11.67,0,0,0,3.83-5.78c.5-2.3-.48-5.05-2.68-5.89-2.46-.94-5.09.76-7.08,2.49s-4.28,3.69-6.89,3.32a10.48,10.48,0,0,0,3.24-9.81,4.1,4.1,0,0,0-.9-2c-1.37-1.46-3.84-.83-5.48.32-5.2,3.66-6.65,10.72-6.68,17.08-.52-2.29-.08-4.68-.1-7s-.66-5-2.64-6.22a8,8,0,0,0-4-.95c-2.34-.09-4.94.15-6.54,1.86-2,2.12-1.47,5.69.26,8s4.35,3.8,6.77,5.42a15,15,0,0,1,4.84,4.61,4.57,4.57,0,0,1,.36.82h14.65A40.83,40.83,0,0,0,577.66,814.74Z" transform="translate(-96.51 -5.43)" fill="#6c63ff"/><path d="M774.38,433.87s-41.84,41.84-18.22,103.92-40.49,165.32-40.49,165.32.69-.1,2-.32c85.93-15.17,128.62-113.44,80.84-186.45C780.71,489.19,766.13,457.35,774.38,433.87Z" transform="translate(-96.51 -5.43)" fill="#6c63ff"/><path d="M774.38,434.56s-41.84,41.84-18.22,103.92S715.67,703.8,715.67,703.8s.69-.1,2-.32C803.56,688.31,846.25,590,798.47,517,780.71,489.89,766.13,458,774.38,434.56Z" transform="translate(-96.51 -5.43)" opacity="0.1"/><path d="M774.38,433.87s-23.62,51.28,0,93.12,4,159.25-58.71,176.12" transform="translate(-96.51 -5.43)" fill="none" stroke="#535461" stroke-miterlimit="10"/><path d="M848.89,603.08s-47.74-7.6-52.09,35.18S705,687,705,687l1.64,1.09c72.2,47.4,141.23,30.19,130.82-32.75C833.6,631.93,833.91,608.43,848.89,603.08Z" transform="translate(-96.51 -5.43)" fill="#6c63ff"/><path d="M848.89,603.08s-37.06,8.13-34,41.83S759.85,719,705,687" transform="translate(-96.51 -5.43)" fill="none" stroke="#535461" stroke-miterlimit="10"/><path d="M806.89,688.54S769.29,681,759.26,671s-55.15-27.57-60.16-15S631.42,711.1,674,718.62s100.27,10,112.8,5S806.89,688.54,806.89,688.54Z" transform="translate(-96.51 -5.43)" fill="#a8a8a8"/><path d="M674,714c42.62,7.52,100.27,10,112.8,5,9.55-3.82,16.18-22.16,18.8-30.7l1.25.26s-7.52,30.08-20.05,35.09-70.19,2.51-112.8-5c-12.3-2.17-15.82-7.27-14.49-13.72C660.59,709.11,664.88,712.35,674,714Z" transform="translate(-96.51 -5.43)" opacity="0.2"/><path d="M179.36,683.8s22.41-.69,29.16-5.5,34.47-10.55,36.14-2.84S278.33,713.82,253,714s-58.78-3.94-65.52-8S179.36,683.8,179.36,683.8Z" transform="translate(-96.51 -5.43)" fill="#a8a8a8"/><path d="M253.48,711.34c-25.3.2-58.78-3.94-65.52-8-5.13-3.13-7.18-14.34-7.86-19.52l-.75,0s1.42,18.07,8.16,22.18,40.22,8.25,65.52,8c7.3-.06,9.82-2.66,9.69-6.5C261.7,709.84,258.92,711.29,253.48,711.34Z" transform="translate(-96.51 -5.43)" opacity="0.2"/></svg>
\ No newline at end of file
diff --git a/public/assets/marketplace-extensions/json.png b/public/assets/marketplace-extensions/json.png
new file mode 100644
index 000000000..a4db104c7
Binary files /dev/null and b/public/assets/marketplace-extensions/json.png differ
diff --git a/public/assets/marketplace-extensions/toml.png b/public/assets/marketplace-extensions/toml.png
new file mode 100644
index 000000000..c2e2c88fc
Binary files /dev/null and b/public/assets/marketplace-extensions/toml.png differ
diff --git a/public/assets/marketplace-extensions/tree.png b/public/assets/marketplace-extensions/tree.png
new file mode 100644
index 000000000..4a7ab5b82
Binary files /dev/null and b/public/assets/marketplace-extensions/tree.png differ
diff --git a/public/assets/marketplace-extensions/xml.png b/public/assets/marketplace-extensions/xml.png
new file mode 100644
index 000000000..56b5d4ce4
Binary files /dev/null and b/public/assets/marketplace-extensions/xml.png differ
diff --git a/public/assets/marketplace-extensions/yaml.png b/public/assets/marketplace-extensions/yaml.png
new file mode 100644
index 000000000..8c763e96b
Binary files /dev/null and b/public/assets/marketplace-extensions/yaml.png differ
diff --git a/public/assets/marketplace_extensions_dark.png b/public/assets/marketplace_extensions_dark.png
deleted file mode 100644
index 9da99c13d..000000000
Binary files a/public/assets/marketplace_extensions_dark.png and /dev/null differ
diff --git a/public/assets/marketplace_extensions_light.png b/public/assets/marketplace_extensions_light.png
deleted file mode 100644
index 9003eaaca..000000000
Binary files a/public/assets/marketplace_extensions_light.png and /dev/null differ
diff --git a/public/assets/performance_part_dark.png b/public/assets/performance_part_dark.png
new file mode 100644
index 000000000..c3815a5e0
Binary files /dev/null and b/public/assets/performance_part_dark.png differ
diff --git a/public/assets/performance_part_light.png b/public/assets/performance_part_light.png
new file mode 100644
index 000000000..6c481fe33
Binary files /dev/null and b/public/assets/performance_part_light.png differ
diff --git a/public/assets/section-signup-dark.png b/public/assets/section-signup-dark.png
deleted file mode 100644
index 301938bac..000000000
Binary files a/public/assets/section-signup-dark.png and /dev/null differ
diff --git a/public/assets/section-signup-dark.webp b/public/assets/section-signup-dark.webp
deleted file mode 100644
index 301938bac..000000000
Binary files a/public/assets/section-signup-dark.webp and /dev/null differ
diff --git a/public/assets/section-signup-light.png b/public/assets/section-signup-light.png
deleted file mode 100644
index 20191ae20..000000000
Binary files a/public/assets/section-signup-light.png and /dev/null differ
diff --git a/public/assets/section-signup-light.webp b/public/assets/section-signup-light.webp
deleted file mode 100644
index 20191ae20..000000000
Binary files a/public/assets/section-signup-light.webp and /dev/null differ
diff --git a/public/assets/small-testimonials/alex.jpg b/public/assets/small-testimonials/alex.jpg
new file mode 100644
index 000000000..95eefbf41
Binary files /dev/null and b/public/assets/small-testimonials/alex.jpg differ
diff --git a/public/assets/small-testimonials/alper.jpg b/public/assets/small-testimonials/alper.jpg
new file mode 100644
index 000000000..ddb866865
Binary files /dev/null and b/public/assets/small-testimonials/alper.jpg differ
diff --git a/public/assets/small-testimonials/andrii.jpg b/public/assets/small-testimonials/andrii.jpg
new file mode 100644
index 000000000..a6897d175
Binary files /dev/null and b/public/assets/small-testimonials/andrii.jpg differ
diff --git a/public/assets/small-testimonials/artur.jpg b/public/assets/small-testimonials/artur.jpg
new file mode 100644
index 000000000..4df8de5c4
Binary files /dev/null and b/public/assets/small-testimonials/artur.jpg differ
diff --git a/public/assets/small-testimonials/tomasz.png b/public/assets/small-testimonials/tomasz.png
new file mode 100644
index 000000000..08e852a05
Binary files /dev/null and b/public/assets/small-testimonials/tomasz.png differ
diff --git a/public/locales/en.json b/public/locales/en.json
index 58b47fea3..19ed8af1e 100644
--- a/public/locales/en.json
+++ b/public/locales/en.json
@@ -102,8 +102,7 @@
"oneMember": "1 Member",
"xMembers": "{{number}} Members",
"general": "General",
- "fixIt": "Fix it",
- "bookADemo": "Book an enterprise demo"
+ "fixIt": "Fix it"
},
"performance": {
"slogan": "End user <span>performance monitoring</span> to deliver fast websites.",
@@ -289,71 +288,14 @@
},
"main": {
"ukrSupport": "Support the Ukrainian army to fight Russian invasion.",
- "slogan": "<span>Ultimate open-source web analytics</span> to satisfy all your needs.",
- "trackEveryMetric": "This is the way analytics should be: GDPR compliant, lightweight and easy to use.",
- "description": "Swetrix is a cookieless Google Analytics alternative that does not invade your users' privacy. It's perfect for <0>marketers</0>, <1>start-ups</1>, <2>small businesses</2> and virtually any type of business!",
+ "slogan": "Understand <span>the story</span> behind your customer clicks and scrolls",
+ "description": "Get all the insights you need about your users and website visitors without the hassle of showing cookie banners. Experience intuitive, easy-to-use and GDPR-compliant web analytics without invading the privacy of your visitors.",
+ "understandTheirUsers": "<0>{{amount}}</0> people understand their users",
+ "perfect": "It's perfect for <0>marketers</0>, <1>start-ups</1>, <2>small businesses</2> and virtually any type of business!",
"trustedBy": "Trusted by governments, NGOs and innovative enterprises",
"start": "Start for free",
- "signup": "Sign up, it's free!",
- "signupTerms": "By signing up, you agree to our <tos>Terms and Conditions</tos> and <pp>Privacy Policy</pp>.",
- "techDetails": "Want to know more technical details?",
- "lookAtDocs": "Look at the documentation and live demonstration pages.",
- "readyToStart": "Ready to get started?",
"startAFreeTrial": "Start a free trial",
"metric": "Metric",
- "coreFeatures": {
- "title": "Core Analytics Features",
- "desc": "Powerful and easy analytics to display all the metrics you need. Cookieless. No need to be a data scientist to understand our analytics."
- },
- "marketplace": {
- "title": "Marketplace & built-in Extensions",
- "desc1": "Need additional features? Connect extensions or write your own! Now you do not need to use many sources from different systems - expand and supplement everything in one!",
- "desc2": "Install extensions and sell your own. Came up with a great extension for your company? Great! Publish it on the marketplace and share your insights with the whole community."
- },
- "visitAddons": "Visit Swetrix Marketplace",
- "privacy": {
- "title": "Privacy compliance",
- "list": [
- {
- "label": "GDPR",
- "desc": "data and processing based in EU zone."
- },
- {
- "label": "HIPAA",
- "desc": "protect sensitive info."
- },
- {
- "label": "PCI DSS",
- "desc": "payment data security."
- },
- {
- "label": "CCPA",
- "desc": "control over the personal information."
- }
- ]
- },
- "dataProtection": "More about Data Protection",
- "faq": {
- "title": "Get some questions answered",
- "list": [
- {
- "question": "Does Swetrix tracking require cookies?",
- "answer": "No, it does not. Our analytics script is fully cookieless. You can use our service without the need to use a cookie notification on your website.\nWe are compliant with such regulations as GDPR, PECR, CCPA, ePrivacy and COPPA."
- },
- {
- "question": "Do you use/share/sell the end users' data?",
- "answer": "No, we do not. Also, all of the data we collect is anonymised. We do not store any data that would allow us to identify a specific user. We try to be as transparent and respectful of privacy as possible."
- },
- {
- "question": "Do I have to pay for your service?",
- "answer": "We provide free accounts as well as paid accounts. While most of the features of the paid tiers are included in the free tier, the paid tiers offer a greater amount of events per month. You can upgrade or downgrade your account subscription at any time."
- },
- {
- "question": "Is my data secure?",
- "answer": "We adhere to all standards regarding the security of data storage and processing. All data is securely stored, cannot be accessed by third parties and all communication is always through encrypted channels (HTTPS)."
- }
- ]
- },
"features": [
{
"name": "Measure website traffic with 99% accuracy",
@@ -381,33 +323,6 @@
}
],
"demoGeoReports": "Yes, it's a standard. But we keep track of exactly where your users are from as it is.",
- "mFeatures": [
- {
- "name": "Expand your possibilities",
- "desc": "Browser extensions, notifications, 2FA, flexible functionality and more!"
- },
- {
- "name": "Opensource",
- "desc": "Customise Swetrix for your needs or selfhost it easily."
- },
- {
- "name": "Marketplace options",
- "desc": "Marketplace with community made extensions to improve your analytic capabilities."
- },
- {
- "name": "Easy integration",
- "desc": "Integrate your projects, add new extensions, dive into the world of analytics easily."
- },
- {
- "name": "Solve your tasks, not create",
- "desc": "Get insights and use the best solutions to solve your problems."
- },
- {
- "name": "Share your best solutions",
- "desc": "Share your best solutions with the community, get popularity and money."
- }
- ],
- "supports": "Supports all popular platforms",
"peopleLoveSwetrix": "People 🥰 Swetrix",
"whyPeopleLoveSwetrix": "Swetrix is an ethical and powerful service. Hundreds of people have already made the switch from Google Analytics and other alternatives.",
"marketplaceBlock": "Marketplace and extension features",