📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
(refactor) TailwindCSS prettier plugin (#421)
Andrii Romasiun3447d15213c2
diff --git a/.prettierrc.js b/.prettierrc.jsindex bd6302ddd..d5c3824fa 100644--- a/.prettierrc.js+++ b/.prettierrc.js@@ -10,4 +10,5 @@ module.exports = {jsxSingleQuote: true, // '' for react propsbracketSameLine: false, // pretty JSXendOfLine: 'lf', // 'lf' for linux, 'crlf' for windows, we need to use 'lf' for git+ plugins: ['prettier-plugin-tailwindcss'],}diff --git a/app/components/DashboardLockedBanner.tsx b/app/components/DashboardLockedBanner.tsxindex 5228d312a..10b6bdf3d 100644--- a/app/components/DashboardLockedBanner.tsx+++ b/app/components/DashboardLockedBanner.tsx@@ -33,18 +33,18 @@ const DashboardLockedBanner = () => {return (<><div className='bg-yellow-400 dark:bg-yellow-500'>- <div className='max-w-7xl mx-auto py-3 px-3 sm:px-6 lg:px-8'>- <div className='flex items-center justify-between flex-wrap'>- <div className='flex-1 flex items-center'>- <span className='flex p-2 rounded-lg bg-yellow-600'>+ <div className='mx-auto max-w-7xl px-3 py-3 sm:px-6 lg:px-8'>+ <div className='flex flex-wrap items-center justify-between'>+ <div className='flex flex-1 items-center'>+ <span className='flex rounded-lg bg-yellow-600 p-2'><LockClosedIcon className='h-6 w-6 text-white' aria-hidden='true' /></span><p className='ml-3 font-medium text-black'>{t('dashboard.accountLocked')}</p></div>- <div className='order-3 mt-2 flex-shrink-0 w-full sm:order-2 sm:mt-0 sm:w-auto'>+ <div className='order-3 mt-2 w-full flex-shrink-0 sm:order-2 sm:mt-0 sm:w-auto'><spanonClick={() => setShowMoreInfoModal(true)}- className='flex items-center justify-center cursor-pointer px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-yellow-600 bg-gray-50 hover:bg-yellow-50 dark:text-gray-50 dark:bg-slate-800 dark:hover:bg-slate-700'+ className='flex cursor-pointer items-center justify-center rounded-md border border-transparent bg-gray-50 px-4 py-2 text-sm font-medium text-yellow-600 shadow-sm hover:bg-yellow-50 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'>{t('common.learnMore')}</span>diff --git a/app/components/EventsRunningOutBanner.tsx b/app/components/EventsRunningOutBanner.tsxindex 741b53aac..8c92364e4 100644--- a/app/components/EventsRunningOutBanner.tsx+++ b/app/components/EventsRunningOutBanner.tsx@@ -26,13 +26,13 @@ const EventsRunningOutBanner = () => {return (<><div className='bg-yellow-400 dark:bg-yellow-500'>- <div className='max-w-7xl mx-auto py-3 px-3 sm:px-6 lg:px-8'>- <div className='flex items-center justify-between flex-wrap'>- <div className='flex-1 flex items-center'>- <span className='flex p-2 rounded-lg bg-yellow-600'>+ <div className='mx-auto max-w-7xl px-3 py-3 sm:px-6 lg:px-8'>+ <div className='flex flex-wrap items-center justify-between'>+ <div className='flex flex-1 items-center'>+ <span className='flex rounded-lg bg-yellow-600 p-2'><ExclamationTriangleIcon className='h-6 w-6 text-white' aria-hidden='true' /></span>- <p className='ml-3 font-medium text-black truncate'>+ <p className='ml-3 truncate font-medium text-black'><span className='md:hidden'>{t('dashboard.lowEventsTitle')}</span><span className='hidden md:inline'>{t('dashboard.eventsXPercUsed', {@@ -41,10 +41,10 @@ const EventsRunningOutBanner = () => {</span></p></div>- <div className='order-3 mt-2 flex-shrink-0 w-full sm:order-2 sm:mt-0 sm:w-auto'>+ <div className='order-3 mt-2 w-full flex-shrink-0 sm:order-2 sm:mt-0 sm:w-auto'><spanonClick={() => setShowMoreInfoModal(true)}- className='flex items-center justify-center cursor-pointer px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-yellow-600 bg-gray-50 hover:bg-yellow-50 dark:text-gray-50 dark:bg-slate-800 dark:hover:bg-slate-700'+ className='flex cursor-pointer items-center justify-center rounded-md border border-transparent bg-gray-50 px-4 py-2 text-sm font-medium text-yellow-600 shadow-sm hover:bg-yellow-50 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'>{t('common.learnMore')}</span>@@ -53,7 +53,7 @@ const EventsRunningOutBanner = () => {<buttontype='button'onClick={closeHandler}- className='-mr-1 flex p-2 rounded-md hover:bg-yellow-500 focus:outline-none focus:ring-2 focus:ring-white sm:-mr-2'+ className='-mr-1 flex rounded-md p-2 hover:bg-yellow-500 focus:outline-none focus:ring-2 focus:ring-white sm:-mr-2'><span className='sr-only'>{t('common.close')}</span><XMarkIcon className='h-6 w-6 text-black' aria-hidden='true' />diff --git a/app/components/Footer/index.tsx b/app/components/Footer/index.tsxindex c9d459a0e..5ed1b31ea 100644--- a/app/components/Footer/index.tsx+++ b/app/components/Footer/index.tsx@@ -123,7 +123,7 @@ const navigation = {href: LINKEDIN_URL,icon: () => (<img- className='h-6 w-6 opacity-75 hover:opacity-90 bg-white rounded'+ className='h-6 w-6 rounded bg-white opacity-75 hover:opacity-90'aria-hidden='true'src='/assets/linkedin.svg'alt='LinkedIn'@@ -156,13 +156,13 @@ const SelfHostedFooter = () => {const { t } = useTranslation('common')return (- <footer className='bg-gray-50 dark:bg-slate-900 border-t border-gray-200 dark:border-slate-800/50'>- <div className='max-w-7xl mx-auto py-8 px-4 overflow-hidden sm:px-6 lg:px-8'>+ <footer className='border-t border-gray-200 bg-gray-50 dark:border-slate-800/50 dark:bg-slate-900'>+ <div className='mx-auto max-w-7xl overflow-hidden px-4 py-8 sm:px-6 lg:px-8'><nav className='-mx-5 -my-2 flex flex-wrap justify-center' aria-label='Footer'><div className='px-5 py-2'><Linkto={routesPath.contact}- className='leading-6 text-slate-900 dark:text-gray-300 hover:text-slate-700 dark:hover:text-white'+ className='leading-6 text-slate-900 hover:text-slate-700 dark:text-gray-300 dark:hover:text-white'>{t('footer.contact')}</Link>@@ -170,7 +170,7 @@ const SelfHostedFooter = () => {<div className='px-5 py-2'><ahref={UTM_GENERATOR_URL}- className='leading-6 text-slate-900 dark:text-gray-300 hover:text-slate-700 dark:hover:text-white'+ className='leading-6 text-slate-900 hover:text-slate-700 dark:text-gray-300 dark:hover:text-white'target='_blank'rel='noopener noreferrer'aria-label={`${t('footer.status')} (opens in a new tab)`}@@ -181,7 +181,7 @@ const SelfHostedFooter = () => {<div className='px-5 py-2'><ahref={DONATE_URL}- className='leading-6 text-slate-900 dark:text-gray-300 hover:text-slate-700 dark:hover:text-white'+ className='leading-6 text-slate-900 hover:text-slate-700 dark:text-gray-300 dark:hover:text-white'target='_blank'rel='noopener noreferrer'aria-label={`${t('footer.status')} (opens in a new tab)`}@@ -192,7 +192,7 @@ const SelfHostedFooter = () => {<div className='px-5 py-2'><Linkto={routesPath.about}- className='leading-6 text-slate-900 dark:text-gray-300 hover:text-slate-700 dark:hover:text-white'+ className='leading-6 text-slate-900 hover:text-slate-700 dark:text-gray-300 dark:hover:text-white'>{t('footer.about')}</Link>@@ -222,13 +222,13 @@ const Footer = ({ minimal, authenticated, showDBIPMessage }: IFooter): JSX.Elemeif (minimal) {return (- <footer className='bg-gray-50 dark:bg-slate-900 border-t border-gray-200 dark:border-slate-800/50'>- <div className='max-w-7xl mx-auto py-8 px-4 overflow-hidden sm:px-6 lg:px-8'>- <nav className='-mx-5 -my-2 flex flex-wrap justify-center relative' aria-label='Footer'>+ <footer className='border-t border-gray-200 bg-gray-50 dark:border-slate-800/50 dark:bg-slate-900'>+ <div className='mx-auto max-w-7xl overflow-hidden px-4 py-8 sm:px-6 lg:px-8'>+ <nav className='relative -mx-5 -my-2 flex flex-wrap justify-center' aria-label='Footer'><div className='px-5 py-2'><Linkto={routesPath.contact}- className='leading-6 text-slate-900 dark:text-gray-300 hover:text-slate-700 dark:hover:text-white'+ className='leading-6 text-slate-900 hover:text-slate-700 dark:text-gray-300 dark:hover:text-white'>{t('footer.contact')}</Link>@@ -236,7 +236,7 @@ const Footer = ({ minimal, authenticated, showDBIPMessage }: IFooter): JSX.Eleme<div className='px-5 py-2'><Linkto={routesPath.privacy}- className='leading-6 text-slate-900 dark:text-gray-300 hover:text-slate-700 dark:hover:text-white'+ className='leading-6 text-slate-900 hover:text-slate-700 dark:text-gray-300 dark:hover:text-white'>{t('footer.pp')}</Link>@@ -244,7 +244,7 @@ const Footer = ({ minimal, authenticated, showDBIPMessage }: IFooter): JSX.Eleme<div className='px-5 py-2'><Linkto={routesPath.terms}- className='leading-6 text-slate-900 dark:text-gray-300 hover:text-slate-700 dark:hover:text-white'+ className='leading-6 text-slate-900 hover:text-slate-700 dark:text-gray-300 dark:hover:text-white'>{t('footer.tos')}</Link>@@ -252,7 +252,7 @@ const Footer = ({ minimal, authenticated, showDBIPMessage }: IFooter): JSX.Eleme<div className='px-5 py-2'><Linkto={routesPath.about}- className='leading-6 text-slate-900 dark:text-gray-300 hover:text-slate-700 dark:hover:text-white'+ className='leading-6 text-slate-900 hover:text-slate-700 dark:text-gray-300 dark:hover:text-white'>{t('footer.about')}</Link>@@ -260,7 +260,7 @@ const Footer = ({ minimal, authenticated, showDBIPMessage }: IFooter): JSX.Eleme<div className='px-5 py-2'><ahref={STATUSPAGE_URL}- className='leading-6 text-slate-900 dark:text-gray-300 hover:text-slate-700 dark:hover:text-white'+ className='leading-6 text-slate-900 hover:text-slate-700 dark:text-gray-300 dark:hover:text-white'target='_blank'rel='noopener noreferrer'aria-label={`${t('footer.status')} (opens in a new tab)`}@@ -270,7 +270,7 @@ const Footer = ({ minimal, authenticated, showDBIPMessage }: IFooter): JSX.Eleme</div>{showDBIPMessage && (<a- className='absolute -bottom-5 leading-6 text-slate-900 dark:text-gray-300 hover:text-slate-700 dark:hover:text-white'+ className='absolute -bottom-5 leading-6 text-slate-900 hover:text-slate-700 dark:text-gray-300 dark:hover:text-white'target='_blank'rel='noopener noreferrer'href='https://db-ip.com'@@ -290,22 +290,22 @@ const Footer = ({ minimal, authenticated, showDBIPMessage }: IFooter): JSX.Eleme<h2 id='footer-heading' className='sr-only'>Footer</h2>- <div className='w-11/12 pt-8 pb-5 px-4 sm:px-6 lg:px-8'>+ <div className='w-11/12 px-4 pb-5 pt-8 sm:px-6 lg:px-8'><div className='xl:grid xl:grid-cols-2 xl:gap-8'><div className='space-y-5 xl:col-span-1'>- <div className='flex gap-5 flex-wrap'>+ <div className='flex flex-wrap gap-5'><img height='28px' width='126.35px' src='/assets/logo_white.png' loading='lazy' alt='Swetrix Analytics' /></div>- <p className='text-gray-300 text-base'>+ <p className='text-base text-gray-300'>{t('footer.slogan')}<br />{t('footer.description')}</p><div>- <p className='flex text-gray-300 text-base'>+ <p className='flex text-base text-gray-300'>{t('footer.madeIn')}<a- className='flex hover:underline hover:opacity-80 text-blue-400 ml-1'+ className='ml-1 flex text-blue-400 hover:underline hover:opacity-80'href={`https://${language}.wikipedia.org/wiki/Ukraine`}target='_blank'rel='noopener noreferrer'@@ -316,10 +316,10 @@ const Footer = ({ minimal, authenticated, showDBIPMessage }: IFooter): JSX.Eleme{t('footer.ukraine')}</a></p>- <p className='flex text-gray-300 text-base'>+ <p className='flex text-base text-gray-300'>{t('footer.hostedIn')}<a- className='flex hover:underline hover:opacity-80 text-blue-400 ml-1'+ className='ml-1 flex text-blue-400 hover:underline hover:opacity-80'href={`https://${language}.wikipedia.org/wiki/European_Union`}target='_blank'rel='noopener noreferrer'@@ -347,14 +347,14 @@ const Footer = ({ minimal, authenticated, showDBIPMessage }: IFooter): JSX.Eleme</a>))}</div>- <p className='text-base pt-10 text-gray-300'>+ <p className='pt-10 text-base text-gray-300'>© {year} {t('footer.copy')}</p></div><div className='mt-12 xl:mt-0'>- <div className='grid grid-cols-2 md:grid-cols-3 gap-8'>+ <div className='grid grid-cols-2 gap-8 md:grid-cols-3'><div>- <h3 className='text-sm font-semibold text-white tracking-wider uppercase'>{t('footer.features')}</h3>+ <h3 className='text-sm font-semibold uppercase tracking-wider text-white'>{t('footer.features')}</h3><ul className='mt-4 space-y-4'>{_map(navigation.features, (data) => {const { value, key, href, internal } = data@@ -384,7 +384,7 @@ const Footer = ({ minimal, authenticated, showDBIPMessage }: IFooter): JSX.Eleme</ul></div><div>- <h3 className='text-sm font-semibold text-white tracking-wider uppercase'>{t('footer.company')}</h3>+ <h3 className='text-sm font-semibold uppercase tracking-wider text-white'>{t('footer.company')}</h3><ul className='mt-4 space-y-4'>{_map(navigation.company, ({ key, href, internal }) => (<li key={key}>@@ -408,7 +408,7 @@ const Footer = ({ minimal, authenticated, showDBIPMessage }: IFooter): JSX.Eleme</ul></div><div className='mt-12 md:mt-0'>- <h3 className='text-sm font-semibold text-white tracking-wider uppercase'>{t('footer.legal')}</h3>+ <h3 className='text-sm font-semibold uppercase tracking-wider text-white'>{t('footer.legal')}</h3><ul className='mt-4 space-y-4'>{_map(navigation.legal, (func) => {const { key, href, internal } = func(authenticated)diff --git a/app/components/GithubAuth.tsx b/app/components/GithubAuth.tsxindex 6ff7ad434..c540ff08a 100644--- a/app/components/GithubAuth.tsx+++ b/app/components/GithubAuth.tsx@@ -44,13 +44,13 @@ const GithubAuth: React.FC<IGoogleAuth> = ({title={t('auth.common.continueWithGithub')}className={cx(className,- 'ring-1 ring-slate-300 bg-transparent hover:bg-slate-100 dark:ring-slate-700 dark:hover:bg-slate-800/60',+ 'bg-transparent ring-1 ring-slate-300 hover:bg-slate-100 dark:ring-slate-700 dark:hover:bg-slate-800/60',)}onClick={googleLogin}secondaryregular>- {theme === 'dark' ? <GithubLightSVG className='w-5 h-5' /> : <GithubDarkSVG className='w-5 h-5' />}+ {theme === 'dark' ? <GithubLightSVG className='h-5 w-5' /> : <GithubDarkSVG className='h-5 w-5' />}</Button>)}@@ -59,14 +59,14 @@ const GithubAuth: React.FC<IGoogleAuth> = ({<ButtonclassName={cx(className,- 'flex items-center justify-center border-indigo-100 dark:text-gray-50 dark:border-slate-700/50 dark:bg-slate-800 dark:hover:bg-slate-700',+ 'flex items-center justify-center border-indigo-100 dark:border-slate-700/50 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700',)}onClick={googleLogin}secondaryregular><>- {theme === 'dark' ? <GithubLightSVG className='w-5 h-5 mr-2' /> : <GithubDarkSVG className='w-5 h-5 mr-2' />}+ {theme === 'dark' ? <GithubLightSVG className='mr-2 h-5 w-5' /> : <GithubDarkSVG className='mr-2 h-5 w-5' />}{t('auth.common.github')}</></Button>diff --git a/app/components/GoogleAuth.tsx b/app/components/GoogleAuth.tsxindex 0a28ae906..c40b3a0df 100644--- a/app/components/GoogleAuth.tsx+++ b/app/components/GoogleAuth.tsx@@ -37,13 +37,13 @@ const GoogleAuth: React.FC<IGoogleAuth> = ({title={t('auth.common.continueWithGoogle')}className={cx(className,- 'ring-1 ring-slate-300 bg-transparent hover:bg-slate-100 dark:ring-slate-700 dark:hover:bg-slate-800/60',+ 'bg-transparent ring-1 ring-slate-300 hover:bg-slate-100 dark:ring-slate-700 dark:hover:bg-slate-800/60',)}onClick={googleLogin}secondaryregular>- <GoogleGSVG className='w-5 h-5' />+ <GoogleGSVG className='h-5 w-5' /></Button>)}@@ -52,14 +52,14 @@ const GoogleAuth: React.FC<IGoogleAuth> = ({<ButtonclassName={cx(className,- 'flex items-center justify-center border-indigo-100 dark:text-gray-50 dark:border-slate-700/50 dark:bg-slate-800 dark:hover:bg-slate-700',+ 'flex items-center justify-center border-indigo-100 dark:border-slate-700/50 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700',)}onClick={googleLogin}secondaryregular><>- <GoogleGSVG className='w-5 h-5 mr-2' />+ <GoogleGSVG className='mr-2 h-5 w-5' />{t('auth.common.google')}</></Button>diff --git a/app/components/Header/index.tsx b/app/components/Header/index.tsxindex bf9c4fbc5..4cbbbe930 100644--- a/app/components/Header/index.tsx+++ b/app/components/Header/index.tsx@@ -95,7 +95,7 @@ const SolutionsMenu = () => {return (<Popover className='relative'>- <Popover.Button className='inline-flex items-center gap-x-1 font-semibold leading-6 text-base text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'>+ <Popover.Button className='inline-flex items-center gap-x-1 text-base font-semibold leading-6 text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'><span>{t('header.solutions.title')}</span><ChevronDownIcon className='h-3 w-3 stroke-2' aria-hidden='true' /></Popover.Button>@@ -110,14 +110,14 @@ const SolutionsMenu = () => {leaveTo='opacity-0 translate-y-1'><Popover.Panel className='absolute z-30 mt-5 flex w-screen max-w-max'>- <div className='rounded-lg border backdrop-blur-2xl flex flex-col w-[650px] p-[6px] bg-gray-100/80 border-gray-300/80 dark:bg-slate-800/80 dark:border-slate-900/80 divide-y divide-gray-300/80 dark:divide-slate-900/60'>- <div className='grid grid-cols-2 p-4 w-full gap-1'>+ <div className='flex w-[650px] flex-col divide-y divide-gray-300/80 rounded-lg border border-gray-300/80 bg-gray-100/80 p-[6px] backdrop-blur-2xl dark:divide-slate-900/60 dark:border-slate-900/80 dark:bg-slate-800/80'>+ <div className='grid w-full grid-cols-2 gap-1 p-4'>{_map(solutions, (item) => (<divkey={item.name}className='group relative flex gap-x-2 rounded-lg p-2 hover:bg-gray-300/50 dark:hover:bg-slate-700/80'>- <item.icon className='h-5 w-5 text-gray-600 dark:text-gray-300 mt-1' aria-hidden='true' />+ <item.icon className='mt-1 h-5 w-5 text-gray-600 dark:text-gray-300' aria-hidden='true' /><div>{_startsWith(item.link, '/') ? (<Link to={item.link} className='text-sm font-semibold text-gray-900 dark:text-gray-50'>@@ -136,7 +136,7 @@ const SolutionsMenu = () => {</a>)}- <p className='text-xs mt-1 text-gray-600 dark:text-neutral-100'>{item.description}</p>+ <p className='mt-1 text-xs text-gray-600 dark:text-neutral-100'>{item.description}</p></div></div>))}@@ -148,7 +148,7 @@ const SolutionsMenu = () => {<Linkkey={item.name}to={item.link}- className='flex items-center justify-center gap-x-2 rounded-lg p-3 text-gray-800 dark:text-gray-100 hover:bg-gray-300/50 dark:hover:bg-slate-700/80'+ className='flex items-center justify-center gap-x-2 rounded-lg p-3 text-gray-800 hover:bg-gray-300/50 dark:text-gray-100 dark:hover:bg-slate-700/80'><item.icon className='h-5 w-5 flex-none text-gray-400 dark:text-gray-300' aria-hidden='true' />{item.name}@@ -162,7 +162,7 @@ const SolutionsMenu = () => {href={item.link}target='_blank'rel='noopener noreferrer'- className='flex items-center justify-center gap-x-2 rounded-lg p-3 text-gray-800 dark:text-gray-100 hover:bg-gray-300/50 dark:hover:bg-slate-700/80'+ className='flex items-center justify-center gap-x-2 rounded-lg p-3 text-gray-800 hover:bg-gray-300/50 dark:text-gray-100 dark:hover:bg-slate-700/80'><item.icon className='h-5 w-5 flex-none text-gray-400 dark:text-gray-300' aria-hidden='true' />{item.name}@@ -188,12 +188,12 @@ const ThemeMenu = ({}) => (<Menu as='div' className='relative ml-3'><div>- <Menu.Button className='flex justify-center items-center font-semibold leading-6 text-base text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'>+ <Menu.Button className='flex items-center justify-center text-base font-semibold leading-6 text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'><span className='sr-only'>{t('header.switchTheme')}</span>{theme === 'dark' ? (- <SunIcon className='h-6 w-6 text-gray-200 hover:text-gray-300 cursor-pointer' aria-hidden='true' />+ <SunIcon className='h-6 w-6 cursor-pointer text-gray-200 hover:text-gray-300' aria-hidden='true' />) : (- <MoonIcon className='h-6 w-6 text-slate-700 hover:text-slate-600 cursor-pointer' aria-hidden='true' />+ <MoonIcon className='h-6 w-6 cursor-pointer text-slate-700 hover:text-slate-600' aria-hidden='true' />)}</Menu.Button></div>@@ -206,19 +206,19 @@ const ThemeMenu = ({leaveFrom='transform opacity-100 scale-100'leaveTo='transform opacity-0 scale-95'>- <Menu.Items className='absolute right-0 z-30 mt-2 w-36 min-w-max origin-top-right rounded-md bg-white dark:bg-slate-900 py-1 shadow-lg ring-1 ring-slate-200 dark:ring-slate-800 focus:outline-none'>+ <Menu.Items className='absolute right-0 z-30 mt-2 w-36 min-w-max origin-top-right rounded-md bg-white py-1 shadow-lg ring-1 ring-slate-200 focus:outline-none dark:bg-slate-900 dark:ring-slate-800'><Menu.Item>{({ active }) => (<divclassName={cx(- 'flex w-full font-semibold cursor-pointer px-4 py-2 text-sm text-indigo-600 dark:text-gray-50 hover:bg-gray-100 hover:dark:bg-slate-800',+ 'flex w-full cursor-pointer px-4 py-2 text-sm font-semibold text-indigo-600 hover:bg-gray-100 dark:text-gray-50 hover:dark:bg-slate-800',{'bg-gray-100 dark:bg-slate-800': active,},)}onClick={() => switchTheme('light')}>- <SunIcon className='h-5 w-5 mr-2 text-indigo-600 dark:text-gray-200' aria-hidden='true' />+ <SunIcon className='mr-2 h-5 w-5 text-indigo-600 dark:text-gray-200' aria-hidden='true' />{t('header.light')}</div>)}@@ -227,14 +227,14 @@ const ThemeMenu = ({{({ active }) => (<divclassName={cx(- 'flex w-full font-semibold cursor-pointer px-4 py-2 text-sm text-gray-700 dark:text-indigo-400 hover:bg-gray-100 hover:dark:bg-slate-800',+ 'flex w-full cursor-pointer px-4 py-2 text-sm font-semibold text-gray-700 hover:bg-gray-100 dark:text-indigo-400 hover:dark:bg-slate-800',{'bg-gray-100 dark:bg-slate-800': active,},)}onClick={() => switchTheme('dark')}>- <MoonIcon className='h-5 w-5 mr-2 text-gray-200 dark:text-indigo-400' aria-hidden='true' />+ <MoonIcon className='mr-2 h-5 w-5 text-gray-200 dark:text-indigo-400' aria-hidden='true' />{t('header.dark')}</div>)}@@ -259,9 +259,9 @@ const ProfileMenu = ({}) => (<Menu as='div' className='relative ml-3'><div>- <Menu.Button className='flex justify-center items-center font-semibold leading-6 text-base text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'>+ <Menu.Button className='flex items-center justify-center text-base font-semibold leading-6 text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'><span>{t('common.account')}</span>- <ChevronDownIcon className='h-4 w-4 ml-1 stroke-2' aria-hidden='true' />+ <ChevronDownIcon className='ml-1 h-4 w-4 stroke-2' aria-hidden='true' /></Menu.Button></div><Transition@@ -273,10 +273,10 @@ const ProfileMenu = ({leaveFrom='transform opacity-100 scale-100'leaveTo='transform opacity-0 scale-95'>- <Menu.Items className='absolute right-0 z-30 mt-2 w-60 min-w-max origin-top-right rounded-md bg-white dark:bg-slate-900 py-1 shadow-lg ring-1 ring-slate-200 dark:ring-slate-800 focus:outline-none'>- <div className='border-gray-200 dark:border-slate-700/50 border-b-[1px]'>+ <Menu.Items className='absolute right-0 z-30 mt-2 w-60 min-w-max origin-top-right rounded-md bg-white py-1 shadow-lg ring-1 ring-slate-200 focus:outline-none dark:bg-slate-900 dark:ring-slate-800'>+ <div className='border-b-[1px] border-gray-200 dark:border-slate-700/50'><Menu.Item>- <p className='truncate py-2 px-4' role='none'>+ <p className='truncate px-4 py-2' role='none'><span className='block text-xs text-gray-500 dark:text-gray-300' role='none'>{t('header.signedInAs')}</span>@@ -287,16 +287,16 @@ const ProfileMenu = ({</Menu.Item></div>- <div className='border-gray-200 dark:border-slate-700/50 border-b-[1px]'>+ <div className='border-b-[1px] border-gray-200 dark:border-slate-700/50'>{/* Language selector */}<Menu as='div'>{({ open }) => (<><div>- <Menu.Button className='flex justify-between w-full px-4 py-2 text-sm text-gray-700 dark:text-gray-50 hover:bg-gray-100 hover:dark:bg-slate-800'>+ <Menu.Button className='flex w-full justify-between px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:text-gray-50 hover:dark:bg-slate-800'><div className='flex'><Flag- className='rounded-sm mr-1.5'+ className='mr-1.5 rounded-sm'country={languageFlag[language]}size={20}alt=''@@ -322,13 +322,13 @@ const ProfileMenu = ({leaveTo='transform opacity-0 scale-95'><Menu.Items- className='z-50 py-1 origin-top-right absolute right-0 mt-1 w-full min-w-max rounded-md shadow-lg bg-white dark:bg-slate-800 ring-1 ring-slate-200 dark:ring-slate-800 focus:outline-none'+ className='absolute right-0 z-50 mt-1 w-full min-w-max origin-top-right rounded-md bg-white py-1 shadow-lg ring-1 ring-slate-200 focus:outline-none dark:bg-slate-800 dark:ring-slate-800'static>{_map(whitelist, (lng) => (<Menu.Item key={lng}><span- className='text-gray-700 dark:text-gray-50 dark:bg-slate-800 block px-4 py-2 text-sm cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-600'+ className='block cursor-pointer px-4 py-2 text-sm text-gray-700 hover:bg-gray-200 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-gray-600'role='menuitem'tabIndex={0}onClick={() => onLanguageChange(lng)}@@ -336,7 +336,7 @@ const ProfileMenu = ({<div className='flex'><div className='pt-1'><Flag- className='rounded-sm mr-1.5'+ className='mr-1.5 rounded-sm'country={languageFlag[lng]}size={20}alt={languageFlag[lng]}@@ -453,11 +453,11 @@ const AuthedHeader = ({return (<headerclassName={cx('relative overflow-x-clip', {- 'bg-gray-50 dark:bg-slate-900 border-b border-gray-200 dark:border-slate-600/40': colourBackground,+ 'border-b border-gray-200 bg-gray-50 dark:border-slate-600/40 dark:bg-slate-900': colourBackground,})}><nav className='mx-auto px-4 sm:px-6 lg:px-8' aria-label='Top'>- <div className='w-full py-4 flex items-center justify-between'>+ <div className='flex w-full items-center justify-between py-4'><div className='flex items-center'>{/* Logo */}<Link to={routes.main}>@@ -471,11 +471,11 @@ const AuthedHeader = ({/></Link>- <div className='hidden ml-10 space-x-1 lg:flex gap-4'>+ <div className='ml-10 hidden gap-4 space-x-1 lg:flex'>{user?.planCode === 'trial' && (<Linkto={routes.billing}- className={cx('font-semibold leading-6 text-base', {+ className={cx('text-base font-semibold leading-6', {'text-amber-600 hover:text-amber-500': rawStatus === TRIAL_STATUS_MAPPING.ENDS_IN_X_DAYS,'text-rose-600 hover:text-rose-500':rawStatus === TRIAL_STATUS_MAPPING.ENDS_TODAY ||@@ -490,7 +490,7 @@ const AuthedHeader = ({{user?.planCode === 'none' && (<Linkto={routes.billing}- className='font-semibold leading-6 text-base text-rose-600 hover:text-rose-500'+ className='text-base font-semibold leading-6 text-rose-600 hover:text-rose-500'key='NoSubscription'>{t('billing.inactive')}@@ -502,21 +502,21 @@ const AuthedHeader = ({href={`https://swetrix.com${routes.blog}`}target='_blank'rel='noopener noreferrer'- className='font-semibold leading-6 text-base text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'+ className='text-base font-semibold leading-6 text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'>{t('footer.blog')}</a>) : (<Linkto={routes.blog}- className='font-semibold leading-6 text-base text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'+ className='text-base font-semibold leading-6 text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'>{t('footer.blog')}</Link>)}<ahref={DOCS_URL}- className='font-semibold leading-6 text-base text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'+ className='text-base font-semibold leading-6 text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'target='_blank'rel='noreferrer noopener'>@@ -524,13 +524,13 @@ const AuthedHeader = ({</a><Linkto={routes.dashboard}- className='font-semibold leading-6 text-base text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'+ className='text-base font-semibold leading-6 text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'>{t('common.dashboard')}</Link></div></div>- <div className='hidden lg:flex justify-center items-center flex-wrap ml-1 lg:ml-10 space-y-1 sm:space-y-0 space-x-2 lg:space-x-4'>+ <div className='ml-1 hidden flex-wrap items-center justify-center space-x-2 space-y-1 sm:space-y-0 lg:ml-10 lg:flex lg:space-x-4'><ThemeMenu theme={theme} switchTheme={switchTheme} t={t} /><ProfileMenuuser={user}@@ -540,20 +540,20 @@ const AuthedHeader = ({t={t}/></div>- <div className='lg:hidden flex justify-center items-center space-x-3'>+ <div className='flex items-center justify-center space-x-3 lg:hidden'>{/* Theme switch */}{theme === 'dark' ? (- <div className='transition-all duration-1000 ease-in-out rotate-180'>+ <div className='rotate-180 transition-all duration-1000 ease-in-out'><SunIcononClick={() => switchTheme()}- className='h-8 w-8 text-gray-200 hover:text-gray-300 cursor-pointer'+ className='h-8 w-8 cursor-pointer text-gray-200 hover:text-gray-300'/></div>) : (<div className='transition-all duration-1000 ease-in-out'><MoonIcononClick={() => switchTheme()}- className='h-8 w-8 text-slate-700 hover:text-slate-600 cursor-pointer'+ className='h-8 w-8 cursor-pointer text-slate-700 hover:text-slate-600'/></div>)}@@ -595,11 +595,11 @@ const NotAuthedHeader = ({return (<headerclassName={cx('relative overflow-x-clip', {- 'bg-gray-50 dark:bg-slate-900 border-b border-gray-200 dark:border-slate-600/40': colourBackground,+ 'border-b border-gray-200 bg-gray-50 dark:border-slate-600/40 dark:bg-slate-900': colourBackground,})}><nav className='mx-auto px-4 sm:px-6 lg:px-8' aria-label='Top'>- <div className='w-full py-4 flex items-center justify-between'>+ <div className='flex w-full items-center justify-between py-4'><div className='flex items-center'>{/* Logo */}{refPage ? (@@ -627,21 +627,21 @@ const NotAuthedHeader = ({)}{!refPage && (- <div className='hidden ml-10 space-x-1 lg:flex gap-4 items-center'>+ <div className='ml-10 hidden items-center gap-4 space-x-1 lg:flex'>{!isSelfhosted && <SolutionsMenu />}{isSelfhosted ? (<ahref={`https://swetrix.com${routes.blog}`}target='_blank'rel='noopener noreferrer'- className='font-semibold leading-6 text-base text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'+ className='text-base font-semibold leading-6 text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'>{t('footer.blog')}</a>) : (<Linkto={routes.blog}- className='font-semibold leading-6 text-base text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'+ className='text-base font-semibold leading-6 text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'>{t('footer.blog')}</Link>@@ -649,7 +649,7 @@ const NotAuthedHeader = ({{!isSelfhosted && (<Linkto={`${routes.main}#pricing`}- className='font-semibold leading-6 text-base text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'+ className='text-base font-semibold leading-6 text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'key='Pricing'>{t('common.pricing')}@@ -657,7 +657,7 @@ const NotAuthedHeader = ({)}<ahref={DOCS_URL}- className='font-semibold leading-6 text-base text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'+ className='text-base font-semibold leading-6 text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'target='_blank'rel='noreferrer noopener'>@@ -667,7 +667,7 @@ const NotAuthedHeader = ({</div>)}</div>- <div className='hidden lg:flex justify-center items-center flex-wrap ml-1 lg:ml-10 space-y-1 sm:space-y-0 space-x-2 lg:space-x-4'>+ <div className='ml-1 hidden flex-wrap items-center justify-center space-x-2 space-y-1 sm:space-y-0 lg:ml-10 lg:flex lg:space-x-4'>{/* Language selector */}<Dropdownitems={whitelist}@@ -676,7 +676,7 @@ const NotAuthedHeader = ({title={<><Flag- className='rounded-sm mr-1.5'+ className='mr-1.5 rounded-sm'country={languageFlag[language]}size={18}alt=''@@ -688,7 +688,7 @@ const NotAuthedHeader = ({labelExtractor={(lng: string) => (<div className='flex'><div className='pt-1'>- <Flag className='rounded-sm mr-1.5' country={languageFlag[lng]} size={21} alt={languageFlag[lng]} />+ <Flag className='mr-1.5 rounded-sm' country={languageFlag[lng]} size={21} alt={languageFlag[lng]} /></div>{languages[lng]}</div>@@ -702,28 +702,28 @@ const NotAuthedHeader = ({<span className='text-slate-700'>|</span><Linkto={routes.signin}- className='flex items-center font-semibold leading-6 text-base text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'+ className='flex items-center text-base font-semibold leading-6 text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'>{t('auth.common.signin')}- <ArrowSmallRightIcon className='ml-1 stroke-2 h-4 w-4 mt-[1px]' />+ <ArrowSmallRightIcon className='ml-1 mt-[1px] h-4 w-4 stroke-2' /></Link></>)}</div>- <div className='lg:hidden flex justify-center items-center space-x-3'>+ <div className='flex items-center justify-center space-x-3 lg:hidden'>{/* Theme switch */}{theme === 'dark' ? (- <div className='transition-all duration-1000 ease-in-out rotate-180'>+ <div className='rotate-180 transition-all duration-1000 ease-in-out'><SunIcononClick={() => switchTheme()}- className='h-8 w-8 text-gray-200 hover:text-gray-300 cursor-pointer'+ className='h-8 w-8 cursor-pointer text-gray-200 hover:text-gray-300'/></div>) : (<div className='transition-all duration-1000 ease-in-out'><MoonIcononClick={() => switchTheme()}- className='h-8 w-8 text-slate-700 hover:text-slate-600 cursor-pointer'+ className='h-8 w-8 cursor-pointer text-slate-700 hover:text-slate-600'/></div>)}@@ -845,7 +845,7 @@ const Header: React.FC<IHeader> = ({ ssrTheme, authenticated, refPage, transpare{/* Mobile header popup */}<Dialog className='lg:hidden' open={mobileMenuOpen} onClose={setMobileMenuOpen}><div className='fixed inset-0 z-10' />- <Dialog.Panel className='fixed top-0 inset-y-0 right-0 z-30 w-full overflow-y-auto p-4 sm:max-w-sm sm:border backdrop-blur-2xl bg-gray-100/80 border-gray-300/80 dark:bg-slate-800/80 dark:border-slate-900/80'>+ <Dialog.Panel className='fixed inset-y-0 right-0 top-0 z-30 w-full overflow-y-auto border-gray-300/80 bg-gray-100/80 p-4 backdrop-blur-2xl dark:border-slate-900/80 dark:bg-slate-800/80 sm:max-w-sm sm:border'><div className='flex items-center justify-between'><div><span className='sr-only'>Swetrix</span>@@ -857,20 +857,20 @@ const Header: React.FC<IHeader> = ({ ssrTheme, authenticated, refPage, transparealt=''/></div>- <div className='flex justify-center items-center space-x-3'>+ <div className='flex items-center justify-center space-x-3'>{/* Theme switch */}{theme === 'dark' ? (- <div className='transition-all duration-1000 ease-in-out rotate-180'>+ <div className='rotate-180 transition-all duration-1000 ease-in-out'><SunIcononClick={() => switchTheme()}- className='h-8 w-8 text-gray-200 hover:text-gray-300 cursor-pointer'+ className='h-8 w-8 cursor-pointer text-gray-200 hover:text-gray-300'/></div>) : (<div className='transition-all duration-1000 ease-in-out'><MoonIcononClick={() => switchTheme()}- className='h-8 w-8 text-slate-700 hover:text-slate-600 cursor-pointer'+ className='h-8 w-8 cursor-pointer text-slate-700 hover:text-slate-600'/></div>)}@@ -891,10 +891,10 @@ const Header: React.FC<IHeader> = ({ ssrTheme, authenticated, refPage, transpare<Menu as='div' className='-mx-3'>{({ open }) => (<>- <Menu.Button className='flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold leading-7 text-gray-900 dark:text-gray-50 hover:bg-gray-300/50 dark:hover:bg-slate-700/80'>+ <Menu.Button className='flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-300/50 dark:text-gray-50 dark:hover:bg-slate-700/80'><div className='flex'><Flag- className='rounded-sm mr-1.5'+ className='mr-1.5 rounded-sm'country={languageFlag[language]}size={20}alt=''@@ -919,13 +919,13 @@ const Header: React.FC<IHeader> = ({ ssrTheme, authenticated, refPage, transpareleaveTo='transform opacity-0 scale-95'><Menu.Items- className='z-50 py-1 origin-top-right absolute right-0 mt-1 w-full min-w-max rounded-md shadow-lg bg-white dark:bg-slate-800 ring-1 ring-slate-200 dark:ring-slate-800 focus:outline-none'+ className='absolute right-0 z-50 mt-1 w-full min-w-max origin-top-right rounded-md bg-white py-1 shadow-lg ring-1 ring-slate-200 focus:outline-none dark:bg-slate-800 dark:ring-slate-800'static>{_map(whitelist, (lng) => (<Menu.Item key={lng}><span- className='text-gray-700 dark:text-gray-50 dark:bg-slate-800 block px-4 py-2 text-sm cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-600'+ className='block cursor-pointer px-4 py-2 text-sm text-gray-700 hover:bg-gray-200 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-gray-600'role='menuitem'tabIndex={0}onClick={() => onLanguageChange(lng)}@@ -933,7 +933,7 @@ const Header: React.FC<IHeader> = ({ ssrTheme, authenticated, refPage, transpare<div className='flex'><div className='pt-1'><Flag- className='rounded-sm mr-1.5'+ className='mr-1.5 rounded-sm'country={languageFlag[lng]}size={20}alt={languageFlag[lng]}@@ -953,7 +953,7 @@ const Header: React.FC<IHeader> = ({ ssrTheme, authenticated, refPage, transpare<Disclosure as='div' className='-mx-3'>{({ open }) => (<>- <Disclosure.Button className='flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold leading-7 text-gray-900 dark:text-gray-50 hover:bg-gray-300/50 dark:hover:bg-slate-700/80'>+ <Disclosure.Button className='flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-300/50 dark:text-gray-50 dark:hover:bg-slate-700/80'>{t('header.solutions.title')}<ChevronDownIconclassName={cx(open ? 'rotate-180' : '', 'h-5 w-5 flex-none')}@@ -967,7 +967,7 @@ const Header: React.FC<IHeader> = ({ ssrTheme, authenticated, refPage, transpareas='div'className='group relative flex gap-x-2 rounded-lg p-2 hover:bg-gray-300/50 dark:hover:bg-slate-700/80'>- <item.icon className='h-5 w-5 text-gray-600 dark:text-gray-300 mt-1' aria-hidden='true' />+ <item.icon className='mt-1 h-5 w-5 text-gray-600 dark:text-gray-300' aria-hidden='true' /><div>{_startsWith(item.link, '/') ? (<Link@@ -991,7 +991,7 @@ const Header: React.FC<IHeader> = ({ ssrTheme, authenticated, refPage, transpare</a>)}- <p className='text-xs mt-1 text-gray-600 dark:text-neutral-100'>{item.description}</p>+ <p className='mt-1 text-xs text-gray-600 dark:text-neutral-100'>{item.description}</p></div></Disclosure.Button>))}@@ -1033,7 +1033,7 @@ const Header: React.FC<IHeader> = ({ ssrTheme, authenticated, refPage, transpare<Linkto={routes.billing}onClick={() => setMobileMenuOpen(false)}- className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 dark:text-gray-50 hover:bg-gray-300/50 dark:hover:bg-slate-700/80'+ className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-300/50 dark:text-gray-50 dark:hover:bg-slate-700/80'key='Billing'>{t('common.billing')}@@ -1043,7 +1043,7 @@ const Header: React.FC<IHeader> = ({ ssrTheme, authenticated, refPage, transpare<Linkto={`${routes.main}#pricing`}onClick={() => setMobileMenuOpen(false)}- className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 dark:text-gray-50 hover:bg-gray-300/50 dark:hover:bg-slate-700/80'+ className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-300/50 dark:text-gray-50 dark:hover:bg-slate-700/80'key='Pricing'>{t('common.pricing')}@@ -1055,7 +1055,7 @@ const Header: React.FC<IHeader> = ({ ssrTheme, authenticated, refPage, transparehref={`https://swetrix.com${routes.blog}`}target='_blank'rel='noopener noreferrer'- className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 dark:text-gray-50 hover:bg-gray-300/50 dark:hover:bg-slate-700/80'+ className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-300/50 dark:text-gray-50 dark:hover:bg-slate-700/80'>{t('footer.blog')}</a>@@ -1063,7 +1063,7 @@ const Header: React.FC<IHeader> = ({ ssrTheme, authenticated, refPage, transpare<Linkto={routes.blog}onClick={() => setMobileMenuOpen(false)}- className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 dark:text-gray-50 hover:bg-gray-300/50 dark:hover:bg-slate-700/80'+ className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-300/50 dark:text-gray-50 dark:hover:bg-slate-700/80'>{t('footer.blog')}</Link>@@ -1071,7 +1071,7 @@ const Header: React.FC<IHeader> = ({ ssrTheme, authenticated, refPage, transpare<ahref={DOCS_URL}onClick={() => setMobileMenuOpen(false)}- className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 dark:text-gray-50 hover:bg-gray-300/50 dark:hover:bg-slate-700/80'+ className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-300/50 dark:text-gray-50 dark:hover:bg-slate-700/80'target='_blank'rel='noreferrer noopener'>@@ -1081,24 +1081,24 @@ const Header: React.FC<IHeader> = ({ ssrTheme, authenticated, refPage, transpare<Linkto={routes.dashboard}onClick={() => setMobileMenuOpen(false)}- className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 dark:text-gray-50 hover:bg-gray-300/50 dark:hover:bg-slate-700/80'+ className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-300/50 dark:text-gray-50 dark:hover:bg-slate-700/80'>{t('common.dashboard')}</Link>)}</div>- <div className='py-6 space-y-2'>+ <div className='space-y-2 py-6'>{authenticated ? (<><Linkto={routes.user_settings}onClick={() => setMobileMenuOpen(false)}- className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 dark:text-gray-50 hover:bg-gray-300/50 dark:hover:bg-slate-700/80'+ className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-300/50 dark:text-gray-50 dark:hover:bg-slate-700/80'>{t('common.accountSettings')}</Link><span- className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 dark:text-gray-50 hover:bg-gray-300/50 dark:hover:bg-slate-700/80'+ className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-300/50 dark:text-gray-50 dark:hover:bg-slate-700/80'onClick={logoutHandler}>{t('common.logout')}@@ -1109,14 +1109,14 @@ const Header: React.FC<IHeader> = ({ ssrTheme, authenticated, refPage, transpare<Linkto={routes.signin}onClick={() => setMobileMenuOpen(false)}- className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 dark:text-gray-50 hover:bg-gray-300/50 dark:hover:bg-slate-700/80'+ className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-300/50 dark:text-gray-50 dark:hover:bg-slate-700/80'>{t('auth.common.signin')}</Link><Linkto={routes.signup}onClick={() => setMobileMenuOpen(false)}- className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 dark:text-gray-50 hover:bg-gray-300/50 dark:hover:bg-slate-700/80'+ className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-300/50 dark:text-gray-50 dark:hover:bg-slate-700/80'aria-label={t('titles.signup')}>{t('common.getStarted')}diff --git a/app/modals/NewFunnel.tsx b/app/modals/NewFunnel.tsxindex b674509a1..39fbd2de7 100644--- a/app/modals/NewFunnel.tsx+++ b/app/modals/NewFunnel.tsx@@ -121,9 +121,9 @@ const NewFunnel = ({/><p className='mt-5 text-sm font-medium text-gray-700 dark:text-gray-200'>{t('modals.funnels.steps')}</p>{_map(steps, (step, index) => (- <div key={index} className='flex items-center space-x-2 mt-1'>+ <div key={index} className='mt-1 flex items-center space-x-2'><Combobox- className='w-full !ml-0'+ className='!ml-0 w-full'buttonClassName={cx({'h-9': !step,})}@@ -142,7 +142,7 @@ const NewFunnel = ({<TrashIconrole='button'aria-label='Remove step'- className='h-5 w-5 text-gray-400 dark:text-gray-200 hover:text-gray-500 dark:hover:text-gray-300 cursor-pointer'+ className='h-5 w-5 cursor-pointer text-gray-400 hover:text-gray-500 dark:text-gray-200 dark:hover:text-gray-300'onClick={() => {const newSteps = [...steps]newSteps.splice(index, 1)diff --git a/app/modals/ViewProjectHotkeys.tsx b/app/modals/ViewProjectHotkeys.tsxindex a0db2cd55..cc8299451 100644--- a/app/modals/ViewProjectHotkeys.tsx+++ b/app/modals/ViewProjectHotkeys.tsx@@ -54,17 +54,17 @@ const HotkeysList = ({ title, hotkeys }: IHotkeysList) => (<table className='min-w-full divide-y divide-gray-300 dark:divide-gray-700'><thead><tr>- <th className='text-left font-semibold text-base text-gray-900 dark:text-gray-50 pb-2'>{title}</th>+ <th className='pb-2 text-left text-base font-semibold text-gray-900 dark:text-gray-50'>{title}</th><th /></tr></thead><tbody className='divide-y divide-gray-200 dark:divide-gray-800'>{_map(hotkeys, (action, label) => (<tr key={label}>- <td className='text-left whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-900 dark:text-gray-50 sm:pl-0'>+ <td className='whitespace-nowrap py-2 pl-4 pr-3 text-left text-sm text-gray-900 dark:text-gray-50 sm:pl-0'>{label}</td>- <td className='text-left whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-900 dark:text-gray-50 sm:pl-0'>+ <td className='whitespace-nowrap py-2 pl-4 pr-3 text-left text-sm text-gray-900 dark:text-gray-50 sm:pl-0'><Badge colour='slate' label={action} /></td></tr>@@ -83,7 +83,7 @@ const ViewProjectHotkeys = ({ onClose, isOpened }: IViewProjectHotkeys): JSX.EleonClose={onClose}closeText={t('common.close')}message={- <div className='mt-3 gap-5 columns-1 md:columns-2'>+ <div className='mt-3 columns-1 gap-5 md:columns-2'>{_map(hotkeys, (_hotkeys, title) => (<HotkeysList title={title} hotkeys={_hotkeys} key={title} />))}diff --git a/app/pages/About/index.tsx b/app/pages/About/index.tsxindex 97d8168a4..d33a5a0ab 100644--- a/app/pages/About/index.tsx+++ b/app/pages/About/index.tsx@@ -9,7 +9,7 @@ const socialIcons: {} = {LinkedIn: (<img- className='h-6 w-6 opacity-75 hover:opacity-90 bg-white rounded'+ className='h-6 w-6 rounded bg-white opacity-75 hover:opacity-90'aria-hidden='true'src='/assets/linkedin.svg'alt='LinkedIn'@@ -50,12 +50,12 @@ const Teammate = ({}desc: string}): JSX.Element => (- <div className='flex flex-col lg:flex-row mt-6'>- <img alt={name} src={photo} className='rounded-xl shadow-lg w-80' />+ <div className='mt-6 flex flex-col lg:flex-row'>+ <img alt={name} src={photo} className='w-80 rounded-xl shadow-lg' /><div className='ml-0 lg:ml-2'>- <p className='text-3xl mt-2 lg:mt-0 font-bold text-gray-900 dark:text-gray-50 tracking-tight'>{name}</p>- <p className='text-xl text-gray-900 dark:text-gray-50 tracking-tight'>{role}</p>- <div className='flex space-x-4 mt-2'>+ <p className='mt-2 text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-50 lg:mt-0'>{name}</p>+ <p className='text-xl tracking-tight text-gray-900 dark:text-gray-50'>{role}</p>+ <div className='mt-2 flex space-x-4'>{_map(socials, (value, key) => (<akey={value}@@ -71,7 +71,7 @@ const Teammate = ({</a>))}</div>- <p className='mt-2 lg:mt-5 text-lg whitespace-pre-line text-gray-900 dark:text-gray-50 tracking-tight'>{desc}</p>+ <p className='mt-2 whitespace-pre-line text-lg tracking-tight text-gray-900 dark:text-gray-50 lg:mt-5'>{desc}</p></div></div>)@@ -139,9 +139,9 @@ const team: {const About = (): JSX.Element => (<div><div className='min-h-min-footer bg-gray-50 dark:bg-slate-900'>- <div className='max-w-prose md:max-w-none md:w-8/12 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8 whitespace-pre-line'>- <h1 className='text-4xl font-bold text-gray-900 dark:text-gray-50 tracking-tight'>About us</h1>- <p className='mt-2 text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <div className='mx-auto max-w-prose whitespace-pre-line px-4 pb-16 pt-12 sm:px-6 md:w-8/12 md:max-w-none lg:px-8'>+ <h1 className='text-4xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>About us</h1>+ <p className='mt-2 text-lg tracking-tight text-gray-900 dark:text-gray-50'>Swetrix was launched in August 2021 as a project that focuses on user privacy and transparency, while at thesame time offering the same functionality as competitors like Google Analytics.<br />@@ -161,14 +161,14 @@ const About = (): JSX.Element => (simplicity and transparency.</p>- <h2 className='text-3xl mt-4 font-bold text-gray-900 dark:text-gray-50 tracking-tight'>Meet our team</h2>+ <h2 className='mt-4 text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Meet our team</h2>{_map(team, (el) => (<Teammate key={el.name} {...el} />))}<hr className='mt-10 border-gray-200 dark:border-gray-600' />- <p className='mt-2 text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='mt-2 text-lg tracking-tight text-gray-900 dark:text-gray-50'>If you have read this far, why not <ahref={`mailto:${CONTACT_EMAIL}`}diff --git a/app/pages/Auth/CheckYourInbox/CheckYourInbox.tsx b/app/pages/Auth/CheckYourInbox/CheckYourInbox.tsxindex ac790a686..976fb1a46 100644--- a/app/pages/Auth/CheckYourInbox/CheckYourInbox.tsx+++ b/app/pages/Auth/CheckYourInbox/CheckYourInbox.tsx@@ -42,13 +42,13 @@ const CheckYourInbox = (): JSX.Element => {}return (- <div className='min-h-min-footer bg-gray-50 dark:bg-slate-900 px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='min-h-min-footer bg-gray-50 px-4 py-16 dark:bg-slate-900 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>+ <div className='mx-auto max-w-max'><main className='sm:flex'>- <EnvelopeIcon className='-ml-1.5 mb-2 sm:m-0 h-12 sm:h-24 w-auto text-indigo-500 dark:text-indigo-600' />+ <EnvelopeIcon className='-ml-1.5 mb-2 h-12 w-auto text-indigo-500 dark:text-indigo-600 sm:m-0 sm:h-24' /><div className='sm:ml-6'><div className='sm:border-l sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{t('auth.confirm.title')}</h1><p className='mt-1 max-w-prose whitespace-pre-line text-base text-gray-700 dark:text-gray-300'>@@ -65,7 +65,7 @@ const CheckYourInbox = (): JSX.Element => {url: (<spanrole='button'- className='cursor-pointer font-medium text-indigo-600 dark:text-indigo-400 hover:underline'+ className='cursor-pointer font-medium text-indigo-600 hover:underline dark:text-indigo-400'onClick={() => {dispatch(authActions.logout())_dispatch(sagaActions.logout(false, false))diff --git a/app/pages/Auth/CreateNewPassword/CreateNewPassword.tsx b/app/pages/Auth/CreateNewPassword/CreateNewPassword.tsxindex a0d7deb68..6a0720fa4 100644--- a/app/pages/Auth/CreateNewPassword/CreateNewPassword.tsx+++ b/app/pages/Auth/CreateNewPassword/CreateNewPassword.tsx@@ -105,14 +105,14 @@ const CreateNewPassword = ({return (<div>- <div className='min-h-min-footer bg-gray-50 dark:bg-slate-900 flex flex-col py-6 px-4 sm:px-6 lg:px-8'>+ <div className='flex min-h-min-footer flex-col bg-gray-50 px-4 py-6 dark:bg-slate-900 sm:px-6 lg:px-8'><div className='sm:mx-auto sm:w-full sm:max-w-md'><h2 className='text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-50'>{t('auth.recovery.title')}</h2></div><div className='mt-10 sm:mx-auto sm:w-full sm:max-w-[480px]'>- <div className='bg-white dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800 px-6 py-12 shadow sm:rounded-lg sm:px-12'>+ <div className='bg-white px-6 py-12 shadow dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800 sm:rounded-lg sm:px-12'><form className='space-y-6' onSubmit={handleSubmit}><Inputname='password'@@ -138,7 +138,7 @@ const CreateNewPassword = ({</Button></form></div>- <p className='mt-10 mb-4 text-center text-sm text-gray-500 dark:text-gray-200'>+ <p className='mb-4 mt-10 text-center text-sm text-gray-500 dark:text-gray-200'><Trans// @ts-ignoret={t}diff --git a/app/pages/Auth/ForgotPassword/ForgotPassword.tsx b/app/pages/Auth/ForgotPassword/ForgotPassword.tsxindex 8bd228014..b44f8beca 100644--- a/app/pages/Auth/ForgotPassword/ForgotPassword.tsx+++ b/app/pages/Auth/ForgotPassword/ForgotPassword.tsx@@ -90,14 +90,14 @@ const ForgotPassword = ({return (<div>- <div className='min-h-min-footer bg-gray-50 dark:bg-slate-900 flex flex-col py-6 px-4 sm:px-6 lg:px-8'>+ <div className='flex min-h-min-footer flex-col bg-gray-50 px-4 py-6 dark:bg-slate-900 sm:px-6 lg:px-8'><div className='sm:mx-auto sm:w-full sm:max-w-md'><h2 className='text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-50'>{t('titles.recovery')}</h2></div><div className='mt-10 sm:mx-auto sm:w-full sm:max-w-[480px]'>- <div className='bg-white dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800 px-6 py-12 shadow sm:rounded-lg sm:px-12'>+ <div className='bg-white px-6 py-12 shadow dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800 sm:rounded-lg sm:px-12'><form className='space-y-6' onSubmit={handleSubmit}><Inputname='email'@@ -113,7 +113,7 @@ const ForgotPassword = ({</Button></form></div>- <p className='mt-10 mb-4 text-center text-sm text-gray-500 dark:text-gray-200'>+ <p className='mb-4 mt-10 text-center text-sm text-gray-500 dark:text-gray-200'><Trans// @ts-ignoret={t}diff --git a/app/pages/Auth/Signin/Signin.tsx b/app/pages/Auth/Signin/Signin.tsxindex 55971d87b..0ae0ab22c 100644--- a/app/pages/Auth/Signin/Signin.tsx+++ b/app/pages/Auth/Signin/Signin.tsx@@ -153,10 +153,10 @@ const Signin = ({ login, loginSuccess, loginFailed, authSSO, ssrTheme }: ISigninif (isTwoFARequired) {return (- <div className='min-h-page bg-gray-50 dark:bg-slate-900 flex flex-col py-6 px-4 sm:px-6 lg:px-8'>- <form className='max-w-prose mx-auto' onSubmit={_submit2FA}>+ <div className='flex min-h-page flex-col bg-gray-50 px-4 py-6 dark:bg-slate-900 sm:px-6 lg:px-8'>+ <form className='mx-auto max-w-prose' onSubmit={_submit2FA}><h2 className='mt-2 text-3xl font-bold text-gray-900 dark:text-gray-50'>{t('auth.signin.2fa')}</h2>- <p className='mt-4 text-base whitespace-pre-line text-gray-900 dark:text-gray-50'>+ <p className='mt-4 whitespace-pre-line text-base text-gray-900 dark:text-gray-50'>{t('auth.signin.2faDesc')}</p><Input@@ -169,7 +169,7 @@ const Signin = ({ login, loginSuccess, loginFailed, authSSO, ssrTheme }: ISignindisabled={isLoading}error={twoFACodeError}/>- <div className='flex justify-between mt-3'>+ <div className='mt-3 flex justify-between'><div className='whitespace-pre-line text-sm text-gray-600 dark:text-gray-400'>{!isSelfhosted && (<Trans@@ -195,14 +195,14 @@ const Signin = ({ login, loginSuccess, loginFailed, authSSO, ssrTheme }: ISignin}return (- <div className='min-h-min-footer bg-gray-50 dark:bg-slate-900 flex flex-col py-6 px-4 sm:px-6 lg:px-8'>+ <div className='flex min-h-min-footer flex-col bg-gray-50 px-4 py-6 dark:bg-slate-900 sm:px-6 lg:px-8'><div className='sm:mx-auto sm:w-full sm:max-w-md'><h2 className='text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-50'>{t('auth.signin.title')}</h2></div><div className='mt-10 sm:mx-auto sm:w-full sm:max-w-[480px]'>- <div className='bg-white dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800 px-6 py-12 shadow sm:rounded-lg sm:px-12'>+ <div className='bg-white px-6 py-12 shadow dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800 sm:rounded-lg sm:px-12'><form className='space-y-6' onSubmit={handleSubmit}><Inputname='email'@@ -257,7 +257,7 @@ const Signin = ({ login, loginSuccess, loginFailed, authSSO, ssrTheme }: ISignin<div className='w-full border-t border-gray-200 dark:border-gray-600' /></div><div className='relative flex justify-center text-sm font-medium leading-6'>- <span className='bg-white dark:bg-slate-800/20 px-6 text-gray-900 dark:text-gray-50'>+ <span className='bg-white px-6 text-gray-900 dark:bg-slate-800/20 dark:text-gray-50'>{t('auth.common.orContinueWith')}</span></div>@@ -282,7 +282,7 @@ const Signin = ({ login, loginSuccess, loginFailed, authSSO, ssrTheme }: ISignin</div>{!isSelfhosted && (- <p className='mt-10 mb-4 text-center text-sm text-gray-500 dark:text-gray-200'>+ <p className='mb-4 mt-10 text-center text-sm text-gray-500 dark:text-gray-200'><Trans// @ts-ignoret={t}diff --git a/app/pages/Auth/Signup/BasicSignup.tsx b/app/pages/Auth/Signup/BasicSignup.tsxindex 5aa39defe..607e17220 100644--- a/app/pages/Auth/Signup/BasicSignup.tsx+++ b/app/pages/Auth/Signup/BasicSignup.tsx@@ -160,7 +160,7 @@ const BasicSignup: React.FC<IBasicSignup> = ({ ssrTheme }): JSX.Element => {onChange={handleInput}error={beenSubmitted && errors.repeat}/>- <div className='flex mt-4'>+ <div className='mt-4 flex'><Checkboxchecked={form.checkIfLeaked}onChange={handleInput}@@ -180,7 +180,7 @@ const BasicSignup: React.FC<IBasicSignup> = ({ ssrTheme }): JSX.Element => {db: (<ahref={HAVE_I_BEEN_PWNED_URL}- className='font-medium text-indigo-400 hover:underline hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500'+ 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'/>@@ -193,24 +193,24 @@ const BasicSignup: React.FC<IBasicSignup> = ({ ssrTheme }): JSX.Element => {}/></div>- <Button className='w-full flex justify-center' type='submit' loading={isLoading} primary giant>+ <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 xs:mt-2 sm:mt-5 border-gray-200 dark:border-slate-700' />- <p className='text-sm mt-2 mb-2 text-center text-gray-500 dark:text-gray-100'>+ <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='w-full flex justify-center'+ className='flex w-full justify-center'setIsLoading={setIsLoading}authSSO={authSSO}isMiniButton/><GithubAuth- className='w-full flex justify-center'+ className='flex w-full justify-center'setIsLoading={setIsLoading}authSSO={authSSO}ssrTheme={ssrTheme}diff --git a/app/pages/Auth/Signup/Signup.tsx b/app/pages/Auth/Signup/Signup.tsxindex 9f6312e01..a249e5bf4 100644--- a/app/pages/Auth/Signup/Signup.tsx+++ b/app/pages/Auth/Signup/Signup.tsx@@ -154,8 +154,8 @@ const Signup = ({ signup, authSSO, ssrTheme, authenticated: reduxAuthenticated,return (<div>- <div className='min-h-min-footer bg-gray-50 dark:bg-slate-900 flex flex-col py-6 px-4 sm:px-6 lg:px-8'>- <div className='flex min-h-full flex-1 flex-col justify-center py-6 sm:px-6 lg:px-8'>+ <div className='flex min-h-min-footer flex-col bg-gray-50 px-4 py-6 dark:bg-slate-900 sm:px-6 lg:px-8'>+ <div className='min-h-full flex flex-1 flex-col justify-center py-6 sm:px-6 lg:px-8'><div className='sm:mx-auto sm:w-full sm:max-w-md'><h2 className='text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-50'>{t('auth.signup.trial', {@@ -165,7 +165,7 @@ const Signup = ({ signup, authSSO, ssrTheme, authenticated: reduxAuthenticated,<p className='text-center text-base text-gray-900 dark:text-gray-50'>{t('auth.signup.noCC')}</p></div><div className='mt-10 sm:mx-auto sm:w-full sm:max-w-[480px]'>- <div className='bg-white dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800 px-6 py-12 shadow sm:rounded-lg sm:px-12'>+ <div className='bg-white px-6 py-12 shadow dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800 sm:rounded-lg sm:px-12'><form className='space-y-6' onSubmit={handleSubmit}><Inputname='email'@@ -211,7 +211,7 @@ const Signup = ({ signup, authSSO, ssrTheme, authenticated: reduxAuthenticated,tos: (<Linkto={routes.terms}- className='font-medium text-gray-900 dark:text-gray-300 underline decoration-dashed hover:decoration-solid'+ className='font-medium text-gray-900 underline decoration-dashed hover:decoration-solid dark:text-gray-300'aria-label={t('footer.tos')}/>),@@ -219,7 +219,7 @@ const Signup = ({ signup, authSSO, ssrTheme, authenticated: reduxAuthenticated,pp: (<Linkto={routes.privacy}- className='font-medium text-gray-900 dark:text-gray-300 underline decoration-dashed hover:decoration-solid'+ className='font-medium text-gray-900 underline decoration-dashed hover:decoration-solid dark:text-gray-300'aria-label={t('footer.pp')}/>),@@ -250,7 +250,7 @@ const Signup = ({ signup, authSSO, ssrTheme, authenticated: reduxAuthenticated,db: (<ahref={HAVE_I_BEEN_PWNED_URL}- className='font-medium text-indigo-400 hover:underline hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500'+ 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'/>@@ -274,7 +274,7 @@ const Signup = ({ signup, authSSO, ssrTheme, authenticated: reduxAuthenticated,<div className='w-full border-t border-gray-200 dark:border-gray-600' /></div><div className='relative flex justify-center text-sm font-medium leading-6'>- <span className='bg-white dark:bg-slate-800/20 px-6 text-gray-900 dark:text-gray-50'>+ <span className='bg-white px-6 text-gray-900 dark:bg-slate-800/20 dark:text-gray-50'>{t('auth.common.orContinueWith')}</span></div>diff --git a/app/pages/Auth/Socialised/index.tsx b/app/pages/Auth/Socialised/index.tsxindex f56eb7458..12184340e 100644--- a/app/pages/Auth/Socialised/index.tsx+++ b/app/pages/Auth/Socialised/index.tsx@@ -70,13 +70,13 @@ const Socialised = (): JSX.Element => {if (isError) {return (- <div className='bg-gray-50 dark:bg-slate-900 min-h-page px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='min-h-page bg-gray-50 px-4 py-16 dark:bg-slate-900 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>+ <div className='mx-auto max-w-max'><main className='sm:flex'><XCircleIcon className='h-12 w-12 text-red-400' aria-hidden='true' /><div className='sm:ml-6'>- <div className='sm:border-l max-w-prose sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <div className='max-w-prose sm:border-l sm:border-gray-200 sm:pl-6'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{t('auth.socialisation.failed')}</h1><p className='mt-1 max-w-prose whitespace-pre-line text-base text-gray-700 dark:text-gray-300'>@@ -86,7 +86,7 @@ const Socialised = (): JSX.Element => {<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'><Linkto={routes.contact}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-indigo-700 bg-indigo-100 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:text-gray-50 dark:bg-slate-800 dark:hover:bg-slate-700 dark:focus:ring-gray-50'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'>{t('notFoundPage.support')}</Link>@@ -99,13 +99,13 @@ const Socialised = (): JSX.Element => {}return (- <div className='bg-gray-50 dark:bg-slate-900 min-h-page px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='min-h-page bg-gray-50 px-4 py-16 dark:bg-slate-900 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>+ <div className='mx-auto max-w-max'><main className='sm:flex'><CheckCircleIcon className='h-12 w-12 text-green-500 dark:text-green-400' aria-hidden='true' /><div className='sm:ml-6'>- <div className='sm:border-l max-w-prose sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <div className='max-w-prose sm:border-l sm:border-gray-200 sm:pl-6'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{t('auth.socialisation.authSuccess')}</h1><p className='mt-1 max-w-prose whitespace-pre-line text-base text-gray-700 dark:text-gray-300'>diff --git a/app/pages/Auth/VerifyEmail/index.tsx b/app/pages/Auth/VerifyEmail/index.tsxindex af0c8a038..e51b6f88d 100644--- a/app/pages/Auth/VerifyEmail/index.tsx+++ b/app/pages/Auth/VerifyEmail/index.tsx@@ -59,26 +59,26 @@ const VerifyEmail = (): JSX.Element => {if (error) {return (- <div className='bg-gray-50 dark:bg-slate-900 min-h-page px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='min-h-page bg-gray-50 px-4 py-16 dark:bg-slate-900 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>+ <div className='mx-auto max-w-max'><main className='sm:flex'><XCircleIcon className='h-12 w-12 text-red-400' aria-hidden='true' /><div className='sm:ml-6'>- <div className='sm:border-l max-w-prose sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <div className='max-w-prose sm:border-l sm:border-gray-200 sm:pl-6'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{error}</h1></div><div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'><Linkto={routes.dashboard}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'>{t('common.dashboard')}</Link><Linkto={routes.contact}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-indigo-700 bg-indigo-100 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:text-gray-50 dark:bg-slate-800 dark:hover:bg-slate-700 dark:focus:ring-gray-50'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'>{t('notFoundPage.support')}</Link>@@ -91,20 +91,20 @@ const VerifyEmail = (): JSX.Element => {}return (- <div className='bg-gray-50 dark:bg-slate-900 min-h-page px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='min-h-page bg-gray-50 px-4 py-16 dark:bg-slate-900 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>+ <div className='mx-auto max-w-max'><main className='sm:flex'><CheckCircleIcon className='h-12 w-12 text-green-500 dark:text-green-400' aria-hidden='true' /><div className='sm:ml-6'>- <div className='sm:border-l max-w-prose sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <div className='max-w-prose sm:border-l sm:border-gray-200 sm:pl-6'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{t('auth.verification.success')}</h1></div><div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'><Linkto={routes.dashboard}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'>{t('common.dashboard')}</Link>diff --git a/app/pages/Billing/index.tsx b/app/pages/Billing/index.tsxindex bcd7cfcce..2bd388ecf 100644--- a/app/pages/Billing/index.tsx+++ b/app/pages/Billing/index.tsx@@ -198,23 +198,23 @@ const Billing: React.FC<IBilling> = ({ ssrAuthenticated, ssrTheme }): JSX.Elemen}return (- <div className='bg-gray-50 dark:bg-slate-900 min-h-page'>+ <div className='min-h-page bg-gray-50 dark:bg-slate-900'><DashboardLockedBanner />- <div className='w-11/12 md:w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8 whitespace-pre-line'>- <div className='flex justify-between flex-wrap gap-y-2 mb-4'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight mr-2'>+ <div className='mx-auto w-11/12 whitespace-pre-line px-4 pb-16 pt-12 sm:px-6 md:w-4/5 lg:px-8'>+ <div className='mb-4 flex flex-wrap justify-between gap-y-2'>+ <h1 className='mr-2 text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50'>{t('billing.title')}</h1></div>- <h2 id='billing' className='text-2xl font-medium text-gray-900 dark:text-gray-50 tracking-tight mb-2'>+ <h2 id='billing' className='mb-2 text-2xl font-medium tracking-tight text-gray-900 dark:text-gray-50'>{t('billing.subscription')}</h2>- <p className='mt-1 text-base text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='mt-1 text-base tracking-tight text-gray-900 dark:text-gray-50'>{isSubscriber ? t('billing.selectPlan') : t('billing.changePlan')}</p>- <p className='text-base text-gray-900 dark:text-gray-50 tracking-tight'>{t('billing.membersNotification')}</p>+ <p className='text-base tracking-tight text-gray-900 dark:text-gray-50'>{t('billing.membersNotification')}</p>{isSubscriber && nextBillDate && (- <p className='mt-1 text-base text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='mt-1 text-base tracking-tight text-gray-900 dark:text-gray-50'>{t('billing.nextBillDateIs', {date:language === 'en'@@ -224,9 +224,9 @@ const Billing: React.FC<IBilling> = ({ ssrAuthenticated, ssrTheme }): JSX.Elemen</p>)}{cancellationEffectiveDate && (- <div className='flex items-center text-lg text-gray-900 dark:text-gray-50 tracking-tight mt-3'>- <InformationCircleIcon className='h-10 w-10 mr-2 text-blue-600' aria-hidden='true' />- <span className='font-medium max-w-prose'>+ <div className='mt-3 flex items-center text-lg tracking-tight text-gray-900 dark:text-gray-50'>+ <InformationCircleIcon className='mr-2 h-10 w-10 text-blue-600' aria-hidden='true' />+ <span className='max-w-prose font-medium'>{t('billing.cancelledSubMessage', {date:language === 'en'@@ -237,21 +237,21 @@ const Billing: React.FC<IBilling> = ({ ssrAuthenticated, ssrTheme }): JSX.Elemen</div>)}{isTrial && trialMessage && (- <div className='text-lg text-gray-900 dark:text-gray-50 tracking-tight mt-3'>+ <div className='mt-3 text-lg tracking-tight text-gray-900 dark:text-gray-50'><span className='font-medium'>{trialMessage}</span></div>)}{isNoSub && (- <div className='flex items-center text-lg text-gray-900 dark:text-gray-50 tracking-tight mt-3'>- <ExclamationTriangleIcon className='h-10 w-10 mr-2 text-red-600' aria-hidden='true' />- <span className='font-medium max-w-prose'>{t('billing.noSubWarning')}</span>+ <div className='mt-3 flex items-center text-lg tracking-tight text-gray-900 dark:text-gray-50'>+ <ExclamationTriangleIcon className='mr-2 h-10 w-10 text-red-600' aria-hidden='true' />+ <span className='max-w-prose font-medium'>{t('billing.noSubWarning')}</span></div>)}{loading ? (<Loader />) : (<>- <div className='flex xl:space-x-5 mt-5 flex-col xl:flex-row'>+ <div className='mt-5 flex flex-col xl:flex-row xl:space-x-5'><Pricing authenticated={authenticated} t={t} language={language} isBillingPage /><div className='space-y-2'>{subUpdateURL && (@@ -266,14 +266,14 @@ const Billing: React.FC<IBilling> = ({ ssrAuthenticated, ssrTheme }): JSX.Elemen)}</div></div>- <h2 id='usage' className='mt-5 text-2xl font-medium text-gray-900 dark:text-gray-50 tracking-tight'>+ <h2 id='usage' className='mt-5 text-2xl font-medium tracking-tight text-gray-900 dark:text-gray-50'>{t('billing.planUsage')}</h2>- <p className='mt-1 text-base text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='mt-1 text-base tracking-tight text-gray-900 dark:text-gray-50'>{t('billing.planUsageDesc')}</p>- <div className='mt-2 text-lg text-gray-900 dark:text-gray-50 tracking-tight'>- <p className='text-base font-medium text-gray-900 dark:text-gray-50 tracking-tight mb-1'>+ <div className='mt-2 text-lg tracking-tight text-gray-900 dark:text-gray-50'>+ <p className='mb-1 text-base font-medium tracking-tight text-gray-900 dark:text-gray-50'>{t('billing.xofy', {x: usageinfo.total || 0,y: maxEventsCount || 0,@@ -290,7 +290,7 @@ const Billing: React.FC<IBilling> = ({ ssrAuthenticated, ssrTheme }): JSX.ElemenmaxEvents: maxEventsCount || 0,})}</p>- <ul className='list-disc list-inside mt-2'>+ <ul className='mt-2 list-inside list-disc'><li className='marker:text-blue-600 dark:marker:text-blue-800'>{t('billing.pageviews', {quantity: usageinfo.traffic || 0,@@ -321,7 +321,7 @@ const Billing: React.FC<IBilling> = ({ ssrAuthenticated, ssrTheme }): JSX.ElementooltipNode={<MultiProgresstheme={theme}- className='max-w-[25rem] w-[85vw]'+ className='w-[85vw] max-w-[25rem]'progress={[{value: usageinfo.traffic === 0 ? 0 : (usageinfo.traffic / maxEventsCount) * 100,@@ -341,9 +341,9 @@ const Billing: React.FC<IBilling> = ({ ssrAuthenticated, ssrTheme }): JSX.Elemen]}/>}- className='max-w-max !w-max !h-auto'+ className='!h-auto !w-max max-w-max'/>- <p className='mt-1 text-base text-gray-900 dark:text-gray-50 tracking-tight'>{t('billing.resetDate')}</p>+ <p className='mt-1 text-base tracking-tight text-gray-900 dark:text-gray-50'>{t('billing.resetDate')}</p></div></>)}diff --git a/app/pages/Blog/Post.tsx b/app/pages/Blog/Post.tsxindex 16202d904..50b38710d 100644--- a/app/pages/Blog/Post.tsx+++ b/app/pages/Blog/Post.tsx@@ -21,18 +21,18 @@ export default function PostSlug() {}return (- <div className='bg-gray-50 dark:bg-slate-900 text-gray-700 dark:text-gray-300'>- <div className=' max-w-[52rem] mx-auto px-4 pb-28 sm:px-6 md:px-8 xl:px-12 lg:max-w-6xl'>+ <div className='bg-gray-50 text-gray-700 dark:bg-slate-900 dark:text-gray-300'>+ <div className=' mx-auto max-w-[52rem] px-4 pb-28 sm:px-6 md:px-8 lg:max-w-6xl xl:px-12'><div className='overflow-hidden'><div className='max-w-8xl mx-auto'>- <div className='flex px-4 pt-8 pb-10 lg:px-8'>+ <div className='flex px-4 pb-10 pt-8 lg:px-8'><Linkto='/blog'- className='group flex font-semibold text-sm leading-6 text-slate-700 hover:text-slate-900 dark:text-slate-200 dark:hover:text-white'+ className='group flex text-sm font-semibold leading-6 text-slate-700 hover:text-slate-900 dark:text-slate-200 dark:hover:text-white'><svgviewBox='0 -9 3 24'- className='overflow-visible mr-3 text-slate-400 w-auto h-6 group-hover:text-slate-600 dark:group-hover:text-slate-300'+ className='mr-3 h-6 w-auto overflow-visible text-slate-400 group-hover:text-slate-600 dark:group-hover:text-slate-300'><pathd='M3 0L0 3L3 6'@@ -48,7 +48,7 @@ export default function PostSlug() {</div></div><div className='px-4 sm:px-6 md:px-8'>- <div className='max-w-3xl mx-auto pb-28'>+ <div className='mx-auto max-w-3xl pb-28'><main className='bg-gray-50 dark:bg-slate-900'><article className='relative pt-10'><h1 className='text-2xl font-extrabold tracking-tight text-slate-900 dark:text-slate-200 md:text-3xl '>@@ -57,14 +57,14 @@ export default function PostSlug() {<div className='text-sm leading-6'><dl><dt className='sr-only'>Date</dt>- <dd className='absolute top-0 inset-x-0 text-slate-700 dark:text-slate-400'>+ <dd className='absolute inset-x-0 top-0 text-slate-700 dark:text-slate-400'><time dateTime={post.date}>{post.date}</time></dd></dl></div><div className='mt-6'>- <ul className='flex flex-wrap text-sm leading-6 -mt-6 -mx-5'>- <li className='flex items-center font-medium whitespace-nowrap px-5 mt-6'>+ <ul className='-mx-5 -mt-6 flex flex-wrap text-sm leading-6'>+ <li className='mt-6 flex items-center whitespace-nowrap px-5 font-medium'><div className='text-sm leading-4'>{post?.author && <div className='text-slate-900 dark:text-slate-200'>{post.author}</div>}{post?.nickname && (@@ -81,7 +81,7 @@ export default function PostSlug() {</li></ul></div>- <div className='mt-6 single_post'>+ <div className='single_post mt-6'><div dangerouslySetInnerHTML={{ __html: post.html }} /></div></article>diff --git a/app/pages/Captcha/Settings/CaptchaSettings.tsx b/app/pages/Captcha/Settings/CaptchaSettings.tsxindex 436f660be..54b5d943b 100644--- a/app/pages/Captcha/Settings/CaptchaSettings.tsx+++ b/app/pages/Captcha/Settings/CaptchaSettings.tsx@@ -368,7 +368,7 @@ const CaptchaSettings = ({if (loading) {return (- <div className='min-h-min-footer bg-gray-50 dark:bg-slate-900 flex flex-col py-6 px-4 sm:px-6 lg:px-8'>+ <div className='flex min-h-min-footer flex-col bg-gray-50 px-4 py-6 dark:bg-slate-900 sm:px-6 lg:px-8'><Loader /></div>)@@ -376,11 +376,11 @@ const CaptchaSettings = ({return (<div- className={cx('min-h-min-footer bg-gray-50 dark:bg-slate-900 flex flex-col py-6 px-4 sm:px-6 lg:px-8', {+ className={cx('flex min-h-min-footer flex-col bg-gray-50 px-4 py-6 dark:bg-slate-900 sm:px-6 lg:px-8', {'pb-40': isSettings,})}>- <form className='max-w-7xl w-full mx-auto' onSubmit={handleSubmit}>+ <form className='mx-auto w-full max-w-7xl' onSubmit={handleSubmit}><h2 className='mt-2 text-3xl font-bold text-gray-900 dark:text-gray-50'>{title}</h2><h3 className='mt-2 text-lg font-bold text-gray-900 dark:text-gray-50'>{t('profileSettings.general')}</h3><div className='mt-6'>@@ -392,9 +392,9 @@ const CaptchaSettings = ({key={tabCaptcha.name}type='button'onClick={() => setTab(tabCaptcha.name)}- className={cx('whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-md', {+ className={cx('text-md whitespace-nowrap border-b-2 px-1 pb-4 font-medium', {'border-indigo-500 text-indigo-600 dark:text-indigo-500': tab === tabCaptcha.name,- 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 dark:text-gray-400 dark:hover:text-gray-300 dark:hover:border-gray-300':+ 'border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 dark:text-gray-400 dark:hover:border-gray-300 dark:hover:text-gray-300':tab !== tabCaptcha.name,})}>@@ -466,7 +466,7 @@ const CaptchaSettings = ({isBeta/><hr className='mt-5 border-gray-200 dark:border-gray-600' />- <h3 className='flex items-center mt-2 text-lg font-bold text-gray-900 dark:text-gray-50'>+ <h3 className='mt-2 flex items-center text-lg font-bold text-gray-900 dark:text-gray-50'>{t('profileSettings.captchaSecretKey')}</h3>{captchaSecretKey ? (@@ -477,8 +477,8 @@ const CaptchaSettings = ({<p className='mt-4 max-w-prose text-base text-gray-900 dark:text-gray-50'>{t('profileSettings.captchaSecretKey')}</p>- <div className='grid grid-cols-1 gap-y-6 gap-x-4 lg:grid-cols-2'>- <div className='relative group'>+ <div className='grid grid-cols-1 gap-x-4 gap-y-6 lg:grid-cols-2'>+ <div className='group relative'><Inputname='sercretKey'id='sercretKey'@@ -497,9 +497,9 @@ const CaptchaSettings = ({noBorder><>- <ClipboardDocumentIcon className='w-6 h-6' />+ <ClipboardDocumentIcon className='h-6 w-6' />{copied && (- <div className='animate-appear bg-white dark:bg-slate-800 cursor-auto rounded p-1 absolute sm:top-0 top-0.5 right-8 text-xs text-green-600'>+ <div className='absolute right-8 top-0.5 animate-appear cursor-auto rounded bg-white p-1 text-xs text-green-600 dark:bg-slate-800 sm:top-0'>{t('common.copied')}</div>)}@@ -541,10 +541,10 @@ const CaptchaSettings = ({label={t('project.settings.public')}hint={t('project.settings.publicHint')}/>- <div className='flex flex-wrap justify-center gap-2 sm:justify-between mt-8'>+ <div className='mt-8 flex flex-wrap justify-center gap-2 sm:justify-between'><div className='flex flex-wrap items-center justify-center gap-2'><Button- className='border-indigo-100 dark:text-gray-50 dark:border-slate-700/50 dark:bg-slate-800 dark:hover:bg-slate-700'+ className='border-indigo-100 dark:border-slate-700/50 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'onClick={onCancel}secondaryregular@@ -563,7 +563,7 @@ const CaptchaSettings = ({semiSmall><>- <TrashIcon className='w-5 h-5 mr-1' />+ <TrashIcon className='mr-1 h-5 w-5' />{t('project.settings.reset')}</></Button>@@ -574,16 +574,16 @@ const CaptchaSettings = ({semiSmall><>- <ExclamationTriangleIcon className='w-5 h-5 mr-1' />+ <ExclamationTriangleIcon className='mr-1 h-5 w-5' />{t('project.settings.delete')}</></Button></div></div>- <hr className='mt-2 sm:mt-5 border-gray-200 dark:border-gray-600' />+ <hr className='mt-2 border-gray-200 dark:border-gray-600 sm:mt-5' /></>) : (- <p className='text-gray-500 dark:text-gray-300 italic mt-1 mb-4 text-sm'>+ <p className='mb-4 mt-1 text-sm italic text-gray-500 dark:text-gray-300'>{t('project.settings.createHint')}</p>)}@@ -591,7 +591,7 @@ const CaptchaSettings = ({{!isSettings && (<div><Button- className='mr-2 border-indigo-100 dark:text-gray-50 dark:border-slate-700/50 dark:bg-slate-800 dark:hover:bg-slate-700'+ className='mr-2 border-indigo-100 dark:border-slate-700/50 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'onClick={onCancel}secondaryregulardiff --git a/app/pages/Captcha/View/Panels.tsx b/app/pages/Captcha/View/Panels.tsxindex 7be58ae65..8bf717d8a 100644--- a/app/pages/Captcha/View/Panels.tsx+++ b/app/pages/Captcha/View/Panels.tsx@@ -70,15 +70,15 @@ const PanelContainer = ({}: IPanelContainer): JSX.Element => (<divclassName={cx(- 'relative bg-white dark:bg-slate-800/25 pt-5 px-4 min-h-72 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden',+ 'relative min-h-72 overflow-hidden rounded-lg bg-white px-4 pt-5 shadow dark:bg-slate-800/25 sm:px-6 sm:pt-6',{'pb-12': !noSwitch,'pb-5': noSwitch,},)}>- <div className='flex items-center justify-between mb-2'>- <h3 className='flex items-center text-lg leading-6 font-semibold text-gray-900 dark:text-gray-50'>+ <div className='mb-2 flex items-center justify-between'>+ <h3 className='flex items-center text-lg font-semibold leading-6 text-gray-900 dark:text-gray-50'>{icon && (<>{icon}@@ -129,7 +129,7 @@ const PanelContainer = ({</div></div>{/* for other tabs */}- <div className='flex flex-col h-full scroll-auto overflow-auto'>{children}</div>+ <div className='flex h-full flex-col overflow-auto scroll-auto'>{children}</div></div>)@@ -163,7 +163,7 @@ const Overview = ({return (<PanelContainer name={t('project.overview')} noSwitch type=''>- <div className='flex text-lg justify-between'>+ <div className='flex justify-between text-lg'><div className='flex items-center dark:text-gray-50'><PulsatingCircle className='mr-1.5' type='big' />{t('dashboard.liveVisitors')}:@@ -182,21 +182,21 @@ const Overview = ({<div className='flex justify-between'><p className='text-lg dark:text-gray-50'>{t('dashboard.pageviews')}:</p>- <p className='h-5 mr-2 text-gray-900 dark:text-gray-50 text-xl'>{pageviews}</p>+ <p className='mr-2 h-5 text-xl text-gray-900 dark:text-gray-50'>{pageviews}</p></div><div className='flex justify-between'><p className='text-lg dark:text-gray-50'>{t('dashboard.unique')}:</p>- <p className='h-5 mr-2 text-gray-900 dark:text-gray-50 text-xl'>{uniques}</p>+ <p className='mr-2 h-5 text-xl text-gray-900 dark:text-gray-50'>{uniques}</p></div><div className='flex justify-between'><p className='text-lg dark:text-gray-50'>{t('dashboard.bounceRate')}:</p>- <p className='h-5 mr-2 text-gray-900 dark:text-gray-50 text-xl'>{bounceRate}%</p>+ <p className='mr-2 h-5 text-xl text-gray-900 dark:text-gray-50'>{bounceRate}%</p></div><div className='flex justify-between'><p className='text-lg dark:text-gray-50'>{t('dashboard.sessionDuration')}:</p>- <p className='h-5 mr-2 text-gray-900 dark:text-gray-50 text-xl'>{sessionDurationAVG}</p>+ <p className='mr-2 h-5 text-xl text-gray-900 dark:text-gray-50'>{sessionDurationAVG}</p></div><hr className='my-2 border-gray-200 dark:border-gray-600' /></>@@ -205,21 +205,21 @@ const Overview = ({<div className='flex justify-between'><p className='text-lg dark:text-gray-50'>{t('dashboard.pageviews')}:</p><dd className='flex items-baseline'>- <p className='h-5 mr-2 text-gray-900 dark:text-gray-50 text-lg'>{overall.thisWeek}</p>+ <p className='mr-2 h-5 text-lg text-gray-900 dark:text-gray-50'>{overall.thisWeek}</p><p- className={cx('flex text-sm -ml-1 items-baseline', {+ className={cx('-ml-1 flex items-baseline text-sm', {'text-green-600': pageviewsDidGrowUp,'text-red-600': !pageviewsDidGrowUp,})}>{pageviewsDidGrowUp ? (<>- <ArrowSmallUpIcon className='self-center flex-shrink-0 h-4 w-4 text-green-500' />+ <ArrowSmallUpIcon className='h-4 w-4 flex-shrink-0 self-center text-green-500' /><span className='sr-only'>{t('dashboard.inc')}</span></>) : (<>- <ArrowSmallDownIcon className='self-center flex-shrink-0 h-4 w-4 text-red-500' />+ <ArrowSmallDownIcon className='h-4 w-4 flex-shrink-0 self-center text-red-500' /><span className='sr-only'>{t('dashboard.dec')}</span></>)}@@ -230,21 +230,21 @@ const Overview = ({<div className='flex justify-between'><p className='text-lg dark:text-gray-50'>{t('dashboard.unique')}:</p><dd className='flex items-baseline'>- <p className='h-5 mr-2 text-gray-900 dark:text-gray-50 text-lg'>{overall.thisWeekUnique}</p>+ <p className='mr-2 h-5 text-lg text-gray-900 dark:text-gray-50'>{overall.thisWeekUnique}</p><p- className={cx('flex text-sm -ml-1 items-baseline', {+ className={cx('-ml-1 flex items-baseline text-sm', {'text-green-600': uniqueDidGrowUp,'text-red-600': !uniqueDidGrowUp,})}>{uniqueDidGrowUp ? (<>- <ArrowSmallUpIcon className='self-center flex-shrink-0 h-4 w-4 text-green-500' />+ <ArrowSmallUpIcon className='h-4 w-4 flex-shrink-0 self-center text-green-500' /><span className='sr-only'>{t('dashboard.inc')}</span></>) : (<>- <ArrowSmallDownIcon className='self-center flex-shrink-0 h-4 w-4 text-red-500' />+ <ArrowSmallDownIcon className='h-4 w-4 flex-shrink-0 self-center text-red-500' /><span className='sr-only'>{t('dashboard.dec')}</span></>)}@@ -368,12 +368,12 @@ const CustomEvents = ({{_map(keys, (ev) => (<trkey={ev}- className='text-gray-900 dark:text-gray-50 group hover:bg-gray-100 hover:dark:bg-slate-800 cursor-pointer'+ className='group cursor-pointer text-gray-900 hover:bg-gray-100 dark:text-gray-50 hover:dark:bg-slate-800'onClick={() => onFilter('ev', ev)}>- <td className='text-left flex items-center'>+ <td className='flex items-center text-left'>{ev}- <FunnelIcon className='ml-2 w-4 h-4 text-gray-500 hidden group-hover:block dark:text-gray-300' />+ <FunnelIcon className='ml-2 hidden h-4 w-4 text-gray-500 group-hover:block dark:text-gray-300' /></td><td className='text-right'>{customs[ev]}@@ -548,14 +548,14 @@ const Panel = ({return (<Fragment key={entryName}><div- className={cx('flex justify-between mt-[0.32rem] first:mt-0 dark:text-gray-50 rounded', {- 'group hover:bg-gray-100 hover:dark:bg-slate-800 cursor-pointer': !hideFilters,+ className={cx('mt-[0.32rem] flex justify-between rounded first:mt-0 dark:text-gray-50', {+ 'group cursor-pointer hover:bg-gray-100 hover:dark:bg-slate-800': !hideFilters,})}onClick={() => _onFilter(id, entryName)}>{linkContent ? (<a- className={cx('flex items-center label hover:underline text-blue-600 dark:text-blue-500', {+ className={cx('label flex items-center text-blue-600 hover:underline dark:text-blue-500', {capitalize,})}href={rowData as string}@@ -565,21 +565,21 @@ const Panel = ({>{rowData}{!hideFilters && (- <FunnelIcon className='ml-2 w-4 h-4 text-gray-500 hidden group-hover:block dark:text-gray-300' />+ <FunnelIcon className='ml-2 hidden h-4 w-4 text-gray-500 group-hover:block dark:text-gray-300' />)}</a>) : (- <span className={cx('flex items-center label', { capitalize })}>+ <span className={cx('label flex items-center', { capitalize })}>{rowData}{!hideFilters && (- <FunnelIcon className='ml-2 w-4 h-4 text-gray-500 hidden group-hover:block dark:text-gray-300' />+ <FunnelIcon className='ml-2 hidden h-4 w-4 text-gray-500 group-hover:block dark:text-gray-300' />)}</span>)}<span className='ml-3 dark:text-gray-50'>{valueData} - <span className='text-gray-500 dark:text-gray-200 font-light'>+ <span className='font-light text-gray-500 dark:text-gray-200'>({perc}%)</span>@@ -592,22 +592,22 @@ const Panel = ({)}{/* for pagination in tabs */}{_size(entries) > ENTRIES_PER_PANEL && (- <div className='absolute bottom-0 w-card-toggle-sm sm:!w-card-toggle'>- <div className='flex justify-between select-none mb-2'>+ <div className='w-card-toggle-sm absolute bottom-0 sm:!w-card-toggle'>+ <div className='mb-2 flex select-none justify-between'><div>- <span className='text-gray-500 dark:text-gray-200 font-light lowercase text-xs'>+ <span className='text-xs font-light lowercase text-gray-500 dark:text-gray-200'>{_size(entries)} {t('project.results')}</span>- <span className='text-gray-500 dark:text-gray-200 font-light text-xs'>+ <span className='text-xs font-light text-gray-500 dark:text-gray-200'>. {t('project.page')} {page + 1} / {totalPages}</span></div>- <div className='flex justify-between w-[4.5rem]'>+ <div className='flex w-[4.5rem] justify-between'><ButtonclassName={cx(- 'text-gray-500 dark:text-gray-200 font-light shadow bg-gray-100 dark:bg-slate-800 border-none px-1.5 py-0.5',+ 'border-none bg-gray-100 px-1.5 py-0.5 font-light text-gray-500 shadow dark:bg-slate-800 dark:text-gray-200',{- 'opacity-50 cursor-not-allowed': !canGoPrev(),+ 'cursor-not-allowed opacity-50': !canGoPrev(),'hover:bg-gray-200 hover:dark:bg-slate-700': canGoPrev(),},)}@@ -616,13 +616,13 @@ const Panel = ({disabled={!canGoPrev()}focus={false}>- <ArrowLongLeftIcon className='w-5 h-5' />+ <ArrowLongLeftIcon className='h-5 w-5' /></Button><ButtonclassName={cx(- 'text-gray-500 dark:text-gray-200 font-light shadow bg-gray-100 dark:bg-slate-800 border-none px-1.5 py-0.5',+ 'border-none bg-gray-100 px-1.5 py-0.5 font-light text-gray-500 shadow dark:bg-slate-800 dark:text-gray-200',{- 'opacity-50 cursor-not-allowed': !canGoNext(),+ 'cursor-not-allowed opacity-50': !canGoNext(),'hover:bg-gray-200 hover:dark:bg-slate-700': canGoNext(),},)}@@ -631,7 +631,7 @@ const Panel = ({type='button'focus={false}>- <ArrowLongRightIcon className='w-5 h-5' />+ <ArrowLongRightIcon className='h-5 w-5' /></Button></div></div>diff --git a/app/pages/Captcha/View/ViewCaptcha.tsx b/app/pages/Captcha/View/ViewCaptcha.tsxindex 33fc191b7..df5560d65 100644--- a/app/pages/Captcha/View/ViewCaptcha.tsx+++ b/app/pages/Captcha/View/ViewCaptcha.tsx@@ -666,29 +666,29 @@ const ViewCaptcha = ({<EventsRunningOutBanner /><div ref={ref} className='bg-gray-50 dark:bg-slate-900'><div- className='max-w-[1584px] w-full mx-auto py-6 px-2 sm:px-4 lg:px-8 min-h-min-footer'+ className='mx-auto min-h-min-footer w-full max-w-[1584px] px-2 py-6 sm:px-4 lg:px-8'ref={dashboardRef}>- <div className='flex flex-col lg:flex-row items-center lg:items-start justify-between mt-2'>- <h2 className='text-xl font-bold text-gray-900 dark:text-gray-50 break-words break-all'>{name}</h2>- <div className='flex mt-3 lg:mt-0 max-w-[420px] flex-wrap items-center sm:max-w-none justify-between w-full sm:w-auto mx-auto sm:mx-0'>+ <div className='mt-2 flex flex-col items-center justify-between lg:flex-row lg:items-start'>+ <h2 className='break-words break-all text-xl font-bold text-gray-900 dark:text-gray-50'>{name}</h2>+ <div className='mx-auto mt-3 flex w-full max-w-[420px] flex-wrap items-center justify-between sm:mx-0 sm:w-auto sm:max-w-none lg:mt-0'><buttontype='button'title={t('project.refreshStats')}onClick={refreshStats}className={cx(- 'mr-3 relative rounded-md p-2 bg-gray-50 text-sm font-medium hover:bg-white hover:shadow-sm dark:bg-slate-900 dark:hover:bg-slate-800 focus:z-10 focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 focus:dark:ring-gray-200 focus:dark:border-gray-200',+ 'relative mr-3 rounded-md bg-gray-50 p-2 text-sm font-medium hover:bg-white hover:shadow-sm focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',{'cursor-not-allowed opacity-50': isLoading || dataLoading,},)}>- <ArrowPathIcon className='w-5 h-5 text-gray-700 dark:text-gray-50' />+ <ArrowPathIcon className='h-5 w-5 text-gray-700 dark:text-gray-50' /></button><Dropdownheader={t('project.exportData')}items={exportTypes}- title={[<ArrowDownTrayIcon key='download-icon' className='w-5 h-5' />]}+ title={[<ArrowDownTrayIcon key='download-icon' className='h-5 w-5' />]}labelExtractor={(item) => item.label}keyExtractor={(item) => item.label}onSelect={(item) => item.onClick(panelsData, t)}@@ -698,7 +698,7 @@ const ViewCaptcha = ({headless/><div- className={cx('border-gray-200 dark:border-gray-600 lg:px-3 sm:mr-3 space-x-2 lg:border-x', {+ className={cx('space-x-2 border-gray-200 dark:border-gray-600 sm:mr-3 lg:border-x lg:px-3', {// TODO: Fix a crash when user selects 'bar' chart and refreshes the page:// Uncaught TypeError: can't access property "create", point5 is undefinedhidden: isPanelsDataEmpty || analyticsLoading || checkIfAllMetricsAreDisabled || true,@@ -709,32 +709,32 @@ const ViewCaptcha = ({title={t('project.barChart')}onClick={() => setChartTypeOnClick(chartTypes.bar)}className={cx(- 'relative fill-gray-700 dark:fill-gray-50 rounded-md p-2 text-sm font-medium focus:z-10 focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 focus:dark:ring-gray-200 focus:dark:border-gray-200',+ 'relative rounded-md fill-gray-700 p-2 text-sm font-medium focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:fill-gray-50 focus:dark:border-gray-200 focus:dark:ring-gray-200',{- 'bg-white dark:bg-slate-800 stroke-white dark:stroke-slate-800 shadow-sm':+ 'bg-white stroke-white shadow-sm dark:bg-slate-800 dark:stroke-slate-800':chartType === chartTypes.bar,'bg-gray-50 stroke-gray-50 dark:bg-slate-900 dark:stroke-slate-900 [&_svg]:hover:fill-gray-500 [&_svg]:hover:dark:fill-gray-200':chartType !== chartTypes.bar,},)}>- <BarChart className='w-5 h-5 [&_path]:stroke-[3.5%]' />+ <BarChart className='h-5 w-5 [&_path]:stroke-[3.5%]' /></button><buttontype='button'title={t('project.lineChart')}onClick={() => setChartTypeOnClick(chartTypes.line)}className={cx(- 'relative fill-gray-700 dark:fill-gray-50 rounded-md p-2 text-sm font-medium focus:z-10 focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 focus:dark:ring-gray-200 focus:dark:border-gray-200',+ 'relative rounded-md fill-gray-700 p-2 text-sm font-medium focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:fill-gray-50 focus:dark:border-gray-200 focus:dark:ring-gray-200',{- 'bg-white dark:bg-slate-800 stroke-white dark:stroke-slate-800 shadow-sm':+ 'bg-white stroke-white shadow-sm dark:bg-slate-800 dark:stroke-slate-800':chartType === chartTypes.line,'bg-gray-50 stroke-gray-50 dark:bg-slate-900 dark:stroke-slate-900 [&_svg]:hover:fill-gray-500 [&_svg]:hover:dark:fill-gray-200':chartType !== chartTypes.line,},)}>- <LineChart className='w-5 h-5 [&_path]:stroke-[3.5%]' />+ <LineChart className='h-5 w-5 [&_path]:stroke-[3.5%]' /></button></div>{!isPanelsDataEmpty && (@@ -788,10 +788,10 @@ const ViewCaptcha = ({<buttontype='button'onClick={openSettingsHandler}- className='flex px-3 text-gray-700 dark:text-gray-50 hover:text-gray-600 dark:hover:text-gray-200 text-sm font-medium'+ className='flex px-3 text-sm font-medium text-gray-700 hover:text-gray-600 dark:text-gray-50 dark:hover:text-gray-200'><>- <Cog8ToothIcon className='w-5 h-5 mr-1' />+ <Cog8ToothIcon className='mr-1 h-5 w-5' />{t('common.settings')}</></button>@@ -821,7 +821,7 @@ const ViewCaptcha = ({tnMapping={tnMapping}/>{dataLoading && (- <div className='!bg-transparent static mt-4' id='loader'>+ <div className='static mt-4 !bg-transparent' id='loader'><div className='loader-head dark:!bg-slate-800'><div className='first dark:!bg-slate-600' /><div className='second dark:!bg-slate-600' />@@ -883,7 +883,7 @@ const ViewCaptcha = ({if (!logoUrl) {return (<>- <GlobeAltIcon className='w-5 h-5' />+ <GlobeAltIcon className='h-5 w-5' /> {entryName}</>@@ -892,7 +892,7 @@ const ViewCaptcha = ({return (<>- <img src={logoUrl} className='w-5 h-5' alt='' />+ <img src={logoUrl} className='h-5 w-5' alt='' /> {entryName}</>@@ -927,7 +927,7 @@ const ViewCaptcha = ({if (!logoPath) {return (<>- <GlobeAltIcon className='w-5 h-5' />+ <GlobeAltIcon className='h-5 w-5' /> {entryName}</>@@ -938,7 +938,7 @@ const ViewCaptcha = ({return (<>- <img src={logoUrl} className='w-5 h-5 dark:fill-gray-50' alt='' />+ <img src={logoUrl} className='h-5 w-5 dark:fill-gray-50' alt='' /> {entryName}</>diff --git a/app/pages/Captcha/View/components/Filters.tsx b/app/pages/Captcha/View/components/Filters.tsxindex aa99de93c..317eedf3c 100644--- a/app/pages/Captcha/View/components/Filters.tsx+++ b/app/pages/Captcha/View/components/Filters.tsx@@ -43,11 +43,11 @@ const Filter = ({displayFilter = _truncate(displayFilter)return (- <span className='inline-flex rounded-md items-center py-0.5 pl-2.5 pr-1 mr-2 mt-2 text-sm font-medium bg-gray-200 text-gray-800 dark:text-gray-50 dark:bg-slate-800'>+ <span className='mr-2 mt-2 inline-flex items-center rounded-md bg-gray-200 py-0.5 pl-2.5 pr-1 text-sm font-medium text-gray-800 dark:bg-slate-800 dark:text-gray-50'>{displayColumn} <span- className='text-blue-400 border-blue-400 border-b-2 border-dotted cursor-pointer'+ className='cursor-pointer border-b-2 border-dotted border-blue-400 text-blue-400'onClick={() => onChangeExclusive(column, filter, !isExclusive)}>{t(`common.${isExclusive ? 'isNot' : 'is'}`)}@@ -58,7 +58,7 @@ const Filter = ({<buttononClick={() => onRemoveFilter(column, filter)}type='button'- className='flex-shrink-0 ml-0.5 h-4 w-4 rounded-full inline-flex items-center justify-center text-gray-800 hover:text-gray-900 hover:bg-gray-300 focus:bg-gray-300 focus:text-gray-900 dark:text-gray-50 dark:bg-slate-800 dark:hover:text-gray-300 dark:hover:bg-gray-800 dark:focus:bg-gray-800 dark:focus:text-gray-300 focus:outline-none '+ className='ml-0.5 inline-flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-full text-gray-800 hover:bg-gray-300 hover:text-gray-900 focus:bg-gray-300 focus:text-gray-900 focus:outline-none dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-gray-800 dark:hover:text-gray-300 dark:focus:bg-gray-800 dark:focus:text-gray-300 '><span className='sr-only'>Remove filter</span><svg className='h-2 w-2' stroke='currentColor' fill='none' viewBox='0 0 8 8'>@@ -89,7 +89,7 @@ const Filters = ({ filters, onRemoveFilter, onChangeExclusive, tnMapping }: IFil} = useTranslation('common')return (- <div className='flex justify-center md:justify-start flex-wrap -mt-2'>+ <div className='-mt-2 flex flex-wrap justify-center md:justify-start'>{_map(filters, (props) => {const { column, filter } = propsconst key = `${column}${filter}`diff --git a/app/pages/Captcha/View/components/LiveVisitorsDropdown.tsx b/app/pages/Captcha/View/components/LiveVisitorsDropdown.tsxindex 45149f6e2..6096c53d8 100644--- a/app/pages/Captcha/View/components/LiveVisitorsDropdown.tsx+++ b/app/pages/Captcha/View/components/LiveVisitorsDropdown.tsx@@ -35,12 +35,12 @@ const LiveVisitorsDropdown = ({ live, projectId }: { live: number | string; projreturn (<OutsideClickHandler onOutsideClick={() => setShow(false)}>- <p className='h-5 mr-2 text-gray-900 dark:text-gray-50 text-xl cursor-pointer' onClick={() => setShow(!show)}>- {live} {show ? <ChevronUpIcon className='inline w-5 h-5' /> : <ChevronDownIcon className='inline w-5 h-5' />}+ <p className='mr-2 h-5 cursor-pointer text-xl text-gray-900 dark:text-gray-50' onClick={() => setShow(!show)}>+ {live} {show ? <ChevronUpIcon className='inline h-5 w-5' /> : <ChevronDownIcon className='inline h-5 w-5' />}</p>{show && (- <div className='absolute z-10 mt-2 right-0 top-20 text-gray-900 bg-white border border-gray-200 rounded-md shadow-lg dark:bg-slate-900 dark:border-slate-700/50 min-w-[250px] max-h-[200px] overflow-auto'>- <div className='flex flex-col w-full p-2'>+ <div className='absolute right-0 top-20 z-10 mt-2 max-h-[200px] min-w-[250px] overflow-auto rounded-md border border-gray-200 bg-white text-gray-900 shadow-lg dark:border-slate-700/50 dark:bg-slate-900'>+ <div className='flex w-full flex-col p-2'><p className='text-sm font-semibold text-gray-900 dark:text-gray-50'>{t('dashboard.liveVisitors')}</p>{loading ? (<p className='text-sm text-gray-900 dark:text-gray-50'>{t('common.loading')}</p>@@ -48,10 +48,10 @@ const LiveVisitorsDropdown = ({ live, projectId }: { live: number | string; proj_map(liveInfo, ({ dv, br, os, cc }, index) => (<divkey={`${dv}${br}${os}${cc}${index}`}- className='flex flex-row items-center justify-between w-full p-2 mt-2 text-sm text-gray-900 bg-gray-100 rounded-md dark:text-gray-50 dark:bg-slate-800'+ className='mt-2 flex w-full flex-row items-center justify-between rounded-md bg-gray-100 p-2 text-sm text-gray-900 dark:bg-slate-800 dark:text-gray-50'><div className='flex flex-row items-center'>- <Flag className='rounded-sm mr-2' country={cc} size={21} alt='' aria-hidden='true' />+ <Flag className='mr-2 rounded-sm' country={cc} size={21} alt='' aria-hidden='true' /><p className='mr-2'>{os}</p><p className='mr-2'>{br}</p><p className='mr-2 capitalize'>{dv}</p>@@ -62,7 +62,7 @@ const LiveVisitorsDropdown = ({ live, projectId }: { live: number | string; proj)}</div><XMarkIcon- className='absolute rounded-md top-2 right-2 w-5 h-5 text-gray-900 cursor-pointer dark:text-gray-50 hover:bg-gray-200 hover:dark:bg-slate-800 '+ className='absolute right-2 top-2 h-5 w-5 cursor-pointer rounded-md text-gray-900 hover:bg-gray-200 dark:text-gray-50 hover:dark:bg-slate-800 'onClick={() => setShow(!show)}/></div>diff --git a/app/pages/Captcha/View/components/NoEvents.tsx b/app/pages/Captcha/View/components/NoEvents.tsxindex 8471ee9fe..b07659671 100644--- a/app/pages/Captcha/View/components/NoEvents.tsx+++ b/app/pages/Captcha/View/components/NoEvents.tsx@@ -18,10 +18,10 @@ const NoEvents = ({ filters, resetFilters }: INoEvents): JSX.Element => {const { t } = useTranslation('common')return (- <div className='flex flex-col py-6 sm:px-6 lg:px-8 mt-5'>- <div className='max-w-7xl w-full mx-auto text-gray-900 dark:text-gray-50'>- <h2 className='text-4xl text-center leading-tight my-3'>{t('project.noEvTitle')}</h2>- <h2 className='text-2xl mb-8 text-center leading-snug'>+ <div className='mt-5 flex flex-col py-6 sm:px-6 lg:px-8'>+ <div className='mx-auto w-full max-w-7xl text-gray-900 dark:text-gray-50'>+ <h2 className='my-3 text-center text-4xl leading-tight'>{t('project.noEvTitle')}</h2>+ <h2 className='mb-8 text-center text-2xl leading-snug'><Trans// @ts-ignoret={t}@@ -31,7 +31,7 @@ const NoEvents = ({ filters, resetFilters }: INoEvents): JSX.Element => {url: (<ahref={DOCS_CAPTCHA_URL}- className='hover:underline text-blue-600'+ className='text-blue-600 hover:underline'target='_blank'rel='noreferrer noopener'/>@@ -40,8 +40,8 @@ const NoEvents = ({ filters, resetFilters }: INoEvents): JSX.Element => {/></h2>{!_isEmpty(filters) && (- <div className='!flex !mx-auto'>- <Button onClick={resetFilters} className='!flex !mx-auto' primary giant>+ <div className='!mx-auto !flex'>+ <Button onClick={resetFilters} className='!mx-auto !flex' primary giant>{t('project.resetFilters')}</Button></div>diff --git a/app/pages/Changelog/index.tsx b/app/pages/Changelog/index.tsxindex 925d75dd8..27b880f4b 100644--- a/app/pages/Changelog/index.tsx+++ b/app/pages/Changelog/index.tsx@@ -317,22 +317,22 @@ const Changelog = (): JSX.Element => {return (<div className='min-h-min-footer bg-gray-50 dark:bg-slate-900'>- <div className='w-11/12 md:w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8 whitespace-pre-line'>- <h1 className='text-4xl font-bold text-gray-900 dark:text-gray-50 tracking-tight'>{t('titles.changelog')}</h1>+ <div className='mx-auto w-11/12 whitespace-pre-line px-4 pb-16 pt-12 sm:px-6 md:w-4/5 lg:px-8'>+ <h1 className='text-4xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>{t('titles.changelog')}</h1>- <div className='relative sm:ml-[calc(2rem+1px)] md:ml-[calc(3.5rem+1px)] lg:ml-[calc(11rem)] sm:pb-12 mt-10'>- <div className='hidden absolute top-3 bottom-0 right-full mr-7 md:mr-[3.25rem] w-px bg-slate-200 dark:bg-slate-700 sm:block' />+ <div className='relative mt-10 sm:ml-[calc(2rem+1px)] sm:pb-12 md:ml-[calc(3.5rem+1px)] lg:ml-[calc(11rem)]'>+ <div className='absolute bottom-0 right-full top-3 mr-7 hidden w-px bg-slate-200 dark:bg-slate-700 sm:block md:mr-[3.25rem]' /><div className='space-y-16'>{_map(changelog, (item) => {const date = dayjs(item.date).format('YYYY-MM-DDT00:00:00.000Z')const displayDate = dayjs(item.date).locale('en').format('MMM DD, YYYY')return (- <div key={item.date} className='relative group'>- <div className='absolute -inset-y-2.5 -inset-x-4 md:-inset-y-4 md:-inset-x-6 sm:rounded-2xl group-hover:bg-slate-50/70 dark:group-hover:bg-slate-800/50' />+ <div key={item.date} className='group relative'>+ <div className='absolute -inset-x-4 -inset-y-2.5 group-hover:bg-slate-50/70 dark:group-hover:bg-slate-800/50 sm:rounded-2xl md:-inset-x-6 md:-inset-y-4' /><svgviewBox='0 0 9 9'- className='hidden absolute right-full mr-6 top-2 text-slate-200 dark:text-slate-600 md:mr-12 w-[calc(0.5rem+1px)] h-[calc(0.5rem+1px)] overflow-visible sm:block'+ className='absolute right-full top-2 mr-6 hidden h-[calc(0.5rem+1px)] w-[calc(0.5rem+1px)] overflow-visible text-slate-200 dark:text-slate-600 sm:block md:mr-12'><circlecx='4.5'@@ -344,7 +344,7 @@ const Changelog = (): JSX.Element => {/></svg><div className='relative'>- <ul className='list-disc text-gray-900 dark:text-gray-50 relative top-7 lg:top-0 lg:block text-base mt-2 mb-4 prose prose-slate prose-a:relative prose-a:z-10 dark:prose-dark line-clamp-2'>+ <ul className='dark:prose-dark prose prose-slate relative top-7 mb-4 mt-2 line-clamp-2 list-disc text-base text-gray-900 prose-a:relative prose-a:z-10 dark:text-gray-50 lg:top-0 lg:block'>{_map(item.changes, (change) => (// @ts-ignore<li key={change} className='whitespace-pre-line'>diff --git a/app/pages/Contact/index.tsx b/app/pages/Contact/index.tsxindex 00967354e..bb4888160 100644--- a/app/pages/Contact/index.tsx+++ b/app/pages/Contact/index.tsx@@ -16,9 +16,9 @@ const Panel = ({ href, title, description }: IPanel) => (href={href}target='_blank'rel='noopener noreferrer'- className='relative block rounded-2xl bg-gray-100 hover:bg-gray-200 dark:bg-slate-800/80 dark:hover:bg-slate-800 p-10 border border-gray-300/80 dark:border-slate-900/80'+ className='relative block rounded-2xl border border-gray-300/80 bg-gray-100 p-10 hover:bg-gray-200 dark:border-slate-900/80 dark:bg-slate-800/80 dark:hover:bg-slate-800'>- <ArrowTopRightOnSquareIcon className='w-5 h-5 absolute top-5 right-5 text-gray-900' />+ <ArrowTopRightOnSquareIcon className='absolute right-5 top-5 h-5 w-5 text-gray-900' /><h3 className='text-lg font-semibold leading-7 text-gray-900'>{title}</h3><p className='mt-3 text-sm leading-6 text-gray-600'>{description}</p></a>@@ -29,9 +29,9 @@ const Contact = (): JSX.Element => {return (<div className='min-h-min-footer bg-gray-50 dark:bg-slate-900'>- <div className='w-11/12 md:w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8 whitespace-pre-line'>- <h1 className='text-4xl font-bold text-gray-900 dark:text-gray-50 tracking-tight'>{t('titles.contact')}</h1>- <div className='mt-2 text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <div className='mx-auto w-11/12 whitespace-pre-line px-4 pb-16 pt-12 sm:px-6 md:w-4/5 lg:px-8'>+ <h1 className='text-4xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>{t('titles.contact')}</h1>+ <div className='mt-2 text-lg tracking-tight text-gray-900 dark:text-gray-50'><Transt={t}i18nKey='contact.description'@@ -58,7 +58,7 @@ const Contact = (): JSX.Element => {}}/></div>- <div className='grid grid-cols-1 gap-6 md:grid-cols-2 lg:col-span-2 lg:gap-8 mt-8'>+ <div className='mt-8 grid grid-cols-1 gap-6 md:grid-cols-2 lg:col-span-2 lg:gap-8'><Panel href={DOCS_URL} title={t('contact.docs.title')} description={t('contact.docs.desc')} /><Panel href={BOOK_A_CALL_URL} title={t('contact.demo.title')} description={t('contact.demo.desc')} /></div>diff --git a/app/pages/CookiePolicy/index.tsx b/app/pages/CookiePolicy/index.tsxindex 6ccdf2a5e..110ac4acb 100644--- a/app/pages/CookiePolicy/index.tsx+++ b/app/pages/CookiePolicy/index.tsx@@ -13,15 +13,15 @@ const typesOfCookies = [const CookiePolicy = () => {return (<div className='bg-gray-50 dark:bg-slate-900'>- <div className='w-11/12 md:w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8'>- <h1 className='text-4xl font-bold text-gray-900 dark:text-gray-50 tracking-tight'>Cookie Policy</h1>- <p className='mt-4 text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <div className='mx-auto w-11/12 px-4 pb-16 pt-12 sm:px-6 md:w-4/5 lg:px-8'>+ <h1 className='text-4xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Cookie Policy</h1>+ <p className='mt-4 text-lg tracking-tight text-gray-900 dark:text-gray-50'>Part of the provision of our service and this website relies on the collection of cookies. Depending on theiruse, they may be considered essential or subject to your explicit consent.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>What is a cookie?</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>What is a cookie?</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>A cookie is a small text file that may be deposited and saved on the hard drive of your device (computer,tablet, smartphone, etc.) when you visit our website. It allows us or third parties to identify the device onwhich it has been saved and to keep record of certain information relating to your journey in order, for@@ -29,15 +29,15 @@ const CookiePolicy = () => {to your interests.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>What types of cookies are collected?</h3>- <div className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <div className='text-lg tracking-tight text-gray-900 dark:text-gray-50'><div className='mt-2 flex flex-col'>- <div className='-my-2 -mx-4 overflow-x-auto sm:-mx-6 lg:-mx-8'>+ <div className='-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8'><div className='inline-block min-w-full py-2 align-middle md:px-6 lg:px-8'><div className='overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'>- <table className='w-full min-w-full divide-y divide-gray-300 200 dark:divide-gray-500'>+ <table className='200 w-full min-w-full divide-y divide-gray-300 dark:divide-gray-500'><thead className='bg-gray-50 dark:bg-slate-800'><tr><th@@ -54,11 +54,11 @@ const CookiePolicy = () => {</th></tr></thead>- <tbody className='divide-y divide-gray-200 dark:divide-gray-600 bg-white dark:bg-slate-800'>+ <tbody className='divide-y divide-gray-200 bg-white dark:divide-gray-600 dark:bg-slate-800'>{_map(typesOfCookies, ({ cookie, description }) => (<tr key={cookie}><td className='w-1/5 px-3 py-4 text-sm text-gray-900 dark:text-gray-50 sm:pl-6'>{cookie}</td>- <td className='break-words w-4/5 px-3 py-4 text-sm text-gray-900 dark:text-gray-50'>+ <td className='w-4/5 break-words px-3 py-4 text-sm text-gray-900 dark:text-gray-50'>{description}</td></tr>@@ -71,17 +71,17 @@ const CookiePolicy = () => {</div></div>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>How to manage cookies?</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>Your internet browser may allow you to manage your cookie preferences by removing or rejecting them via yourbrowser settings (usually located in "help", “tools” or “edit” sections). Remember that if you choose todisable our cookies, you may experience some inconvenience when using our website.</p>- <hr className='mt-10 mb-4 border-gray-200 dark:border-gray-600' />- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <hr className='mb-4 mt-10 border-gray-200 dark:border-gray-600' />+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'><i>Last updated: February 4, 2023.</i></p></div>diff --git a/app/pages/CrashHandler/index.tsx b/app/pages/CrashHandler/index.tsxindex a4e8f003a..edba6e7f1 100644--- a/app/pages/CrashHandler/index.tsx+++ b/app/pages/CrashHandler/index.tsx@@ -65,14 +65,14 @@ class CrashHandler extends React.Component<CrashHandlerProps, CrashHandlerState>if (appCrashed) {return (// Using style because for some reason min-h-screen doesn't work- <div style={{ minHeight: '100vh' }} className='pt-16 pb-12 flex flex-col bg-gray-50 dark:bg-slate-900'>- <div className='flex-grow flex flex-col justify-center max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8'>- <div className='flex-shrink-0 flex justify-center'>+ <div style={{ minHeight: '100vh' }} className='flex flex-col bg-gray-50 pb-12 pt-16 dark:bg-slate-900'>+ <div className='mx-auto flex w-full max-w-7xl flex-grow flex-col justify-center px-4 sm:px-6 lg:px-8'>+ <div className='flex flex-shrink-0 justify-center'><ExclamationTriangleIcon className='h-24 w-auto text-yellow-400 dark:text-yellow-600' /></div><div className='py-8'><div className='text-center'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>Uh-oh..</h1><p className='mt-2 text-base font-medium text-gray-800 dark:text-gray-300'>@@ -85,22 +85,22 @@ class CrashHandler extends React.Component<CrashHandlerProps, CrashHandlerState><br /><spanonClick={this.onCrashStackClick}- className='flex justify-center items-center text-base text-gray-800 dark:text-gray-300 cursor-pointer hover:underline'+ className='flex cursor-pointer items-center justify-center text-base text-gray-800 hover:underline dark:text-gray-300'>{crashStackShown ? (<>Hide crash stack- <ChevronUpIcon className='w-4 h-4 ml-2' />+ <ChevronUpIcon className='ml-2 h-4 w-4' /></>) : (<>Show crash stack- <ChevronDownIcon className='w-4 h-4 ml-2' />+ <ChevronDownIcon className='ml-2 h-4 w-4' /></>)}</span>{crashStackShown && (- <span className='text-sm text-gray-600 dark:text-gray-400 whitespace-pre-line'>{crashStack}</span>+ <span className='whitespace-pre-line text-sm text-gray-600 dark:text-gray-400'>{crashStack}</span>)}</p></div>diff --git a/app/pages/Dashboard/Dashboard.tsx b/app/pages/Dashboard/Dashboard.tsxindex 71faa0125..05c5f0e70 100644--- a/app/pages/Dashboard/Dashboard.tsx+++ b/app/pages/Dashboard/Dashboard.tsx@@ -91,19 +91,19 @@ const MiniCard = ({ labelTKey, t, total = 0, percChange }: IMiniCard): JSX.Eleme<p className='text-xl text-gray-700 dark:text-gray-100'>{_isNumber(total) ? nFormatter(total) : total}</p>{_isNumber(percChange) && (<p- className={cx('flex text-xs items-center', {+ className={cx('flex items-center text-xs', {'text-green-600': statsDidGrowUp,'text-red-600': !statsDidGrowUp,})}>{statsDidGrowUp ? (<>- <ChevronUpIcon className='self-center flex-shrink-0 h-4 w-4 text-green-500' />+ <ChevronUpIcon className='h-4 w-4 flex-shrink-0 self-center text-green-500' /><span className='sr-only'>{t('dashboard.inc')}</span></>) : (<>- <ChevronDownIcon className='self-center flex-shrink-0 h-4 w-4 text-red-500' />+ <ChevronDownIcon className='h-4 w-4 flex-shrink-0 self-center text-red-500' /><span className='sr-only'>{t('dashboard.dec')}</span></>)}@@ -178,11 +178,11 @@ const ProjectCard = ({><lionClick={onElementClick}- className='overflow-hidden rounded-xl border border-gray-200 cursor-pointer bg-gray-50 hover:bg-gray-100 dark:bg-slate-800 dark:hover:bg-slate-700 dark:border-slate-800/25'+ className='cursor-pointer overflow-hidden rounded-xl border border-gray-200 bg-gray-50 hover:bg-gray-100 dark:border-slate-800/25 dark:bg-slate-800 dark:hover:bg-slate-700'>- <div className='py-4 px-4'>- <div className='flex justify-between items-center'>- <p className='text-lg font-semibold text-slate-900 dark:text-gray-50 truncate'>{name}</p>+ <div className='px-4 py-4'>+ <div className='flex items-center justify-between'>+ <p className='truncate text-lg font-semibold text-slate-900 dark:text-gray-50'>{name}</p><div className='flex items-center gap-2' onClick={(e) => e.stopPropagation()}>{role !== roleViewer.role && (@@ -190,7 +190,7 @@ const ProjectCard = ({to={_replace(type === 'analytics' ? routes.project_settings : routes.captcha_settings, ':id', id)}aria-label={`${t('project.settings.settings')} ${name}`}>- <AdjustmentsVerticalIcon className='w-6 h-6 text-gray-800 dark:text-slate-400 hover:text-gray-900 dark:hover:text-slate-500' />+ <AdjustmentsVerticalIcon className='h-6 w-6 text-gray-800 hover:text-gray-900 dark:text-slate-400 dark:hover:text-slate-500' /></Link>)}<a@@ -199,11 +199,11 @@ const ProjectCard = ({target='_blank'rel='noopener noreferrer'>- <ArrowTopRightOnSquareIcon className='w-6 h-6 text-gray-800 dark:text-slate-400 hover:text-gray-900 dark:hover:text-slate-500' />+ <ArrowTopRightOnSquareIcon className='h-6 w-6 text-gray-800 hover:text-gray-900 dark:text-slate-400 dark:hover:text-slate-500' /></a></div></div>- <div className='mt-1 flex-shrink-0 flex gap-2 flex-wrap'>+ <div className='mt-1 flex flex-shrink-0 flex-wrap gap-2'>{active ? (<Badge colour='green' label={t('dashboard.active')} />) : (@@ -230,7 +230,7 @@ const ProjectCard = ({/>)}</div>- <div className='mt-4 flex-shrink-0 flex gap-5'>+ <div className='mt-4 flex flex-shrink-0 gap-5'>{birdseye[id] && (<MiniCardlabelTKey={captcha ? 'dashboard.captchaEvents' : 'dashboard.pageviews'}@@ -279,7 +279,7 @@ const NoProjects = ({ t, onClick }: INoProjects): JSX.Element => (<buttontype='button'onClick={onClick}- className='mx-auto relative block max-w-lg rounded-lg border-2 border-dashed border-gray-300 p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'+ className='relative mx-auto block max-w-lg rounded-lg border-2 border-dashed border-gray-300 p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'><FolderPlusIcon className='mx-auto h-12 w-12 text-gray-400 dark:text-gray-200' /><span className='mt-2 block text-sm font-semibold text-gray-900 dark:text-gray-50'>@@ -292,14 +292,14 @@ const AddProject = ({ t, onClick, sitesCount }: IAddProject): JSX.Element => (<lionClick={onClick}className={cx(- 'flex cursor-pointer justify-center items-center rounded-lg border-2 border-dashed h-auto group border-gray-300 hover:border-gray-400 min-h-[153.1px]',+ 'group flex h-auto min-h-[153.1px] cursor-pointer items-center justify-center rounded-lg border-2 border-dashed border-gray-300 hover:border-gray-400',{'lg:min-h-[auto]': sitesCount % 3 !== 0,},)}><div>- <FolderPlusIcon className='mx-auto h-12 w-12 text-gray-400 dark:text-gray-200 group-hover:text-gray-500 group-hover:dark:text-gray-400' />+ <FolderPlusIcon className='mx-auto h-12 w-12 text-gray-400 group-hover:text-gray-500 dark:text-gray-200 group-hover:dark:text-gray-400' /><span className='mt-2 block text-sm font-semibold text-gray-900 dark:text-gray-50 group-hover:dark:text-gray-400'>{t('dashboard.newProject')}</span>@@ -472,16 +472,16 @@ const Dashboard = ({if (error && !isLoading) {return (- <div className='bg-gray-50 dark:bg-slate-900 min-h-page px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='min-h-page bg-gray-50 px-4 py-16 dark:bg-slate-900 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>+ <div className='mx-auto max-w-max'><main className='sm:flex'><XCircleIcon className='h-12 w-12 text-red-400' aria-hidden='true' /><div className='sm:ml-6'>- <div className='sm:border-l max-w-prose sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <div className='max-w-prose sm:border-l sm:border-gray-200 sm:pl-6'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{t('apiNotifications.somethingWentWrong')}</h1>- <p className='text-2xl mt-4 font-medium text-gray-700 dark:text-gray-200 tracking-tight'>+ <p className='mt-4 text-2xl font-medium tracking-tight text-gray-700 dark:text-gray-200'>{t('apiNotifications.errorCode', { error })}</p></div>@@ -489,13 +489,13 @@ const Dashboard = ({<buttontype='button'onClick={() => window.location.reload()}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'>{t('dashboard.reloadPage')}</button><Linkto={routes.contact}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-indigo-700 bg-indigo-100 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:text-gray-50 dark:bg-slate-800 dark:hover:bg-slate-700 dark:focus:ring-gray-50'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'>{t('notFoundPage.support')}</Link>@@ -516,15 +516,15 @@ const Dashboard = ({<div className='min-h-min-footer bg-gray-50 dark:bg-slate-900'><EventsRunningOutBanner /><DashboardLockedBanner />- <div className='flex flex-col py-6 px-4 sm:px-6 lg:px-8'>- <div className='max-w-7xl w-full mx-auto'>- <div className='flex justify-between mb-6'>+ <div className='flex flex-col px-4 py-6 sm:px-6 lg:px-8'>+ <div className='mx-auto w-full max-w-7xl'>+ <div className='mb-6 flex justify-between'><div className='flex items-end justify-between'>- <h2 className='flex items-baseline mt-2 text-3xl font-bold text-gray-900 dark:text-gray-50'>+ <h2 className='mt-2 flex items-baseline text-3xl font-bold text-gray-900 dark:text-gray-50'>{t('titles.dashboard')}{isSearchActive ? (<XMarkIcon- className='ml-2 w-5 h-5 text-gray-900 dark:text-gray-50 cursor-pointer hover:opacity-80'+ className='ml-2 h-5 w-5 cursor-pointer text-gray-900 hover:opacity-80 dark:text-gray-50'onClick={() => {setSearch('')setIsSearchActive(false)@@ -532,7 +532,7 @@ const Dashboard = ({/>) : (<MagnifyingGlassIcon- className='ml-2 w-5 h-5 text-gray-900 dark:text-gray-50 cursor-pointer hover:opacity-80'+ className='ml-2 h-5 w-5 cursor-pointer text-gray-900 hover:opacity-80 dark:text-gray-50'onClick={() => {setIsSearchActive(true)}}@@ -540,19 +540,19 @@ const Dashboard = ({)}</h2>{isSearchActive && (- <div className='hidden sm:flex items-center pb-1 w-full max-w-md px-2 sm:ml-5'>+ <div className='hidden w-full max-w-md items-center px-2 pb-1 sm:ml-5 sm:flex'><label htmlFor='simple-search' className='sr-only'>Search</label><div className='relative w-full'>- <div className='absolute sm:flex hidden inset-y-0 left-0 items-center pointer-events-none'>- <MagnifyingGlassIcon className='ml-2 w-5 h-5 text-gray-900 dark:text-gray-50 cursor-pointer hover:opacity-80' />+ <div className='pointer-events-none absolute inset-y-0 left-0 hidden items-center sm:flex'>+ <MagnifyingGlassIcon className='ml-2 h-5 w-5 cursor-pointer text-gray-900 hover:opacity-80 dark:text-gray-50' /></div><inputtype='text'onChange={onSearch}value={search}- className='bg-gray-50 border-none h-7 ring-1 ring-gray-300 text-gray-900 text-sm rounded-lg focus:ring-gray-500 block w-full sm:pl-10 p-2.5 dark:bg-slate-900 dark:ring-slate-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-slate-200'+ className='block h-7 w-full rounded-lg border-none bg-gray-50 p-2.5 text-sm text-gray-900 ring-1 ring-gray-300 focus:ring-gray-500 dark:bg-slate-900 dark:text-white dark:placeholder-gray-400 dark:ring-slate-600 dark:focus:ring-slate-200 sm:pl-10'placeholder={t('project.search')}/></div>@@ -561,26 +561,26 @@ const Dashboard = ({</div><spanonClick={onNewProject}- className='!pl-2 inline-flex justify-center items-center cursor-pointer text-center border border-transparent leading-4 font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-slate-500 shadow-sm text-white bg-slate-900 hover:bg-slate-700 dark:text-gray-50 dark:border-gray-800 dark:bg-slate-800 dark:hover:bg-slate-700 px-3 py-2 text-sm'+ className='inline-flex cursor-pointer items-center justify-center rounded-md border border-transparent bg-slate-900 px-3 py-2 !pl-2 text-center text-sm font-medium leading-4 text-white shadow-sm hover:bg-slate-700 focus:outline-none focus:ring-2 focus:ring-slate-500 focus:ring-offset-2 dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'>- <FolderPlusIcon className='w-5 h-5 mr-1' />+ <FolderPlusIcon className='mr-1 h-5 w-5' />{activeTab === tabForCaptchaProject ? t('dashboard.newCaptchaProject') : t('dashboard.newProject')}</span></div>{isSearchActive && (- <div className='flex sm:hidden items-center mb-2 w-full'>+ <div className='mb-2 flex w-full items-center sm:hidden'><label htmlFor='simple-search' className='sr-only'>Search</label><div className='relative w-full'>- <div className='absolute flex inset-y-0 left-0 items-center pointer-events-none'>- <MagnifyingGlassIcon className='ml-2 w-5 h-5 text-gray-900 dark:text-gray-50 cursor-pointer hover:opacity-80' />+ <div className='pointer-events-none absolute inset-y-0 left-0 flex items-center'>+ <MagnifyingGlassIcon className='ml-2 h-5 w-5 cursor-pointer text-gray-900 hover:opacity-80 dark:text-gray-50' /></div><inputtype='text'onChange={onSearch}value={search}- className='bg-gray-50 border-none h-7 ring-1 ring-gray-300 text-gray-900 text-sm rounded-lg focus:ring-gray-500 block w-full pl-10 p-2.5 py-5 dark:bg-slate-900 dark:ring-slate-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-slate-200'+ className='block h-7 w-full rounded-lg border-none bg-gray-50 p-2.5 py-5 pl-10 text-sm text-gray-900 ring-1 ring-gray-300 focus:ring-gray-500 dark:bg-slate-900 dark:text-white dark:placeholder-gray-400 dark:ring-slate-600 dark:focus:ring-slate-200'placeholder={t('project.search')}/></div>@@ -590,7 +590,7 @@ const Dashboard = ({<div className='mb-2'>{/* Dashboard tabs selector */}<div>- <div className='sm:hidden mb-2'>+ <div className='mb-2 sm:hidden'><Selectitems={dashboardLocTabs}keyExtractor={(item) => item.id}@@ -617,10 +617,10 @@ const Dashboard = ({key={tab.name}type='button'onClick={() => setActiveTab(tab.name)}- className={cx('whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-md', {- 'border-slate-900 text-slate-900 dark:text-gray-50 dark:border-gray-50':+ className={cx('text-md whitespace-nowrap border-b-2 px-1 pb-4 font-medium', {+ 'border-slate-900 text-slate-900 dark:border-gray-50 dark:text-gray-50':activeTab === tab.name,- 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 dark:text-gray-400 dark:hover:text-gray-300 dark:hover:border-gray-300':+ 'border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 dark:text-gray-400 dark:hover:border-gray-300 dark:hover:text-gray-300':activeTab !== tab.name,})}aria-current={tab.name === activeTab ? 'page' : undefined}@@ -653,7 +653,7 @@ const Dashboard = ({{_isEmpty(_filter(projects, ({ uiHidden }) => !uiHidden)) ? (<NoProjects t={t} onClick={onNewProject} />) : (- <ul className='grid grid-cols-1 gap-x-6 gap-y-3 lg:gap-y-6 lg:grid-cols-3'>+ <ul className='grid grid-cols-1 gap-x-6 gap-y-3 lg:grid-cols-3 lg:gap-y-6'>{_map(_filter(projects, ({ uiHidden }) => !uiHidden),({ name, id, active, public: isPublic, isTransferring, share }) => (@@ -694,7 +694,7 @@ const Dashboard = ({{_isEmpty(_filter(captchaProjects, ({ uiHidden }) => !uiHidden)) ? (<NoProjects t={t} onClick={onNewProject} />) : (- <ul className='grid grid-cols-1 gap-x-6 gap-y-3 lg:gap-y-6 lg:grid-cols-3'>+ <ul className='grid grid-cols-1 gap-x-6 gap-y-3 lg:grid-cols-3 lg:gap-y-6'>{_map(_filter(captchaProjects, ({ uiHidden }) => !uiHidden),({ name, id, active, public: isPublic }) => (@@ -734,7 +734,7 @@ const Dashboard = ({{_isEmpty(_filter(sharedProjects, ({ uiHidden }) => !uiHidden)) ? (<NoProjects t={t} onClick={onNewProject} />) : (- <ul className='grid grid-cols-1 gap-x-6 gap-y-3 lg:gap-y-6 lg:grid-cols-3'>+ <ul className='grid grid-cols-1 gap-x-6 gap-y-3 lg:grid-cols-3 lg:gap-y-6'>{_map(_filter(sharedProjects, ({ uiHidden }) => !uiHidden),({ project, confirmed }) => {diff --git a/app/pages/ErrorTracking/index.tsx b/app/pages/ErrorTracking/index.tsxindex 06666e826..e6dd6135d 100644--- a/app/pages/ErrorTracking/index.tsx+++ b/app/pages/ErrorTracking/index.tsx@@ -18,9 +18,9 @@ import Header from 'components/Header'import Pricing from '../MainPage/Pricing'export const Lines = (): JSX.Element => (- <div className='relative pointer-events-none'>- <div className='absolute rotate-6 right-[-48rem] top-[32rem] h-px w-[800%] bg-gradient-to-l from-slate-600 dark:from-slate-400 opacity-10' />- <div className='absolute rotate-[96deg] top-[22.26rem] xl:top-[23.5rem] -left-60 ml-[-0.5px] h-96 w-[2px] rounded-full bg-gradient-to-t from-red-600 dark:from-red-700 opacity-50' />+ <div className='pointer-events-none relative'>+ <div className='absolute right-[-48rem] top-[32rem] h-px w-[800%] rotate-6 bg-gradient-to-l from-slate-600 opacity-10 dark:from-slate-400' />+ <div className='absolute -left-60 top-[22.26rem] ml-[-0.5px] h-96 w-[2px] rotate-[96deg] rounded-full bg-gradient-to-t from-red-600 opacity-50 dark:from-red-700 xl:top-[23.5rem]' /></div>)@@ -49,9 +49,9 @@ const ErrorTracking: React.FC<IErrorTracking> = ({ ssrTheme, ssrAuthenticated })<div className='overflow-hidden'><main className='bg-white dark:bg-slate-900'>{/* first block with live demo */}- <div className='relative overflow-x-clip isolate'>+ <div className='relative isolate overflow-x-clip'><svg- className='absolute inset-0 -z-10 h-full w-full stroke-gray-200 dark:stroke-white/10 [mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)]'+ className='absolute inset-0 -z-10 h-full w-full stroke-gray-200 [mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)] dark:stroke-white/10'aria-hidden='true'><defs>@@ -80,47 +80,47 @@ const ErrorTracking: React.FC<IErrorTracking> = ({ ssrTheme, ssrAuthenticated })/></div><Header ssrTheme={ssrTheme} authenticated={authenticated} transparent />- <div className='flex justify-center items-center py-2 px-2'>+ <div className='flex items-center justify-center px-2 py-2'><ahref='https://u24.gov.ua/'target='_blank'rel='noreferrer noopener'- className='text-slate-900 dark:text-white border-transparent border-b-2 hover:border-slate-900 dark:hover:border-white text-center'+ 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='h-4 w-4 text-slate-800 dark:text-white ml-1 hidden md:block' />+ <ArrowTopRightOnSquareIcon className='ml-1 hidden h-4 w-4 text-slate-800 dark:text-white md:block' /></div>- <div className='relative pt-10 lg:pt-24 pb-5 xl:px-8 lg:px-6 sm:px-3 mx-auto min-h-[740px]'>- <div className='relative z-20 flex flex-row content-between 2xl:mr-[14vw] 2xl:justify-center justify-center lg:justify-start'>- <div className='lg:mt-0 text-left relative lg:mr-14 px-4'>- <h1 className='max-w-2xl text-3xl sm:text-5xl md:text-5xl font-extrabold text-slate-900 dark:text-white sm:leading-none lg:text-5xl xl:text-6xl xl:leading-[110%]'>+ <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-3xl 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%]'><Trans// @ts-ignoret={t}i18nKey='errors.slogan'components={{span: (- <span className='from-red-700 to-red-700 dark:from-red-600 dark:to-red-400 text-transparent bg-clip-text bg-gradient-to-r' />+ <span className='bg-gradient-to-r from-red-700 to-red-700 bg-clip-text text-transparent dark:from-red-600 dark:to-red-400' />),}}/></h1>- <div className='flex items-center overflow-hidden mt-2 mb-2 sm:text-xl lg:text-lg xl:text-lg'>- <p className='rounded-full bg-indigo-500/10 px-3 py-1 text-sm text-center font-semibold leading-6 text-indigo-600 dark:text-indigo-400 ring-1 ring-inset ring-indigo-500/20'>+ <div className='mb-2 mt-2 flex items-center overflow-hidden sm:text-xl lg:text-lg xl:text-lg'>+ <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>{_isEmpty(lastBlogPost) ? (- <div className='h-6 ml-1 bg-slate-300 dark:bg-slate-700 w-full max-w-xs rounded-md animate-pulse' />+ <div className='ml-1 h-6 w-full max-w-xs animate-pulse rounded-md bg-slate-300 dark:bg-slate-700' />) : (<ClientOnlyfallback={- <div className='h-6 ml-1 bg-slate-300 dark:bg-slate-700 w-full max-w-xs rounded-md animate-pulse' />+ <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 ml-1 items-center space-x-1 text-sm font-semibold leading-6 text-slate-700 dark:text-slate-300 hover:underline'+ className='ml-1 inline-flex items-center space-x-1 text-sm font-semibold leading-6 text-slate-700 hover:underline dark:text-slate-300'to={`blog/${lastBlogPost.handle}`}><small className='text-sm'>{lastBlogPost.title}</small>@@ -138,15 +138,15 @@ const ErrorTracking: React.FC<IErrorTracking> = ({ ssrTheme, ssrAuthenticated })<div className='mt-10 flex flex-col items-center sm:flex-row'><Linkto={routesPath.signup}- className='rounded-md !duration-300 transition-all w-full sm:max-w-[210px] h-12 flex items-center justify-center sm:mr-6 shadow-sm ring-1 text-white bg-slate-900 ring-slate-900 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600'+ 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]'aria-label={t('titles.signup')}>- <span className='text-base font-semibold mr-1'>{t('common.getStarted')}</span>- <ArrowSmallRightIcon className='h-4 w-5 mt-[1px]' />+ <span className='mr-1 text-base font-semibold'>{t('common.getStarted')}</span>+ <ArrowSmallRightIcon className='mt-[1px] h-4 w-5' /></Link><ahref={ERROR_TRACKING_LIVE_DEMO_URL}- className='rounded-md !duration-300 transition-all sm:mt-0 mt-2 ring-1 ring-slate-900 dark:ring-white/20 w-full sm:max-w-[210px] h-12 flex items-center justify-center shadow-sm text-slate-900 dark:text-white bg-transparent hover:bg-slate-200 dark:hover:bg-gray-800'+ className='mt-2 flex h-12 w-full items-center justify-center rounded-md bg-transparent text-slate-900 shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-200 dark:text-white dark:ring-white/20 dark:hover:bg-gray-800 sm:mt-0 sm:max-w-[210px]'target='_blank'rel='noopener noreferrer'aria-label={`${t('common.liveDemo')} (opens in a new tab)`}@@ -155,7 +155,7 @@ const ErrorTracking: React.FC<IErrorTracking> = ({ ssrTheme, ssrAuthenticated })</a></div></div>- <div className='max-w-md xl:max-w-lg hidden lg:block'>+ <div className='hidden max-w-md lg:block xl:max-w-lg'><Lines /><picture><source@@ -168,7 +168,7 @@ const ErrorTracking: React.FC<IErrorTracking> = ({ ssrTheme, ssrAuthenticated })src={theme === 'dark' ? '/assets/screenshot_errors_dark.png' : '/assets/screenshot_errors_light.png'}- className='h-full min-w-[880px] rounded-xl relative shadow-2xl ring-1 ring-gray-900/10 dark:ring-white/10'+ 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'@@ -176,7 +176,7 @@ const ErrorTracking: React.FC<IErrorTracking> = ({ ssrTheme, ssrAuthenticated })</picture></div></div>- <div className='my-10 block lg:hidden relative z-20 px-4 md:px-0'>+ <div className='relative z-20 my-10 block px-4 md:px-0 lg:hidden'><picture><sourcesrcSet={@@ -186,7 +186,7 @@ const ErrorTracking: React.FC<IErrorTracking> = ({ ssrTheme, ssrAuthenticated })/><imgsrc={theme === 'dark' ? '/assets/screenshot_errors_dark.png' : '/assets/screenshot_errors_light.png'}- className='rounded-xl relative shadow-2xl w-full ring-1 ring-gray-900/10 dark:ring-white/10'+ className='relative w-full rounded-xl shadow-2xl ring-1 ring-gray-900/10 dark:ring-white/10'width='100%'height='auto'alt='Swetrix Analytics dashboard'@@ -197,9 +197,9 @@ const ErrorTracking: React.FC<IErrorTracking> = ({ ssrTheme, ssrAuthenticated })</div>{/* end first block with live demo */}- <div className='dark:bg-slate-900 bg-white px-4 pb-16 mx-auto max-w-7xl whitespace-pre-line mt-12'>- <h2 className='font-extrabold text-4xl dark:text-white text-slate-900'>{t('errors.fast.title')}</h2>- <p className='mt-6 dark:text-gray-50 text-gray-900 text-lg'>+ <div className='mx-auto mt-12 max-w-7xl whitespace-pre-line bg-white px-4 pb-16 dark:bg-slate-900'>+ <h2 className='text-4xl font-extrabold text-slate-900 dark:text-white'>{t('errors.fast.title')}</h2>+ <p className='mt-6 text-lg text-gray-900 dark:text-gray-50'><Trans// @ts-ignoret={t}@@ -207,19 +207,19 @@ const ErrorTracking: React.FC<IErrorTracking> = ({ ssrTheme, ssrAuthenticated })components={{// eslint-disable-next-line jsx-a11y/anchor-has-contentindexUrl: (- <Link to={routesPath.main} className='font-medium text-red-600 dark:text-red-400 hover:underline' />+ <Link to={routesPath.main} className='font-medium text-red-600 hover:underline dark:text-red-400' />),// eslint-disable-next-line jsx-a11y/anchor-has-contentperfUrl: (<Linkto={routesPath.performance}- className='font-medium text-red-600 dark:text-red-400 hover:underline'+ className='font-medium text-red-600 hover:underline dark:text-red-400'/>),oneLC: (<ahref='https://docs.swetrix.com/swetrix-js-reference#trackerrors'- className='font-medium text-red-600 dark:text-red-400 hover:underline'+ className='font-medium text-red-600 hover:underline dark:text-red-400'target='_blank'rel='noopener noreferrer'/>@@ -227,7 +227,7 @@ const ErrorTracking: React.FC<IErrorTracking> = ({ ssrTheme, ssrAuthenticated })}}/></p>- <ul className='mt-2 list-disc list-inside dark:text-gray-50 text-gray-900 text-lg'>+ <ul className='mt-2 list-inside list-disc text-lg text-gray-900 dark:text-gray-50'>{_map(t('errors.fast.list', { returnObjects: true }), (item) => (<li key={item} className='mb-2'>{item}@@ -235,24 +235,24 @@ const ErrorTracking: React.FC<IErrorTracking> = ({ ssrTheme, ssrAuthenticated })))}</ul>- <h2 className='mt-10 font-extrabold text-4xl dark:text-white text-slate-900'>{t('errors.track.title')}</h2>- <p className='mt-6 dark:text-gray-50 text-gray-900 text-lg'>{t('errors.track.desc')}</p>+ <h2 className='mt-10 text-4xl font-extrabold text-slate-900 dark:text-white'>{t('errors.track.title')}</h2>+ <p className='mt-6 text-lg text-gray-900 dark:text-gray-50'>{t('errors.track.desc')}</p>- <h2 className='mt-10 font-extrabold text-4xl dark:text-white text-slate-900'>+ <h2 className='mt-10 text-4xl font-extrabold text-slate-900 dark:text-white'>{t('performance.privacy.title')}</h2>- <p className='mt-6 dark:text-gray-50 text-gray-900 text-lg'>{t('performance.privacy.desc')}</p>+ <p className='mt-6 text-lg text-gray-900 dark:text-gray-50'>{t('performance.privacy.desc')}</p></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} />}- <div className='bg-white dark:bg-slate-900 px-4 md:px-8 pb-12'>+ <div className='bg-white px-4 pb-12 dark:bg-slate-900 md:px-8'><section- className='relative isolate max-w-7xl w-full mx-auto bg-slate-800 overflow-hidden lg:h-[450px]'+ className='relative isolate mx-auto w-full max-w-7xl overflow-hidden bg-slate-800 lg:h-[450px]'style={{ borderRadius: '100px 30px 30px 30px' }}>- <div className='absolute -z-10 inset-0 overflow-hidden' aria-hidden='true'>+ <div className='absolute inset-0 -z-10 overflow-hidden' aria-hidden='true'><div className='absolute left-[calc(20%-19rem)] top-[calc(50%-36rem)] transform-gpu blur-3xl'><divclassName='aspect-[1097/1023] w-[68.5625rem] bg-gradient-to-r from-[#ff4694] to-[#776fff] opacity-25 dark:opacity-10'@@ -263,9 +263,9 @@ const ErrorTracking: React.FC<IErrorTracking> = ({ ssrTheme, ssrAuthenticated })/></div></div>- <div className='flex items-start justify-between pt-8 pl-8 sm:pl-14 lg:pl-28 md:flex-row flex-col'>- <div className='max-w-[520px] w-full pt-14 pr-3 mb-16 md:mb-0'>- <h2 className='font-bold text-2xl leading-9 sm:text-4xl sm:leading-[48px] md:text-[28px] md:leading-10 lg:text-[33px] lg:leading-[48px] text-white mb-3'>+ <div className='flex flex-col items-start justify-between pl-8 pt-8 sm:pl-14 md:flex-row lg:pl-28'>+ <div className='mb-16 w-full max-w-[520px] pr-3 pt-14 md:mb-0'>+ <h2 className='mb-3 text-2xl font-bold leading-9 text-white sm:text-4xl sm:leading-[48px] md:text-[28px] md:leading-10 lg:text-[33px] lg:leading-[48px]'><Trans// @ts-ignoret={t}@@ -275,19 +275,19 @@ const ErrorTracking: React.FC<IErrorTracking> = ({ ssrTheme, ssrAuthenticated })}}/></h2>- <p className='text-gray-300 mb-9 font-medium text-base sm:text-lg'>{t('main.whyDitch')}</p>+ <p className='mb-9 text-base font-medium text-gray-300 sm:text-lg'>{t('main.whyDitch')}</p><Linkto={routesPath.signup}- className='rounded-md border !duration-300 transition-all w-full max-w-[210px] h-[50px] flex items-center justify-center sm:mr-6 shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 border-transparent'+ className='flex h-[50px] w-full max-w-[210px] items-center justify-center rounded-md border border-transparent bg-indigo-600 text-white shadow-sm transition-all !duration-300 hover:bg-indigo-700 sm:mr-6'aria-label={t('titles.signup')}>- <span className='text-base font-semibold mr-1'>{t('main.start')}</span>- <ArrowSmallRightIcon className='w-5 h-4 mt-[1px]' />+ <span className='mr-1 text-base font-semibold'>{t('main.start')}</span>+ <ArrowSmallRightIcon className='mt-[1px] h-4 w-5' /></Link></div>- <div className='max-w-md xl:max-w-lg block h-[450px] md:shadow-[8px_8px_10px_3px] md:rounded-md '>+ <div className='block h-[450px] max-w-md md:rounded-md md:shadow-[8px_8px_10px_3px] xl:max-w-lg '><img- className='rounded-xl ring-1 ring-gray-900/10 min-h-[600px] min-w-[880px]'+ className='min-h-[600px] min-w-[880px] rounded-xl ring-1 ring-gray-900/10'width='1760'height='880'src={theme === 'dark' ? '/assets/screenshot_errors_dark.png' : '/assets/screenshot_errors_light.png'}@@ -299,57 +299,57 @@ const ErrorTracking: React.FC<IErrorTracking> = ({ ssrTheme, ssrAuthenticated })</div>{/* Become a developer */}- <section className='bg-white dark:bg-slate-900 pt-20 pb-44 relative'>+ <section className='relative bg-white pb-44 pt-20 dark:bg-slate-900'><div className='absolute right-0 top-16 z-0'><BackgroundSvg theme={theme} type='threecircle' /></div><div className='absolute -left-9 top-52 rotate-90'><BackgroundSvg theme={theme} type='shapes' /></div>- <div className='max-w-5xl w-full mx-auto px-3'>- <div className='max-w-prose w-full mx-auto'>- <h2 className='text-gray-900 dark:text-white text-3xl md:text-4xl font-extrabold text-center'>+ <div className='mx-auto w-full max-w-5xl px-3'>+ <div className='mx-auto w-full max-w-prose'>+ <h2 className='text-center text-3xl font-extrabold text-gray-900 dark:text-white md:text-4xl'>{t('main.peopleLoveSwetrix')}</h2>- <p className='mt-5 text-xl max-w-prose text-gray-600 dark:text-gray-200 text-center mx-auto'>+ <p className='mx-auto mt-5 max-w-prose text-center text-xl text-gray-600 dark:text-gray-200'>{t('main.whyPeopleLoveSwetrix')}</p></div>- <div className='flex items-center justify-between mt-20 md:mt-32 md:flex-row flex-col'>+ <div className='mt-20 flex flex-col items-center justify-between md:mt-32 md:flex-row'><div className='text-center'>- <ClientOnly fallback={<p className='text-indigo-700 text-5xl font-extrabold text-center'>0</p>}>+ <ClientOnly fallback={<p className='text-center text-5xl font-extrabold text-indigo-700'>0</p>}>{() => (- <p className='text-indigo-700 text-5xl font-extrabold text-center'>+ <p className='text-center text-5xl font-extrabold text-indigo-700'>{users[0]}{users[1] && <span className='text-gray-900 dark:text-indigo-200'>{users[1]}+</span>}</p>)}</ClientOnly>- <p className='text-gray-600 text-lg dark:text-gray-200'>{t('main.users')}</p>+ <p className='text-lg text-gray-600 dark:text-gray-200'>{t('main.users')}</p></div>- <div className='bg-gray-800 dark:bg-gray-200 w-2 h-2 rounded-full mx-5 mb-14 mt-16 md:mb-0 md:mt-0' />+ <div className='mx-5 mb-14 mt-16 h-2 w-2 rounded-full bg-gray-800 dark:bg-gray-200 md:mb-0 md:mt-0' /><div className='text-center'>- <ClientOnly fallback={<p className='text-indigo-700 text-5xl font-extrabold text-center'>0</p>}>+ <ClientOnly fallback={<p className='text-center text-5xl font-extrabold text-indigo-700'>0</p>}>{() => (- <p className='text-indigo-700 text-5xl font-extrabold text-center'>+ <p className='text-center text-5xl font-extrabold text-indigo-700'>{websites[0]}{websites[1] && <span className='text-gray-900 dark:text-indigo-200'>{websites[1]}+</span>}</p>)}</ClientOnly>- <p className='text-gray-600 text-lg dark:text-gray-200'>{t('main.websites')}</p>+ <p className='text-lg text-gray-600 dark:text-gray-200'>{t('main.websites')}</p></div>- <div className='bg-gray-800 dark:bg-gray-200 w-2 h-2 rounded-full mx-5 mb-14 mt-16 md:mb-0 md:mt-0' />+ <div className='mx-5 mb-14 mt-16 h-2 w-2 rounded-full bg-gray-800 dark:bg-gray-200 md:mb-0 md:mt-0' /><div className='text-center'>- <ClientOnly fallback={<p className='text-indigo-700 text-5xl font-extrabold text-center'>0</p>}>+ <ClientOnly fallback={<p className='text-center text-5xl font-extrabold text-indigo-700'>0</p>}>{() => (- <p className='text-indigo-700 text-5xl font-extrabold text-center'>+ <p className='text-center text-5xl font-extrabold text-indigo-700'>{events[0]}{events[1] && <span className='text-gray-900 dark:text-indigo-200'>{events[1]}+</span>}</p>)}</ClientOnly>- <p className='text-gray-600 text-lg dark:text-gray-200'>{t('main.pageviews')}</p>+ <p className='text-lg text-gray-600 dark:text-gray-200'>{t('main.pageviews')}</p></div></div></div>diff --git a/app/pages/Imprint/index.tsx b/app/pages/Imprint/index.tsxindex e96d75e31..e5fcb9728 100644--- a/app/pages/Imprint/index.tsx+++ b/app/pages/Imprint/index.tsx@@ -5,10 +5,10 @@ import { CONTACT_EMAIL } from 'redux/constants'const Imprint = (): JSX.Element => {return (- <div className='bg-gray-50 dark:bg-slate-900 min-h-min-footer'>- <div className='w-11/12 md:w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8'>- <h1 className='text-4xl font-bold text-gray-900 dark:text-gray-50 tracking-tight'>Imprint</h1>- <p className='mt-4 text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <div className='min-h-min-footer bg-gray-50 dark:bg-slate-900'>+ <div className='mx-auto w-11/12 px-4 pb-16 pt-12 sm:px-6 md:w-4/5 lg:px-8'>+ <h1 className='text-4xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Imprint</h1>+ <p className='mt-4 text-lg tracking-tight text-gray-900 dark:text-gray-50'>Swetrix Ltd<br />International House, 38 Thistle Street, Edinburgh, United Kingdom, EH2 1ENdiff --git a/app/pages/MainPage/Pricing.tsx b/app/pages/MainPage/Pricing.tsxindex ee4fe93ce..6a2638906 100644--- a/app/pages/MainPage/Pricing.tsx+++ b/app/pages/MainPage/Pricing.tsx@@ -275,17 +275,17 @@ const Pricing = ({ t, language, authenticated, isBillingPage }: IPricing) => {<div id='pricing' className={cx({ 'bg-white dark:bg-slate-900/75': !authenticated })}><divclassName={cx('max-w-max whitespace-pre-line', {- 'px-4 sm:px-6 lg:px-8 py-24': !authenticated,+ 'px-4 py-24 sm:px-6 lg:px-8': !authenticated,'mx-auto': !isBillingPage,})}>- <div className='sm:flex sm:flex-col sm:align-center'>+ <div className='sm:align-center sm:flex sm:flex-col'>{!authenticated && (<><h2 className='text-3xl font-extrabold text-gray-900 dark:text-gray-50 sm:text-center'>{t('pricing.title')}</h2>- <p className='mt-5 text-xl max-w-prose text-gray-600 dark:text-gray-200 sm:text-center mb-5'>+ <p className='mb-5 mt-5 max-w-prose text-xl text-gray-600 dark:text-gray-200 sm:text-center'>{t('pricing.adv', {amount: TRIAL_DAYS,})}@@ -294,7 +294,7 @@ const Pricing = ({ t, language, authenticated, isBillingPage }: IPricing) => {)}<div className='flex justify-between'><div>- <h3 className='text-lg font-medium text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='text-lg font-medium tracking-tight text-gray-900 dark:text-gray-50'>{selectedTier.monthlyUsageLimit.toLocaleString('en-US')}</h3><p className='text-gray-700 dark:text-gray-200'>{t('pricing.eventPerMonth')}</p>@@ -311,8 +311,8 @@ const Pricing = ({ t, language, authenticated, isBillingPage }: IPricing) => {value={BillingFrequency.monthly}className={({ checked }) =>cx(- checked ? 'bg-slate-900 dark:bg-indigo-700 text-gray-50' : 'text-gray-500 dark:text-gray-200',- 'cursor-pointer rounded-md px-2.5 flex justify-center items-center',+ checked ? 'bg-slate-900 text-gray-50 dark:bg-indigo-700' : 'text-gray-500 dark:text-gray-200',+ 'flex cursor-pointer items-center justify-center rounded-md px-2.5',)}>@@ -323,14 +323,14 @@ const Pricing = ({ t, language, authenticated, isBillingPage }: IPricing) => {value={BillingFrequency.yearly}className={({ checked }) =>cx(- checked ? 'bg-slate-900 dark:bg-indigo-700 text-gray-50' : 'text-gray-500 dark:text-gray-200',- 'relative cursor-pointer rounded-md px-2.5 flex justify-center items-center',+ checked ? 'bg-slate-900 text-gray-50 dark:bg-indigo-700' : 'text-gray-500 dark:text-gray-200',+ 'relative flex cursor-pointer items-center justify-center rounded-md px-2.5',)}><Badgelabel={t('billing.xMonthsFree', { amount: 2 })}- className='absolute w-max -top-5 -left-1 max-w-[200px]'+ className='absolute -left-1 -top-5 w-max max-w-[200px]'colour='yellow'/><span>{t('pricing.yearlyBilling')}</span>@@ -348,32 +348,32 @@ const Pricing = ({ t, language, authenticated, isBillingPage }: IPricing) => {min='0'max={PLAN_CODES_ARRAY.length - 1}value={PLAN_CODES_ARRAY.indexOf(selectedTier.planCode)}- className='arrows-handle mt-5 w-full appearance-none bg-gray-200 dark:bg-slate-600 h-2 rounded-full'+ className='arrows-handle mt-5 h-2 w-full appearance-none rounded-full bg-gray-200 dark:bg-slate-600'onChange={onSelectPlanChange}/>- <div className='mt-5 relative border rounded-2xl shadow-sm divide-y ring-1 ring-gray-200 dark:ring-slate-700'>+ <div className='relative mt-5 divide-y rounded-2xl border shadow-sm ring-1 ring-gray-200 dark:ring-slate-700'>{user.planCode === selectedTier.planCode && (- <div className='absolute left-5 top-0 transform translate-y-px'>- <div className='flex justify-center transform -translate-y-1/2'>- <span className='inline-flex rounded-full bg-indigo-600 px-4 py-1 text-sm font-semibold tracking-wider uppercase text-white'>+ <div className='absolute left-5 top-0 translate-y-px transform'>+ <div className='flex -translate-y-1/2 transform justify-center'>+ <span className='inline-flex rounded-full bg-indigo-600 px-4 py-1 text-sm font-semibold uppercase tracking-wider text-white'>{t('pricing.currentPlan')}</span></div></div>)}{selectedTier.legacy && (- <div className='absolute right-5 top-0 transform translate-y-px'>- <div className='flex justify-center transform -translate-y-1/2'>- <span className='inline-flex rounded-full bg-amber-400 px-2 py-1 text-sm font-semibold tracking-wider uppercase text-white'>+ <div className='absolute right-5 top-0 translate-y-px transform'>+ <div className='flex -translate-y-1/2 transform justify-center'>+ <span className='inline-flex rounded-full bg-amber-400 px-2 py-1 text-sm font-semibold uppercase tracking-wider text-white'>{t('pricing.legacy')}</span></div></div>)}- <div className='p-6 border-none'>+ <div className='border-none p-6'><ClientOnly fallback={<Loader />}>{() => (- <div className='flex justify-between flex-wrap'>+ <div className='flex flex-wrap justify-between'><p className='mt-2 sm:mt-0'><span className='text-4xl font-bold text-[#4D4D4D] dark:text-gray-50'>{currency.symbol}@@ -408,7 +408,7 @@ const Pricing = ({ t, language, authenticated, isBillingPage }: IPricing) => {</Button>) : (<Link- className='relative inline-flex select-none items-center border leading-4 font-medium rounded-md px-4 py-2 text-sm shadow-sm text-gray-50 bg-slate-900 hover:bg-slate-700 dark:bg-indigo-700 dark:hover:bg-indigo-800 border-transparent'+ className='relative inline-flex select-none items-center rounded-md border border-transparent bg-slate-900 px-4 py-2 text-sm font-medium leading-4 text-gray-50 shadow-sm hover:bg-slate-700 dark:bg-indigo-700 dark:hover:bg-indigo-800'to={routes.signup}aria-label={t('titles.signup')}>@@ -419,25 +419,25 @@ const Pricing = ({ t, language, authenticated, isBillingPage }: IPricing) => {)}</ClientOnly></div>- <div className='px-6 border-none'>- <hr className='w-full mx-auto border border-gray-300 dark:border-slate-800' />+ <div className='border-none px-6'>+ <hr className='mx-auto w-full border border-gray-300 dark:border-slate-800' /></div>- <div className='pt-6 pb-8 px-6 border-none'>- <h3 className='text-xs font-medium text-gray-900 dark:text-gray-50 tracking-wide uppercase'>+ <div className='border-none px-6 pb-8 pt-6'>+ <h3 className='text-xs font-medium uppercase tracking-wide text-gray-900 dark:text-gray-50'>{t('pricing.whatIncl')}</h3>{/* space-y-4 */}<ul className='mt-6 grid grid-cols-2 gap-4'>{_map(planFeatures, (feature) => (<li key={feature} className='flex space-x-3'>- <CheckIcon className='flex-shrink-0 h-5 w-5 text-green-500' aria-hidden='true' />+ <CheckIcon className='h-5 w-5 flex-shrink-0 text-green-500' aria-hidden='true' /><span className='text-sm text-gray-700 dark:text-gray-200'>{feature}</span></li>))}</ul></div></div>- <p className='text-base text-gray-900 dark:text-gray-50 tracking-tight mt-5'>+ <p className='mt-5 text-base tracking-tight text-gray-900 dark:text-gray-50'><Trans// @ts-ignoret={t}@@ -524,8 +524,8 @@ const Pricing = ({ t, language, authenticated, isBillingPage }: IPricing) => {<div><h2 className='text-base font-bold'>{t('billing.dueNow')}</h2><p className='text-sm'>{t('billing.dueNowDescription')}</p>- <div className='overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg mt-2'>- <table className='min-w-full divide-y divide-gray-300 200 dark:divide-gray-500'>+ <div className='mt-2 overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'>+ <table className='200 min-w-full divide-y divide-gray-300 dark:divide-gray-500'><thead className='bg-gray-50 dark:bg-slate-800'><tr><th@@ -542,7 +542,7 @@ const Pricing = ({ t, language, authenticated, isBillingPage }: IPricing) => {</th></tr></thead>- <tbody className='divide-y divide-gray-200 dark:divide-gray-600 bg-white dark:bg-slate-800'>+ <tbody className='divide-y divide-gray-200 bg-white dark:divide-gray-600 dark:bg-slate-800'><tr><td className='whitespace-nowrap px-3 py-4 text-sm text-gray-900 dark:text-gray-50 sm:pl-6'>{`${subUpdatePreview.immediatePayment.symbol}${subUpdatePreview.immediatePayment.amount}`}@@ -569,9 +569,9 @@ const Pricing = ({ t, language, authenticated, isBillingPage }: IPricing) => {})}</p>)}- <h2 className='text-base font-bold mt-5'>{t('billing.nextPayment')}</h2>- <div className='overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg mt-2'>- <table className='min-w-full divide-y divide-gray-300 200 dark:divide-gray-500'>+ <h2 className='mt-5 text-base font-bold'>{t('billing.nextPayment')}</h2>+ <div className='mt-2 overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'>+ <table className='200 min-w-full divide-y divide-gray-300 dark:divide-gray-500'><thead className='bg-gray-50 dark:bg-slate-800'><tr><th@@ -588,7 +588,7 @@ const Pricing = ({ t, language, authenticated, isBillingPage }: IPricing) => {</th></tr></thead>- <tbody className='divide-y divide-gray-200 dark:divide-gray-600 bg-white dark:bg-slate-800'>+ <tbody className='divide-y divide-gray-200 bg-white dark:divide-gray-600 dark:bg-slate-800'><tr><td className='whitespace-nowrap px-3 py-4 text-sm text-gray-900 dark:text-gray-50 sm:pl-6'>{`${subUpdatePreview.nextPayment.symbol}${subUpdatePreview.nextPayment.amount}`}diff --git a/app/pages/MainPage/index.tsx b/app/pages/MainPage/index.tsxindex e3f44fde9..b0bd9478c 100644--- a/app/pages/MainPage/index.tsx+++ b/app/pages/MainPage/index.tsx@@ -146,19 +146,19 @@ const COMPETITOR_FEATURE_TABLE: {}export const Lines = (): JSX.Element => (- <div className='relative pointer-events-none'>- <div className='absolute rotate-6 right-[-48rem] top-[32rem] h-px w-[800%] bg-gradient-to-l from-slate-600 dark:from-slate-400 opacity-10' />- <div className='absolute rotate-[96deg] top-[22.26rem] xl:top-[23.5rem] -left-60 ml-[-0.5px] h-96 w-[2px] rounded-full bg-gradient-to-t from-emerald-600 dark:from-emerald-700 opacity-50' />+ <div className='pointer-events-none relative'>+ <div className='absolute right-[-48rem] top-[32rem] h-px w-[800%] rotate-6 bg-gradient-to-l from-slate-600 opacity-10 dark:from-slate-400' />+ <div className='absolute -left-60 top-[22.26rem] ml-[-0.5px] h-96 w-[2px] rotate-[96deg] rounded-full bg-gradient-to-t from-emerald-600 opacity-50 dark:from-emerald-700 xl:top-[23.5rem]' /></div>)const M_FEATURES_ICONS = [- <ArrowsPointingOutIcon className='w-5 h-5' key='ArrowsPointingOutIcon' />,- <CodeBracketIcon className='w-5 h-5' key='CodeBracketIcon' />,- <PuzzlePieceIcon className='w-5 h-5' key='PuzzlePieceIcon' />,- <ArrowTrendingUpIcon className='w-5 h-5' key='ArrowTrendingUpIcon' />,- <LightBulbIcon className='w-5 h-5' key='LightBulbIcon' />,- <ShareIcon className='w-5 h-5' key='ShareIcon' />,+ <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' />,]interface IMain {@@ -186,9 +186,9 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {<div className='overflow-hidden'><main className='bg-white dark:bg-slate-900'>{/* first block with live demo */}- <div className='relative overflow-x-clip isolate'>+ <div className='relative isolate overflow-x-clip'><svg- className='absolute inset-0 -z-10 h-full w-full stroke-gray-200 dark:stroke-white/10 [mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)]'+ className='absolute inset-0 -z-10 h-full w-full stroke-gray-200 [mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)] dark:stroke-white/10'aria-hidden='true'><defs>@@ -217,47 +217,47 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {/></div><Header ssrTheme={ssrTheme} authenticated={authenticated} transparent />- <div className='flex justify-center items-center py-2 px-2'>+ <div className='flex items-center justify-center px-2 py-2'><ahref='https://u24.gov.ua/'target='_blank'rel='noreferrer noopener'- className='text-slate-900 dark:text-white border-transparent border-b-2 hover:border-slate-900 dark:hover:border-white text-center'+ 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='h-4 w-4 text-slate-800 dark:text-white ml-1 hidden md:block' />+ <ArrowTopRightOnSquareIcon className='ml-1 hidden h-4 w-4 text-slate-800 dark:text-white md:block' /></div>- <div className='relative pt-10 lg:pt-24 pb-5 xl:px-8 lg:px-6 sm:px-3 mx-auto min-h-[740px]'>- <div className='relative z-20 flex flex-row content-between 2xl:mr-[14vw] 2xl:justify-center justify-center lg:justify-start'>- <div className='lg:mt-0 text-left relative lg:mr-14 px-4'>- <h1 className='max-w-2xl text-3xl sm:text-5xl md:text-5xl font-extrabold text-slate-900 dark:text-white sm:leading-none lg:text-5xl xl:text-6xl xl:leading-[110%]'>+ <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-3xl 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%]'><Trans// @ts-ignoret={t}i18nKey='main.slogan'components={{span: (- <span className='from-indigo-700 to-indigo-700 dark:from-indigo-600 dark:to-indigo-400 text-transparent bg-clip-text bg-gradient-to-r' />+ <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' />),}}/></h1>- <div className='flex items-center overflow-hidden mt-2 mb-2 sm:text-xl lg:text-lg xl:text-lg'>- <p className='rounded-full bg-indigo-500/10 px-3 py-1 text-sm text-center font-semibold leading-6 text-indigo-600 dark:text-indigo-400 ring-1 ring-inset ring-indigo-500/20'>+ <div className='mb-2 mt-2 flex items-center overflow-hidden sm:text-xl lg:text-lg xl:text-lg'>+ <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>{_isEmpty(lastBlogPost) ? (- <div className='h-6 ml-1 bg-slate-300 dark:bg-slate-700 w-full max-w-xs rounded-md animate-pulse' />+ <div className='ml-1 h-6 w-full max-w-xs animate-pulse rounded-md bg-slate-300 dark:bg-slate-700' />) : (<ClientOnlyfallback={- <div className='h-6 ml-1 bg-slate-300 dark:bg-slate-700 w-full max-w-xs rounded-md animate-pulse' />+ <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 ml-1 items-center space-x-1 text-sm font-semibold leading-6 text-slate-700 dark:text-slate-300 hover:underline'+ className='ml-1 inline-flex items-center space-x-1 text-sm font-semibold leading-6 text-slate-700 hover:underline dark:text-slate-300'to={`blog/${lastBlogPost.handle}`}><small className='text-sm'>{lastBlogPost.title}</small>@@ -275,15 +275,15 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {<div className='mt-10 flex flex-col items-center sm:flex-row'><Linkto={routesPath.signup}- className='rounded-md !duration-300 transition-all w-full sm:max-w-[210px] h-12 flex items-center justify-center sm:mr-6 shadow-sm ring-1 text-white bg-slate-900 ring-slate-900 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600'+ 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]'aria-label={t('titles.signup')}>- <span className='text-base font-semibold mr-1'>{t('common.getStarted')}</span>- <ArrowSmallRightIcon className='h-4 w-5 mt-[1px]' />+ <span className='mr-1 text-base font-semibold'>{t('common.getStarted')}</span>+ <ArrowSmallRightIcon className='mt-[1px] h-4 w-5' /></Link><ahref={LIVE_DEMO_URL}- className='rounded-md !duration-300 transition-all sm:mt-0 mt-2 ring-1 ring-slate-900 dark:ring-white/20 w-full sm:max-w-[210px] h-12 flex items-center justify-center shadow-sm text-slate-900 dark:text-white bg-transparent hover:bg-slate-200 dark:hover:bg-gray-800'+ className='mt-2 flex h-12 w-full items-center justify-center rounded-md bg-transparent text-slate-900 shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-200 dark:text-white dark:ring-white/20 dark:hover:bg-gray-800 sm:mt-0 sm:max-w-[210px]'target='_blank'rel='noopener noreferrer'aria-label={`${t('common.liveDemo')} (opens in a new tab)`}@@ -293,16 +293,16 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {</div><ahref={BOOK_A_CALL_URL}- className='mt-8 dark:text-gray-100 text-slate-900 hover:underline font-bold border-0 flex items-center max-w-max'+ 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>- <ArrowSmallRightIcon className='h-4 w-5 mt-[1px]' />+ <ArrowSmallRightIcon className='mt-[1px] h-4 w-5' /></a></div>- <div className='max-w-md xl:max-w-lg hidden lg:block'>+ <div className='hidden max-w-md lg:block xl:max-w-lg'><Lines /><picture><source@@ -311,7 +311,7 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {/><imgsrc={theme === 'dark' ? '/assets/screenshot_dark.png' : '/assets/screenshot_light.png'}- className='h-full min-w-[880px] rounded-xl relative shadow-2xl ring-1 ring-gray-900/10 dark:ring-white/10'+ 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'@@ -319,7 +319,7 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {</picture></div></div>- <div className='my-10 block lg:hidden relative z-20 px-4 md:px-0'>+ <div className='relative z-20 my-10 block px-4 md:px-0 lg:hidden'><picture><sourcesrcSet={theme === 'dark' ? '/assets/screenshot_dark.webp' : '/assets/screenshot_light.webp'}@@ -327,7 +327,7 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {/><imgsrc={theme === 'dark' ? '/assets/screenshot_dark.png' : '/assets/screenshot_light.png'}- className='rounded-xl relative shadow-2xl w-full ring-1 ring-gray-900/10 dark:ring-white/10'+ className='relative w-full rounded-xl shadow-2xl ring-1 ring-gray-900/10 dark:ring-white/10'width='100%'height='auto'alt='Swetrix Analytics dashboard'@@ -338,10 +338,10 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {</div>{/* end first block with live demo */}{/* section Core Analytics Features */}- <div className='dark:bg-slate-900 bg-white px-4 pb-24'>+ <div className='bg-white px-4 pb-24 dark:bg-slate-900'><sectionid='core-analytics'- className='flex pt-16 md:pt-48 flex-col-reverse md:flex-row items-center md:items-start md:justify-between max-w-7xl m-auto'+ className='m-auto flex max-w-7xl flex-col-reverse items-center pt-16 md:flex-row md:items-start md:justify-between md:pt-48'><picture><source@@ -350,47 +350,47 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {/><imgsrc={theme === 'dark' ? '/assets/CoreFeaturesDark.png' : '/assets/CoreFeaturesLight.png'}- className='md:w-[450px] md:mr-3 mt-3 md:mt-0 lg:w-[640px]'+ 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='font-extrabold text-4xl dark:text-white text-slate-900'>{t('main.coreFeatures.title')}</h2>- <p className='mt-6 dark:text-gray-400 text-gray-600 mb-6'>{t('main.coreFeatures.desc')}</p>+ <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><ahref={LIVE_DEMO_URL}- className='dark:text-indigo-400 text-indigo-700 hover:underline font-bold border-0 flex items-center'+ className='flex 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')}- <ArrowSmallRightIcon className='w-5 h-4 mt-[1px]' />+ <ArrowSmallRightIcon className='mt-[1px] h-4 w-5' /></a></div></section>{/* end section Core Analytics Features */}{/* section Marketplace & built-in Extensions */}- <section className='flex flex-col md:flex-row items-center md:justify-between max-w-7xl m-auto'>+ <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='font-extrabold text-4xl text-slate-900 dark:text-white'>{t('main.marketplace.title')}</h2>- <p className='mt-6 text-gray-600 dark:text-gray-400 mb-3'>{t('main.marketplace.desc1')}</p>- <p className='text-gray-600 dark:text-gray-400 mb-6'>{t('main.marketplace.desc2')}</p>+ <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><ahref={MARKETPLACE_URL}- className='dark:text-indigo-400 text-indigo-700 hover:underline font-bold border-0 flex items-center'+ className='flex 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')}- <ArrowSmallRightIcon className='w-5 h-4 mt-[1px]' />+ <ArrowSmallRightIcon className='mt-[1px] h-4 w-5' /></a></div><img- className='md:w-[450px] lg:w-[32rem] md:ml-5 mt-8 md:mt-0'+ className='mt-8 md:ml-5 md:mt-0 md:w-[450px] lg:w-[32rem]'width='450'height='253'src='/assets/teardown.svg'@@ -399,24 +399,24 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {</section>{/* end section Marketplace & built-in Extensions */}{/* section Privacy compliance. */}- <section className='flex pt-20 md:pt-28 flex-col-reverse md:flex-row items-center md:items-start md:justify-between max-w-7xl m-auto'>+ <section className='m-auto flex max-w-7xl flex-col-reverse items-center pt-20 md:flex-row md:items-start md:justify-between md:pt-28'><img- className='md:w-[360px] md:mr-3 mt-3 md:mt-0 lg:w-[512px]'+ 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='max-w-[516px] w-full md:min-w-[370px] pb-16 md:pb-0 md:pt-8'>- <h2 className='font-extrabold mb-6 text-4xl text-slate-900 dark:text-white'>{t('main.privacy.title')}</h2>+ <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='fill-indigo-500 w-[24px] h-[24px]' />+ <CheckCircleIcon className='h-[24px] w-[24px] fill-indigo-500' /></div><p><span className='dark:text-white'>{item.label}</span>- <span className='mr-1 ml-1 dark:text-white'>-</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>@@ -424,11 +424,11 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {{/* mt-7 because mb-4 in upper component + mt-7 = 11. mb-11 is used for spacing the links in other sections. */}<Linkto={routesPath.privacy}- className='mt-7 dark:text-indigo-400 text-indigo-700 hover:underline font-bold border-0 flex items-center'+ className='mt-7 flex items-center border-0 font-bold text-indigo-700 hover:underline dark:text-indigo-400'aria-label={t('footer.pp')}>{t('main.dataProtection')}- <ArrowSmallRightIcon className='w-5 h-4 mt-[1px]' />+ <ArrowSmallRightIcon className='mt-[1px] h-4 w-5' /></Link></div></section>@@ -437,7 +437,7 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {{/* block singup */}{!authenticated && (<div className='overflow-x-clip'>- <div className='py-20 max-w-7xl w-full flex justify-center md:justify-between items-center mx-auto px-5 relative isolate'>+ <div className='relative isolate mx-auto flex w-full max-w-7xl items-center justify-center px-5 py-20 md:justify-between'><divclassName='absolute inset-x-0 -top-3 -z-10 transform-gpu overflow-hidden px-36 blur-3xl'aria-hidden='true'@@ -450,10 +450,10 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {}}/></div>- <div className='relative z-50 lg:col-span-6 rounded-xl'>- <div className='bg-white dark:bg-slate-800/20 ring-1 ring-slate-200 dark:ring-slate-800 sm:max-w-md sm:w-full sm:mx-auto sm:rounded-lg sm:overflow-hidden'>+ <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-lg text-gray-900 dark:text-white text-center md:text-xl font-semibold'>+ <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'>@@ -461,7 +461,7 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {</div></div><div className='px-4 sm:px-10'>- <div className='py-6 bg-transparent border-t border-gray-200 dark:border-slate-700'>+ <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// @ts-ignore@@ -472,7 +472,7 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {tos: (<Linkto={routesPath.terms}- className='font-medium text-gray-900 dark:text-gray-300 hover:underline'+ className='font-medium text-gray-900 hover:underline dark:text-gray-300'aria-label={t('footer.tos')}/>),@@ -480,7 +480,7 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {pp: (<Linkto={routesPath.privacy}- className='font-medium text-gray-900 dark:text-gray-300 hover:underline'+ className='font-medium text-gray-900 hover:underline dark:text-gray-300'aria-label={t('footer.pp')}/>),@@ -511,17 +511,17 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {)}{/* end block singup */}{/* Core features section */}- <section className='bg-white dark:bg-slate-900 pt-14 relative pb-14'>+ <section className='relative bg-white pb-14 pt-14 dark:bg-slate-900'><BackgroundSvg theme={theme} className='absolute -left-8' type='shapes' />- <div className='mx-auto text-slate-900 font-extrabold text-3xl sm:text-5xl w-fit relative'>+ <div className='relative mx-auto w-fit text-3xl font-extrabold text-slate-900 sm:text-5xl'><h2 className='relative z-20 dark:text-white'>{t('main.coreFeaturesBlock')}</h2><BackgroundSvgtheme={theme}- className='absolute right-0 sm:-right-16 top-9 z-10 opacity-30'+ className='absolute right-0 top-9 z-10 opacity-30 sm:-right-16'type='semicircle'/></div>- <div className='mt-[60px] flex items-center max-w-7xl w-full mx-auto flex-wrap justify-center xl:justify-between'>+ <div className='mx-auto mt-[60px] flex w-full max-w-7xl flex-wrap items-center justify-center xl:justify-between'>{_map(// @ts-expect-errort('main.features', { returnObjects: true }),@@ -532,47 +532,47 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {},index: number,) => (- <div key={item.name} className='w-[416px] h-64 px-7 py-11 text-center'>- <span className='text-indigo-500 text-3xl font-semibold'>{1 + index}</span>+ <div key={item.name} className='h-64 w-[416px] px-7 py-11 text-center'>+ <span className='text-3xl font-semibold text-indigo-500'>{1 + index}</span><div className='mt-2'>- <h2 className='text-slate-900 dark:text-white text-xl font-semibold max-w-[300px] mx-auto mb-3 whitespace-pre-line'>+ <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='text-gray-600 max-w-xs mx-auto dark:text-gray-400'>{item.desc}</p>+ <p className='mx-auto max-w-xs text-gray-600 dark:text-gray-400'>{item.desc}</p></div></div>),)}</div>- <BackgroundSvg theme={theme} className='absolute right-0 bottom-0 z-10' type='twolinecircle' />+ <BackgroundSvg theme={theme} className='absolute bottom-0 right-0 z-10' type='twolinecircle' /></section>{/* end Core features section */}{/* section supports */}- <section className='bg-white dark:bg-slate-900 pt-24 sm:px-5 px-3 relative'>- <h2 className='mx-auto text-slate-900 dark:text-white font-bold text-3xl sm:ext-5xl w-fit text-center'>+ <section className='relative bg-white px-3 pt-24 dark:bg-slate-900 sm:px-5'>+ <h2 className='sm:ext-5xl mx-auto w-fit text-center text-3xl font-bold text-slate-900 dark:text-white'>{t('main.supports')}</h2>- <div className='mt-20 grid sm:grid-cols-4 md:grid-cols-6 grid-cols-3 gap-x-4 gap-y-10 justify-items-center items-center lg:gap-x-10 lg:gap-y-16 max-w-7xl w-full mx-auto justify-between'>- <Telegram className='max-w-[64px] sm:max-w-[150px] max-h-16' />- <NuxtJS theme={theme} className='max-w-[106px] sm:max-w-[150px] max-h-12' />- <Webflow theme={theme} className='max-w-[106px] sm:max-w-[150px] max-h-12' />- <NextJS theme={theme} className='max-w-[78px] sm:max-w-[80px] max-h-12' />- <Notion theme={theme} className='max-w-[106px] sm:max-w-[130px] max-h-12' />- <ReactSVG className='max-w-[71px] sm:max-w-[150px] max-h-16' />- <Angular className='max-w-[60px] sm:max-w-[160px] max-h-20' />- <Wordpress theme={theme} className='max-w-[100px] sm:max-w-[160px] max-h-16' />- <Wix theme={theme} className='max-w-[105px] sm:max-w-[120px] max-h-12' />- <Ghost theme={theme} className='max-w-[105px] sm:max-w-[150px] max-h-20' />- <Gatsby theme={theme} className='max-w-[105px] sm:max-w-[150px] max-h-12' />- <Cloudflare theme={theme} className='max-w-[105px] sm:max-w-[140px] max-h-12' />+ <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>{/* end section supports */}{/* Marketplace and extension features */}<div className='overflow-hidden'>- <div className='relative w-full mx-auto pt-10 mt-10 isolate'>+ <div className='relative isolate mx-auto mt-10 w-full pt-10'><svg- className='absolute w-full inset-0 -z-10 hidden h-full stroke-gray-200 dark:stroke-white/10 [mask-image:radial-gradient(64rem_64rem_at_top,white,transparent)] sm:block'+ 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>@@ -588,11 +588,11 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {</svg><rect width='100%' height='100%' strokeWidth={0} fill='url(#rect-pattern-2)' /></svg>- <section className='relative z-20 px-3 max-w-7xl mx-auto'>- <h2 className='mt-20 text-center text-3xl sm:text-5xl text-slate-900 dark:text-white font-extrabold max-w-lg w-full mx-auto'>+ <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-3xl font-extrabold text-slate-900 dark:text-white sm:text-5xl'>{t('main.marketplaceBlock')}</h2>- <div className='grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-y-10 sm:gap-y-24 justify-between justify-items-center text-slate-900 dark:text-white pt-20 pb-36'>+ <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-errort('main.mFeatures', { returnObjects: true }),@@ -603,12 +603,12 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {},index: number,) => (- <div key={item.name} className='max-w-[310px] w-full'>+ <div key={item.name} className='w-full max-w-[310px]'><div className='flex items-center'>- <span className='text-slate-900 dark:text-gray-200 text-xl mr-4'>+ <span className='mr-4 text-xl text-slate-900 dark:text-gray-200'>{M_FEATURES_ICONS[index]}</span>- <h2 className='font-semibold text-xl'>{item.name}</h2>+ <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>@@ -625,7 +625,7 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {{/* section: Why use Swetrix when there is .... */}<div className='overflow-hidden'>- <div className='relative max-w-7xl w-full mx-auto isolate'>+ <div className='relative isolate mx-auto w-full max-w-7xl'><divclassName='absolute inset-x-0 top-1/2 -z-10 -translate-y-1/2 transform-gpu overflow-hidden opacity-30 blur-3xl'aria-hidden='true'@@ -651,7 +651,7 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {/></div><section className='relative z-20 px-3'>- <h2 className='mt-20 text-center h-8 mb-5 text-3xl sm:text-5xl text-slate-900 dark:text-white font-extrabold max-w-prose w-full mx-auto'>+ <h2 className='mx-auto mb-5 mt-20 h-8 w-full max-w-prose text-center text-3xl font-extrabold text-slate-900 dark:text-white sm:text-5xl'><Trans// @ts-ignoret={t}@@ -672,9 +672,9 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {}}/></h2>- <div className='py-20 text-lg text-gray-50 tracking-tight'>+ <div className='py-20 text-lg tracking-tight text-gray-50'><div className='mt-2 flex flex-col'>- <div className='-my-2 -mx-4 overflow-x-auto sm:-mx-6 lg:-mx-8'>+ <div className='-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8'><div className='inline-block min-w-full py-2 align-middle md:px-6 lg:px-8'><div className='overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'><table className='w-full min-w-full divide-y divide-slate-500'>@@ -692,7 +692,7 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {))}</tr></thead>- <tbody className='divide-y divide-slate-300 dark:divide-slate-700 bg-gray-50 dark:bg-slate-800'>+ <tbody className='divide-y divide-slate-300 bg-gray-50 dark:divide-slate-700 dark:bg-slate-800'>{_map(COMPETITOR_FEATURE_TABLE.Swetrix, (_, key) => (<tr key={key}><td className='w-1/6 px-3 py-4 text-sm text-slate-700 dark:text-gray-50 sm:pl-6'>@@ -705,13 +705,13 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {>{COMPETITOR_FEATURE_TABLE[service][key] && (<CheckIcon- className='flex-shrink-0 h-5 w-5 text-green-600 dark:text-green-500'+ className='h-5 w-5 flex-shrink-0 text-green-600 dark:text-green-500'aria-label={t('common.yes')}/>)}{!COMPETITOR_FEATURE_TABLE[service][key] && (<XMarkIcon- className='flex-shrink-0 h-5 w-5 text-red-600 dark:text-red-500'+ className='h-5 w-5 flex-shrink-0 text-red-600 dark:text-red-500'aria-label={t('common.no')}/>)}@@ -731,21 +731,21 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {</div>{/* section Testimonials */}- <section className='bg-white dark:bg-slate-900 pt-20 pb-20 relative'>+ <section className='relative bg-white pb-20 pt-20 dark:bg-slate-900'><div className='absolute right-0 top-0'><BackgroundSvg theme={theme} type='twolinecircle2' /></div>- <div className='absolute rotate-[135deg] left-0 z-0'>+ <div className='absolute left-0 z-0 rotate-[135deg]'><BackgroundSvg theme={theme} type='shapes' /></div>- <div className='max-w-[1000px] w-full mx-auto'>- <h2 className='text-slate-900 text-center font-extrabold text-4xl relative z-20 dark:text-white'>+ <div className='mx-auto w-full max-w-[1000px]'>+ <h2 className='relative z-20 text-center text-4xl font-extrabold text-slate-900 dark:text-white'>{t('main.testimonials')}</h2>- <p className='mt-5 text-xl max-w-prose text-gray-600 dark:text-gray-200 text-center mx-auto'>+ <p className='mx-auto mt-5 max-w-prose text-center text-xl text-gray-600 dark:text-gray-200'>{t('main.peopleUseSwetrix')}</p>- <div className='flex items-center flex-col md:flex-row justify-between mt-16'>+ <div className='mt-16 flex flex-col items-center justify-between md:flex-row'>{_map(// @ts-expect-errort('main.lTestimonials', { returnObjects: true }),@@ -759,7 +759,7 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {) => (<divkey={item.name}- className={cx('max-w-xs w-full dark:bg-slate-900', {+ className={cx('w-full max-w-xs dark:bg-slate-900', {'mt-5 md:mt-0': index > 0,})}style={{@@ -768,14 +768,14 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {borderRadius: '100px 30px 30px 30px',}}>- <Quote theme={theme} color={index === 1 ? 'indigo' : 'black'} className='mx-auto relative -top-4' />- <div className='px-10 mb-10 max-h-80 overflow-auto'>- <p className='text-gray-600 text-sm mt-8 dark:text-gray-400'>+ <Quote theme={theme} color={index === 1 ? 'indigo' : 'black'} className='relative -top-4 mx-auto' />+ <div className='mb-10 max-h-80 overflow-auto px-10'>+ <p className='mt-8 text-sm text-gray-600 dark:text-gray-400'>{item.name}<br />{item.role}</p>- <cite className='text-slate-900 dark:text-white text-md text mt-2 leading-9 whitespace-pre-line not-italic'>+ <cite className='text-md text mt-2 whitespace-pre-line not-italic leading-9 text-slate-900 dark:text-white'>{item.desc}</cite></div>@@ -787,12 +787,12 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {</section>{/* end section Testimonials */}- <div className='bg-white dark:bg-slate-900 px-4 md:px-8 pb-12'>+ <div className='bg-white px-4 pb-12 dark:bg-slate-900 md:px-8'><section- className='relative isolate max-w-7xl w-full mx-auto bg-slate-800 overflow-hidden lg:h-[450px]'+ className='relative isolate mx-auto w-full max-w-7xl overflow-hidden bg-slate-800 lg:h-[450px]'style={{ borderRadius: '100px 30px 30px 30px' }}>- <div className='absolute -z-10 inset-0 overflow-hidden' aria-hidden='true'>+ <div className='absolute inset-0 -z-10 overflow-hidden' aria-hidden='true'><div className='absolute left-[calc(20%-19rem)] top-[calc(50%-36rem)] transform-gpu blur-3xl'><divclassName='aspect-[1097/1023] w-[68.5625rem] bg-gradient-to-r from-[#ff4694] to-[#776fff] opacity-25 dark:opacity-10'@@ -803,9 +803,9 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {/></div></div>- <div className='flex items-start justify-between pt-8 pl-8 sm:pl-14 lg:pl-28 md:flex-row flex-col'>- <div className='max-w-[520px] w-full pt-14 pr-3 mb-16 md:mb-0'>- <h2 className='font-bold text-2xl leading-9 sm:text-4xl sm:leading-[48px] md:text-[28px] md:leading-10 lg:text-[33px] lg:leading-[48px] text-white mb-3'>+ <div className='flex flex-col items-start justify-between pl-8 pt-8 sm:pl-14 md:flex-row lg:pl-28'>+ <div className='mb-16 w-full max-w-[520px] pr-3 pt-14 md:mb-0'>+ <h2 className='mb-3 text-2xl font-bold leading-9 text-white sm:text-4xl sm:leading-[48px] md:text-[28px] md:leading-10 lg:text-[33px] lg:leading-[48px]'><Trans// @ts-ignoret={t}@@ -815,19 +815,19 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {}}/></h2>- <p className='text-gray-300 mb-9 font-medium text-base sm:text-lg'>{t('main.whyDitch')}</p>+ <p className='mb-9 text-base font-medium text-gray-300 sm:text-lg'>{t('main.whyDitch')}</p><Linkto={routesPath.signup}- className='rounded-md border !duration-300 transition-all w-full max-w-[210px] h-[50px] flex items-center justify-center sm:mr-6 shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 border-transparent'+ className='flex h-[50px] w-full max-w-[210px] items-center justify-center rounded-md border border-transparent bg-indigo-600 text-white shadow-sm transition-all !duration-300 hover:bg-indigo-700 sm:mr-6'aria-label={t('titles.signup')}>- <span className='text-base font-semibold mr-1'>{t('main.start')}</span>- <ArrowSmallRightIcon className='w-5 h-4 mt-[1px]' />+ <span className='mr-1 text-base font-semibold'>{t('main.start')}</span>+ <ArrowSmallRightIcon className='mt-[1px] h-4 w-5' /></Link></div>- <div className='max-w-md xl:max-w-lg block h-[450px] md:shadow-[8px_8px_10px_3px] md:rounded-md '>+ <div className='block h-[450px] max-w-md md:rounded-md md:shadow-[8px_8px_10px_3px] xl:max-w-lg '><img- className='rounded-xl ring-1 ring-gray-900/10 min-h-[600px] min-w-[880px]'+ className='min-h-[600px] min-w-[880px] rounded-xl ring-1 ring-gray-900/10'width='1760'height='880'src={theme === 'dark' ? '/assets/screenshot_dark.png' : '/assets/screenshot_light.png'}@@ -839,14 +839,14 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {</div>{/* Advantages of using open source */}- <section className='flex items-center lg:flex-row flex-col-reverse justify-between max-w-7xl w-full mx-auto py-20 lg:py-32 px-5'>+ <section className='mx-auto flex w-full max-w-7xl flex-col-reverse items-center justify-between px-5 py-20 lg:flex-row lg:py-32'><picture><sourcesrcSet={theme === 'dark' ? '/assets/opensource_dark.webp' : '/assets/opensource_light.webp'}type='image/webp'/><img- className='ring-1 ring-gray-900/10 dark:ring-white/10 rounded-xl'+ className='rounded-xl ring-1 ring-gray-900/10 dark:ring-white/10'width='576'height='406'src={theme === 'dark' ? '/assets/opensource_dark.png' : '/assets/opensource_light.png'}@@ -854,8 +854,8 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {alt='Swetrix open source'/></picture>- <div className='max-w-lg w-full lg:ml-5'>- <h2 className='text-3xl md:text-4xl text-slate-900 dark:text-white font-extrabold'>+ <div className='w-full max-w-lg lg:ml-5'>+ <h2 className='text-3xl font-extrabold text-slate-900 dark:text-white md:text-4xl'><Trans// @ts-ignoret={t}@@ -874,15 +874,15 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {}}/></h2>- <hr className='border-slate-300 dark:border-slate-700 border-1 max-w-[346px] my-6' />- <div className='max-w-md w-full lg:mb-0 mb-9'>+ <hr className='border-1 my-6 max-w-[346px] border-slate-300 dark:border-slate-700' />+ <div className='mb-9 w-full max-w-md lg:mb-0'>{_map(t('main.opensource', { returnObjects: true }), (item: { desc: string }) => (<pkey={item.desc}- className='text-slate-700 dark:text-gray-300 text-sm leading-6 flex items-center mb-3'+ className='mb-3 flex items-center text-sm leading-6 text-slate-700 dark:text-gray-300'><span>- <CheckCircleIcon className='w-6 h-6 text-indigo-500 mr-4' />+ <CheckCircleIcon className='mr-4 h-6 w-6 text-indigo-500' /></span>{item.desc}</p>@@ -892,57 +892,57 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {</section>{/* end Advantages of using open source */}{/* Become a developer */}- <section className='bg-white dark:bg-slate-900 pt-20 pb-44 relative'>+ <section className='relative bg-white pb-44 pt-20 dark:bg-slate-900'><div className='absolute right-0 top-16 z-0'><BackgroundSvg theme={theme} type='threecircle' /></div><div className='absolute -left-9 top-52 rotate-90'><BackgroundSvg theme={theme} type='shapes' /></div>- <div className='max-w-5xl w-full mx-auto px-3'>- <div className='max-w-prose w-full mx-auto'>- <h2 className='text-gray-900 dark:text-white text-3xl md:text-4xl font-extrabold text-center'>+ <div className='mx-auto w-full max-w-5xl px-3'>+ <div className='mx-auto w-full max-w-prose'>+ <h2 className='text-center text-3xl font-extrabold text-gray-900 dark:text-white md:text-4xl'>{t('main.peopleLoveSwetrix')}</h2>- <p className='mt-5 text-xl max-w-prose text-gray-600 dark:text-gray-200 text-center mx-auto'>+ <p className='mx-auto mt-5 max-w-prose text-center text-xl text-gray-600 dark:text-gray-200'>{t('main.whyPeopleLoveSwetrix')}</p></div>- <div className='flex items-center justify-between mt-20 md:mt-32 md:flex-row flex-col'>+ <div className='mt-20 flex flex-col items-center justify-between md:mt-32 md:flex-row'><div className='text-center'>- <ClientOnly fallback={<p className='text-indigo-700 text-5xl font-extrabold text-center'>0</p>}>+ <ClientOnly fallback={<p className='text-center text-5xl font-extrabold text-indigo-700'>0</p>}>{() => (- <p className='text-indigo-700 text-5xl font-extrabold text-center'>+ <p className='text-center text-5xl font-extrabold text-indigo-700'>{users[0]}{users[1] && <span className='text-gray-900 dark:text-indigo-200'>{users[1]}+</span>}</p>)}</ClientOnly>- <p className='text-gray-600 text-lg dark:text-gray-200'>{t('main.users')}</p>+ <p className='text-lg text-gray-600 dark:text-gray-200'>{t('main.users')}</p></div>- <div className='bg-gray-800 dark:bg-gray-200 w-2 h-2 rounded-full mx-5 mb-14 mt-16 md:mb-0 md:mt-0' />+ <div className='mx-5 mb-14 mt-16 h-2 w-2 rounded-full bg-gray-800 dark:bg-gray-200 md:mb-0 md:mt-0' /><div className='text-center'>- <ClientOnly fallback={<p className='text-indigo-700 text-5xl font-extrabold text-center'>0</p>}>+ <ClientOnly fallback={<p className='text-center text-5xl font-extrabold text-indigo-700'>0</p>}>{() => (- <p className='text-indigo-700 text-5xl font-extrabold text-center'>+ <p className='text-center text-5xl font-extrabold text-indigo-700'>{websites[0]}{websites[1] && <span className='text-gray-900 dark:text-indigo-200'>{websites[1]}+</span>}</p>)}</ClientOnly>- <p className='text-gray-600 text-lg dark:text-gray-200'>{t('main.websites')}</p>+ <p className='text-lg text-gray-600 dark:text-gray-200'>{t('main.websites')}</p></div>- <div className='bg-gray-800 dark:bg-gray-200 w-2 h-2 rounded-full mx-5 mb-14 mt-16 md:mb-0 md:mt-0' />+ <div className='mx-5 mb-14 mt-16 h-2 w-2 rounded-full bg-gray-800 dark:bg-gray-200 md:mb-0 md:mt-0' /><div className='text-center'>- <ClientOnly fallback={<p className='text-indigo-700 text-5xl font-extrabold text-center'>0</p>}>+ <ClientOnly fallback={<p className='text-center text-5xl font-extrabold text-indigo-700'>0</p>}>{() => (- <p className='text-indigo-700 text-5xl font-extrabold text-center'>+ <p className='text-center text-5xl font-extrabold text-indigo-700'>{events[0]}{events[1] && <span className='text-gray-900 dark:text-indigo-200'>{events[1]}+</span>}</p>)}</ClientOnly>- <p className='text-gray-600 text-lg dark:text-gray-200'>{t('main.pageviews')}</p>+ <p className='text-lg text-gray-600 dark:text-gray-200'>{t('main.pageviews')}</p></div></div></div>diff --git a/app/pages/NotFound/index.tsx b/app/pages/NotFound/index.tsxindex 893524f63..db718b028 100644--- a/app/pages/NotFound/index.tsx+++ b/app/pages/NotFound/index.tsx@@ -8,13 +8,13 @@ const NotFound = (): JSX.Element => {const { t } = useTranslation('common')return (- <div className='min-h-min-footer bg-gray-50 dark:bg-slate-900 px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='min-h-min-footer bg-gray-50 px-4 py-16 dark:bg-slate-900 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>+ <div className='mx-auto max-w-max'><main className='sm:flex'><p className='text-4xl font-bold text-indigo-600 dark:text-indigo-500 sm:text-5xl'>404</p><div className='sm:ml-6'><div className='sm:border-l sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{t('notFoundPage.title')}</h1><p className='mt-1 whitespace-pre-line text-base text-gray-500 dark:text-gray-300'>@@ -24,13 +24,13 @@ const NotFound = (): JSX.Element => {<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'><Linkto={routes.main}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'>{t('notFoundPage.goHome')}</Link><Linkto={routes.contact}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-indigo-700 bg-indigo-100 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:text-gray-50 dark:bg-slate-800 dark:hover:bg-slate-700 dark:focus:ring-gray-50'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'>{t('notFoundPage.support')}</Link>diff --git a/app/pages/OpenStartup/index.tsx b/app/pages/OpenStartup/index.tsxindex 31b2a9991..944573226 100644--- a/app/pages/OpenStartup/index.tsx+++ b/app/pages/OpenStartup/index.tsx@@ -342,49 +342,49 @@ const OpenStartup = (): JSX.Element => {return (<div className='min-h-page bg-gray-50 dark:bg-slate-900'>- <div className='w-11/12 md:w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8 whitespace-pre-line'>- <h1 className='text-4xl font-bold text-gray-900 dark:text-gray-50 tracking-tight'>{t('titles.open')}</h1>+ <div className='mx-auto w-11/12 whitespace-pre-line px-4 pb-16 pt-12 sm:px-6 md:w-4/5 lg:px-8'>+ <h1 className='text-4xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>{t('titles.open')}</h1>- <p className='mt-2 text-lg text-gray-900 dark:text-gray-50 tracking-tight'>{t('open.desc')}</p>+ <p className='mt-2 text-lg tracking-tight text-gray-900 dark:text-gray-50'>{t('open.desc')}</p>- <p className='mt-2 text-lg text-gray-900 dark:text-gray-50 tracking-tight'>{t('open.updated')}</p>+ <p className='mt-2 text-lg tracking-tight text-gray-900 dark:text-gray-50'>{t('open.updated')}</p>- <h2 className='mt-8 text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight'>+ <h2 className='mt-8 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>{t('open.finance.title')}</h2>- <p className='mt-2 text-lg text-gray-900 dark:text-gray-50 tracking-tight'>{t('open.finance.desc')}</p>+ <p className='mt-2 text-lg tracking-tight text-gray-900 dark:text-gray-50'>{t('open.finance.desc')}</p>- <div className='h-80 mt-4' id='open-startup' />+ <div className='mt-4 h-80' id='open-startup' />- <h2 className='mt-8 text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight'>+ <h2 className='mt-8 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>{t('open.usage.title')}</h2>- <p className='mt-2 text-lg text-gray-900 dark:text-gray-50 tracking-tight'>{t('open.usage.desc')}</p>+ <p className='mt-2 text-lg tracking-tight text-gray-900 dark:text-gray-50'>{t('open.usage.desc')}</p>- <p className='mt-2 text-md text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-md mt-2 tracking-tight text-gray-900 dark:text-gray-50'>{t('main.users')}{': '}{users[0]}{users[1] && <span className='text-gray-900 dark:text-indigo-200'>{users[1]}+</span>}</p>- <p className='mt-2 text-md text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-md mt-2 tracking-tight text-gray-900 dark:text-gray-50'>{t('main.websites')}{': '}{websites[0]}{websites[1] && <span className='text-gray-900 dark:text-indigo-200'>{websites[1]}+</span>}</p>- <p className='mt-2 text-md text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-md mt-2 tracking-tight text-gray-900 dark:text-gray-50'>{t('main.pageviews')}{': '}{events[0]}{events[1] && <span className='text-gray-900 dark:text-indigo-200'>{events[1]}+</span>}</p>- <p className='mt-2 text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='mt-2 text-lg tracking-tight text-gray-900 dark:text-gray-50'><Transt={t}i18nKey='open.usage.live'@@ -392,7 +392,7 @@ const OpenStartup = (): JSX.Element => {livedemo: (<Linkto={LIVE_DEMO_URL}- className='font-medium hover:underline text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500'+ className='font-medium text-indigo-600 hover:text-indigo-500 hover:underline dark:text-indigo-400 dark:hover:text-indigo-500'/>),}}diff --git a/app/pages/Performance/index.tsx b/app/pages/Performance/index.tsxindex 3b834a980..d7fc0f2ef 100644--- a/app/pages/Performance/index.tsx+++ b/app/pages/Performance/index.tsx@@ -18,9 +18,9 @@ import Header from 'components/Header'import Pricing from '../MainPage/Pricing'export const Lines = (): JSX.Element => (- <div className='relative pointer-events-none'>- <div className='absolute rotate-6 right-[-48rem] top-[32rem] h-px w-[800%] bg-gradient-to-l from-slate-600 dark:from-slate-400 opacity-10' />- <div className='absolute rotate-[96deg] top-[22.26rem] xl:top-[23.5rem] -left-60 ml-[-0.5px] h-96 w-[2px] rounded-full bg-gradient-to-t from-orange-600 dark:from-orange-700 opacity-50' />+ <div className='pointer-events-none relative'>+ <div className='absolute right-[-48rem] top-[32rem] h-px w-[800%] rotate-6 bg-gradient-to-l from-slate-600 opacity-10 dark:from-slate-400' />+ <div className='absolute -left-60 top-[22.26rem] ml-[-0.5px] h-96 w-[2px] rotate-[96deg] rounded-full bg-gradient-to-t from-orange-600 opacity-50 dark:from-orange-700 xl:top-[23.5rem]' /></div>)@@ -49,9 +49,9 @@ const Performance: React.FC<IPerformance> = ({ ssrTheme, ssrAuthenticated }): JS<div className='overflow-hidden'><main className='bg-white dark:bg-slate-900'>{/* first block with live demo */}- <div className='relative overflow-x-clip isolate'>+ <div className='relative isolate overflow-x-clip'><svg- className='absolute inset-0 -z-10 h-full w-full stroke-gray-200 dark:stroke-white/10 [mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)]'+ className='absolute inset-0 -z-10 h-full w-full stroke-gray-200 [mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)] dark:stroke-white/10'aria-hidden='true'><defs>@@ -80,47 +80,47 @@ const Performance: React.FC<IPerformance> = ({ ssrTheme, ssrAuthenticated }): JS/></div><Header ssrTheme={ssrTheme} authenticated={authenticated} transparent />- <div className='flex justify-center items-center py-2 px-2'>+ <div className='flex items-center justify-center px-2 py-2'><ahref='https://u24.gov.ua/'target='_blank'rel='noreferrer noopener'- className='text-slate-900 dark:text-white border-transparent border-b-2 hover:border-slate-900 dark:hover:border-white text-center'+ 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='h-4 w-4 text-slate-800 dark:text-white ml-1 hidden md:block' />+ <ArrowTopRightOnSquareIcon className='ml-1 hidden h-4 w-4 text-slate-800 dark:text-white md:block' /></div>- <div className='relative pt-10 lg:pt-24 pb-5 xl:px-8 lg:px-6 sm:px-3 mx-auto min-h-[740px]'>- <div className='relative z-20 flex flex-row content-between 2xl:mr-[14vw] 2xl:justify-center justify-center lg:justify-start'>- <div className='lg:mt-0 text-left relative lg:mr-14 px-4'>- <h1 className='max-w-2xl text-3xl sm:text-5xl md:text-5xl font-extrabold text-slate-900 dark:text-white sm:leading-none lg:text-5xl xl:text-6xl xl:leading-[110%]'>+ <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-3xl 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%]'><Trans// @ts-ignoret={t}i18nKey='performance.slogan'components={{span: (- <span className='from-orange-700 to-orange-700 dark:from-orange-600 dark:to-red-400 text-transparent bg-clip-text bg-gradient-to-r' />+ <span className='bg-gradient-to-r from-orange-700 to-orange-700 bg-clip-text text-transparent dark:from-orange-600 dark:to-red-400' />),}}/></h1>- <div className='flex items-center overflow-hidden mt-2 mb-2 sm:text-xl lg:text-lg xl:text-lg'>- <p className='rounded-full bg-indigo-500/10 px-3 py-1 text-sm text-center font-semibold leading-6 text-indigo-600 dark:text-indigo-400 ring-1 ring-inset ring-indigo-500/20'>+ <div className='mb-2 mt-2 flex items-center overflow-hidden sm:text-xl lg:text-lg xl:text-lg'>+ <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>{_isEmpty(lastBlogPost) ? (- <div className='h-6 ml-1 bg-slate-300 dark:bg-slate-700 w-full max-w-xs rounded-md animate-pulse' />+ <div className='ml-1 h-6 w-full max-w-xs animate-pulse rounded-md bg-slate-300 dark:bg-slate-700' />) : (<ClientOnlyfallback={- <div className='h-6 ml-1 bg-slate-300 dark:bg-slate-700 w-full max-w-xs rounded-md animate-pulse' />+ <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 ml-1 items-center space-x-1 text-sm font-semibold leading-6 text-slate-700 dark:text-slate-300 hover:underline'+ className='ml-1 inline-flex items-center space-x-1 text-sm font-semibold leading-6 text-slate-700 hover:underline dark:text-slate-300'to={`blog/${lastBlogPost.handle}`}><small className='text-sm'>{lastBlogPost.title}</small>@@ -138,15 +138,15 @@ const Performance: React.FC<IPerformance> = ({ ssrTheme, ssrAuthenticated }): JS<div className='mt-10 flex flex-col items-center sm:flex-row'><Linkto={routesPath.signup}- className='rounded-md !duration-300 transition-all w-full sm:max-w-[210px] h-12 flex items-center justify-center sm:mr-6 shadow-sm ring-1 text-white bg-slate-900 ring-slate-900 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600'+ 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]'aria-label={t('titles.signup')}>- <span className='text-base font-semibold mr-1'>{t('common.getStarted')}</span>- <ArrowSmallRightIcon className='h-4 w-5 mt-[1px]' />+ <span className='mr-1 text-base font-semibold'>{t('common.getStarted')}</span>+ <ArrowSmallRightIcon className='mt-[1px] h-4 w-5' /></Link><ahref={PERFORMANCE_LIVE_DEMO_URL}- className='rounded-md !duration-300 transition-all sm:mt-0 mt-2 ring-1 ring-slate-900 dark:ring-white/20 w-full sm:max-w-[210px] h-12 flex items-center justify-center shadow-sm text-slate-900 dark:text-white bg-transparent hover:bg-slate-200 dark:hover:bg-gray-800'+ className='mt-2 flex h-12 w-full items-center justify-center rounded-md bg-transparent text-slate-900 shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-200 dark:text-white dark:ring-white/20 dark:hover:bg-gray-800 sm:mt-0 sm:max-w-[210px]'target='_blank'rel='noopener noreferrer'aria-label={`${t('common.liveDemo')} (opens in a new tab)`}@@ -155,7 +155,7 @@ const Performance: React.FC<IPerformance> = ({ ssrTheme, ssrAuthenticated }): JS</a></div></div>- <div className='max-w-md xl:max-w-lg hidden lg:block'>+ <div className='hidden max-w-md lg:block xl:max-w-lg'><Lines /><picture><source@@ -166,7 +166,7 @@ const Performance: React.FC<IPerformance> = ({ ssrTheme, ssrAuthenticated }): JS/><imgsrc={theme === 'dark' ? '/assets/screenshot_perf_dark.png' : '/assets/screenshot_perf_light.png'}- className='h-full min-w-[880px] rounded-xl relative shadow-2xl ring-1 ring-gray-900/10 dark:ring-white/10'+ 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'@@ -174,7 +174,7 @@ const Performance: React.FC<IPerformance> = ({ ssrTheme, ssrAuthenticated }): JS</picture></div></div>- <div className='my-10 block lg:hidden relative z-20 px-4 md:px-0'>+ <div className='relative z-20 my-10 block px-4 md:px-0 lg:hidden'><picture><sourcesrcSet={theme === 'dark' ? '/assets/screenshot_perf_dark.webp' : '/assets/screenshot_perf_light.webp'}@@ -182,7 +182,7 @@ const Performance: React.FC<IPerformance> = ({ ssrTheme, ssrAuthenticated }): JS/><imgsrc={theme === 'dark' ? '/assets/screenshot_perf_dark.png' : '/assets/screenshot_perf_light.png'}- className='rounded-xl relative shadow-2xl w-full ring-1 ring-gray-900/10 dark:ring-white/10'+ className='relative w-full rounded-xl shadow-2xl ring-1 ring-gray-900/10 dark:ring-white/10'width='100%'height='auto'alt='Swetrix Analytics dashboard'@@ -193,9 +193,9 @@ const Performance: React.FC<IPerformance> = ({ ssrTheme, ssrAuthenticated }): JS</div>{/* end first block with live demo */}- <div className='dark:bg-slate-900 bg-white px-4 pb-16 mx-auto max-w-7xl whitespace-pre-line mt-12'>- <h2 className='font-extrabold text-4xl dark:text-white text-slate-900'>{t('performance.fast.title')}</h2>- <p className='mt-6 dark:text-gray-50 text-gray-900 text-lg'>+ <div className='mx-auto mt-12 max-w-7xl whitespace-pre-line bg-white px-4 pb-16 dark:bg-slate-900'>+ <h2 className='text-4xl font-extrabold text-slate-900 dark:text-white'>{t('performance.fast.title')}</h2>+ <p className='mt-6 text-lg text-gray-900 dark:text-gray-50'><Trans// @ts-ignoret={t}@@ -205,14 +205,14 @@ const Performance: React.FC<IPerformance> = ({ ssrTheme, ssrAuthenticated }): JSindexUrl: (<Linkto={routesPath.main}- className='font-medium text-orange-600 dark:text-orange-400 hover:underline'+ className='font-medium text-orange-600 hover:underline dark:text-orange-400'/>),// eslint-disable-next-line jsx-a11y/anchor-has-contentwpostatsUrl: (<ahref='https://wpostats.com/?utm_source=swetrix.com'- className='font-medium text-orange-600 dark:text-orange-400 hover:underline'+ className='font-medium text-orange-600 hover:underline dark:text-orange-400'target='_blank'rel='noopener noreferrer'/>@@ -220,7 +220,7 @@ const Performance: React.FC<IPerformance> = ({ ssrTheme, ssrAuthenticated }): JS}}/></p>- <ul className='mt-2 list-disc list-inside dark:text-gray-50 text-gray-900 text-lg'>+ <ul className='mt-2 list-inside list-disc text-lg text-gray-900 dark:text-gray-50'>{_map(t('performance.fast.list', { returnObjects: true }), (item) => (<li key={item} className='mb-2'>{item}@@ -228,26 +228,26 @@ const Performance: React.FC<IPerformance> = ({ ssrTheme, ssrAuthenticated }): JS))}</ul>- <h2 className='mt-10 font-extrabold text-4xl dark:text-white text-slate-900'>+ <h2 className='mt-10 text-4xl font-extrabold text-slate-900 dark:text-white'>{t('performance.metrics.title')}</h2>- <p className='mt-6 dark:text-gray-50 text-gray-900 text-lg'>{t('performance.metrics.desc')}</p>+ <p className='mt-6 text-lg text-gray-900 dark:text-gray-50'>{t('performance.metrics.desc')}</p>- <h2 className='mt-10 font-extrabold text-4xl dark:text-white text-slate-900'>+ <h2 className='mt-10 text-4xl font-extrabold text-slate-900 dark:text-white'>{t('performance.privacy.title')}</h2>- <p className='mt-6 dark:text-gray-50 text-gray-900 text-lg'>{t('performance.privacy.desc')}</p>+ <p className='mt-6 text-lg text-gray-900 dark:text-gray-50'>{t('performance.privacy.desc')}</p></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} />}- <div className='bg-white dark:bg-slate-900 px-4 md:px-8 pb-12'>+ <div className='bg-white px-4 pb-12 dark:bg-slate-900 md:px-8'><section- className='relative isolate max-w-7xl w-full mx-auto bg-slate-800 overflow-hidden lg:h-[450px]'+ className='relative isolate mx-auto w-full max-w-7xl overflow-hidden bg-slate-800 lg:h-[450px]'style={{ borderRadius: '100px 30px 30px 30px' }}>- <div className='absolute -z-10 inset-0 overflow-hidden' aria-hidden='true'>+ <div className='absolute inset-0 -z-10 overflow-hidden' aria-hidden='true'><div className='absolute left-[calc(20%-19rem)] top-[calc(50%-36rem)] transform-gpu blur-3xl'><divclassName='aspect-[1097/1023] w-[68.5625rem] bg-gradient-to-r from-[#ff4694] to-[#776fff] opacity-25 dark:opacity-10'@@ -258,9 +258,9 @@ const Performance: React.FC<IPerformance> = ({ ssrTheme, ssrAuthenticated }): JS/></div></div>- <div className='flex items-start justify-between pt-8 pl-8 sm:pl-14 lg:pl-28 md:flex-row flex-col'>- <div className='max-w-[520px] w-full pt-14 pr-3 mb-16 md:mb-0'>- <h2 className='font-bold text-2xl leading-9 sm:text-4xl sm:leading-[48px] md:text-[28px] md:leading-10 lg:text-[33px] lg:leading-[48px] text-white mb-3'>+ <div className='flex flex-col items-start justify-between pl-8 pt-8 sm:pl-14 md:flex-row lg:pl-28'>+ <div className='mb-16 w-full max-w-[520px] pr-3 pt-14 md:mb-0'>+ <h2 className='mb-3 text-2xl font-bold leading-9 text-white sm:text-4xl sm:leading-[48px] md:text-[28px] md:leading-10 lg:text-[33px] lg:leading-[48px]'><Trans// @ts-ignoret={t}@@ -270,19 +270,19 @@ const Performance: React.FC<IPerformance> = ({ ssrTheme, ssrAuthenticated }): JS}}/></h2>- <p className='text-gray-300 mb-9 font-medium text-base sm:text-lg'>{t('main.whyDitch')}</p>+ <p className='mb-9 text-base font-medium text-gray-300 sm:text-lg'>{t('main.whyDitch')}</p><Linkto={routesPath.signup}- className='rounded-md border !duration-300 transition-all w-full max-w-[210px] h-[50px] flex items-center justify-center sm:mr-6 shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 border-transparent'+ className='flex h-[50px] w-full max-w-[210px] items-center justify-center rounded-md border border-transparent bg-indigo-600 text-white shadow-sm transition-all !duration-300 hover:bg-indigo-700 sm:mr-6'aria-label={t('titles.signup')}>- <span className='text-base font-semibold mr-1'>{t('main.start')}</span>- <ArrowSmallRightIcon className='w-5 h-4 mt-[1px]' />+ <span className='mr-1 text-base font-semibold'>{t('main.start')}</span>+ <ArrowSmallRightIcon className='mt-[1px] h-4 w-5' /></Link></div>- <div className='max-w-md xl:max-w-lg block h-[450px] md:shadow-[8px_8px_10px_3px] md:rounded-md '>+ <div className='block h-[450px] max-w-md md:rounded-md md:shadow-[8px_8px_10px_3px] xl:max-w-lg '><img- className='rounded-xl ring-1 ring-gray-900/10 min-h-[600px] min-w-[880px]'+ className='min-h-[600px] min-w-[880px] rounded-xl ring-1 ring-gray-900/10'width='1760'height='880'src={theme === 'dark' ? '/assets/screenshot_perf_dark.png' : '/assets/screenshot_perf_light.png'}@@ -294,57 +294,57 @@ const Performance: React.FC<IPerformance> = ({ ssrTheme, ssrAuthenticated }): JS</div>{/* Become a developer */}- <section className='bg-white dark:bg-slate-900 pt-20 pb-44 relative'>+ <section className='relative bg-white pb-44 pt-20 dark:bg-slate-900'><div className='absolute right-0 top-16 z-0'><BackgroundSvg theme={theme} type='threecircle' /></div><div className='absolute -left-9 top-52 rotate-90'><BackgroundSvg theme={theme} type='shapes' /></div>- <div className='max-w-5xl w-full mx-auto px-3'>- <div className='max-w-prose w-full mx-auto'>- <h2 className='text-gray-900 dark:text-white text-3xl md:text-4xl font-extrabold text-center'>+ <div className='mx-auto w-full max-w-5xl px-3'>+ <div className='mx-auto w-full max-w-prose'>+ <h2 className='text-center text-3xl font-extrabold text-gray-900 dark:text-white md:text-4xl'>{t('main.peopleLoveSwetrix')}</h2>- <p className='mt-5 text-xl max-w-prose text-gray-600 dark:text-gray-200 text-center mx-auto'>+ <p className='mx-auto mt-5 max-w-prose text-center text-xl text-gray-600 dark:text-gray-200'>{t('main.whyPeopleLoveSwetrix')}</p></div>- <div className='flex items-center justify-between mt-20 md:mt-32 md:flex-row flex-col'>+ <div className='mt-20 flex flex-col items-center justify-between md:mt-32 md:flex-row'><div className='text-center'>- <ClientOnly fallback={<p className='text-indigo-700 text-5xl font-extrabold text-center'>0</p>}>+ <ClientOnly fallback={<p className='text-center text-5xl font-extrabold text-indigo-700'>0</p>}>{() => (- <p className='text-indigo-700 text-5xl font-extrabold text-center'>+ <p className='text-center text-5xl font-extrabold text-indigo-700'>{users[0]}{users[1] && <span className='text-gray-900 dark:text-indigo-200'>{users[1]}+</span>}</p>)}</ClientOnly>- <p className='text-gray-600 text-lg dark:text-gray-200'>{t('main.users')}</p>+ <p className='text-lg text-gray-600 dark:text-gray-200'>{t('main.users')}</p></div>- <div className='bg-gray-800 dark:bg-gray-200 w-2 h-2 rounded-full mx-5 mb-14 mt-16 md:mb-0 md:mt-0' />+ <div className='mx-5 mb-14 mt-16 h-2 w-2 rounded-full bg-gray-800 dark:bg-gray-200 md:mb-0 md:mt-0' /><div className='text-center'>- <ClientOnly fallback={<p className='text-indigo-700 text-5xl font-extrabold text-center'>0</p>}>+ <ClientOnly fallback={<p className='text-center text-5xl font-extrabold text-indigo-700'>0</p>}>{() => (- <p className='text-indigo-700 text-5xl font-extrabold text-center'>+ <p className='text-center text-5xl font-extrabold text-indigo-700'>{websites[0]}{websites[1] && <span className='text-gray-900 dark:text-indigo-200'>{websites[1]}+</span>}</p>)}</ClientOnly>- <p className='text-gray-600 text-lg dark:text-gray-200'>{t('main.websites')}</p>+ <p className='text-lg text-gray-600 dark:text-gray-200'>{t('main.websites')}</p></div>- <div className='bg-gray-800 dark:bg-gray-200 w-2 h-2 rounded-full mx-5 mb-14 mt-16 md:mb-0 md:mt-0' />+ <div className='mx-5 mb-14 mt-16 h-2 w-2 rounded-full bg-gray-800 dark:bg-gray-200 md:mb-0 md:mt-0' /><div className='text-center'>- <ClientOnly fallback={<p className='text-indigo-700 text-5xl font-extrabold text-center'>0</p>}>+ <ClientOnly fallback={<p className='text-center text-5xl font-extrabold text-indigo-700'>0</p>}>{() => (- <p className='text-indigo-700 text-5xl font-extrabold text-center'>+ <p className='text-center text-5xl font-extrabold text-indigo-700'>{events[0]}{events[1] && <span className='text-gray-900 dark:text-indigo-200'>{events[1]}+</span>}</p>)}</ClientOnly>- <p className='text-gray-600 text-lg dark:text-gray-200'>{t('main.pageviews')}</p>+ <p className='text-lg text-gray-600 dark:text-gray-200'>{t('main.pageviews')}</p></div></div></div>diff --git a/app/pages/Press/index.tsx b/app/pages/Press/index.tsxindex eef645555..dd4f0605e 100644--- a/app/pages/Press/index.tsx+++ b/app/pages/Press/index.tsx@@ -23,13 +23,13 @@ const LogoComponent = ({}: ILogoComponent): JSX.Element => (<p><b className={`font-bold tracking-tight ${textColor}`}>{description}</b>- <img className='h-16 sm:h-20 mt-5 mb-2' src={logoSVG || logoPNG} alt={description} />+ <img className='mb-2 mt-5 h-16 sm:h-20' src={logoSVG || logoPNG} alt={description} />{logoSVG && (<ahref={logoSVG}target='_blank'rel='noopener noreferrer'- className='hover:underline text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500'+ className='text-indigo-600 hover:text-indigo-500 hover:underline dark:text-indigo-400 dark:hover:text-indigo-500'>SVG</a>@@ -40,7 +40,7 @@ const LogoComponent = ({href={logoPNG}target='_blank'rel='noopener noreferrer'- className='hover:underline text-indigo-400 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500'+ className='text-indigo-400 hover:text-indigo-500 hover:underline dark:text-indigo-400 dark:hover:text-indigo-500'>PNG</a>@@ -53,16 +53,16 @@ const Press = (): JSX.Element => {return (<div className='min-h-min-footer bg-gray-50 dark:bg-slate-900'>- <div className='w-11/12 md:w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8 whitespace-pre-line'>- <h1 className='text-4xl font-bold text-gray-900 dark:text-gray-50 tracking-tight'>{t('titles.press')}</h1>- <p className='mt-2 text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <div className='mx-auto w-11/12 whitespace-pre-line px-4 pb-16 pt-12 sm:px-6 md:w-4/5 lg:px-8'>+ <h1 className='text-4xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>{t('titles.press')}</h1>+ <p className='mt-2 text-lg tracking-tight text-gray-900 dark:text-gray-50'><Transi18nKey='press.description'components={{url: (<Linkto={routes.contact}- className='font-medium hover:underline text-indigo-400 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500'+ className='font-medium text-indigo-400 hover:text-indigo-500 hover:underline dark:text-indigo-400 dark:hover:text-indigo-500'/>),}}@@ -70,12 +70,12 @@ const Press = (): JSX.Element => {</p>{/* Logos */}- <h2 className='text-2xl mt-2 font-bold text-gray-900 dark:text-gray-50 tracking-tight'>{t('press.logos')}</h2>- <div className='grid grid-cols-none sm:grid-cols-2 gap-4 mt-2'>- <div className='dark:bg-gray-100 p-2 rounded-lg backdrop-blur-lg bg-gray-100 '>+ <h2 className='mt-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>{t('press.logos')}</h2>+ <div className='mt-2 grid grid-cols-none gap-4 sm:grid-cols-2'>+ <div className='rounded-lg bg-gray-100 p-2 backdrop-blur-lg dark:bg-gray-100 '><LogoComponent description={t('press.logo')} logoPNG='/assets/logo_blue.png' textColor='text-black' /></div>- <div className='dark:bg-slate-800 p-2 rounded-lg backdrop-blur-lg bg-slate-800'>+ <div className='rounded-lg bg-slate-800 p-2 backdrop-blur-lg dark:bg-slate-800'><LogoComponentdescription={t('press.logoWhiteText')}logoPNG='/assets/logo_white.png'@@ -83,15 +83,15 @@ const Press = (): JSX.Element => {/></div></div>- <div className='grid grid-cols-2 gap-4 mt-8'>+ <div className='mt-8 grid grid-cols-2 gap-4'><LogoComponent description={t('press.logoNoText')} logoPNG='/logo512.png' /></div>{/* Font */}- <h2 className='text-2xl mt-8 font-bold text-gray-900 dark:text-gray-50 tracking-tight'>+ <h2 className='mt-8 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>{t('press.font.title')}</h2>- <p className='mt-2 text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='mt-2 text-lg tracking-tight text-gray-900 dark:text-gray-50'><Transi18nKey='press.font.description'components={{@@ -99,7 +99,7 @@ const Press = (): JSX.Element => {<aaria-label='Inter font website (opens in a new tab)'href={FONT_INTER_URL}- className='font-medium hover:underline text-indigo-400 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500'+ className='font-medium text-indigo-400 hover:text-indigo-500 hover:underline dark:text-indigo-400 dark:hover:text-indigo-500'target='_blank'rel='noopener noreferrer'/>diff --git a/app/pages/Privacy/index.tsx b/app/pages/Privacy/index.tsxindex f4085ee08..3ba194387 100644--- a/app/pages/Privacy/index.tsx+++ b/app/pages/Privacy/index.tsx@@ -51,9 +51,9 @@ const serviceProviders: {const Features = (): JSX.Element => {return (<div className='bg-gray-50 dark:bg-slate-900'>- <div className='w-11/12 md:w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8'>- <h1 className='text-4xl font-bold text-gray-900 dark:text-gray-50 tracking-tight'>Privacy Policy</h1>- <p className='mt-4 text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <div className='mx-auto w-11/12 px-4 pb-16 pt-12 sm:px-6 md:w-4/5 lg:px-8'>+ <h1 className='text-4xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Privacy Policy</h1>+ <p className='mt-4 text-lg tracking-tight text-gray-900 dark:text-gray-50'>This Swetrix Privacy Policy (“Policy”, "Privacy Policy") outlines the personal information that we gather, howwe use that personal information, and the options you have to access, correct, or delete such personalinformation.@@ -63,10 +63,10 @@ const Features = (): JSX.Element => {meanings as in our Terms and Conditions.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>1. Policy application</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>This Privacy Policy applies to the following data subjects:<br />{'- '}@@ -92,10 +92,10 @@ const Features = (): JSX.Element => {such minor dependent’s use of the Websites and Services.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>2. Information we collect</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>We may collect the following types of data in order to provide and improve our Services:<br />{'- '}@@ -154,10 +154,10 @@ const Features = (): JSX.Element => {.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>3. How we use information we collect</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>We only processes personal information in a way that is relevant for the purpose for which it was collected orauthorized:<br />@@ -190,10 +190,10 @@ const Features = (): JSX.Element => {We may use the Usage and Log Data to assemble non-personally identifiable web traffic reports and statistics.These reports and statistics may be shared with third parties.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>4. UK and EU residents</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>Please note that the “personal information” referenced in this Privacy Policy means “personal data” as thatterm is defined under the European Union (“EU”) General Data Protection Regulations (“GDPR”) and its UnitedKingdom (“UK”) GDPR counterpart. Swetrix is the data controller for the Personal Data of Customers and Website@@ -229,18 +229,18 @@ const Features = (): JSX.Element => {.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>5. California Residents</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>We do not sell, rent, or share personal information with third parties as defined under the CaliforniaConsumer Privacy Act of 2018 (California Civil Code Sec. 1798.100 et seq.), nor do we sell, rent, or sharepersonal information with third parties for their direct marketing purposes as defined under California CivilCode Sec. 1798.83.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>6. Retention of data</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>6. Retention of data</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>We may retain your information for as long as your account is active or as needed to provide you services,comply with our legal obligations, resolve disputes and enforce our agreements. In certain circumstances wemay be required by law to retain your personal information, or may need to retain your personal information in@@ -250,8 +250,8 @@ const Features = (): JSX.Element => {immediate and that the deleted information may persist in backup copies for a reasonable period of time.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>7. Transfer of data</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>7. Transfer of data</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>Your information, including Personal Data, may be transferred to — and maintained on — computers locatedoutside of your state, province, country or other governmental jurisdiction where the data protection laws maydiffer from those in your jurisdiction. If you are located outside Germany and choose to provide information@@ -264,10 +264,10 @@ const Features = (): JSX.Element => {other personal information.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>8. Information sharing</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>We do not sell or rent personal information.<br />We may disclose personal information to service providers who help us run the Services and our business@@ -281,10 +281,10 @@ const Features = (): JSX.Element => {required for their purpose.<br /><div className='mt-8 flex flex-col'>- <div className='-my-2 -mx-4 overflow-x-auto sm:-mx-6 lg:-mx-8'>+ <div className='-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8'><div className='inline-block min-w-full py-2 align-middle md:px-6 lg:px-8'><div className='overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'>- <table className='min-w-full divide-y divide-gray-300 200 dark:divide-gray-500'>+ <table className='200 min-w-full divide-y divide-gray-300 dark:divide-gray-500'><thead className='bg-gray-50 dark:bg-slate-800'><tr><th@@ -313,7 +313,7 @@ const Features = (): JSX.Element => {</th></tr></thead>- <tbody className='divide-y divide-gray-200 dark:divide-gray-600 bg-white dark:bg-slate-800'>+ <tbody className='divide-y divide-gray-200 bg-white dark:divide-gray-600 dark:bg-slate-800'>{_map(serviceProviders, ({ company, purpose, dataSubjects, location }) => (<tr key={company}><td className='whitespace-nowrap px-3 py-4 text-sm text-gray-900 dark:text-gray-50 sm:pl-6'>@@ -352,10 +352,10 @@ const Features = (): JSX.Element => {<br />- Other purposes for which we obtain your consent.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>9. Data subject rights</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>We would like to make sure you are fully aware of all of your data protection rights. In certaincircumstances, you have the following data protection rights:<br />@@ -397,10 +397,10 @@ const Features = (): JSX.Element => {compliance with all applicable laws and regulations with respect to their website users.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>10. Communication preferences</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>Swetrix will send you commercial communications based on the communication preferences in your accountsettings. Swetrix also will send you service-related communications. You may manage your receipt of commercialcommunications by clicking on the “unsubscribe” link located on the bottom of such emails, through your@@ -414,8 +414,8 @@ const Features = (): JSX.Element => {.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>11. Data security</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>11. Data security</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>We take all reasonable steps to protect information we receive from you from loss, misuse or unauthorizedaccess, disclosure, alteration and/or destruction. We have put in place appropriate physical, technical andadministrative measures to safeguard and secure your information, and we make use of privacy-enhancing@@ -430,10 +430,10 @@ const Features = (): JSX.Element => {.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>12. Notification of changes</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>If we make changes to this Policy that we believe materially impact the privacy of your personal information,we will promptly provide notice of any such changes (and, where necessary, obtain consent), as well as postthe updated Policy on this website noting the date of any changes via the "Last updated" date at the bottom of@@ -441,16 +441,16 @@ const Features = (): JSX.Element => {privacy practices.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>13. Business transactions</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>We may assign or transfer this Policy, as well as information covered by this Policy, in the event of amerger, sale, change in control, or reorganization of all or part of our business.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>14. Contact</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>14. Contact</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>If you have any questions about this Privacy Policy, you can contact us by email at <ahref={`mailto:${CONTACT_EMAIL}`}@@ -461,8 +461,8 @@ const Features = (): JSX.Element => {.</p>- <hr className='mt-10 mb-4 border-gray-200 dark:border-gray-600' />- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <hr className='mb-4 mt-10 border-gray-200 dark:border-gray-600' />+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'><i>Last updated: July 23, 2023.</i></p></div>diff --git a/app/pages/Project/Alerts/Settings/ProjectAlertsSettings.tsx b/app/pages/Project/Alerts/Settings/ProjectAlertsSettings.tsxindex 450cfa04f..a364e6407 100644--- a/app/pages/Project/Alerts/Settings/ProjectAlertsSettings.tsx+++ b/app/pages/Project/Alerts/Settings/ProjectAlertsSettings.tsx@@ -247,22 +247,22 @@ const ProjectAlertsSettings = ({return (<div- className={cx('min-h-min-footer bg-gray-50 dark:bg-slate-900 flex flex-col py-6 px-4 sm:px-6 lg:px-8', {+ className={cx('flex min-h-min-footer flex-col bg-gray-50 px-4 py-6 dark:bg-slate-900 sm:px-6 lg:px-8', {'pb-40': isSettings,})}>- <form className='max-w-7xl w-full mx-auto' onSubmit={handleSubmit}>+ <form className='mx-auto w-full max-w-7xl' onSubmit={handleSubmit}><h2 className='mt-2 text-3xl font-bold text-gray-900 dark:text-gray-50'>{title}</h2>{!loading && !isIntegrationLinked && (- <div className='flex items-center bg-blue-50 dark:text-gray-50 dark:bg-slate-800 rounded px-5 py-3 mt-2 whitespace-pre-wrap text-base'>- <ExclamationTriangleIcon className='w-5 h-5 mr-1' />+ <div className='mt-2 flex items-center whitespace-pre-wrap rounded bg-blue-50 px-5 py-3 text-base dark:bg-slate-800 dark:text-gray-50'>+ <ExclamationTriangleIcon className='mr-1 h-5 w-5' /><Trans// @ts-ignoret={t}i18nKey='alert.noIntegration'components={{// eslint-disable-next-line jsx-a11y/anchor-has-content- url: <Link to={INTEGRATIONS_LINK} className='hover:underline text-blue-600 dark:text-blue-500' />,+ url: <Link to={INTEGRATIONS_LINK} className='text-blue-600 hover:underline dark:text-blue-500' />,}}/></div>@@ -363,16 +363,16 @@ const ProjectAlertsSettings = ({/></div>{isSettings ? (- <div className='flex justify-between items-center mt-5'>+ <div className='mt-5 flex items-center justify-between'><Button onClick={() => setShowModal(true)} danger semiSmall><>- <ExclamationTriangleIcon className='w-5 h-5 mr-1' />+ <ExclamationTriangleIcon className='mr-1 h-5 w-5' />{t('alert.delete')}</></Button>- <div className='flex justify-between items-center'>+ <div className='flex items-center justify-between'><Button- className='mr-2 border-indigo-100 dark:text-gray-50 dark:border-slate-700/50 dark:bg-slate-800 dark:hover:bg-slate-700'+ className='mr-2 border-indigo-100 dark:border-slate-700/50 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'onClick={onCancel}secondaryregular@@ -385,9 +385,9 @@ const ProjectAlertsSettings = ({</div></div>) : (- <div className='mt-5 flex justify-between items-center'>+ <div className='mt-5 flex items-center justify-between'><Button- className='mr-2 border-indigo-100 dark:text-gray-50 dark:border-slate-700/50 dark:bg-slate-800 dark:hover:bg-slate-700'+ className='mr-2 border-indigo-100 dark:border-slate-700/50 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'onClick={onCancel}secondaryregulardiff --git a/app/pages/Project/Alerts/View/ProjectAlertsView.tsx b/app/pages/Project/Alerts/View/ProjectAlertsView.tsxindex ae8d3c18f..eb01c7a78 100644--- a/app/pages/Project/Alerts/View/ProjectAlertsView.tsx+++ b/app/pages/Project/Alerts/View/ProjectAlertsView.tsx@@ -39,19 +39,19 @@ const NoNotificationChannelSet = () => {const { t } = useTranslation('common')return (- <div className='bg-yellow-300 dark:bg-yellow-500 rounded-lg'>- <div className='max-w-7xl mx-auto py-3 px-3 sm:px-6 lg:px-8'>- <div className='flex items-center justify-between flex-wrap'>- <div className='flex-1 flex items-center'>- <span className='flex p-2 rounded-lg bg-yellow-500 dark:bg-yellow-600'>+ <div className='rounded-lg bg-yellow-300 dark:bg-yellow-500'>+ <div className='mx-auto max-w-7xl px-3 py-3 sm:px-6 lg:px-8'>+ <div className='flex flex-wrap items-center justify-between'>+ <div className='flex flex-1 items-center'>+ <span className='flex rounded-lg bg-yellow-500 p-2 dark:bg-yellow-600'><ExclamationTriangleIcon className='h-6 w-6 text-white' aria-hidden='true' /></span><p className='ml-3 font-medium text-black'>{t('alert.noNotificationChannel')}</p></div>- <div className='order-3 mt-2 flex-shrink-0 w-full sm:order-2 sm:mt-0 sm:w-auto'>+ <div className='order-3 mt-2 w-full flex-shrink-0 sm:order-2 sm:mt-0 sm:w-auto'><Linkto={routes.user_settings}- className='flex items-center justify-center cursor-pointer px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-gray-800 bg-gray-50 hover:bg-yellow-50 dark:text-gray-50 dark:bg-slate-800 dark:hover:bg-slate-700'+ className='flex cursor-pointer items-center justify-center rounded-md border border-transparent bg-gray-50 px-4 py-2 text-sm font-medium text-gray-800 shadow-sm hover:bg-yellow-50 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'>{t('common.fixIt')}</Link>@@ -91,9 +91,9 @@ const AlertCard = ({<><lionClick={() => openAlert(id)}- className='overflow-hidden min-h-[120px] rounded-xl border border-gray-200 cursor-pointer bg-gray-50 hover:bg-gray-100 dark:bg-[#162032] dark:hover:bg-slate-800 dark:border-slate-800/25'+ className='min-h-[120px] cursor-pointer overflow-hidden rounded-xl border border-gray-200 bg-gray-50 hover:bg-gray-100 dark:border-slate-800/25 dark:bg-[#162032] dark:hover:bg-slate-800'>- <div className='py-4 px-4'>+ <div className='px-4 py-4'><div className='flex justify-between'><div><p className='flex items-center gap-x-2 text-lg text-slate-900 dark:text-gray-50'>@@ -120,7 +120,7 @@ const AlertCard = ({e.stopPropagation()openAlert(id)}}- className='w-6 h-6 text-gray-800 dark:text-slate-400 hover:text-gray-900 dark:hover:text-slate-500'+ className='h-6 w-6 text-gray-800 hover:text-gray-900 dark:text-slate-400 dark:hover:text-slate-500'/><TrashIcononClick={(e) => {@@ -129,7 +129,7 @@ const AlertCard = ({}}role='button'aria-label={t('common.delete')}- className='w-6 h-6 text-gray-800 dark:text-slate-400 hover:text-gray-900 dark:hover:text-slate-500'+ className='h-6 w-6 text-gray-800 hover:text-gray-900 dark:text-slate-400 dark:hover:text-slate-500'/></div></div>@@ -161,13 +161,13 @@ const AddAlert = ({ handleNewAlert, isLimitReached }: IAddAlert): JSX.Element =>return (<lionClick={handleNewAlert}- className='flex cursor-pointer justify-center items-center rounded-lg border-2 border-dashed h-auto min-h-[120px] group border-gray-300 hover:border-gray-400 dark:border-gray-500 dark:hover:border-gray-600'+ className='group flex h-auto min-h-[120px] cursor-pointer items-center justify-center rounded-lg border-2 border-dashed border-gray-300 hover:border-gray-400 dark:border-gray-500 dark:hover:border-gray-600'><div>{isLimitReached ? (- <CurrencyDollarIcon className='mx-auto h-12 w-12 text-gray-400 dark:text-gray-200 group-hover:text-gray-500 group-hover:dark:text-gray-400' />+ <CurrencyDollarIcon className='mx-auto h-12 w-12 text-gray-400 group-hover:text-gray-500 dark:text-gray-200 group-hover:dark:text-gray-400' />) : (- <PlusCircleIcon className='mx-auto h-12 w-12 text-gray-400 dark:text-gray-200 group-hover:text-gray-500 group-hover:dark:text-gray-400' />+ <PlusCircleIcon className='mx-auto h-12 w-12 text-gray-400 group-hover:text-gray-500 dark:text-gray-200 group-hover:dark:text-gray-400' />)}<span className='mt-2 block text-sm font-semibold text-gray-900 dark:text-gray-50 group-hover:dark:text-gray-400'>{t('alert.add')}@@ -255,20 +255,20 @@ const ProjectAlerts = ({ projectId }: IProjectAlerts): JSX.Element => {<div className='mt-4'>{loading && <div>{t('common.loading')}</div>}{!loading && _isEmpty(projectAlerts) && (- <div className='p-5 mt-5 bg-gray-700 rounded-xl'>+ <div className='mt-5 rounded-xl bg-gray-700 p-5'><div className='flex items-center text-gray-50'>- <BellIcon className='w-8 h-8 mr-2' />- <p className='font-bold text-3xl'>{t('dashboard.alerts')}</p>+ <BellIcon className='mr-2 h-8 w-8' />+ <p className='text-3xl font-bold'>{t('dashboard.alerts')}</p></div>- <p className='text-lg whitespace-pre-wrap mt-2 text-gray-100'>{t('dashboard.alertsDesc')}</p>+ <p className='mt-2 whitespace-pre-wrap text-lg text-gray-100'>{t('dashboard.alertsDesc')}</p><ButtononClick={handleNewAlert}- className='mt-6 bg-white py-2 px-3 md:px-4 border border-transparent rounded-md text-base font-medium text-gray-700 hover:bg-indigo-50'+ className='mt-6 rounded-md border border-transparent bg-white px-3 py-2 text-base font-medium text-gray-700 hover:bg-indigo-50 md:px-4'secondarylarge><>- {isLimitReached && <CurrencyDollarIcon className='w-5 h-5 mr-1' />}+ {isLimitReached && <CurrencyDollarIcon className='mr-1 h-5 w-5' />}{t('alert.add')}</></Button>@@ -277,7 +277,7 @@ const ProjectAlerts = ({ projectId }: IProjectAlerts): JSX.Element => {{!loading && !_isEmpty(projectAlerts) && (<>{!isIntegrationLinked && <NoNotificationChannelSet />}- <ul className='grid grid-cols-1 gap-x-6 gap-y-3 lg:gap-y-6 lg:grid-cols-3 mt-4'>+ <ul className='mt-4 grid grid-cols-1 gap-x-6 gap-y-3 lg:grid-cols-3 lg:gap-y-6'>{_map(projectAlerts, (alert) => (<AlertCardkey={alert.id}diff --git a/app/pages/Project/ConfirmShare/index.tsx b/app/pages/Project/ConfirmShare/index.tsxindex c583fd06d..aad665bfb 100644--- a/app/pages/Project/ConfirmShare/index.tsx+++ b/app/pages/Project/ConfirmShare/index.tsx@@ -49,26 +49,26 @@ const ConfirmShare = () => {if (error) {return (- <div className='bg-gray-50 dark:bg-slate-900 min-h-page px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='min-h-page bg-gray-50 px-4 py-16 dark:bg-slate-900 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>+ <div className='mx-auto max-w-max'><main className='sm:flex'><XCircleIcon className='h-12 w-12 text-red-400' aria-hidden='true' /><div className='sm:ml-6'>- <div className='sm:border-l max-w-prose sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <div className='max-w-prose sm:border-l sm:border-gray-200 sm:pl-6'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{error}</h1></div><div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'><Linkto={routes.dashboard}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'>{t('common.dashboard')}</Link><Linkto={routes.contact}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-indigo-700 bg-indigo-100 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:text-gray-50 dark:bg-slate-800 dark:hover:bg-slate-700 dark:focus:ring-gray-50'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'>{t('notFoundPage.support')}</Link>@@ -81,20 +81,20 @@ const ConfirmShare = () => {}return (- <div className='bg-gray-50 dark:bg-slate-900 min-h-page px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='min-h-page bg-gray-50 px-4 py-16 dark:bg-slate-900 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>+ <div className='mx-auto max-w-max'><main className='sm:flex'><CheckCircleIcon className='h-12 w-12 text-green-500 dark:text-green-400' aria-hidden='true' /><div className='sm:ml-6'>- <div className='sm:border-l max-w-prose sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <div className='max-w-prose sm:border-l sm:border-gray-200 sm:pl-6'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{t('apiNotifications.acceptInvitation')}</h1></div><div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'><Linkto={routes.dashboard}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'>{t('common.dashboard')}</Link>diff --git a/app/pages/Project/New/index.tsx b/app/pages/Project/New/index.tsxindex b6adf4596..d68c12005 100644--- a/app/pages/Project/New/index.tsx+++ b/app/pages/Project/New/index.tsx@@ -139,15 +139,15 @@ const NewProject = () => {if (loading) {return (- <div className='min-h-min-footer bg-gray-50 dark:bg-slate-900 flex flex-col py-6 px-4 sm:px-6 lg:px-8'>+ <div className='flex min-h-min-footer flex-col bg-gray-50 px-4 py-6 dark:bg-slate-900 sm:px-6 lg:px-8'><Loader /></div>)}return (- <div className='min-h-min-footer bg-gray-50 dark:bg-slate-900 flex flex-col py-6 px-4 sm:px-6 lg:px-8'>- <form className='max-w-7xl w-full mx-auto' onSubmit={handleSubmit}>+ <div className='flex min-h-min-footer flex-col bg-gray-50 px-4 py-6 dark:bg-slate-900 sm:px-6 lg:px-8'>+ <form className='mx-auto w-full max-w-7xl' onSubmit={handleSubmit}><h2 className='mt-2 text-3xl font-bold text-gray-900 dark:text-gray-50'>{t('project.settings.create')}</h2><Inputname='name'@@ -160,11 +160,11 @@ const NewProject = () => {onChange={handleInput}error={beenSubmitted ? errors.name : null}/>- <p className='text-gray-500 dark:text-gray-300 italic mt-1 mb-4 text-sm'>{t('project.settings.createHint')}</p>+ <p className='mb-4 mt-1 text-sm italic text-gray-500 dark:text-gray-300'>{t('project.settings.createHint')}</p><div><Button- className='mr-2 border-indigo-100 dark:text-gray-50 dark:border-slate-700/50 dark:bg-slate-800 dark:hover:bg-slate-700'+ className='mr-2 border-indigo-100 dark:border-slate-700/50 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'onClick={onCancel}secondaryregulardiff --git a/app/pages/Project/ProjectProtectedPassword/index.tsx b/app/pages/Project/ProjectProtectedPassword/index.tsxindex a8596f794..eb582dd56 100644--- a/app/pages/Project/ProjectProtectedPassword/index.tsx+++ b/app/pages/Project/ProjectProtectedPassword/index.tsx@@ -123,8 +123,8 @@ const ProjectProtectedPassword = ({return (<>{!embedded && <Header ssrTheme={ssrTheme} authenticated={isAuth} />}- <div className='min-h-page bg-gray-50 dark:bg-slate-900 flex flex-col py-6 px-4 sm:px-6 lg:px-8'>- <form className='max-w-7xl w-full mx-auto' onSubmit={handleSubmit}>+ <div className='flex min-h-page flex-col bg-gray-50 px-4 py-6 dark:bg-slate-900 sm:px-6 lg:px-8'>+ <form className='mx-auto w-full max-w-7xl' onSubmit={handleSubmit}><h2 className='mt-2 text-3xl font-bold text-gray-900 dark:text-gray-50'>{t('titles.passwordProtected')}</h2><Inputname='password'@@ -139,7 +139,7 @@ const ProjectProtectedPassword = ({/><div className='mt-5'><Button- className='mr-2 border-indigo-100 dark:text-gray-50 dark:border-slate-700/50 dark:bg-slate-800 dark:hover:bg-slate-700'+ className='mr-2 border-indigo-100 dark:border-slate-700/50 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'onClick={onCancel}secondaryregulardiff --git a/app/pages/Project/Settings/Emails/ConfirmReportsShare/index.tsx b/app/pages/Project/Settings/Emails/ConfirmReportsShare/index.tsxindex 78b537eb9..066d08b70 100644--- a/app/pages/Project/Settings/Emails/ConfirmReportsShare/index.tsx+++ b/app/pages/Project/Settings/Emails/ConfirmReportsShare/index.tsx@@ -48,26 +48,26 @@ const ConfirmReportsShare = (): JSX.Element => {if (error) {return (- <div className='bg-gray-50 dark:bg-slate-900 min-h-page px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='min-h-page bg-gray-50 px-4 py-16 dark:bg-slate-900 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>+ <div className='mx-auto max-w-max'><main className='sm:flex'><XCircleIcon className='h-12 w-12 text-red-400' aria-hidden='true' /><div className='sm:ml-6'>- <div className='sm:border-l max-w-prose sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <div className='max-w-prose sm:border-l sm:border-gray-200 sm:pl-6'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{error}</h1></div><div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'><Linkto={routes.dashboard}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'>{t('common.dashboard')}</Link><Linkto={routes.contact}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-indigo-700 bg-indigo-100 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:text-gray-50 dark:bg-slate-800 dark:hover:bg-slate-700 dark:focus:ring-gray-50'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'>{t('notFoundPage.support')}</Link>@@ -80,20 +80,20 @@ const ConfirmReportsShare = (): JSX.Element => {}return (- <div className='bg-gray-50 dark:bg-slate-900 min-h-page px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='min-h-page bg-gray-50 px-4 py-16 dark:bg-slate-900 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>+ <div className='mx-auto max-w-max'><main className='sm:flex'><CheckCircleIcon className='h-12 w-12 text-green-500 dark:text-green-400' aria-hidden='true' /><div className='sm:ml-6'>- <div className='sm:border-l max-w-prose sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <div className='max-w-prose sm:border-l sm:border-gray-200 sm:pl-6'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{t('apiNotifications.acceptInvitation')}</h1></div><div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'><Linkto={routes.dashboard}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'>{t('common.dashboard')}</Link>diff --git a/app/pages/Project/Settings/Emails/Emails.tsx b/app/pages/Project/Settings/Emails/Emails.tsxindex 5c07cacb6..edcaf38c3 100644--- a/app/pages/Project/Settings/Emails/Emails.tsx+++ b/app/pages/Project/Settings/Emails/Emails.tsx@@ -67,8 +67,8 @@ const ModalMessage = ({{t('project.emails.reportFrequency')}</label><div- className={cx('mt-1 bg-white rounded-md -space-y-px dark:bg-slate-900', {- 'border-red-300 border': errors.reportFrequency,+ className={cx('mt-1 -space-y-px rounded-md bg-white dark:bg-slate-900', {+ 'border border-red-300': errors.reportFrequency,})}>{/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}@@ -76,8 +76,8 @@ const ModalMessage = ({<div key={item.value}>{/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}<label- className={cx('dark:border-gray-500 relative border p-4 flex cursor-pointer border-gray-200', {- 'bg-indigo-50 border-indigo-200 dark:bg-indigo-500 dark:border-indigo-800 z-10':+ className={cx('relative flex cursor-pointer border border-gray-200 p-4 dark:border-gray-500', {+ 'z-10 border-indigo-200 bg-indigo-50 dark:border-indigo-800 dark:bg-indigo-500':item.value === form.reportFrequency,'border-gray-200': form.reportFrequency !== item.value,'rounded-tl-md rounded-tr-md': index === 0,@@ -86,7 +86,7 @@ const ModalMessage = ({><inputname='reportFrequency'- className='focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300'+ className='h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-500'id='reportFrequency'type='radio'value={item.value}@@ -177,33 +177,33 @@ const EmailList = ({? dayjs(addedAt).locale(language).format('MMMM D, YYYY'): dayjs(addedAt).locale(language).format('D MMMM, YYYY')}</td>- <td className='relative whitespace-nowrap py-4 text-right text-sm font-medium pr-2'>+ <td className='relative whitespace-nowrap py-4 pr-2 text-right text-sm font-medium'>{isConfirmed ? (<div ref={openRef}><buttononClick={() => setOpen(!open)}type='button'- className='inline-flex items-center shadow-sm pl-2 pr-1 py-0.5 border border-gray-200 dark:border-gray-600 text-sm leading-5 font-medium rounded-full bg-white dark:bg-slate-800 text-gray-700 dark:text-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600'+ className='inline-flex items-center rounded-full border border-gray-200 bg-white py-0.5 pl-2 pr-1 text-sm font-medium leading-5 text-gray-700 shadow-sm hover:bg-gray-50 dark:border-gray-600 dark:bg-slate-800 dark:text-gray-200 dark:hover:bg-gray-600'>{t(`profileSettings.${_toLower(reportFrequency)}`)}- <ChevronDownIcon style={{ transform: open ? 'rotate(180deg)' : '' }} className='w-4 h-4 pt-px ml-0.5' />+ <ChevronDownIcon style={{ transform: open ? 'rotate(180deg)' : '' }} className='ml-0.5 h-4 w-4 pt-px' /></button>{open && (- <ul className='text-left origin-top-right absolute z-10 right-0 mt-2 w-72 rounded-md shadow-lg bg-white dark:bg-slate-900 divide-y divide-gray-200 dark:divide-gray-700 focus:outline-none'>+ <ul className='absolute right-0 z-10 mt-2 w-72 origin-top-right divide-y divide-gray-200 rounded-md bg-white text-left shadow-lg focus:outline-none dark:divide-gray-700 dark:bg-slate-900'>{_map(reportFrequencyForEmailsOptions, (item) => (<lionClick={() => changeRole(item)}- className='p-4 hover:bg-indigo-600 group cursor-pointer flex justify-between items-center'+ className='group flex cursor-pointer items-center justify-between p-4 hover:bg-indigo-600'key={item.value}><div>- <p className='font-bold text-gray-700 dark:text-gray-200 group-hover:text-gray-200'>+ <p className='font-bold text-gray-700 group-hover:text-gray-200 dark:text-gray-200'>{t(`profileSettings.${_toLower(item.label)}`)}</p></div>{reportFrequency === item.value && (<span className='text-indigo-600 group-hover:text-gray-200'>- <CheckIcon className='w-7 h-7 pt-px ml-1' />+ <CheckIcon className='ml-1 h-7 w-7 pt-px' /></span>)}</li>@@ -213,7 +213,7 @@ const EmailList = ({setOpen(false)setShowDeleteModal(true)}}- className='p-4 hover:bg-gray-200 dark:hover:bg-gray-700 group cursor-pointer flex justify-between items-center'+ className='group flex cursor-pointer items-center justify-between p-4 hover:bg-gray-200 dark:hover:bg-gray-700'><div><p className='font-bold text-red-600 dark:text-red-500'>{t('project.settings.removeMember')}</p>@@ -227,7 +227,7 @@ const EmailList = ({<Badge colour='yellow' className='mr-3' label={t('common.pending')} /><Buttontype='button'- className='bg-white text-indigo-700 rounded-md text-base font-medium hover:bg-indigo-50 dark:text-gray-50 dark:border-gray-600 dark:bg-slate-800 dark:hover:bg-slate-700'+ className='rounded-md bg-white text-base font-medium text-indigo-700 hover:bg-indigo-50 dark:border-gray-600 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'smallonClick={() => setShowDeleteModal(true)}>@@ -259,8 +259,8 @@ const EmailList = ({const NoSubscribers = ({ t }: { t: typeof i18next.t }): JSX.Element => (<div className='flex flex-col py-6 sm:px-6 lg:px-8'>- <div className='max-w-7xl w-full mx-auto text-gray-900 dark:text-gray-50'>- <h2 className='text-xl mb-8 text-center leading-snug px-4'>{t('project.settings.noPeople')}</h2>+ <div className='mx-auto w-full max-w-7xl text-gray-900 dark:text-gray-50'>+ <h2 className='mb-8 px-4 text-center text-xl leading-snug'>{t('project.settings.noPeople')}</h2></div></div>)@@ -406,10 +406,10 @@ const Emails = ({}return (- <div className='mt-6 mb-6'>- <div className='flex flex-col sm:flex-row gap-y-2 justify-between items-start sm:items-center mb-3'>+ <div className='mb-6 mt-6'>+ <div className='mb-3 flex flex-col items-start justify-between gap-y-2 sm:flex-row sm:items-center'><div>- <h3 className='flex items-center mt-2 text-lg font-bold text-gray-900 dark:text-gray-50'>+ <h3 className='mt-2 flex items-center text-lg font-bold text-gray-900 dark:text-gray-50'>{t('project.emails.title')}<div className='ml-5'><Beta />@@ -417,16 +417,16 @@ const Emails = ({</h3><p className='text-sm text-gray-500 dark:text-gray-400'>{t('project.emails.description')}</p></div>- <Button className='h-8 pl-2 whitespace-nowrap' primary regular type='button' onClick={() => setShowModal(true)}>+ <Button className='h-8 whitespace-nowrap pl-2' primary regular type='button' onClick={() => setShowModal(true)}><>- <InboxStackIcon className='w-5 h-5 mr-1' />+ <InboxStackIcon className='mr-1 h-5 w-5' />{t('project.emails.add')}</></Button></div><div><div className='mt-3 flex flex-col'>- <div className='-my-2 -mx-4 overflow-x-auto md:overflow-x-visible sm:-mx-6 lg:-mx-8'>+ <div className='-mx-4 -my-2 overflow-x-auto sm:-mx-6 md:overflow-x-visible lg:-mx-8'><div className='inline-block min-w-full py-2 md:px-6 lg:px-8'>{!loading && !_isEmpty(emails) && (<div className='shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'>@@ -435,7 +435,7 @@ const Emails = ({<tr className='dark:bg-slate-800'><thscope='col'- className='py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6 dark:text-white'+ className='py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 dark:text-white sm:pl-6'>{t('auth.common.email')}</th>@@ -477,7 +477,7 @@ const Emails = ({customButtons={<buttontype='button'- className='w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 text-base font-medium text-white sm:ml-3 sm:w-auto sm:text-sm bg-indigo-600 hover:bg-indigo-700'+ className='inline-flex w-full justify-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-base font-medium text-white shadow-sm hover:bg-indigo-700 sm:ml-3 sm:w-auto sm:text-sm'onClick={handleSubmit}>{t('project.emails.add')}diff --git a/app/pages/Project/Settings/People/People.tsx b/app/pages/Project/Settings/People/People.tsxindex 79dd0c3ee..77bbe00ec 100644--- a/app/pages/Project/Settings/People/People.tsx+++ b/app/pages/Project/Settings/People/People.tsx@@ -24,8 +24,8 @@ import { IUser } from 'redux/models/IUser'const NoEvents = ({ t }: { t: typeof i18next.t }): JSX.Element => (<div className='flex flex-col py-6 sm:px-6 lg:px-8'>- <div className='max-w-7xl w-full mx-auto text-gray-900 dark:text-gray-50'>- <h2 className='text-xl mb-8 text-center leading-snug px-4'>{t('project.settings.noPeople')}</h2>+ <div className='mx-auto w-full max-w-7xl text-gray-900 dark:text-gray-50'>+ <h2 className='mb-8 px-4 text-center text-xl leading-snug'>{t('project.settings.noPeople')}</h2></div></div>)@@ -92,28 +92,28 @@ const UsersList = ({? dayjs(created).locale(language).format('MMMM D, YYYY'): dayjs(created).locale(language).format('D MMMM, YYYY')}</td>- <td className='relative whitespace-nowrap py-4 text-right text-sm font-medium pr-2'>+ <td className='relative whitespace-nowrap py-4 pr-2 text-right text-sm font-medium'>{confirmed ? (<div ref={openRef}><buttononClick={() => setOpen(!open)}type='button'disabled={user.email === authedUserEmail}- className='inline-flex disabled:opacity-80 disabled:cursor-not-allowed items-center shadow-sm pl-2 pr-1 py-0.5 border border-gray-200 dark:border-gray-600 text-sm leading-5 font-medium rounded-full bg-white dark:bg-slate-800 text-gray-700 dark:text-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600'+ className='inline-flex items-center rounded-full border border-gray-200 bg-white py-0.5 pl-2 pr-1 text-sm font-medium leading-5 text-gray-700 shadow-sm hover:bg-gray-50 disabled:cursor-not-allowed disabled:opacity-80 dark:border-gray-600 dark:bg-slate-800 dark:text-gray-200 dark:hover:bg-gray-600'>{t(`project.settings.roles.${role}.name`)}- <ChevronDownIcon style={{ transform: open ? 'rotate(180deg)' : '' }} className='w-4 h-4 pt-px ml-0.5' />+ <ChevronDownIcon style={{ transform: open ? 'rotate(180deg)' : '' }} className='ml-0.5 h-4 w-4 pt-px' /></button>{open && (- <ul className='text-left origin-top-right absolute z-10 right-0 mt-2 w-72 rounded-md shadow-lg bg-white dark:bg-slate-900 divide-y divide-gray-200 dark:divide-gray-700 focus:outline-none'>+ <ul className='absolute right-0 z-10 mt-2 w-72 origin-top-right divide-y divide-gray-200 rounded-md bg-white text-left shadow-lg focus:outline-none dark:divide-gray-700 dark:bg-slate-900'>{_map(roles, (itRole) => (<lionClick={() => changeRole(itRole)}- className='p-4 hover:bg-indigo-600 group cursor-pointer flex justify-between items-center'+ className='group flex cursor-pointer items-center justify-between p-4 hover:bg-indigo-600'key={itRole}><div>- <p className='font-bold text-gray-700 dark:text-gray-200 group-hover:text-gray-200'>+ <p className='font-bold text-gray-700 group-hover:text-gray-200 dark:text-gray-200'>{t(`project.settings.roles.${itRole}.name`)}</p><p className='mt-1 text-sm text-gray-500 group-hover:text-gray-200'>@@ -122,7 +122,7 @@ const UsersList = ({</div>{role === itRole && (<span className='text-indigo-600 group-hover:text-gray-200'>- <CheckIcon className='w-7 h-7 pt-px ml-1' />+ <CheckIcon className='ml-1 h-7 w-7 pt-px' /></span>)}</li>@@ -132,7 +132,7 @@ const UsersList = ({setOpen(false)setShowDeleteModal(true)}}- className='p-4 hover:bg-gray-200 dark:hover:bg-gray-700 group cursor-pointer flex justify-between items-center'+ className='group flex cursor-pointer items-center justify-between p-4 hover:bg-gray-200 dark:hover:bg-gray-700'><div><p className='font-bold text-red-600 dark:text-red-500'>{t('project.settings.removeMember')}</p>@@ -146,7 +146,7 @@ const UsersList = ({<Badge colour='yellow' className='mr-3' label={t('common.pending')} /><Buttontype='button'- className='bg-white text-indigo-700 rounded-md text-base font-medium hover:bg-indigo-50 dark:text-gray-50 dark:border-gray-600 dark:bg-slate-800 dark:hover:bg-slate-700'+ className='rounded-md bg-white text-base font-medium text-indigo-700 hover:bg-indigo-50 dark:border-gray-600 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'smallonClick={() => setShowDeleteModal(true)}>@@ -310,17 +310,17 @@ const People: React.FunctionComponent<IPeopleProps> = ({}return (- <div className='mt-6 mb-6'>- <div className='flex justify-between items-center mb-3'>+ <div className='mb-6 mt-6'>+ <div className='mb-3 flex items-center justify-between'><div>- <h3 className='flex items-center mt-2 text-lg font-bold text-gray-900 dark:text-gray-50'>+ <h3 className='mt-2 flex items-center text-lg font-bold text-gray-900 dark:text-gray-50'>{t('project.settings.people')}</h3><p className='text-sm text-gray-500 dark:text-gray-400'>{t('project.settings.inviteCoworkers')}</p></div><Button className='h-8 pl-2' primary regular type='button' onClick={() => setShowModal(true)}><>- <UserPlusIcon className='w-5 h-5 mr-1' />+ <UserPlusIcon className='mr-1 h-5 w-5' />{t('project.settings.invite')}</></Button>@@ -330,7 +330,7 @@ const People: React.FunctionComponent<IPeopleProps> = ({<NoEvents t={t} />) : (<div className='mt-3 flex flex-col'>- <div className='-my-2 -mx-4 overflow-x-auto md:overflow-x-visible sm:-mx-6 lg:-mx-8'>+ <div className='-mx-4 -my-2 overflow-x-auto sm:-mx-6 md:overflow-x-visible lg:-mx-8'><div className='inline-block min-w-full py-2 md:px-6 lg:px-8'><div className='shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'><table className='min-w-full divide-y divide-gray-300 dark:divide-gray-600'>@@ -338,7 +338,7 @@ const People: React.FunctionComponent<IPeopleProps> = ({<tr className='dark:bg-slate-800'><thscope='col'- className='py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6 dark:text-white'+ className='py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 dark:text-white sm:pl-6'>{t('auth.common.email')}</th>@@ -384,14 +384,14 @@ const People: React.FunctionComponent<IPeopleProps> = ({<buttontype='button'className={cx(- 'w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 text-base font-medium text-white sm:ml-3 sm:w-auto sm:text-sm bg-indigo-600 hover:bg-indigo-700',+ 'inline-flex w-full justify-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-base font-medium text-white shadow-sm hover:bg-indigo-700 sm:ml-3 sm:w-auto sm:text-sm',{- 'opacity-80 !px-3': !isPaidTierUsed,+ '!px-3 opacity-80': !isPaidTierUsed,},)}onClick={handleSubmit}>- {!isPaidTierUsed && <CurrencyDollarIcon className='w-5 h-5 mr-1' />}+ {!isPaidTierUsed && <CurrencyDollarIcon className='mr-1 h-5 w-5' />}{t('common.invite')}</button>}@@ -422,16 +422,16 @@ const People: React.FunctionComponent<IPeopleProps> = ({{t('project.settings.role')}</label><div- className={cx('mt-1 bg-white rounded-md -space-y-px dark:bg-slate-900', {- 'border-red-300 border': errors.role,+ className={cx('mt-1 -space-y-px rounded-md bg-white dark:bg-slate-900', {+ 'border border-red-300': errors.role,})}>{/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}<labelclassName={cx(- 'dark:border-gray-500 rounded-tl-md rounded-tr-md relative border p-4 flex cursor-pointer border-gray-200',+ 'relative flex cursor-pointer rounded-tl-md rounded-tr-md border border-gray-200 p-4 dark:border-gray-500',{- 'bg-indigo-50 border-indigo-200 dark:bg-indigo-500 dark:border-indigo-800 z-10':+ 'z-10 border-indigo-200 bg-indigo-50 dark:border-indigo-800 dark:bg-indigo-500':form.role === roleAdmin.role,'border-gray-200': form.role !== roleAdmin.role,},@@ -439,7 +439,7 @@ const People: React.FunctionComponent<IPeopleProps> = ({><inputname='role'- className='focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300'+ className='h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-500'id='role_admin'type='radio'value='admin'@@ -467,9 +467,9 @@ const People: React.FunctionComponent<IPeopleProps> = ({{/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}<labelclassName={cx(- 'dark:border-gray-500 rounded-bl-md rounded-br-md relative border p-4 flex cursor-pointer border-gray-200',+ 'relative flex cursor-pointer rounded-bl-md rounded-br-md border border-gray-200 p-4 dark:border-gray-500',{- 'bg-indigo-50 border-indigo-200 dark:bg-indigo-500 dark:border-indigo-800 z-10':+ 'z-10 border-indigo-200 bg-indigo-50 dark:border-indigo-800 dark:bg-indigo-500':form.role === roleViewer.role,'border-gray-200': form.role !== roleViewer.role,},@@ -477,7 +477,7 @@ const People: React.FunctionComponent<IPeopleProps> = ({><inputname='role'- className='focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300'+ className='h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-500'id='role_viewer'type='radio'value='viewer'diff --git a/app/pages/Project/Settings/ProjectSettings.tsx b/app/pages/Project/Settings/ProjectSettings.tsxindex be78e230c..42b1a6ea4 100644--- a/app/pages/Project/Settings/ProjectSettings.tsx+++ b/app/pages/Project/Settings/ProjectSettings.tsx@@ -114,7 +114,7 @@ const ModalMessage = ({return (<>- <p className='text-gray-500 dark:text-gray-300 italic mt-1 mb-4 text-sm'>{t('project.settings.resetHint')}</p>+ <p className='mb-4 mt-1 text-sm italic text-gray-500 dark:text-gray-300'>{t('project.settings.resetHint')}</p><div className='mt-6'><nav className='-mb-px flex space-x-6'>{_map(tabDeleteDataModal, (tabDelete) => (@@ -122,9 +122,9 @@ const ModalMessage = ({key={tabDelete.name}type='button'onClick={() => setTab(tabDelete.name)}- className={cx('whitespace-nowrap pb-2 px-1 border-b-2 font-medium text-md', {- 'border-indigo-500 text-indigo-600 dark:text-gray-50 dark:border-gray-50': tabDelete.name === tab,- 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 dark:text-gray-400 dark:hover:text-gray-300 dark:hover:border-gray-300':+ className={cx('text-md whitespace-nowrap border-b-2 px-1 pb-2 font-medium', {+ 'border-indigo-500 text-indigo-600 dark:border-gray-50 dark:text-gray-50': tabDelete.name === tab,+ 'border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 dark:text-gray-400 dark:hover:border-gray-300 dark:hover:text-gray-300':tab !== tabDelete.name,})}>@@ -135,15 +135,15 @@ const ModalMessage = ({</div>{tab === tabDeleteDataModal[1].name && (<>- <p className='text-gray-500 dark:text-gray-300 mt-4 mb-2 text-sm'>+ <p className='mb-2 mt-4 text-sm text-gray-500 dark:text-gray-300'>{t('project.settings.reseted.partiallyDesc')}</p>- <p className='text-gray-500 dark:text-gray-300 italic mt-1 mb-2 text-sm'>+ <p className='mb-2 mt-1 text-sm italic text-gray-500 dark:text-gray-300'>{t('project.settings.reseted.partiallyHint')}</p><inputtype='text'- className='h-0 w-0 border-0 p-0 m-0 focus:text-transparent focus:border-transparent focus:shadow-none focus:ring-transparent'+ className='m-0 h-0 w-0 border-0 p-0 focus:border-transparent focus:text-transparent focus:shadow-none focus:ring-transparent'/><FlatPickeronChange={(date) => setDateRange(date)}@@ -156,13 +156,13 @@ const ModalMessage = ({</>)}{tab === tabDeleteDataModal[0].name && (- <p className='text-gray-500 dark:text-gray-300 italic mt-4 mb-4 text-sm'>+ <p className='mb-4 mt-4 text-sm italic text-gray-500 dark:text-gray-300'>{t('project.settings.reseted.allHint')}</p>)}{tab === tabDeleteDataModal[2].name && (<div className='min-h-[410px]'>- <p className='text-gray-500 dark:text-gray-300 italic mt-4 mb-4 text-sm'>+ <p className='mb-4 mt-4 text-sm italic text-gray-500 dark:text-gray-300'>{t('project.settings.reseted.viaFiltersHint')}</p><div>@@ -230,7 +230,7 @@ const ModalMessage = ({}/>) : (- <p className='text-gray-500 dark:text-gray-300 italic mt-4 mb-4 text-sm'>+ <p className='mb-4 mt-4 text-sm italic text-gray-500 dark:text-gray-300'>{t('project.settings.reseted.noFilters')}</p>)}@@ -557,15 +557,15 @@ const ProjectSettings = ({if (authLoading || !initialised) {return (- <div className='min-h-min-footer bg-gray-50 dark:bg-slate-900 flex flex-col py-6 px-4 sm:px-6 lg:px-8'>+ <div className='flex min-h-min-footer flex-col bg-gray-50 px-4 py-6 dark:bg-slate-900 sm:px-6 lg:px-8'><Loader /></div>)}return (- <div className='min-h-min-footer bg-gray-50 dark:bg-slate-900 flex flex-col py-6 px-4 sm:px-6 lg:px-8 pb-40'>- <form className='max-w-7xl w-full mx-auto' onSubmit={handleSubmit}>+ <div className='flex min-h-min-footer flex-col bg-gray-50 px-4 py-6 pb-40 dark:bg-slate-900 sm:px-6 lg:px-8'>+ <form className='mx-auto w-full max-w-7xl' onSubmit={handleSubmit}><h2 className='mt-2 text-3xl font-bold text-gray-900 dark:text-gray-50'>{title}</h2><h3 className='mt-2 text-lg font-bold text-gray-900 dark:text-gray-50'>{t('profileSettings.general')}</h3><Input@@ -667,10 +667,10 @@ const ProjectSettings = ({label={t('project.settings.protected')}hint={t('project.settings.protectedHint')}/>- <div className='flex flex-wrap justify-center sm:justify-between gap-2 mt-8'>+ <div className='mt-8 flex flex-wrap justify-center gap-2 sm:justify-between'><div className='flex flex-wrap items-center gap-2'><Button- className='border-indigo-100 dark:text-gray-50 dark:border-slate-700/50 dark:bg-slate-800 dark:hover:bg-slate-700'+ className='border-indigo-100 dark:border-slate-700/50 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'onClick={onCancel}secondaryregular@@ -686,7 +686,7 @@ const ProjectSettings = ({{!isSelfhosted && (<Button onClick={() => setShowTransfer(true)} semiDanger semiSmall><>- <RocketLaunchIcon className='w-5 h-5 mr-1' />+ <RocketLaunchIcon className='mr-1 h-5 w-5' />{t('project.settings.transfer')}</></Button>@@ -698,7 +698,7 @@ const ProjectSettings = ({semiSmall><>- <TrashIcon className='w-5 h-5 mr-1' />+ <TrashIcon className='mr-1 h-5 w-5' />{t('project.settings.reset')}</></Button>@@ -709,7 +709,7 @@ const ProjectSettings = ({semiSmall><>- <ExclamationTriangleIcon className='w-5 h-5 mr-1' />+ <ExclamationTriangleIcon className='mr-1 h-5 w-5' />{t('project.settings.delete')}</></Button>@@ -718,13 +718,13 @@ const ProjectSettings = ({</div>{!isSelfhosted && (<>- <hr className='mt-8 xs:mt-2 sm:mt-5 border-gray-200 dark:border-gray-600' />+ <hr className='mt-8 border-gray-200 dark:border-gray-600 xs:mt-2 sm:mt-5' /><Emails projectId={id} projectName={project.name} /></>)}{!isSelfhosted && (<>- <hr className='mt-2 sm:mt-5 border-gray-200 dark:border-gray-600' />+ <hr className='mt-2 border-gray-200 dark:border-gray-600 sm:mt-5' /><People project={project} isSharedProject={isSharedProject} /></>)}@@ -780,7 +780,7 @@ const ProjectSettings = ({title={t('project.settings.protected')}message={<div>- <p className='text-gray-500 dark:text-gray-300 mt-1 mb-4 text-sm'>{t('project.settings.protectedHint')}</p>+ <p className='mb-4 mt-1 text-sm text-gray-500 dark:text-gray-300'>{t('project.settings.protectedHint')}</p><Inputname='password'id='password'diff --git a/app/pages/Project/Settings/TransferProject/TransferProjectConfirm.tsx b/app/pages/Project/Settings/TransferProject/TransferProjectConfirm.tsxindex b8beb03f3..242c5fb71 100644--- a/app/pages/Project/Settings/TransferProject/TransferProjectConfirm.tsx+++ b/app/pages/Project/Settings/TransferProject/TransferProjectConfirm.tsx@@ -47,26 +47,26 @@ const TransferProjectConfirm = (): JSX.Element => {if (error) {return (- <div className='bg-gray-50 dark:bg-slate-900 min-h-page px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='min-h-page bg-gray-50 px-4 py-16 dark:bg-slate-900 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>+ <div className='mx-auto max-w-max'><main className='sm:flex'><XCircleIcon className='h-12 w-12 text-red-400' aria-hidden='true' /><div className='sm:ml-6'>- <div className='sm:border-l max-w-prose sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <div className='max-w-prose sm:border-l sm:border-gray-200 sm:pl-6'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{error}</h1></div><div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'><Linkto={routes.dashboard}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'>{t('common.dashboard')}</Link><Linkto={routes.contact}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-indigo-700 bg-indigo-100 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:text-gray-50 dark:bg-slate-800 dark:hover:bg-slate-700 dark:focus:ring-gray-50'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'>{t('notFoundPage.support')}</Link>@@ -79,20 +79,20 @@ const TransferProjectConfirm = (): JSX.Element => {}return (- <div className='bg-gray-50 dark:bg-slate-900 min-h-page px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='min-h-page bg-gray-50 px-4 py-16 dark:bg-slate-900 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>+ <div className='mx-auto max-w-max'><main className='sm:flex'><CheckCircleIcon className='h-12 w-12 text-green-500 dark:text-green-400' aria-hidden='true' /><div className='sm:ml-6'>- <div className='sm:border-l max-w-prose sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <div className='max-w-prose sm:border-l sm:border-gray-200 sm:pl-6'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{t('apiNotifications.acceptInvitation')}</h1></div><div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'><Linkto={routes.dashboard}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'>{t('common.dashboard')}</Link>diff --git a/app/pages/Project/Settings/TransferProject/TransferProjectReject.tsx b/app/pages/Project/Settings/TransferProject/TransferProjectReject.tsxindex d5c978830..eb70d3633 100644--- a/app/pages/Project/Settings/TransferProject/TransferProjectReject.tsx+++ b/app/pages/Project/Settings/TransferProject/TransferProjectReject.tsx@@ -47,26 +47,26 @@ const TransferProjectReject = (): JSX.Element => {if (error) {return (- <div className='bg-gray-50 dark:bg-slate-900 min-h-page px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='min-h-page bg-gray-50 px-4 py-16 dark:bg-slate-900 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>+ <div className='mx-auto max-w-max'><main className='sm:flex'><XCircleIcon className='h-12 w-12 text-red-400' aria-hidden='true' /><div className='sm:ml-6'>- <div className='sm:border-l max-w-prose sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <div className='max-w-prose sm:border-l sm:border-gray-200 sm:pl-6'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{error}</h1></div><div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'><Linkto={routes.dashboard}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'>{t('common.dashboard')}</Link><Linkto={routes.contact}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-indigo-700 bg-indigo-100 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:text-gray-50 dark:bg-slate-800 dark:hover:bg-slate-700 dark:focus:ring-gray-50'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'>{t('notFoundPage.support')}</Link>@@ -79,20 +79,20 @@ const TransferProjectReject = (): JSX.Element => {}return (- <div className='bg-gray-50 dark:bg-slate-900 min-h-page px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='min-h-page bg-gray-50 px-4 py-16 dark:bg-slate-900 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>+ <div className='mx-auto max-w-max'><main className='sm:flex'><InformationCircleIcon className='h-12 w-12 text-yellow-400' aria-hidden='true' /><div className='sm:ml-6'>- <div className='sm:border-l max-w-prose sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <div className='max-w-prose sm:border-l sm:border-gray-200 sm:pl-6'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{t('apiNotifications.transferProjectReject')}</h1></div><div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'><Linkto={routes.dashboard}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'>{t('common.dashboard')}</Link>diff --git a/app/pages/Project/View/Panels.tsx b/app/pages/Project/View/Panels.tsxindex 06ff72e10..a01d17697 100644--- a/app/pages/Project/View/Panels.tsx+++ b/app/pages/Project/View/Panels.tsx@@ -125,15 +125,15 @@ const PanelContainer = ({}: IPanelContainer): JSX.Element => (<divclassName={cx(- 'relative bg-white dark:bg-slate-800/25 dark:border dark:border-slate-800/50 pt-5 px-4 min-h-72 max-h-96 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden',+ 'relative max-h-96 min-h-72 overflow-hidden rounded-lg bg-white px-4 pt-5 shadow dark:border dark:border-slate-800/50 dark:bg-slate-800/25 sm:px-6 sm:pt-6',{'pb-12': !noSwitch,'pb-5': noSwitch,},)}>- <div className='flex items-center justify-between mb-2'>- <h3 className='flex items-center text-lg leading-6 font-semibold text-gray-900 dark:text-gray-50'>+ <div className='mb-2 flex items-center justify-between'>+ <h3 className='flex items-center text-lg font-semibold leading-6 text-gray-900 dark:text-gray-50'>{icon && (<>{icon}@@ -242,7 +242,7 @@ const PanelContainer = ({</div>{/* for other tabs */}<div- className={cx('flex flex-col h-full scroll-auto', {+ className={cx('flex h-full flex-col scroll-auto', {'overflow-auto': !(type === 'pg' &&activeTab !== PROJECT_TABS.performance &&@@ -344,27 +344,27 @@ const KVTable = ({ data, t, uniques, loading }: IKVTable) => {if (loading) {return (- <div className='flex justify-center items-center pt-5 pb-10 w-full'>+ <div className='flex w-full items-center justify-center pb-10 pt-5'><Loader /></div>)}if (_isEmpty(data)) {- return <p className='text-gray-600 dark:text-gray-200 mb-2'>{t('project.noData')}</p>+ return <p className='mb-2 text-gray-600 dark:text-gray-200'>{t('project.noData')}</p>}return _map(processed, (value, key) => {return (- <table key={key} className='table-fixed w-full mb-2'>+ <table key={key} className='mb-2 w-full table-fixed'><thead><tr className='text-gray-600 dark:text-gray-200'>- <th className='w-2/5 sm:w-4/6 text-left flex items-center'>{key}</th>+ <th className='flex w-2/5 items-center text-left sm:w-4/6'>{key}</th><th className='w-[30%] sm:w-1/6'>- <p className='flex justify-end items-center'>{t('project.quantity')}</p>+ <p className='flex items-center justify-end'>{t('project.quantity')}</p></th><th className='w-[30%] sm:w-1/6'>- <p className='flex justify-end items-center'>{t('project.conversion')}</p>+ <p className='flex items-center justify-end'>{t('project.conversion')}</p></th></tr></thead>@@ -372,9 +372,9 @@ const KVTable = ({ data, t, uniques, loading }: IKVTable) => {{_map(value, ({ value: nestedValue, count }) => (<trkey={nestedValue}- className='text-gray-900 dark:text-gray-50 group hover:bg-gray-100 hover:dark:bg-slate-700 py-3'+ className='group py-3 text-gray-900 hover:bg-gray-100 dark:text-gray-50 hover:dark:bg-slate-700'>- <td className='text-left flex items-center'>{nestedValue}</td>+ <td className='flex items-center text-left'>{nestedValue}</td><td className='text-right'>{count} @@ -576,11 +576,11 @@ const CustomEvents = ({ customs, chartData, onFilter, t, customTabs = [], getCusisOpened={modal}title={t('project.customEv')}message={- <table className='table-fixed w-full'>+ <table className='w-full table-fixed'><thead>- <tr className='text-gray-900 dark:text-gray-50 text-base'>+ <tr className='text-base text-gray-900 dark:text-gray-50'><th- className='w-2/5 sm:w-4/6 text-left flex items-center cursor-pointer hover:opacity-90'+ className='flex w-2/5 cursor-pointer items-center text-left hover:opacity-90 sm:w-4/6'onClick={() => onSortBy('event')}>{t('project.event')}@@ -592,7 +592,7 @@ const CustomEvents = ({ customs, chartData, onFilter, t, customTabs = [], getCus</th><th className='w-[30%] sm:w-1/6'><p- className='flex justify-end items-center cursor-pointer hover:opacity-90'+ className='flex cursor-pointer items-center justify-end hover:opacity-90'onClick={() => onSortBy('quantity')}>{t('project.quantity')}@@ -606,7 +606,7 @@ const CustomEvents = ({ customs, chartData, onFilter, t, customTabs = [], getCus</th><th className='w-[30%] sm:w-1/6'><p- className='flex justify-end items-center cursor-pointer hover:opacity-90'+ className='flex cursor-pointer items-center justify-end hover:opacity-90'onClick={() => onSortBy('conversion')}>{t('project.conversion')}@@ -623,14 +623,14 @@ const CustomEvents = ({ customs, chartData, onFilter, t, customTabs = [], getCus{_map(keysToDisplay, (ev) => (<Fragment key={ev}><tr- className='text-gray-900 dark:text-gray-50 group hover:bg-gray-100 hover:dark:bg-slate-700 cursor-pointer text-base py-1'+ className='group cursor-pointer py-1 text-base text-gray-900 hover:bg-gray-100 dark:text-gray-50 hover:dark:bg-slate-700'onClick={toggleEventMetadata(ev)}>- <td className='text-left flex items-center'>+ <td className='flex items-center text-left'>{activeEvents[ev] ? (- <ChevronUpIcon className='w-auto h-5 text-gray-500 dark:text-gray-300 px-2 hover:opacity-80' />+ <ChevronUpIcon className='h-5 w-auto px-2 text-gray-500 hover:opacity-80 dark:text-gray-300' />) : (- <ChevronDownIcon className='w-auto h-5 text-gray-500 dark:text-gray-300 px-2 hover:opacity-80' />+ <ChevronDownIcon className='h-5 w-auto px-2 text-gray-500 hover:opacity-80 dark:text-gray-300' />)}{ev}</td>@@ -694,7 +694,7 @@ const CustomEvents = ({ customs, chartData, onFilter, t, customTabs = [], getCus<thead><tr className='text-gray-900 dark:text-gray-50'><th- className='w-4/6 text-left flex items-center cursor-pointer hover:opacity-90'+ className='flex w-4/6 cursor-pointer items-center text-left hover:opacity-90'onClick={() => onSortBy('event')}>{t('project.event')}@@ -705,7 +705,7 @@ const CustomEvents = ({ customs, chartData, onFilter, t, customTabs = [], getCus/></th><th className='w-1/6 text-right'>- <p className='flex items-center cursor-pointer hover:opacity-90' onClick={() => onSortBy('quantity')}>+ <p className='flex cursor-pointer items-center hover:opacity-90' onClick={() => onSortBy('quantity')}>{t('project.quantity')}<SortclassName='ml-1'@@ -716,7 +716,7 @@ const CustomEvents = ({ customs, chartData, onFilter, t, customTabs = [], getCus</p></th><th className='w-1/6 text-right'>- <p className='flex items-center cursor-pointer hover:opacity-90' onClick={() => onSortBy('conversion')}>+ <p className='flex cursor-pointer items-center hover:opacity-90' onClick={() => onSortBy('conversion')}>{t('project.conversion')}<SortclassName='ml-1'@@ -731,12 +731,12 @@ const CustomEvents = ({ customs, chartData, onFilter, t, customTabs = [], getCus{_map(keysToDisplay, (ev) => (<trkey={ev}- className='text-gray-900 dark:text-gray-50 group hover:bg-gray-100 hover:dark:bg-slate-700 cursor-pointer'+ className='group cursor-pointer text-gray-900 hover:bg-gray-100 dark:text-gray-50 hover:dark:bg-slate-700'onClick={() => onFilter('ev', ev)}>- <td className='text-left flex items-center'>+ <td className='flex items-center text-left'>{ev}- <FunnelIcon className='ml-2 w-4 h-4 text-gray-500 hidden group-hover:block dark:text-gray-300' />+ <FunnelIcon className='ml-2 hidden h-4 w-4 text-gray-500 group-hover:block dark:text-gray-300' /></td><td className='text-right'>{customsEventsData[ev]}@@ -755,22 +755,22 @@ const CustomEvents = ({ customs, chartData, onFilter, t, customTabs = [], getCus</table>{/* for pagination in tabs */}{_size(keys) > ENTRIES_PER_CUSTOM_EVENTS_PANEL && (- <div className='absolute bottom-0 w-card-toggle-sm sm:!w-card-toggle'>- <div className='flex justify-between select-none mb-2'>+ <div className='w-card-toggle-sm absolute bottom-0 sm:!w-card-toggle'>+ <div className='mb-2 flex select-none justify-between'><div>- <span className='text-gray-500 dark:text-gray-200 font-light lowercase text-xs'>+ <span className='text-xs font-light lowercase text-gray-500 dark:text-gray-200'>{_size(keys)} {t('project.results')}</span>- <span className='text-gray-500 dark:text-gray-200 font-light text-xs'>+ <span className='text-xs font-light text-gray-500 dark:text-gray-200'>. {t('project.page')} {page + 1} / {totalPages}</span></div>- <div className='flex justify-between w-[4.5rem]'>+ <div className='flex w-[4.5rem] justify-between'><ButtonclassName={cx(- 'text-gray-500 dark:text-gray-200 font-light shadow bg-gray-100 dark:bg-slate-800 border-none px-1.5 py-0.5',+ 'border-none bg-gray-100 px-1.5 py-0.5 font-light text-gray-500 shadow dark:bg-slate-800 dark:text-gray-200',{- 'opacity-50 cursor-not-allowed': !canGoPrev(),+ 'cursor-not-allowed opacity-50': !canGoPrev(),'hover:bg-gray-200 hover:dark:bg-slate-700': canGoPrev(),},)}@@ -779,13 +779,13 @@ const CustomEvents = ({ customs, chartData, onFilter, t, customTabs = [], getCusdisabled={!canGoPrev()}focus={false}>- <ArrowLongLeftIcon className='w-5 h-5' />+ <ArrowLongLeftIcon className='h-5 w-5' /></Button><ButtonclassName={cx(- 'text-gray-500 dark:text-gray-200 font-light shadow bg-gray-100 dark:bg-slate-800 border-none px-1.5 py-0.5',+ 'border-none bg-gray-100 px-1.5 py-0.5 font-light text-gray-500 shadow dark:bg-slate-800 dark:text-gray-200',{- 'opacity-50 cursor-not-allowed': !canGoNext(),+ 'cursor-not-allowed opacity-50': !canGoNext(),'hover:bg-gray-200 hover:dark:bg-slate-700': canGoNext(),},)}@@ -794,7 +794,7 @@ const CustomEvents = ({ customs, chartData, onFilter, t, customTabs = [], getCustype='button'focus={false}>- <ArrowLongRightIcon className='w-5 h-5' />+ <ArrowLongRightIcon className='h-5 w-5' /></Button></div></div>@@ -805,11 +805,11 @@ const CustomEvents = ({ customs, chartData, onFilter, t, customTabs = [], getCusisOpened={modal}title={t('project.customEv')}message={- <table className='table-fixed w-full'>+ <table className='w-full table-fixed'><thead>- <tr className='text-gray-900 dark:text-gray-50 text-base'>+ <tr className='text-base text-gray-900 dark:text-gray-50'><th- className='w-2/5 sm:w-4/6 text-left flex items-center cursor-pointer hover:opacity-90'+ className='flex w-2/5 cursor-pointer items-center text-left hover:opacity-90 sm:w-4/6'onClick={() => onSortBy('event')}>{t('project.event')}@@ -821,7 +821,7 @@ const CustomEvents = ({ customs, chartData, onFilter, t, customTabs = [], getCus</th><th className='w-[30%] sm:w-1/6'><p- className='flex justify-end items-center cursor-pointer hover:opacity-90'+ className='flex cursor-pointer items-center justify-end hover:opacity-90'onClick={() => onSortBy('quantity')}>{t('project.quantity')}@@ -835,7 +835,7 @@ const CustomEvents = ({ customs, chartData, onFilter, t, customTabs = [], getCus</th><th className='w-[30%] sm:w-1/6'><p- className='flex justify-end items-center cursor-pointer hover:opacity-90'+ className='flex cursor-pointer items-center justify-end hover:opacity-90'onClick={() => onSortBy('conversion')}>{t('project.conversion')}@@ -852,14 +852,14 @@ const CustomEvents = ({ customs, chartData, onFilter, t, customTabs = [], getCus{_map(keysToDisplay, (ev) => (<Fragment key={ev}><tr- className='text-gray-900 dark:text-gray-50 group hover:bg-gray-100 hover:dark:bg-slate-700 cursor-pointer text-base py-1'+ className='group cursor-pointer py-1 text-base text-gray-900 hover:bg-gray-100 dark:text-gray-50 hover:dark:bg-slate-700'onClick={toggleEventMetadata(ev)}>- <td className='text-left flex items-center'>+ <td className='flex items-center text-left'>{activeEvents[ev] ? (- <ChevronUpIcon className='w-auto h-5 text-gray-500 dark:text-gray-300 px-2 hover:opacity-80' />+ <ChevronUpIcon className='h-5 w-auto px-2 text-gray-500 hover:opacity-80 dark:text-gray-300' />) : (- <ChevronDownIcon className='w-auto h-5 text-gray-500 dark:text-gray-300 px-2 hover:opacity-80' />+ <ChevronDownIcon className='h-5 w-auto px-2 text-gray-500 hover:opacity-80 dark:text-gray-300' />)}{ev}</td>@@ -1042,7 +1042,7 @@ const Panel = ({<buttontype='button'onClick={() => setIsReversedUserFlow(!isReversedUserFlow)}- className='mt-3 w-full inline-flex justify-center rounded-md dark:border-none border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 dark:text-gray-50 dark:border-gray-600 dark:bg-slate-700 dark:hover:border-gray-600 dark:hover:bg-gray-700 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm'+ className='mt-3 inline-flex w-full justify-center rounded-md border border-gray-300 bg-white px-4 py-2 text-base font-medium text-gray-700 shadow-sm hover:bg-gray-50 dark:border-none dark:border-gray-600 dark:bg-slate-700 dark:text-gray-50 dark:hover:border-gray-600 dark:hover:bg-gray-700 sm:ml-3 sm:mt-0 sm:w-auto sm:text-sm'>{t('project.reverse')}</button>@@ -1173,14 +1173,14 @@ const Panel = ({return (<Fragment key={`${id}-${entryName}-${cc}`}><div- className={cx('flex justify-between mt-[0.32rem] first:mt-0 dark:text-gray-50 rounded', {- 'group hover:bg-gray-100 hover:dark:bg-slate-700 cursor-pointer': !hideFilters,+ className={cx('mt-[0.32rem] flex justify-between rounded first:mt-0 dark:text-gray-50', {+ 'group cursor-pointer hover:bg-gray-100 hover:dark:bg-slate-700': !hideFilters,})}onClick={() => _onFilter(id, entryName)}>{linkContent ? (<a- className={cx('flex items-center label hover:underline text-blue-600 dark:text-blue-500', {+ className={cx('label flex items-center text-blue-600 hover:underline dark:text-blue-500', {capitalize,})}href={rowData as string}@@ -1190,14 +1190,14 @@ const Panel = ({>{rowData}{!hideFilters && (- <FunnelIcon className='ml-2 w-4 h-4 text-gray-500 hidden group-hover:block dark:text-gray-300' />+ <FunnelIcon className='ml-2 hidden h-4 w-4 text-gray-500 group-hover:block dark:text-gray-300' />)}</a>) : (- <span className={cx('flex items-center label', { capitalize })}>+ <span className={cx('label flex items-center', { capitalize })}>{rowData}{!hideFilters && (- <FunnelIcon className='ml-2 w-4 h-4 text-gray-500 hidden group-hover:block dark:text-gray-300' />+ <FunnelIcon className='ml-2 hidden h-4 w-4 text-gray-500 group-hover:block dark:text-gray-300' />)}</span>)}@@ -1205,7 +1205,7 @@ const Panel = ({{activeTab === PROJECT_TABS.traffic ? nFormatter(valueData, 1) : valueData} {activeTab !== PROJECT_TABS.performance && (- <span className='text-gray-500 dark:text-gray-200 font-light'>+ <span className='font-light text-gray-500 dark:text-gray-200'>({perc}%)</span>@@ -1219,22 +1219,22 @@ const Panel = ({)}{/* for pagination in tabs */}{_size(entries) > ENTRIES_PER_PANEL && (- <div className='absolute bottom-0 w-card-toggle-sm sm:!w-card-toggle'>- <div className='flex justify-between select-none mb-2'>+ <div className='w-card-toggle-sm absolute bottom-0 sm:!w-card-toggle'>+ <div className='mb-2 flex select-none justify-between'><div>- <span className='text-gray-500 dark:text-gray-200 font-light lowercase text-xs'>+ <span className='text-xs font-light lowercase text-gray-500 dark:text-gray-200'>{_size(entries)} {t('project.results')}</span>- <span className='text-gray-500 dark:text-gray-200 font-light text-xs'>+ <span className='text-xs font-light text-gray-500 dark:text-gray-200'>. {t('project.page')} {page + 1} / {totalPages}</span></div>- <div className='flex justify-between w-[4.5rem]'>+ <div className='flex w-[4.5rem] justify-between'><ButtonclassName={cx(- 'text-gray-500 dark:text-gray-200 font-light shadow bg-gray-100 dark:bg-slate-800 border-none px-1.5 py-0.5',+ 'border-none bg-gray-100 px-1.5 py-0.5 font-light text-gray-500 shadow dark:bg-slate-800 dark:text-gray-200',{- 'opacity-50 cursor-not-allowed': !canGoPrev(),+ 'cursor-not-allowed opacity-50': !canGoPrev(),'hover:bg-gray-200 hover:dark:bg-slate-700': canGoPrev(),},)}@@ -1243,13 +1243,13 @@ const Panel = ({disabled={!canGoPrev()}focus={false}>- <ArrowLongLeftIcon className='w-5 h-5' />+ <ArrowLongLeftIcon className='h-5 w-5' /></Button><ButtonclassName={cx(- 'text-gray-500 dark:text-gray-200 font-light shadow bg-gray-100 dark:bg-slate-800 border-none px-1.5 py-0.5',+ 'border-none bg-gray-100 px-1.5 py-0.5 font-light text-gray-500 shadow dark:bg-slate-800 dark:text-gray-200',{- 'opacity-50 cursor-not-allowed': !canGoNext(),+ 'cursor-not-allowed opacity-50': !canGoNext(),'hover:bg-gray-200 hover:dark:bg-slate-700': canGoNext(),},)}@@ -1258,7 +1258,7 @@ const Panel = ({type='button'focus={false}>- <ArrowLongRightIcon className='w-5 h-5' />+ <ArrowLongRightIcon className='h-5 w-5' /></Button></div></div>diff --git a/app/pages/Project/View/ViewProject.tsx b/app/pages/Project/View/ViewProject.tsxindex 3df6ee8a8..311223ba3 100644--- a/app/pages/Project/View/ViewProject.tsx+++ b/app/pages/Project/View/ViewProject.tsx@@ -3372,10 +3372,10 @@ const ViewProject = ({key={tab.id}onClick={onClick}className={cx(- 'group inline-flex items-center whitespace-nowrap py-2 px-1 border-b-2 font-bold text-md cursor-pointer',+ 'text-md group inline-flex cursor-pointer items-center whitespace-nowrap border-b-2 px-1 py-2 font-bold',{- 'border-slate-900 text-slate-900 dark:text-gray-50 dark:border-gray-50': isCurrent,- 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 dark:text-gray-400 dark:hover:border-gray-300 dark:hover:text-gray-300':+ 'border-slate-900 text-slate-900 dark:border-gray-50 dark:text-gray-50': isCurrent,+ 'border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 dark:text-gray-400 dark:hover:border-gray-300 dark:hover:text-gray-300':!isCurrent,},)}@@ -3422,13 +3422,13 @@ const ViewProject = ({<>{!embedded && <Header ssrTheme={ssrTheme} authenticated={authenticated} />}<div- className={cx('max-w-[1584px] bg-gray-50 dark:bg-slate-900 w-full mx-auto py-6 px-2 sm:px-4 lg:px-8', {+ className={cx('mx-auto w-full max-w-[1584px] bg-gray-50 px-2 py-6 dark:bg-slate-900 sm:px-4 lg:px-8', {'min-h-min-footer': !embedded,'min-h-[100vh]': embedded,})}><TabsSelector />- <h2 className='text-xl mt-2 font-bold text-gray-900 dark:text-gray-50 break-words break-all text-center sm:text-left'>+ <h2 className='mt-2 break-words break-all text-center text-xl font-bold text-gray-900 dark:text-gray-50 sm:text-left'>{name}</h2><LockedDashboard user={user} project={project} isSharedProject={isSharedProject} />@@ -3443,13 +3443,13 @@ const ViewProject = ({<>{!embedded && <Header ssrTheme={ssrTheme} authenticated={authenticated} />}<div- className={cx('max-w-[1584px] bg-gray-50 dark:bg-slate-900 w-full mx-auto py-6 px-2 sm:px-4 lg:px-8', {+ className={cx('mx-auto w-full max-w-[1584px] bg-gray-50 px-2 py-6 dark:bg-slate-900 sm:px-4 lg:px-8', {'min-h-min-footer': !embedded,'min-h-[100vh]': embedded,})}><TabsSelector />- <h2 className='text-xl mt-2 font-bold text-gray-900 dark:text-gray-50 break-words break-all text-center sm:text-left'>+ <h2 className='mt-2 break-words break-all text-center text-xl font-bold text-gray-900 dark:text-gray-50 sm:text-left'>{name}</h2><WaitingForAnEvent project={project} />@@ -3468,13 +3468,13 @@ const ViewProject = ({<>{!embedded && <Header ssrTheme={ssrTheme} authenticated={authenticated} />}<div- className={cx('max-w-[1584px] bg-gray-50 dark:bg-slate-900 w-full mx-auto py-6 px-2 sm:px-4 lg:px-8', {+ className={cx('mx-auto w-full max-w-[1584px] bg-gray-50 px-2 py-6 dark:bg-slate-900 sm:px-4 lg:px-8', {'min-h-min-footer': !embedded,'min-h-[100vh]': embedded,})}><TabsSelector />- <h2 className='text-xl mt-2 font-bold text-gray-900 dark:text-gray-50 break-words break-all text-center sm:text-left'>+ <h2 className='mt-2 break-words break-all text-center text-xl font-bold text-gray-900 dark:text-gray-50 sm:text-left'>{name}</h2><WaitingForAnError />@@ -3497,7 +3497,7 @@ const ViewProject = ({})}><div- className={cx('max-w-[1584px] w-full mx-auto py-6 px-2 sm:px-4 lg:px-8', {+ className={cx('mx-auto w-full max-w-[1584px] px-2 py-6 sm:px-4 lg:px-8', {'min-h-min-footer': !embedded,'min-h-[100vh]': embedded,})}@@ -3509,9 +3509,9 @@ const ViewProject = ({(activeTab !== PROJECT_TABS.sessions || !activeSession) &&(activeFunnel || activeTab !== PROJECT_TABS.funnels) && (<>- <div className='flex flex-col lg:flex-row items-center lg:items-start justify-between mt-2'>- <div className='flex items-center space-x-5 flex-wrap'>- <h2 className='text-xl font-bold text-gray-900 dark:text-gray-50 break-words break-all'>+ <div className='mt-2 flex flex-col items-center justify-between lg:flex-row lg:items-start'>+ <div className='flex flex-wrap items-center space-x-5'>+ <h2 className='break-words break-all text-xl font-bold text-gray-900 dark:text-gray-50'>{/* If tab is funnels - then display a funnel name, otherwise a project name */}{activeTab === PROJECT_TABS.funnels ? activeFunnel?.name : name}</h2>@@ -3523,7 +3523,7 @@ const ViewProject = ({/>)}</div>- <div className='flex items-center mt-3 lg:mt-0 max-w-[420px] flex-wrap sm:flex-nowrap sm:max-w-none justify-center sm:justify-between w-full sm:w-auto mx-auto sm:mx-0 space-x-2 gap-y-1'>+ <div className='mx-auto mt-3 flex w-full max-w-[420px] flex-wrap items-center justify-center gap-y-1 space-x-2 sm:mx-0 sm:w-auto sm:max-w-none sm:flex-nowrap sm:justify-between lg:mt-0'>{activeTab !== PROJECT_TABS.funnels && (<><div>@@ -3532,13 +3532,13 @@ const ViewProject = ({title={t('project.refreshStats')}onClick={refreshStats}className={cx(- 'relative rounded-md p-2 bg-gray-50 text-sm font-medium hover:bg-white hover:shadow-sm dark:bg-slate-900 dark:hover:bg-slate-800 focus:z-10 focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 focus:dark:ring-gray-200 focus:dark:border-gray-200',+ 'relative rounded-md bg-gray-50 p-2 text-sm font-medium hover:bg-white hover:shadow-sm focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',{'cursor-not-allowed opacity-50': isLoading || dataLoading,},)}>- <ArrowPathIcon className='w-5 h-5 stroke-2 text-gray-700 dark:text-gray-50' />+ <ArrowPathIcon className='h-5 w-5 stroke-2 text-gray-700 dark:text-gray-50' /></button></div>{!isSelfhosted && !isActiveCompare && (@@ -3553,10 +3553,10 @@ const ViewProject = ({onClick={onForecastOpen}disabled={!_isEmpty(filters)}className={cx(- 'relative rounded-md p-2 bg-gray-50 text-sm font-medium hover:bg-white hover:shadow-sm dark:bg-slate-900 dark:hover:bg-slate-800 focus:z-10 focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 focus:dark:ring-gray-200 focus:dark:border-gray-200',+ 'relative rounded-md bg-gray-50 p-2 text-sm font-medium hover:bg-white hover:shadow-sm focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',{'cursor-not-allowed opacity-50': isLoading || dataLoading || !_isEmpty(filters),- '!bg-gray-200 dark:!bg-gray-600 !border dark:!border-gray-500 !border-gray-300':+ '!border !border-gray-300 !bg-gray-200 dark:!border-gray-500 dark:!bg-gray-600':!_isEmpty(forecasedChartData),},)}@@ -3564,7 +3564,7 @@ const ViewProject = ({<Robottheme={_theme}containerClassName='w-5 h-5'- className='text-gray-700 dark:text-gray-50 stroke-2'+ className='stroke-2 text-gray-700 dark:text-gray-50'/></button></div>@@ -3580,13 +3580,13 @@ const ViewProject = ({title={t('project.search')}onClick={() => setShowFiltersSearch(true)}className={cx(- 'relative rounded-md p-2 bg-gray-50 text-sm font-medium hover:bg-white hover:shadow-sm dark:bg-slate-900 dark:hover:bg-slate-800 focus:z-10 focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 focus:dark:ring-gray-200 focus:dark:border-gray-200',+ 'relative rounded-md bg-gray-50 p-2 text-sm font-medium hover:bg-white hover:shadow-sm focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',{'cursor-not-allowed opacity-50': isLoading || dataLoading,},)}>- <MagnifyingGlassIcon className='w-5 h-5 stroke-2 text-gray-700 dark:text-gray-50' />+ <MagnifyingGlassIcon className='h-5 w-5 stroke-2 text-gray-700 dark:text-gray-50' /></button></div>{activeTab !== PROJECT_TABS.funnels &&@@ -3606,7 +3606,7 @@ const ViewProject = ({],(el) => !!el,)}- title={[<ArrowDownTrayIcon key='download-icon' className='w-5 h-5' />]}+ title={[<ArrowDownTrayIcon key='download-icon' className='h-5 w-5' />]}labelExtractor={(item) => {const { label } = item@@ -3630,7 +3630,7 @@ const ViewProject = ({)}<divclassName={cx(- 'border-gray-200 dark:border-gray-600 lg:px-3 sm:mr-3 space-x-2 lg:border-x',+ 'space-x-2 border-gray-200 dark:border-gray-600 sm:mr-3 lg:border-x lg:px-3',{hidden:isPanelsDataEmpty ||@@ -3646,32 +3646,32 @@ const ViewProject = ({title={t('project.barChart')}onClick={() => setChartTypeOnClick(chartTypes.bar)}className={cx(- 'relative fill-gray-700 dark:fill-gray-50 rounded-md p-2 text-sm font-medium focus:z-10 focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 focus:dark:ring-gray-200 focus:dark:border-gray-200',+ 'relative rounded-md fill-gray-700 p-2 text-sm font-medium focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:fill-gray-50 focus:dark:border-gray-200 focus:dark:ring-gray-200',{- 'bg-white dark:bg-slate-800 stroke-white dark:stroke-slate-800 shadow-sm':+ 'bg-white stroke-white shadow-sm dark:bg-slate-800 dark:stroke-slate-800':chartType === chartTypes.bar,'bg-gray-50 stroke-gray-50 dark:bg-slate-900 dark:stroke-slate-900 [&_svg]:hover:fill-gray-500 [&_svg]:hover:dark:fill-gray-200':chartType !== chartTypes.bar,},)}>- <BarChart className='w-5 h-5 [&_path]:stroke-[3.5%]' />+ <BarChart className='h-5 w-5 [&_path]:stroke-[3.5%]' /></button><buttontype='button'title={t('project.lineChart')}onClick={() => setChartTypeOnClick(chartTypes.line)}className={cx(- 'relative fill-gray-700 dark:fill-gray-50 rounded-md p-2 text-sm font-medium focus:z-10 focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 focus:dark:ring-gray-200 focus:dark:border-gray-200',+ 'relative rounded-md fill-gray-700 p-2 text-sm font-medium focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:fill-gray-50 focus:dark:border-gray-200 focus:dark:ring-gray-200',{- 'bg-white dark:bg-slate-800 stroke-white dark:stroke-slate-800 shadow-sm':+ 'bg-white stroke-white shadow-sm dark:bg-slate-800 dark:stroke-slate-800':chartType === chartTypes.line,'bg-gray-50 stroke-gray-50 dark:bg-slate-900 dark:stroke-slate-900 [&_svg]:hover:fill-gray-500 [&_svg]:hover:dark:fill-gray-200':chartType !== chartTypes.line,},)}>- <LineChart className='w-5 h-5 [&_path]:stroke-[3.5%]' />+ <LineChart className='h-5 w-5 [&_path]:stroke-[3.5%]' /></button></div></>@@ -3694,8 +3694,8 @@ const ViewProject = ({if (pairID === CHART_METRICS_MAPPING.customEvents) {if (_isEmpty(panelsData.customs)) {return (- <span className='px-4 py-2 flex items-center cursor-not-allowed'>- <NoSymbolIcon className='w-5 h-5 mr-1' />+ <span className='flex cursor-not-allowed items-center px-4 py-2'>+ <NoSymbolIcon className='mr-1 h-5 w-5' />{label}</span>)@@ -3783,7 +3783,7 @@ const ViewProject = ({type='button'disabled={errorStatusUpdating}onClick={markErrorAsResolved}- className={cx('text-sm p-2 font-medium text-gray-700 dark:text-gray-50', {+ className={cx('p-2 text-sm font-medium text-gray-700 dark:text-gray-50', {'cursor-not-allowed': isLoading || errorLoading,'opacity-50': errorLoading && !errorStatusUpdating,'animate-pulse cursor-not-allowed': errorStatusUpdating,@@ -3800,7 +3800,7 @@ const ViewProject = ({type='button'disabled={errorStatusUpdating}onClick={markErrorAsActive}- className={cx('text-sm p-2 font-medium text-gray-700 dark:text-gray-50', {+ className={cx('p-2 text-sm font-medium text-gray-700 dark:text-gray-50', {'cursor-not-allowed': isLoading || errorLoading,'opacity-50': errorLoading && !errorStatusUpdating,'animate-pulse cursor-not-allowed': errorStatusUpdating,@@ -3833,13 +3833,13 @@ const ViewProject = ({title={t('project.refreshStats')}onClick={refreshStats}className={cx(- 'relative rounded-md p-2 bg-gray-50 text-sm font-medium hover:bg-white hover:shadow-sm dark:bg-slate-900 dark:hover:bg-slate-800 focus:z-10 focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 focus:dark:ring-gray-200 focus:dark:border-gray-200',+ 'relative rounded-md bg-gray-50 p-2 text-sm font-medium hover:bg-white hover:shadow-sm focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',{'cursor-not-allowed opacity-50': isLoading || dataLoading,},)}>- <ArrowPathIcon className='w-5 h-5 text-gray-700 dark:text-gray-50' />+ <ArrowPathIcon className='h-5 w-5 text-gray-700 dark:text-gray-50' /></button>)}{activeTab === PROJECT_TABS.performance && !isPanelsDataEmptyPerf && (@@ -3920,7 +3920,7 @@ const ViewProject = ({/>{isActiveCompare && activeTab !== PROJECT_TABS.errors && (<>- <div className='mx-2 text-md font-medium text-gray-600 whitespace-pre-line dark:text-gray-200'>+ <div className='text-md mx-2 whitespace-pre-line font-medium text-gray-600 dark:text-gray-200'>vs</div><Dropdown@@ -3975,24 +3975,24 @@ const ViewProject = ({{activeTab === PROJECT_TABS.funnels && (<buttononClick={() => setActiveFunnel(null)}- className='flex items-center text-base font-normal underline decoration-dashed hover:decoration-solid mb-4 mx-auto lg:mx-0 mt-2 lg:mt-0 text-gray-900 dark:text-gray-100'+ className='mx-auto mb-4 mt-2 flex items-center text-base font-normal text-gray-900 underline decoration-dashed hover:decoration-solid dark:text-gray-100 lg:mx-0 lg:mt-0'>- <ChevronLeftIcon className='w-4 h-4' />+ <ChevronLeftIcon className='h-4 w-4' />{t('project.backToFunnels')}</button>)}</>)}{activeTab === PROJECT_TABS.alerts && (isSharedProject || !project?.isOwner || !authenticated) && (- <div className='p-5 mt-5 bg-gray-700 rounded-xl'>+ <div className='mt-5 rounded-xl bg-gray-700 p-5'><div className='flex items-center text-gray-50'>- <BellIcon className='w-8 h-8 mr-2' />- <p className='font-bold text-3xl'>{t('dashboard.alerts')}</p>+ <BellIcon className='mr-2 h-8 w-8' />+ <p className='text-3xl font-bold'>{t('dashboard.alerts')}</p></div>- <p className='text-lg whitespace-pre-wrap mt-2 text-gray-100'>{t('dashboard.alertsDesc')}</p>+ <p className='mt-2 whitespace-pre-wrap text-lg text-gray-100'>{t('dashboard.alertsDesc')}</p><Linkto={routes.signup}- className='inline-block select-none mt-6 bg-white py-2 px-3 border border-transparent rounded-md text-base font-medium text-gray-700 hover:bg-indigo-50'+ className='mt-6 inline-block select-none rounded-md border border-transparent bg-white px-3 py-2 text-base font-medium text-gray-700 hover:bg-indigo-50'aria-label={t('titles.signup')}>{t('common.getStarted')}@@ -4019,24 +4019,24 @@ const ViewProject = ({/>)}{activeTab === PROJECT_TABS.funnels && !activeFunnel && _isEmpty(project.funnels) && (- <div className='p-5 mt-5 bg-gray-700 rounded-xl'>+ <div className='mt-5 rounded-xl bg-gray-700 p-5'><div className='flex items-center text-gray-50'>- <FunnelIcon className='w-8 h-8 mr-2' />- <p className='font-bold text-3xl'>{t('dashboard.funnels')}</p>+ <FunnelIcon className='mr-2 h-8 w-8' />+ <p className='text-3xl font-bold'>{t('dashboard.funnels')}</p></div>- <p className='text-lg whitespace-pre-wrap mt-2 text-gray-100'>{t('dashboard.funnelsDesc')}</p>+ <p className='mt-2 whitespace-pre-wrap text-lg text-gray-100'>{t('dashboard.funnelsDesc')}</p>{authenticated ? (<buttontype='button'onClick={() => setIsNewFunnelOpened(true)}- className='inline-block select-none mt-6 bg-white py-2 px-3 border border-transparent rounded-md text-base font-medium text-gray-700 hover:bg-indigo-50'+ className='mt-6 inline-block select-none rounded-md border border-transparent bg-white px-3 py-2 text-base font-medium text-gray-700 hover:bg-indigo-50'>{t('dashboard.newFunnel')}</button>) : (<Linkto={routes.signup}- className='inline-block select-none mt-6 bg-white py-2 px-3 border border-transparent rounded-md text-base font-medium text-gray-700 hover:bg-indigo-50'+ className='mt-6 inline-block select-none rounded-md border border-transparent bg-white px-3 py-2 text-base font-medium text-gray-700 hover:bg-indigo-50'aria-label={t('titles.signup')}>{t('common.getStarted')}@@ -4061,14 +4061,14 @@ const ViewProject = ({title={t('project.refreshStats')}onClick={() => loadSessions()}className={cx(- 'flex items-center mx-auto mt-2 text-gray-700 dark:text-gray-50 relative rounded-md p-2 bg-gray-50 text-sm font-medium hover:bg-white hover:shadow-sm dark:bg-slate-900 dark:hover:bg-slate-800 focus:z-10 focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 focus:dark:ring-gray-200 focus:dark:border-gray-200',+ 'relative mx-auto mt-2 flex items-center rounded-md bg-gray-50 p-2 text-sm font-medium text-gray-700 hover:bg-white hover:shadow-sm focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:text-gray-50 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',{'cursor-not-allowed opacity-50': sessionsLoading,hidden: sessionsLoading && _isEmpty(sessions),},)}>- <ArrowDownTrayIcon className='w-5 h-5 mr-2' />+ <ArrowDownTrayIcon className='mr-2 h-5 w-5' />{t('project.loadMore')}</button>)}@@ -4083,9 +4083,9 @@ const ViewProject = ({url.searchParams.delete('psid')window.history.pushState({}, '', url.toString())}}- className='flex items-center text-base font-normal underline decoration-dashed hover:decoration-solid mb-4 mx-auto lg:mx-0 mt-2 text-gray-900 dark:text-gray-100'+ className='mx-auto mb-4 mt-2 flex items-center text-base font-normal text-gray-900 underline decoration-dashed hover:decoration-solid dark:text-gray-100 lg:mx-0'>- <ChevronLeftIcon className='w-4 h-4' />+ <ChevronLeftIcon className='h-4 w-4' />{t('project.backToSessions')}</button>{activeSession?.details && <SessionDetails details={activeSession?.details} />}@@ -4124,14 +4124,14 @@ const ViewProject = ({title={t('project.refreshStats')}onClick={() => loadErrors()}className={cx(- 'flex items-center mx-auto mt-2 text-gray-700 dark:text-gray-50 relative rounded-md p-2 bg-gray-50 text-sm font-medium hover:bg-white hover:shadow-sm dark:bg-slate-900 dark:hover:bg-slate-800 focus:z-10 focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 focus:dark:ring-gray-200 focus:dark:border-gray-200',+ 'relative mx-auto mt-2 flex items-center rounded-md bg-gray-50 p-2 text-sm font-medium text-gray-700 hover:bg-white hover:shadow-sm focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:text-gray-50 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',{'cursor-not-allowed opacity-50': errorsLoading,hidden: errorsLoading && _isEmpty(errors),},)}>- <ArrowDownTrayIcon className='w-5 h-5 mr-2' />+ <ArrowDownTrayIcon className='mr-2 h-5 w-5' />{t('project.loadMore')}</button>)}@@ -4148,9 +4148,9 @@ const ViewProject = ({url.searchParams.delete('eid')window.history.pushState({}, '', url.toString())}}- className='flex items-center text-base font-normal underline decoration-dashed hover:decoration-solid mb-4 mx-auto lg:mx-0 mt-2 lg:mt-0 text-gray-900 dark:text-gray-100'+ className='mx-auto mb-4 mt-2 flex items-center text-base font-normal text-gray-900 underline decoration-dashed hover:decoration-solid dark:text-gray-100 lg:mx-0 lg:mt-0'>- <ChevronLeftIcon className='w-4 h-4' />+ <ChevronLeftIcon className='h-4 w-4' />{t('project.backToErrors')}</button>{activeError?.details && <ErrorDetails details={activeError.details} />}@@ -4209,7 +4209,7 @@ const ViewProject = ({if (!logoUrl) {return (<>- <GlobeAltIcon className='w-5 h-5' />+ <GlobeAltIcon className='h-5 w-5' /> {entryName}</>@@ -4218,7 +4218,7 @@ const ViewProject = ({return (<>- <img src={logoUrl} className='w-5 h-5' alt='' />+ <img src={logoUrl} className='h-5 w-5' alt='' /> {entryName}</>@@ -4255,7 +4255,7 @@ const ViewProject = ({if (!logoPath) {return (<>- <GlobeAltIcon className='w-5 h-5' />+ <GlobeAltIcon className='h-5 w-5' /> {entryName}</>@@ -4266,7 +4266,7 @@ const ViewProject = ({return (<>- <img src={logoUrl} className='w-5 h-5 dark:fill-gray-50' alt='' />+ <img src={logoUrl} className='h-5 w-5 dark:fill-gray-50' alt='' /> {entryName}</>@@ -4410,7 +4410,7 @@ const ViewProject = ({hidden: checkIfAllMetricsAreDisabled,})}>- <div className='h-80 mt-5 md:mt-0 [&_svg]:!overflow-visible' id='dataChart' />+ <div className='mt-5 h-80 md:mt-0 [&_svg]:!overflow-visible' id='dataChart' /></div><Filtersfilters={filters}@@ -4419,7 +4419,7 @@ const ViewProject = ({tnMapping={tnMapping}/>{dataLoading && (- <div className='!bg-transparent static mt-4' id='loader'>+ <div className='static mt-4 !bg-transparent' id='loader'><div className='loader-head dark:!bg-slate-800'><div className='first dark:!bg-slate-600' /><div className='second dark:!bg-slate-600' />@@ -4473,7 +4473,7 @@ const ViewProject = ({if (!logoUrl) {return (<>- <GlobeAltIcon className='w-5 h-5' />+ <GlobeAltIcon className='h-5 w-5' /> {entryName}</>@@ -4482,7 +4482,7 @@ const ViewProject = ({return (<>- <img src={logoUrl} className='w-5 h-5' alt='' />+ <img src={logoUrl} className='h-5 w-5' alt='' /> {entryName}</>@@ -4520,7 +4520,7 @@ const ViewProject = ({if (!logoPath) {return (<>- <GlobeAltIcon className='w-5 h-5' />+ <GlobeAltIcon className='h-5 w-5' /> {entryName}</>@@ -4531,7 +4531,7 @@ const ViewProject = ({return (<>- <img src={logoUrl} className='w-5 h-5 dark:fill-gray-50' alt='' />+ <img src={logoUrl} className='h-5 w-5 dark:fill-gray-50' alt='' /> {entryName}</>@@ -4725,7 +4725,7 @@ const ViewProject = ({tnMapping={tnMapping}/>{dataLoading && (- <div className='!bg-transparent static mt-4' id='loader'>+ <div className='static mt-4 !bg-transparent' id='loader'><div className='loader-head dark:!bg-slate-800'><div className='first dark:!bg-slate-600' /><div className='second dark:!bg-slate-600' />@@ -4825,7 +4825,7 @@ const ViewProject = ({if (!logoUrl) {return (<>- <GlobeAltIcon className='w-5 h-5' />+ <GlobeAltIcon className='h-5 w-5' /> {entryName}</>@@ -4834,7 +4834,7 @@ const ViewProject = ({return (<>- <img src={logoUrl} className='w-5 h-5' alt='' />+ <img src={logoUrl} className='h-5 w-5' alt='' /> {entryName}</>@@ -4883,10 +4883,10 @@ const ViewProject = ({{activeTab === PROJECT_TABS.funnels && (<div className={cx('pt-4 md:pt-0', { hidden: !activeFunnel || analyticsLoading })}><div className='h-80'>- <div className='h-80 mt-5 md:mt-0' id='dataChart' />+ <div className='mt-5 h-80 md:mt-0' id='dataChart' /></div>{dataLoading && (- <div className='!bg-transparent static mt-4' id='loader'>+ <div className='static mt-4 !bg-transparent' id='loader'><div className='loader-head dark:!bg-slate-800'><div className='first dark:!bg-slate-600' /><div className='second dark:!bg-slate-600' />diff --git a/app/pages/Project/View/components/CountryDropdown.tsx b/app/pages/Project/View/components/CountryDropdown.tsxindex 9fe2d3e02..e790f4ebe 100644--- a/app/pages/Project/View/components/CountryDropdown.tsx+++ b/app/pages/Project/View/components/CountryDropdown.tsx@@ -37,24 +37,24 @@ const CountryDropdown = ({ onSelect, title }: ICountryDropdown): JSX.Element =>return (<OutsideClickHandler onOutsideClick={() => setShow(false)}><span className='cursor-pointer' onClick={() => setShow(!show)}>- {title} {show ? <ChevronUpIcon className='inline w-4 h-4' /> : <ChevronDownIcon className='inline w-4 h-4' />}+ {title} {show ? <ChevronUpIcon className='inline h-4 w-4' /> : <ChevronDownIcon className='inline h-4 w-4' />}</span>{show && (- <div className='absolute z-10 mt-2 left-5 top-15 text-gray-900 bg-white border border-gray-200 rounded-md shadow-lg dark:bg-slate-900 dark:border-slate-700/50 min-w-[250px] max-h-[200px] overflow-auto'>- <div className='flex flex-col w-full p-2'>- <p className='text-sm font-semibold text-gray-900 dark:text-gray-50 px-1'>{t('project.geo')}</p>+ <div className='top-15 absolute left-5 z-10 mt-2 max-h-[200px] min-w-[250px] overflow-auto rounded-md border border-gray-200 bg-white text-gray-900 shadow-lg dark:border-slate-700/50 dark:bg-slate-900'>+ <div className='flex w-full flex-col p-2'>+ <p className='px-1 text-sm font-semibold text-gray-900 dark:text-gray-50'>{t('project.geo')}</p>{_map(OPTIONS, ({ label, value }) => (<divkey={label}onClick={() => _onSelect(value)}- className='flex flex-row items-center justify-between cursor-pointer w-full px-1 py-2 text-sm text-gray-700 dark:text-gray-200 dark:bg-slate-900 hover:bg-gray-200 dark:hover:bg-slate-800'+ className='flex w-full cursor-pointer flex-row items-center justify-between px-1 py-2 text-sm text-gray-700 hover:bg-gray-200 dark:bg-slate-900 dark:text-gray-200 dark:hover:bg-slate-800'><p>{t(label)}</p></div>))}</div><XMarkIcon- className='absolute top-2 right-2 w-5 h-5 text-gray-900 cursor-pointer dark:text-gray-50'+ className='absolute right-2 top-2 h-5 w-5 cursor-pointer text-gray-900 dark:text-gray-50'onClick={() => setShow(!show)}/></div>diff --git a/app/pages/Project/View/components/ErrorChart.tsx b/app/pages/Project/View/components/ErrorChart.tsxindex 53b4138ab..517e75250 100644--- a/app/pages/Project/View/components/ErrorChart.tsx+++ b/app/pages/Project/View/components/ErrorChart.tsx@@ -29,5 +29,5 @@ export const ErrorChart = ({ chart, timeBucket, timeFormat, rotateXAxis, chartTygenerate.data.names(dataNames)}, [chart, timeBucket, timeFormat, rotateXAxis, chartType, dataNames])- return <div className='h-80 mt-5 md:mt-0 [&_svg]:!overflow-visible' id='errorChart' />+ return <div className='mt-5 h-80 md:mt-0 [&_svg]:!overflow-visible' id='errorChart' />}diff --git a/app/pages/Project/View/components/ErrorDetails.tsx b/app/pages/Project/View/components/ErrorDetails.tsxindex 049559504..487a02915 100644--- a/app/pages/Project/View/components/ErrorDetails.tsx+++ b/app/pages/Project/View/components/ErrorDetails.tsx@@ -24,9 +24,9 @@ export const ErrorDetails = ({ details }: IErrorDetailsComponent) => {}, [details.last_seen, language])return (- <div className='flex justify-center lg:justify-start gap-5 mb-5 flex-wrap'>+ <div className='mb-5 flex flex-wrap justify-center gap-5 lg:justify-start'><div className='flex flex-col'>- <p className='font-bold max-md:text-xl md:text-3xl text-slate-900 dark:text-gray-50'>{`${details.name}: ${details.message}`}</p>+ <p className='font-bold text-slate-900 dark:text-gray-50 max-md:text-xl md:text-3xl'>{`${details.name}: ${details.message}`}</p><p className='text-sm font-medium text-slate-700 dark:text-gray-200'>{t('dashboard.atFile', {filename: details.filename,diff --git a/app/pages/Project/View/components/Errors.tsx b/app/pages/Project/View/components/Errors.tsxindex b9085e943..0e28f1fd3 100644--- a/app/pages/Project/View/components/Errors.tsx+++ b/app/pages/Project/View/components/Errors.tsx@@ -78,17 +78,17 @@ const ErrorItem = ({ error, onClick, className }: IErrorItem) => {}}to={stringifiedUrl}>- <li className='relative flex justify-between gap-x-6 py-4 bg-gray-200/60 hover:bg-gray-200 dark:bg-[#162032] dark:hover:bg-slate-800 cursor-pointer px-4 sm:px-6 mb-4 rounded-lg'>+ <li className='relative mb-4 flex cursor-pointer justify-between gap-x-6 rounded-lg bg-gray-200/60 px-4 py-4 hover:bg-gray-200 dark:bg-[#162032] dark:hover:bg-slate-800 sm:px-6'><div className='flex min-w-0 gap-x-4'><div className='min-w-0 flex-auto'><p className='flex items-center gap-x-2 font-semibold leading-6 text-gray-900 dark:text-gray-50'>- <span className='font-bold text-base'>{error.name}</span>+ <span className='text-base font-bold'>{error.name}</span><Separator />- <span className='text-gray-500 mx-1 font-normal text-sm'>{error.filename}</span>+ <span className='mx-1 text-sm font-normal text-gray-500'>{error.filename}</span></p><p className='mt-1 flex text-base leading-5 text-gray-500 dark:text-gray-300'>{error.message}</p><p className='mt-1 flex items-center gap-x-2 text-base leading-5 text-gray-500 dark:text-gray-300'>- <Badge className='sm:hidden mr-2' label={status.label} colour={status.colour} />+ <Badge className='mr-2 sm:hidden' label={status.label} colour={status.colour} />{lastSeen}<Separator className='sm:hidden' /><span className='sm:hidden'>diff --git a/app/pages/Project/View/components/Filters.tsx b/app/pages/Project/View/components/Filters.tsxindex d30763c20..f5d2d7aaf 100644--- a/app/pages/Project/View/components/Filters.tsx+++ b/app/pages/Project/View/components/Filters.tsx@@ -60,7 +60,7 @@ export const Filter = ({<spantitle={truncatedFilter === displayFilter ? undefined : displayFilter}className={cx(- 'inline-flex rounded-md items-center py-0.5 pl-2.5 pr-1 mr-2 mt-2 text-sm font-medium bg-gray-200 text-gray-800 dark:text-gray-50 dark:bg-slate-800',+ 'mr-2 mt-2 inline-flex items-center rounded-md bg-gray-200 py-0.5 pl-2.5 pr-1 text-sm font-medium text-gray-800 dark:bg-slate-800 dark:text-gray-50',{'pr-2': !removable,},@@ -70,7 +70,7 @@ export const Filter = ({ {canChangeExclusive ? (<span- className='text-blue-400 border-blue-400 border-b-2 border-dotted cursor-pointer'+ className='cursor-pointer border-b-2 border-dotted border-blue-400 text-blue-400'onClick={() => onChangeExclusive(column, filter, !isExclusive)}>{t(`common.${isExclusive ? 'isNot' : 'is'}`)}@@ -85,7 +85,7 @@ export const Filter = ({<buttononClick={() => onRemoveFilter(column, filter)}type='button'- className='flex-shrink-0 ml-0.5 h-4 w-4 rounded-full inline-flex items-center justify-center text-gray-800 hover:text-gray-900 hover:bg-gray-300 focus:bg-gray-300 focus:text-gray-900 dark:text-gray-50 dark:bg-slate-800 dark:hover:text-gray-300 dark:hover:bg-gray-800 dark:focus:bg-gray-800 dark:focus:text-gray-300 focus:outline-none '+ className='ml-0.5 inline-flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-full text-gray-800 hover:bg-gray-300 hover:text-gray-900 focus:bg-gray-300 focus:text-gray-900 focus:outline-none dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-gray-800 dark:hover:text-gray-300 dark:focus:bg-gray-800 dark:focus:text-gray-300 '><span className='sr-only'>Remove filter</span><svg className='h-2 w-2' stroke='currentColor' fill='none' viewBox='0 0 8 8'>@@ -126,7 +126,7 @@ export const Filters = ({ filters, onRemoveFilter, onChangeExclusive, tnMapping} = useTranslation('common')return (- <div className='flex justify-center md:justify-start flex-wrap -mt-2'>+ <div className='-mt-2 flex flex-wrap justify-center md:justify-start'>{_map(filters, (props) => {const { column, filter } = propsconst key = `${column}${filter}`diff --git a/app/pages/Project/View/components/FunnelsList.tsx b/app/pages/Project/View/components/FunnelsList.tsxindex 0691321cd..c1df2c742 100644--- a/app/pages/Project/View/components/FunnelsList.tsx+++ b/app/pages/Project/View/components/FunnelsList.tsx@@ -41,11 +41,11 @@ const FunnelCard = ({return (<lionClick={() => openFunnel(funnel)}- className='overflow-hidden min-h-[120px] rounded-xl border border-gray-200 cursor-pointer bg-gray-50 hover:bg-gray-100 dark:bg-[#162032] dark:hover:bg-slate-800 dark:border-slate-800/25'+ className='min-h-[120px] cursor-pointer overflow-hidden rounded-xl border border-gray-200 bg-gray-50 hover:bg-gray-100 dark:border-slate-800/25 dark:bg-[#162032] dark:hover:bg-slate-800'>- <div className='py-4 px-4'>- <div className='flex justify-between items-center'>- <p className='text-lg font-semibold text-slate-900 dark:text-gray-50 truncate'>{funnel.name}</p>+ <div className='px-4 py-4'>+ <div className='flex items-center justify-between'>+ <p className='truncate text-lg font-semibold text-slate-900 dark:text-gray-50'>{funnel.name}</p><div className='flex items-center gap-2'><buttontype='button'@@ -55,7 +55,7 @@ const FunnelCard = ({}}aria-label={t('common.settings')}>- <AdjustmentsVerticalIcon className='w-6 h-6 text-gray-800 dark:text-slate-400 hover:text-gray-900 dark:hover:text-slate-500' />+ <AdjustmentsVerticalIcon className='h-6 w-6 text-gray-800 hover:text-gray-900 dark:text-slate-400 dark:hover:text-slate-500' /></button>{allowedToManage && (<TrashIcon@@ -66,7 +66,7 @@ const FunnelCard = ({role='button'aria-label={t('common.delete')}className={cx(- 'w-6 h-6 text-gray-800 dark:text-slate-400 hover:text-gray-900 dark:hover:text-slate-500',+ 'h-6 w-6 text-gray-800 hover:text-gray-900 dark:text-slate-400 dark:hover:text-slate-500',{'cursor-not-allowed': loading,},@@ -90,10 +90,10 @@ const AddFunnel = ({ openFunnelSettings }: IAddFunnel): JSX.Element => {return (<lionClick={onClick}- className='flex cursor-pointer justify-center items-center rounded-lg border-2 border-dashed h-auto min-h-[120px] group border-gray-300 hover:border-gray-400 dark:border-gray-500 dark:hover:border-gray-600'+ className='group flex h-auto min-h-[120px] cursor-pointer items-center justify-center rounded-lg border-2 border-dashed border-gray-300 hover:border-gray-400 dark:border-gray-500 dark:hover:border-gray-600'><div>- <PlusCircleIcon className='mx-auto h-12 w-12 text-gray-400 dark:text-gray-200 group-hover:text-gray-500 group-hover:dark:text-gray-400' />+ <PlusCircleIcon className='mx-auto h-12 w-12 text-gray-400 group-hover:text-gray-500 dark:text-gray-200 group-hover:dark:text-gray-400' /><span className='mt-2 block text-sm font-semibold text-gray-900 dark:text-gray-50 group-hover:dark:text-gray-400'>{t('dashboard.newFunnel')}</span>@@ -117,7 +117,7 @@ const FunnelsList = ({authenticated,allowedToManage,}: IFunnelsList): JSX.Element => (- <ul className='grid grid-cols-1 gap-x-6 gap-y-3 lg:gap-y-6 lg:grid-cols-3 mt-4'>+ <ul className='mt-4 grid grid-cols-1 gap-x-6 gap-y-3 lg:grid-cols-3 lg:gap-y-6'>{_map(funnels, (funnel) => (<FunnelCardkey={funnel.id}diff --git a/app/pages/Project/View/components/InteractiveMap.tsx b/app/pages/Project/View/components/InteractiveMap.tsxindex 00edea0a5..e67d4f0a6 100644--- a/app/pages/Project/View/components/InteractiveMap.tsx+++ b/app/pages/Project/View/components/InteractiveMap.tsx@@ -57,7 +57,7 @@ const InteractiveMap = ({ data, onClickCountry, total }: IInteractiveMap) => {return (<div className='relative'>- <svg id='map' viewBox='0 0 1050 650' className='w-full h-full' onMouseMove={onMouseMove}>+ <svg id='map' viewBox='0 0 1050 650' className='h-full w-full' onMouseMove={onMouseMove}><g>{_map(countriesList, (key, value) => {const ccData = countryMap[value] || 0@@ -113,7 +113,7 @@ const InteractiveMap = ({ data, onClickCountry, total }: IInteractiveMap) => {<div>{hoverShow && cursorPosition && (<div- className='border absolute z-30 text-xs bg-gray-100 dark:bg-slate-900 dark:shadow-gray-850 dark:border-gray-850 dark:text-gray-200 p-1 rounded-md'+ className='dark:shadow-gray-850 dark:border-gray-850 absolute z-30 rounded-md border bg-gray-100 p-1 text-xs dark:bg-slate-900 dark:text-gray-200'style={{top: cursorPosition.pageY + 20,left: cursorPosition.pageX - 20,diff --git a/app/pages/Project/View/components/LiveVisitorsDropdown.tsx b/app/pages/Project/View/components/LiveVisitorsDropdown.tsxindex 113fe9f63..4e3a94860 100644--- a/app/pages/Project/View/components/LiveVisitorsDropdown.tsx+++ b/app/pages/Project/View/components/LiveVisitorsDropdown.tsx@@ -41,21 +41,21 @@ const LiveVisitorsDropdown = ({ live, projectId, projectPassword = '' }: ILiveVireturn (<OutsideClickHandler onOutsideClick={() => setShow(false)}><p- className='relative flex items-center h-5 text-gray-900 dark:text-gray-50 text-base cursor-pointer'+ className='relative flex h-5 cursor-pointer items-center text-base text-gray-900 dark:text-gray-50'onClick={() => setShow(!show)}><PulsatingCircle className='mr-1.5' type='small' />{t('dashboard.xLiveVisitors', {amount: live || 0,})}{' '}- {show ? <ChevronUpIcon className='inline w-4 h-4 ml-1' /> : <ChevronDownIcon className='inline w-4 h-4 ml-1' />}+ {show ? <ChevronUpIcon className='ml-1 inline h-4 w-4' /> : <ChevronDownIcon className='ml-1 inline h-4 w-4' />}{show && (<div- className={`absolute scrollbar-thin z-10 mt-2 right-0 top-3 text-gray-900 bg-white border border-gray-200 rounded-md shadow-lg dark:bg-slate-900 dark:border-slate-700/50 max-h-[200px] overflow-y-auto ${+ className={`scrollbar-thin absolute right-0 top-3 z-10 mt-2 max-h-[200px] overflow-y-auto rounded-md border border-gray-200 bg-white text-gray-900 shadow-lg dark:border-slate-700/50 dark:bg-slate-900 ${liveInfo.length === 0 ? 'min-w-[200px]' : 'min-w-max'}`}>- <div className='flex flex-col w-full p-2'>+ <div className='flex w-full flex-col p-2'><p className='text-sm font-semibold text-gray-900 dark:text-gray-50'>{t('dashboard.liveVisitors')}</p>{loading ? (<p className='text-sm text-gray-900 dark:text-gray-50'>{t('common.loading')}</p>@@ -67,12 +67,12 @@ const LiveVisitorsDropdown = ({ live, projectId, projectPassword = '' }: ILiveVikey={`${dv}${br}${os}${cc}${index}`}className='rounded-md text-sm text-gray-900 dark:text-gray-50'>- <td className='pr-2 rounded-l-lg bg-gray-100 dark:bg-slate-800'>- <Flag className='rounded-sm m-2' country={cc} size={21} alt='' aria-hidden='true' />+ <td className='rounded-l-lg bg-gray-100 pr-2 dark:bg-slate-800'>+ <Flag className='m-2 rounded-sm' country={cc} size={21} alt='' aria-hidden='true' /></td>- <td className='bg-gray-100 dark:bg-slate-800 pr-2'>{os}</td>- <td className='bg-gray-100 dark:bg-slate-800 pr-2'>{br}</td>- <td className='pr-2 rounded-r-lg bg-gray-100 dark:bg-slate-800'>+ <td className='bg-gray-100 pr-2 dark:bg-slate-800'>{os}</td>+ <td className='bg-gray-100 pr-2 dark:bg-slate-800'>{br}</td>+ <td className='rounded-r-lg bg-gray-100 pr-2 dark:bg-slate-800'><p className='capitalize'>{dv}</p></td></tr>@@ -82,7 +82,7 @@ const LiveVisitorsDropdown = ({ live, projectId, projectPassword = '' }: ILiveVi)}</div><XMarkIcon- className='absolute top-2 right-2 w-5 h-5 text-gray-900 cursor-pointer dark:text-gray-50'+ className='absolute right-2 top-2 h-5 w-5 cursor-pointer text-gray-900 dark:text-gray-50'onClick={() => setShow(!show)}/></div>diff --git a/app/pages/Project/View/components/LockedDashboard.tsx b/app/pages/Project/View/components/LockedDashboard.tsxindex 8a9b3735a..772aa2a45 100644--- a/app/pages/Project/View/components/LockedDashboard.tsx+++ b/app/pages/Project/View/components/LockedDashboard.tsx@@ -40,12 +40,12 @@ const LockedDashboard = ({ user, project, isSharedProject }: ILockedDashboard) =return (<div className='px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='mx-auto max-w-max'><main className='sm:flex'>- <LockClosedIcon className='-ml-1.5 mb-2 sm:m-0 h-12 sm:h-24 w-auto text-yellow-400 dark:text-yellow-600' />+ <LockClosedIcon className='-ml-1.5 mb-2 h-12 w-auto text-yellow-400 dark:text-yellow-600 sm:m-0 sm:h-24' /><div className='sm:ml-6'><div className='sm:border-l sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{t('project.locked.title')}</h1><p className='mt-1 max-w-prose whitespace-pre-line text-base text-gray-700 dark:text-gray-300'>@@ -63,13 +63,13 @@ const LockedDashboard = ({ user, project, isSharedProject }: ILockedDashboard) =<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'><Linkto={routes.billing}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'>{t('project.locked.manageSubscription')}</Link><Linkto={routes.contact}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-indigo-700 bg-indigo-100 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:text-gray-50 dark:bg-slate-800 dark:hover:bg-slate-700 dark:focus:ring-gray-50'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'>{t('notFoundPage.support')}</Link>diff --git a/app/pages/Project/View/components/MetricCards.tsx b/app/pages/Project/View/components/MetricCards.tsxindex 7718d129e..4c017ea69 100644--- a/app/pages/Project/View/components/MetricCards.tsx+++ b/app/pages/Project/View/components/MetricCards.tsx@@ -71,12 +71,12 @@ export const MetricCard: React.FC<IMetricCard> = ({classes,}) => (<div className='flex flex-col'>- <div className={cx('font-bold text-4xl whitespace-nowrap text-slate-900 dark:text-gray-50', classes?.value)}>+ <div className={cx('whitespace-nowrap text-4xl font-bold text-slate-900 dark:text-gray-50', classes?.value)}>{valueMapper ? valueMapper(value, 'main') : value}</div><divclassName={cx(- 'flex items-center font-bold whitespace-nowrap text-sm',+ 'flex items-center whitespace-nowrap text-sm font-bold',{'space-x-2': _isNumber(change),},@@ -113,34 +113,34 @@ export const MetricCardSelect: React.FC<IMetricCardSelect> = ({ values, valueMapreturn (<div className='flex flex-col'>- <div className={cx('font-bold text-4xl whitespace-nowrap text-slate-900 dark:text-gray-50', classes?.value)}>+ <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>- <div className='flex items-center font-bold whitespace-nowrap text-sm relative'>+ <div className='relative flex items-center whitespace-nowrap text-sm font-bold'><OutsideClickHandler onOutsideClick={() => setShow(false)}><span- className={cx('text-slate-900 dark:text-gray-50 cursor-pointer', classes?.label)}+ className={cx('cursor-pointer text-slate-900 dark:text-gray-50', classes?.label)}onClick={() => setShow(!show)}>{values[selected].label}{' '}- {show ? <ChevronUpIcon className='inline w-4 h-4' /> : <ChevronDownIcon className='inline w-4 h-4' />}+ {show ? <ChevronUpIcon className='inline h-4 w-4' /> : <ChevronDownIcon className='inline h-4 w-4' />}</span>{show && (- <div className='absolute z-10 mt-2 top-15 text-gray-900 bg-white border border-gray-200 rounded-md shadow-lg dark:bg-slate-900 dark:border-slate-700/50 min-w-[250px] max-h-[200px] overflow-auto'>- <div className='flex flex-col w-full p-2'>- <p className='text-sm font-semibold text-gray-900 dark:text-gray-50 px-1'>{selectLabel}</p>+ <div className='top-15 absolute z-10 mt-2 max-h-[200px] min-w-[250px] overflow-auto rounded-md border border-gray-200 bg-white text-gray-900 shadow-lg dark:border-slate-700/50 dark:bg-slate-900'>+ <div className='flex w-full flex-col p-2'>+ <p className='px-1 text-sm font-semibold text-gray-900 dark:text-gray-50'>{selectLabel}</p>{_map(values, ({ label }, index) => (<divkey={label}onClick={() => _onSelect(index)}- className='flex flex-row items-center justify-between cursor-pointer w-full px-1 py-2 text-sm text-gray-700 dark:text-gray-200 dark:bg-slate-900 hover:bg-gray-200 dark:hover:bg-slate-800'+ className='flex w-full cursor-pointer flex-row items-center justify-between px-1 py-2 text-sm text-gray-700 hover:bg-gray-200 dark:bg-slate-900 dark:text-gray-200 dark:hover:bg-slate-800'><p>{label}</p></div>))}</div><XMarkIcon- className='absolute top-2 right-2 w-5 h-5 text-gray-900 cursor-pointer dark:text-gray-50'+ className='absolute right-2 top-2 h-5 w-5 cursor-pointer text-gray-900 dark:text-gray-50'onClick={() => setShow(!show)}/></div>@@ -174,7 +174,7 @@ const MetricCards = ({ overall, overallCompare, activePeriodCompare }: IMetricCaif (overall.customEVFilterApplied) {return (- <div className='flex justify-center lg:justify-start gap-5 mb-5 flex-wrap'>+ <div className='mb-5 flex flex-wrap justify-center gap-5 lg:justify-start'><MetricCardlabel={t('project.events')}value={overall.current?.all}@@ -188,7 +188,7 @@ const MetricCards = ({ overall, overallCompare, activePeriodCompare }: IMetricCa}return (- <div className='flex justify-center lg:justify-start gap-5 mb-5 flex-wrap'>+ <div className='mb-5 flex flex-wrap justify-center gap-5 lg:justify-start'><MetricCardlabel={t('dashboard.unique')}value={overall.current?.unique}diff --git a/app/pages/Project/View/components/NoErrorDetails.tsx b/app/pages/Project/View/components/NoErrorDetails.tsxindex d2ac1d834..25a181b18 100644--- a/app/pages/Project/View/components/NoErrorDetails.tsx+++ b/app/pages/Project/View/components/NoErrorDetails.tsx@@ -6,12 +6,12 @@ const NoErrorDetails = () => {return (<div className='px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='mx-auto max-w-max'><main className='sm:flex'>- <BugAntIcon type='giant' className='h-12 sm:h-20 w-12 sm:w-20 -ml-1.5 mb-2 sm:m-0' />+ <BugAntIcon type='giant' className='-ml-1.5 mb-2 h-12 w-12 sm:m-0 sm:h-20 sm:w-20' /><div className='sm:ml-6'><div className='sm:border-l sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{t('project.noErrorDetails')}</h1><p className='mt-1 max-w-prose whitespace-pre-line text-base text-gray-700 dark:text-gray-300'>diff --git a/app/pages/Project/View/components/NoEvents.tsx b/app/pages/Project/View/components/NoEvents.tsxindex 798a76f3d..2a1896f71 100644--- a/app/pages/Project/View/components/NoEvents.tsx+++ b/app/pages/Project/View/components/NoEvents.tsx@@ -17,13 +17,13 @@ const NoEvents = ({ filters, resetFilters }: INoEvents): JSX.Element => {const { t } = useTranslation('common')return (- <div className='flex flex-col py-6 sm:px-6 lg:px-8 mt-5'>- <div className='max-w-7xl w-full mx-auto text-gray-900 dark:text-gray-50'>- <h2 className='text-4xl text-center leading-tight my-3'>{t('project.noEvTitle')}</h2>- <h2 className='text-2xl mb-8 text-center leading-snug'>{t('project.noEvContent')}</h2>+ <div className='mt-5 flex flex-col py-6 sm:px-6 lg:px-8'>+ <div className='mx-auto w-full max-w-7xl text-gray-900 dark:text-gray-50'>+ <h2 className='my-3 text-center text-4xl leading-tight'>{t('project.noEvTitle')}</h2>+ <h2 className='mb-8 text-center text-2xl leading-snug'>{t('project.noEvContent')}</h2>{!_isEmpty(filters) && (- <div className='!flex !mx-auto'>- <Button onClick={resetFilters} className='!flex !mx-auto' primary giant>+ <div className='!mx-auto !flex'>+ <Button onClick={resetFilters} className='!mx-auto !flex' primary giant>{t('project.resetFilters')}</Button></div>diff --git a/app/pages/Project/View/components/Pageflow.tsx b/app/pages/Project/View/components/Pageflow.tsxindex dd99b5ff9..657d4c2e0 100644--- a/app/pages/Project/View/components/Pageflow.tsx+++ b/app/pages/Project/View/components/Pageflow.tsx@@ -42,7 +42,7 @@ export const Pageflow = ({ pages, timeFormat }: IPageflow) => {) : null}<div className='relative flex space-x-3'><div>- <span className='h-8 w-8 rounded-full flex items-center justify-center bg-slate-400 dark:bg-slate-800'>+ <span className='flex h-8 w-8 items-center justify-center rounded-full bg-slate-400 dark:bg-slate-800'>{type === 'pageview' && <NewspaperIcon className='h-5 w-5 text-white' aria-hidden='true' />}{type === 'event' && <CursorArrowRaysIcon className='h-5 w-5 text-white' aria-hidden='true' />}</span>diff --git a/app/pages/Project/View/components/PerformanceMetricCards.tsx b/app/pages/Project/View/components/PerformanceMetricCards.tsxindex a58b55a83..c559dba5f 100644--- a/app/pages/Project/View/components/PerformanceMetricCards.tsx+++ b/app/pages/Project/View/components/PerformanceMetricCards.tsx@@ -28,7 +28,7 @@ const PerformanceMetricCards = ({ overall, overallCompare, activePeriodCompare }}return (- <div className='flex justify-center lg:justify-start gap-5 mb-5 flex-wrap'>+ <div className='mb-5 flex flex-wrap justify-center gap-5 lg:justify-start'><MetricCardlabel={t('dashboard.frontend')}value={overall.current?.frontend}diff --git a/app/pages/Project/View/components/RefRow.tsx b/app/pages/Project/View/components/RefRow.tsxindex fa068c91c..16c3df62f 100644--- a/app/pages/Project/View/components/RefRow.tsx+++ b/app/pages/Project/View/components/RefRow.tsx@@ -15,7 +15,7 @@ const RefRow = ({ rowName }: { rowName: string }): JSX.Element => {<div className='overflow-auto'>{isUrl && !_isEmpty(url?.hostname) && (<img- className='w-5 h-5 mr-1.5 float-left'+ className='float-left mr-1.5 h-5 w-5'src={`https://icons.duckduckgo.com/ip3/${url?.hostname}.ico`}alt=''aria-hidden='true'@@ -23,7 +23,7 @@ const RefRow = ({ rowName }: { rowName: string }): JSX.Element => {)}{isUrl ? (<a- className='flex label hover:underline text-blue-600 dark:text-blue-500'+ className='label flex text-blue-600 hover:underline dark:text-blue-500'href={rowName}target='_blank'rel='noopener noreferrer nofollow'@@ -33,7 +33,7 @@ const RefRow = ({ rowName }: { rowName: string }): JSX.Element => {{rowName}</a>) : (- <span className='flex label hover:underline text-blue-600 dark:text-blue-500'>{rowName}</span>+ <span className='label flex text-blue-600 hover:underline dark:text-blue-500'>{rowName}</span>)}</div>)diff --git a/app/pages/Project/View/components/SessionChart.tsx b/app/pages/Project/View/components/SessionChart.tsxindex 14f6c072e..807459820 100644--- a/app/pages/Project/View/components/SessionChart.tsx+++ b/app/pages/Project/View/components/SessionChart.tsx@@ -37,5 +37,5 @@ export const SessionChart = ({ chart, timeBucket, timeFormat, rotateXAxis, chart// })}, [chart, timeBucket, timeFormat, rotateXAxis, chartType, dataNames])- return <div className='h-80 mt-5 md:mt-0 [&_svg]:!overflow-visible' id='sessionChart' />+ return <div className='mt-5 h-80 md:mt-0 [&_svg]:!overflow-visible' id='sessionChart' />}diff --git a/app/pages/Project/View/components/SessionDetails.tsx b/app/pages/Project/View/components/SessionDetails.tsxindex ba9e67729..033c47bf6 100644--- a/app/pages/Project/View/components/SessionDetails.tsx+++ b/app/pages/Project/View/components/SessionDetails.tsx@@ -49,7 +49,7 @@ export const SessionDetails = ({ details }: ISessionDetailsComponent) => {]return (- <div className='flex justify-center lg:justify-start gap-5 mb-5 flex-wrap'>+ <div className='mb-5 flex flex-wrap justify-center gap-5 lg:justify-start'><MetricCardSelectclasses={{value: 'max-md:text-xl md:text-3xl',diff --git a/app/pages/Project/View/components/Sessions.tsx b/app/pages/Project/View/components/Sessions.tsxindex 6ff6cae39..0ca9eb414 100644--- a/app/pages/Project/View/components/Sessions.tsx+++ b/app/pages/Project/View/components/Sessions.tsx@@ -58,7 +58,7 @@ const Session = ({ session, onClick, timeFormat }: ISessionComponent) => {}}to={stringifiedUrl}>- <li className='relative flex justify-between gap-x-6 py-4 bg-gray-200/60 hover:bg-gray-200 dark:bg-[#162032] dark:hover:bg-slate-800 cursor-pointer px-4 sm:px-6 mb-4 rounded-lg'>+ <li className='relative mb-4 flex cursor-pointer justify-between gap-x-6 rounded-lg bg-gray-200/60 px-4 py-4 hover:bg-gray-200 dark:bg-[#162032] dark:hover:bg-slate-800 sm:px-6'><div className='flex min-w-0 gap-x-4'><div className='min-w-0 flex-auto'><p className='flex items-center gap-x-2 text-sm font-semibold leading-6 text-gray-900 dark:text-gray-50'>@@ -73,7 +73,7 @@ const Session = ({ session, onClick, timeFormat }: ISessionComponent) => {<Separator />{session.br}</p>- <p className='mt-1 flex sm:hidden text-xs leading-5 text-gray-500 dark:text-gray-300'>{pageviewCount}</p>+ <p className='mt-1 flex text-xs leading-5 text-gray-500 dark:text-gray-300 sm:hidden'>{pageviewCount}</p></div></div><div className='flex shrink-0 items-center gap-x-4'>diff --git a/app/pages/Project/View/components/TBPeriodSelector.tsx b/app/pages/Project/View/components/TBPeriodSelector.tsxindex eedeb8a97..b6549d38f 100644--- a/app/pages/Project/View/components/TBPeriodSelector.tsx+++ b/app/pages/Project/View/components/TBPeriodSelector.tsx@@ -43,11 +43,11 @@ const TBPeriodSelector = ({return (<Popover className='relative'>- <Popover.Button className='inline-flex w-full px-3 md:px-4 py-2 text-sm font-medium text-gray-700 dark:text-gray-50 outline-none group'>- <CalendarDaysIcon className='w-5 h-5 mr-1' />+ <Popover.Button className='group inline-flex w-full px-3 py-2 text-sm font-medium text-gray-700 outline-none dark:text-gray-50 md:px-4'>+ <CalendarDaysIcon className='mr-1 h-5 w-5' /><span>{title}</span><ChevronDownIcon- className='ml-2 h-5 w-5 transition duration-150 ease-in-out text-gray-700 dark:text-gray-50 group-hover:text-gray-500'+ className='ml-2 h-5 w-5 text-gray-700 transition duration-150 ease-in-out group-hover:text-gray-500 dark:text-gray-50'aria-hidden='true'/></Popover.Button>@@ -61,11 +61,11 @@ const TBPeriodSelector = ({leaveTo='opacity-0 translate-y-1'>{/* w-56 */}- <Popover.Panel className='absolute left-1/2 md:left-auto right-0 z-20 mt-3 w-max max-w-sm -translate-x-1/2 transform md:transform-none px-4 sm:px-0 lg:max-w-3xl'>- <div className='p-1 overflow-hidden rounded-lg shadow-lg ring-1 ring-black/5 bg-gray-50 dark:bg-slate-800'>+ <Popover.Panel className='absolute left-1/2 right-0 z-20 mt-3 w-max max-w-sm -translate-x-1/2 transform px-4 sm:px-0 md:left-auto md:transform-none lg:max-w-3xl'>+ <div className='overflow-hidden rounded-lg bg-gray-50 p-1 shadow-lg ring-1 ring-black/5 dark:bg-slate-800'><divclassName={cx(- 'bg-slate-200 dark:bg-slate-700 rounded-md relative z-0 flex items-center space-x-5 px-2 py-3 mb-1',+ 'relative z-0 mb-1 flex items-center space-x-5 rounded-md bg-slate-200 px-2 py-3 dark:bg-slate-700',classes?.timeBucket,)}>@@ -80,7 +80,7 @@ const TBPeriodSelector = ({updateTimebucket(value)}}- className={cx('relative capitalize inline-flex items-center text-sm font-medium', {+ className={cx('relative inline-flex items-center text-sm font-medium capitalize', {'text-gray-900 dark:text-gray-50': timeBucket === value,'text-gray-700 dark:text-gray-300': available && timeBucket !== value,'text-gray-400 dark:text-gray-500': !available && timeBucket !== value,@@ -92,13 +92,13 @@ const TBPeriodSelector = ({</Popover.Button>))}</div>- <ul className={cx('text-left w-full', classes?.periods)}>+ <ul className={cx('w-full text-left', classes?.periods)}>{_map(items, (item) => (<Popover.Buttonas='li'key={item.label}onClick={(e: React.MouseEvent<HTMLElement>) => onSelect(item, e)}- className='text-gray-700 dark:text-gray-50 rounded-md block px-4 py-2 text-sm cursor-pointer hover:bg-gray-200 dark:hover:bg-slate-700'+ className='block cursor-pointer rounded-md px-4 py-2 text-sm text-gray-700 hover:bg-gray-200 dark:text-gray-50 dark:hover:bg-slate-700'>{item.dropdownLabel || item.label}</Popover.Button>diff --git a/app/pages/Project/View/components/UTMDropdown.tsx b/app/pages/Project/View/components/UTMDropdown.tsxindex d75c2a839..989594192 100644--- a/app/pages/Project/View/components/UTMDropdown.tsx+++ b/app/pages/Project/View/components/UTMDropdown.tsx@@ -37,24 +37,24 @@ const UTMDropdown = ({ onSelect, title }: IUTMDropdown): JSX.Element => {return (<OutsideClickHandler onOutsideClick={() => setShow(false)}><span className='cursor-pointer' onClick={() => setShow(!show)}>- {title} {show ? <ChevronUpIcon className='inline w-4 h-4' /> : <ChevronDownIcon className='inline w-4 h-4' />}+ {title} {show ? <ChevronUpIcon className='inline h-4 w-4' /> : <ChevronDownIcon className='inline h-4 w-4' />}</span>{show && (- <div className='absolute z-10 mt-2 left-5 top-15 text-gray-900 bg-white border border-gray-200 rounded-md shadow-lg dark:bg-slate-900 dark:border-slate-700/50 min-w-[250px] max-h-[200px] overflow-auto'>- <div className='flex flex-col w-full p-2'>- <p className='text-sm font-semibold text-gray-900 dark:text-gray-50 px-1'>{t('project.campaigns')}</p>+ <div className='top-15 absolute left-5 z-10 mt-2 max-h-[200px] min-w-[250px] overflow-auto rounded-md border border-gray-200 bg-white text-gray-900 shadow-lg dark:border-slate-700/50 dark:bg-slate-900'>+ <div className='flex w-full flex-col p-2'>+ <p className='px-1 text-sm font-semibold text-gray-900 dark:text-gray-50'>{t('project.campaigns')}</p>{_map(OPTIONS, ({ label, value }) => (<divkey={label}onClick={() => _onSelect(value)}- className='flex flex-row items-center justify-between cursor-pointer w-full px-1 py-2 text-sm text-gray-700 dark:text-gray-200 dark:bg-slate-900 hover:bg-gray-200 dark:hover:bg-slate-800'+ className='flex w-full cursor-pointer flex-row items-center justify-between px-1 py-2 text-sm text-gray-700 hover:bg-gray-200 dark:bg-slate-900 dark:text-gray-200 dark:hover:bg-slate-800'><p>{t(label)}</p></div>))}</div><XMarkIcon- className='absolute top-2 right-2 w-5 h-5 text-gray-900 cursor-pointer dark:text-gray-50'+ className='absolute right-2 top-2 h-5 w-5 cursor-pointer text-gray-900 dark:text-gray-50'onClick={() => setShow(!show)}/></div>diff --git a/app/pages/Project/View/components/UserFlow.tsx b/app/pages/Project/View/components/UserFlow.tsxindex 2d1319d4f..e93bf8026 100644--- a/app/pages/Project/View/components/UserFlow.tsx+++ b/app/pages/Project/View/components/UserFlow.tsx@@ -135,7 +135,7 @@ const UserFlow = ({) {return (<>- <p className='flex mt-4 items-center justify-center text-md text-gray-900 dark:text-gray-50'>+ <p className='text-md mt-4 flex items-center justify-center text-gray-900 dark:text-gray-50'>{t('project.userFlow.noData')}</p><button@@ -143,7 +143,7 @@ const UserFlow = ({onClick={() => {setReversed()}}- className='mt-2 w-full inline-flex justify-center rounded-md dark:border-none border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 dark:text-gray-50 dark:border-gray-600 dark:bg-slate-700 dark:hover:border-gray-600 dark:hover:bg-gray-700 sm:w-auto sm:text-sm'+ className='mt-2 inline-flex w-full justify-center rounded-md border border-gray-300 bg-white px-4 py-2 text-base font-medium text-gray-700 shadow-sm hover:bg-gray-50 dark:border-none dark:border-gray-600 dark:bg-slate-700 dark:text-gray-50 dark:hover:border-gray-600 dark:hover:bg-gray-700 sm:w-auto sm:text-sm'>{t('project.reverse')}</button>diff --git a/app/pages/Project/View/components/WaitingForAnError.tsx b/app/pages/Project/View/components/WaitingForAnError.tsxindex 051d9a9cd..ab5258f93 100644--- a/app/pages/Project/View/components/WaitingForAnError.tsx+++ b/app/pages/Project/View/components/WaitingForAnError.tsx@@ -11,15 +11,15 @@ const WaitingForAnError = () => {return (<div className='px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='mx-auto max-w-max'><main className='sm:flex'><BugAntIcontype='giant'- className='h-12 sm:h-20 w-12 sm:w-20 -ml-1.5 mb-2 sm:m-0 text-gray-900 dark:text-gray-50'+ className='-ml-1.5 mb-2 h-12 w-12 text-gray-900 dark:text-gray-50 sm:m-0 sm:h-20 sm:w-20'/><div className='sm:ml-6'><div className='sm:border-l sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{t('project.waitingError.title')}</h1><p className='mt-2 max-w-[80ch] whitespace-pre-line text-base text-gray-700 dark:text-gray-300'>@@ -32,7 +32,7 @@ const WaitingForAnError = () => {turl: (<ahref={TROUBLESHOOTING_URL}- className='font-medium text-indigo-600 dark:text-indigo-400 hover:underline'+ className='font-medium text-indigo-600 hover:underline dark:text-indigo-400'target='_blank'rel='noreferrer noopener'/>@@ -40,13 +40,13 @@ const WaitingForAnError = () => {curl: (<Linkto={routes.contact}- className='font-medium text-indigo-600 dark:text-indigo-400 hover:underline'+ className='font-medium text-indigo-600 hover:underline dark:text-indigo-400'/>),howto: (<ahref={ERROR_TRACKING_DOCS_URL}- className='font-medium text-indigo-600 dark:text-indigo-400 hover:underline'+ className='font-medium text-indigo-600 hover:underline dark:text-indigo-400'target='_blank'rel='noreferrer noopener'/>diff --git a/app/pages/Project/View/components/WaitingForAnEvent.tsx b/app/pages/Project/View/components/WaitingForAnEvent.tsxindex 4eb788cf3..a25300473 100644--- a/app/pages/Project/View/components/WaitingForAnEvent.tsx+++ b/app/pages/Project/View/components/WaitingForAnEvent.tsx@@ -20,12 +20,12 @@ const WaitingForAnEvent = ({ project }: IWaitingForAnEvent) => {return (<div className='px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='mx-auto max-w-max'><main className='sm:flex'><PulsatingCircle type='giant' className='-ml-1.5 mb-2 sm:m-0' /><div className='sm:ml-6'><div className='sm:border-l sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{t('project.waiting.title')}</h1><p className='mt-2 max-w-prose whitespace-pre-line text-base text-gray-700 dark:text-gray-300'>@@ -38,7 +38,7 @@ const WaitingForAnEvent = ({ project }: IWaitingForAnEvent) => {turl: (<ahref={TROUBLESHOOTING_URL}- className='font-medium text-indigo-600 dark:text-indigo-400 hover:underline'+ className='font-medium text-indigo-600 hover:underline dark:text-indigo-400'target='_blank'rel='noreferrer noopener'/>@@ -46,13 +46,13 @@ const WaitingForAnEvent = ({ project }: IWaitingForAnEvent) => {curl: (<Linkto={routes.contact}- className='font-medium text-indigo-600 dark:text-indigo-400 hover:underline'+ className='font-medium text-indigo-600 hover:underline dark:text-indigo-400'/>),snippet: (<spanrole='button'- className='cursor-pointer font-medium text-indigo-600 dark:text-indigo-400 hover:underline'+ className='cursor-pointer font-medium text-indigo-600 hover:underline dark:text-indigo-400'onClick={() => setIsModalOpened(true)}/>),diff --git a/app/pages/ReferralPage/index.tsx b/app/pages/ReferralPage/index.tsxindex 7ad8f3f18..c7202204f 100644--- a/app/pages/ReferralPage/index.tsx+++ b/app/pages/ReferralPage/index.tsx@@ -25,10 +25,10 @@ const ReferralPage = ({ ssrTheme }: IReferralPage): JSX.Element => {return (<div className='overflow-hidden'>- <main className='bg-white dark:bg-slate-900 min-h-[100vh]'>- <div className='relative overflow-x-clip isolate'>+ <main className='min-h-[100vh] bg-white dark:bg-slate-900'>+ <div className='relative isolate overflow-x-clip'><svg- className='absolute inset-0 -z-10 h-full w-full stroke-gray-200 dark:stroke-white/10 [mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)]'+ className='absolute inset-0 -z-10 h-full w-full stroke-gray-200 [mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)] dark:stroke-white/10'aria-hidden='true'><defs>@@ -57,25 +57,25 @@ const ReferralPage = ({ ssrTheme }: IReferralPage): JSX.Element => {/></div><Header ssrTheme={ssrTheme} authenticated={false} refPage transparent />- <div className='relative pt-10 lg:pt-24 pb-5 xl:px-8 lg:px-6 sm:px-3 mx-auto min-h-[740px]'>- <div className='relative z-20 flex flex-row content-between 2xl:mr-[14vw] 2xl:justify-center justify-center lg:justify-start'>- <div className='lg:mt-0 text-left relative lg:mr-14 px-4'>- <h1 className='max-w-2xl text-2xl sm:text-4xl md:text-5xl font-extrabold text-slate-900 dark:text-white sm:leading-none xl:leading-[110%]'>+ <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-2xl font-extrabold text-slate-900 dark:text-white sm:text-4xl sm:leading-none md:text-5xl xl:leading-[110%]'><Trans// @ts-ignoret={t}i18nKey='main.slogan'components={{span: (- <span className='from-indigo-700 to-indigo-700 dark:from-indigo-600 dark:to-indigo-400 text-transparent bg-clip-text bg-gradient-to-r' />+ <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' />),}}/></h1>- <p className='text-base text-slate-700 dark:text-slate-300 sm:text-xl lg:text-lg xl:text-lg mt-5'>+ <p className='mt-5 text-base text-slate-700 dark:text-slate-300 sm:text-xl lg:text-lg xl:text-lg'>{t('referral.desc')}</p>- <h2 className='text-xl sm:text-xl md:text-xl font-medium text-slate-900 dark:text-white sm:leading-none xl:leading-[110%] mt-10'>+ <h2 className='mt-10 text-xl font-medium text-slate-900 dark:text-white sm:text-xl sm:leading-none md:text-xl xl:leading-[110%]'>{t('referral.buttons', {discount: REFERRAL_DISCOUNT,})}@@ -83,28 +83,28 @@ const ReferralPage = ({ ssrTheme }: IReferralPage): JSX.Element => {<div className='mt-4 flex flex-col items-center sm:flex-row'><Linkto={`/ref/${id}${routes.signup}`}- className='rounded-md !duration-300 transition-all w-full sm:max-w-[210px] h-12 flex items-center justify-center sm:mr-6 shadow-sm ring-1 text-white bg-slate-900 ring-slate-900 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600'+ 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]'aria-label={t('titles.signup')}>- <span className='text-base font-semibold mr-1'>{t('common.getStarted')}</span>- <ArrowSmallRightIcon className='h-4 w-5 mt-[1px]' />+ <span className='mr-1 text-base font-semibold'>{t('common.getStarted')}</span>+ <ArrowSmallRightIcon className='mt-[1px] h-4 w-5' /></Link><Linkto={`/ref/${id}/index#core-analytics`}- className='rounded-md !duration-300 transition-all sm:mt-0 mt-2 ring-1 ring-slate-900 dark:ring-white/20 w-full sm:max-w-[210px] h-12 flex items-center justify-center shadow-sm text-slate-900 dark:text-white bg-transparent hover:bg-slate-200 dark:hover:bg-gray-800'+ className='mt-2 flex h-12 w-full items-center justify-center rounded-md bg-transparent text-slate-900 shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-200 dark:text-white dark:ring-white/20 dark:hover:bg-gray-800 sm:mt-0 sm:max-w-[210px]'aria-label={t('titles.signup')}><span className='text-base font-semibold'>{t('common.learnMore')}</span></Link></div>- <p className='text-base tracking-tighter font-medium text-slate-500 dark:text-slate-500 mt-5'>+ <p className='mt-5 text-base font-medium tracking-tighter text-slate-500 dark:text-slate-500'>{t('referral.cookieDetails', {days: REFERRAL_COOKIE_DAYS,discount: REFERRAL_DISCOUNT,})}</p></div>- <div className='max-w-md xl:max-w-lg hidden lg:block'>+ <div className='hidden max-w-md lg:block xl:max-w-lg'><Lines /><picture><source@@ -113,7 +113,7 @@ const ReferralPage = ({ ssrTheme }: IReferralPage): JSX.Element => {/><imgsrc={theme === 'dark' ? '/assets/screenshot_dark.png' : '/assets/screenshot_light.png'}- className='h-full min-w-[880px] rounded-xl relative shadow-2xl ring-1 ring-gray-900/10 dark:ring-white/10'+ 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'@@ -121,7 +121,7 @@ const ReferralPage = ({ ssrTheme }: IReferralPage): JSX.Element => {</picture></div></div>- <div className='my-10 block lg:hidden relative z-20 px-4 md:px-0'>+ <div className='relative z-20 my-10 block px-4 md:px-0 lg:hidden'><picture><sourcesrcSet={theme === 'dark' ? '/assets/screenshot_dark.webp' : '/assets/screenshot_light.webp'}@@ -129,7 +129,7 @@ const ReferralPage = ({ ssrTheme }: IReferralPage): JSX.Element => {/><imgsrc={theme === 'dark' ? '/assets/screenshot_dark.png' : '/assets/screenshot_light.png'}- className='rounded-xl relative shadow-2xl w-full ring-1 ring-gray-900/10 dark:ring-white/10'+ className='relative w-full rounded-xl shadow-2xl ring-1 ring-gray-900/10 dark:ring-white/10'width='100%'height='auto'alt='Swetrix Analytics dashboard'diff --git a/app/pages/Terms/index.tsx b/app/pages/Terms/index.tsxindex 5cd5c01d4..b7346915b 100644--- a/app/pages/Terms/index.tsx+++ b/app/pages/Terms/index.tsx@@ -6,11 +6,11 @@ import { CONTACT_EMAIL } from 'redux/constants'const Terms = (): JSX.Element => {return (<div className='bg-gray-50 dark:bg-slate-900'>- <div className='w-11/12 md:w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8'>- <h1 className='text-4xl font-bold text-gray-900 dark:text-gray-50 tracking-tight'>+ <div className='mx-auto w-11/12 px-4 pb-16 pt-12 sm:px-6 md:w-4/5 lg:px-8'>+ <h1 className='text-4xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Swetrix Terms and Conditions</h1>- <p className='mt-4 text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='mt-4 text-lg tracking-tight text-gray-900 dark:text-gray-50'>These Swetrix Terms and Conditions ("Terms", "Terms and Conditions") govern your relationship with swetrix.com("Service") operated by Swetrix Ltd ("Swetrix", "Swetrix Analytics", "Company", "us", "we", or "our"), locatedin Edinburgh, the United Kingdom, company number{' '}@@ -27,8 +27,8 @@ const Terms = (): JSX.Element => {Please read these Terms and Conditions carefully before using the Service.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>Acknowledgment</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Acknowledgment</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>These are the Terms and Conditions governing the use of this Service and the agreement that operates betweenyou and us. These Terms and Conditions set out the rights and obligations of all users regarding the use ofthe Service.@@ -45,15 +45,15 @@ const Terms = (): JSX.Element => {rights and how the law protects you. Please read Our Privacy Policy carefully before using our Service.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>Eligibility</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Eligibility</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>By agreeing to these Terms, you represent and warrant to us: (i) that you are at least eighteen (18) years ofage; (ii) that you have not previously been suspended or removed from our Service and (iii) that your use ofour Service is in compliance with any and all applicable laws and regulations.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>Indemnity</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Indemnity</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>You agree that you will be responsible for your use of the Service, and you agree to defend, indemnify, and ushold harmless and our officers, directors, employees, consultants, affiliates, subsidiaries and agents(collectively, the "Company Entities") from and against any and all claims, liabilities, damages, losses, and@@ -67,8 +67,8 @@ const Terms = (): JSX.Element => {and in such case, you agree to cooperate with our defense of such claim.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>Termination</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Termination</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>We may at our sole discretion suspend or terminate your access to our Service at any time, with or withoutnotice for any reason or no reason at all. We also reserve the right to modify or discontinue the Service atany time (including, without limitation, by limiting or discontinuing certain features of the Service) without@@ -76,8 +76,8 @@ const Terms = (): JSX.Element => {or termination of your access to or use of the Service.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>Fair use</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Fair use</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>We will use commercially reasonable efforts to provide all plan levels with sufficient capacity for theanalytics data, number of websites, and other plan features that we determine are typical of accounts at thatplan level. We may notify you if your usage is unreasonable, and we may at our sole discretion and at any time@@ -85,8 +85,8 @@ const Terms = (): JSX.Element => {and/or business operations.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>Third-party websites</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Third-party websites</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>The Service may contain links to third-party websites or services that are not owned or controlled by us.<br />We have no control over, and assume no responsibility for, the content, privacy policies, or practices of any@@ -99,8 +99,8 @@ const Terms = (): JSX.Element => {services that you visit.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>License grant to us</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>License grant to us</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>By submitting, posting, or publishing your content, suggestions, enhancement requests, recommendations,feedback, information, data, or comments (“Content”) to our Service, you are granting us a perpetual,irrevocable, worldwide, non-exclusive, royalty-free right and license (with the right to sublicense) to use,@@ -112,8 +112,8 @@ const Terms = (): JSX.Element => {intellectual property or proprietary right; or (ii) slander, defame, or libel any third-party.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>Prohibited uses</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Prohibited uses</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>As a condition of your use of the Service, you will not use the Service for any purpose that is unlawful orprohibited by these Terms. You may not use the Service in any manner that could damage, disable, overburden,disrupt or impair any of our servers or APIs, or any networks connected to any of our server or APIs, or that@@ -133,10 +133,10 @@ const Terms = (): JSX.Element => {emergency responses, and you shall not use our Service for any such purposes.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Limitation of liability</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>IN NO EVENT WILL THE COMPANY ENTITIES BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY DIRECT, INDIRECT,INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES ARISING OUT OF OR RELATING TO YOUR ACCESS TO OR USEOF, OR YOUR INABILITY TO ACCESS OR USE, THE SERVICE OR ANY MATERIALS OR CONTENT ON THE SERVICE, WHETHER BASED@@ -144,10 +144,10 @@ const Terms = (): JSX.Element => {COMPANY ENTITIES HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGE.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Disclaimers; no warranties</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>THE SERVICE ARE MADE AVAILABLE TO YOU ON AN "AS IS" AND "AS AVAILABLE" BASIS, WITH THE EXPRESS UNDERSTANDINGTHAT THE COMPANY ENTITIES HAVE NO OBLIGATION TO MONITOR, CONTROL, OR VET THE CONTENT OR DATA APPEARING ON THESERVICE. AS SUCH, YOUR USE OF THE SERVICE IS AT YOUR OWN DISCRETION AND RISK. THE COMPANY ENTITIES MAKE NO@@ -156,8 +156,8 @@ const Terms = (): JSX.Element => {PARTICULAR PURPOSE, AND NON-INFRINGEMENT.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>Accounts</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Accounts</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>When you create an account with us, you must provide us information that is accurate, complete, and current atall times. Failure to do so constitutes a breach of the Terms, which may result in immediate termination ofyour account on our Service.@@ -173,8 +173,8 @@ const Terms = (): JSX.Element => {appropriate authorization, or a name that is otherwise offensive, vulgar or obscene.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>Subscriptions</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Subscriptions</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>Some parts of the Service are billed on a subscription basis ("Subscription(s)"). You will be billed inadvance on a recurring and periodic basis ("Billing Cycle"). Billing cycles are set either on a monthly orannual basis, depending on the type of subscription plan you select when purchasing a Subscription.@@ -194,8 +194,8 @@ const Terms = (): JSX.Element => {period as indicated on the invoice.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>Fee changes</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Fee changes</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>We may, at our sole discretion and at any time, modify the Subscription fees for the Subscriptions. AnySubscription fee change will become effective at the end of the then-current Billing Cycle.<br />@@ -206,8 +206,8 @@ const Terms = (): JSX.Element => {agreement to pay the modified Subscription fee amount.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>Refunds</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Refunds</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>To avoid being charged for your Subscription, you must cancel the Subscription before your renewal date.Otherwise, you’ll be charged and will retain access to the Service through the end of the Billing Cycle.<br />@@ -215,8 +215,8 @@ const Terms = (): JSX.Element => {team and at our sole discretion we may issue a refund on a case-by-case basis.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>Governing Law</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Governing Law</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>These Terms shall be governed and construed in accordance with the laws of Scotland, without regard to itsconflict of law provisions.<br />@@ -226,55 +226,55 @@ const Terms = (): JSX.Element => {Service, and supersede and replace any prior agreements we might have between us regarding the Service.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>Disputes resolution</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Disputes resolution</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>If you have any concern or dispute about the Service, you agree to first try to resolve the dispute informallyby contacting the Company.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>For European Union (EU) users</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>If You are a European Union consumer, you will benefit from any mandatory provisions of the law of the countryin which you are resident in.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>United States Legal Compliance</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>You represent and warrant that (i) you are not located in a country that is subject to the United Statesgovernment embargo, or that has been designated by the United States government as a "terrorist supporting"country, and (ii) You are not listed on any United States government list of prohibited or restricted parties.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>Severability</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Severability</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>If any provision of these Terms is held to be unenforceable or invalid, such provision will be changed andinterpreted to accomplish the objectives of such provision to the greatest extent possible under applicablelaw and the remaining provisions will continue in full force and effect.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>Waiver</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Waiver</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>Except as provided herein, the failure to exercise a right or to require performance of an obligation underthis Agreement shall not affect a party’s ability to exercise such right or require such performance at anytime thereafter, nor shall the waiver of a breach constitute the waiver of any subsequent breach.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Translation interpretation</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>These Terms and Conditions may have been translated if we have made them available to you on our Service. Youagree that the original English text shall prevail in the case of a dispute.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Changes to these Terms and Conditions</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>We reserve the right, at our sole discretion, to modify or replace these Terms and Conditions at any time. Ifa revision is material we will make reasonable efforts to provide at least 30 days' notice prior to any newterms taking effect. What constitutes a material change will be determined at our sole discretion.@@ -284,8 +284,8 @@ const Terms = (): JSX.Element => {and the Service.</p>- <h3 className='text-2xl font-bold text-gray-900 dark:text-gray-50 tracking-tight mt-4'>Contact us</h3>- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <h3 className='mt-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Contact us</h3>+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'>If you have any questions you can contact us by sending us an email at <ahref={`mailto:${CONTACT_EMAIL}`}@@ -296,8 +296,8 @@ const Terms = (): JSX.Element => {.</p>- <hr className='mt-10 mb-4 border-gray-200 dark:border-gray-600' />- <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <hr className='mb-4 mt-10 border-gray-200 dark:border-gray-600' />+ <p className='text-lg tracking-tight text-gray-900 dark:text-gray-50'><i>Last updated: February 2, 2024.</i></p></div>diff --git a/app/pages/Unsubscribe/index.tsx b/app/pages/Unsubscribe/index.tsxindex 5b10191cf..26ff43dec 100644--- a/app/pages/Unsubscribe/index.tsx+++ b/app/pages/Unsubscribe/index.tsx@@ -67,13 +67,13 @@ const Unsubscribe = ({ type }: IUnsubscribe): JSX.Element => {if (error) {return (- <div className='bg-gray-50 dark:bg-slate-900 min-h-page px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='min-h-page bg-gray-50 px-4 py-16 dark:bg-slate-900 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>+ <div className='mx-auto max-w-max'><main className='sm:flex'><XCircleIcon className='h-12 w-12 text-red-400' aria-hidden='true' /><div className='sm:ml-6'>- <div className='sm:border-l max-w-prose sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <div className='max-w-prose sm:border-l sm:border-gray-200 sm:pl-6'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{error}</h1></div>@@ -81,21 +81,21 @@ const Unsubscribe = ({ type }: IUnsubscribe): JSX.Element => {{authenticated ? (<Linkto={routes.dashboard}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'>{t('common.dashboard')}</Link>) : (<Linkto={routes.signin}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'>{t('auth.signin.button')}</Link>)}<Linkto={routes.contact}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-indigo-700 bg-indigo-100 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:text-gray-50 dark:bg-slate-800 dark:hover:bg-slate-700 dark:focus:ring-gray-50'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'>{t('notFoundPage.support')}</Link>@@ -108,13 +108,13 @@ const Unsubscribe = ({ type }: IUnsubscribe): JSX.Element => {}return (- <div className='bg-gray-50 dark:bg-slate-900 min-h-page px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>- <div className='max-w-max mx-auto'>+ <div className='min-h-page bg-gray-50 px-4 py-16 dark:bg-slate-900 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>+ <div className='mx-auto max-w-max'><main className='sm:flex'><CheckCircleIcon className='h-12 w-12 text-green-500 dark:text-green-400' aria-hidden='true' /><div className='sm:ml-6'>- <div className='sm:border-l max-w-prose sm:border-gray-200 sm:pl-6'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <div className='max-w-prose sm:border-l sm:border-gray-200 sm:pl-6'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>{t('unsubscribe.success')}</h1></div>@@ -122,14 +122,14 @@ const Unsubscribe = ({ type }: IUnsubscribe): JSX.Element => {{authenticated ? (<Linkto={routes.dashboard}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'>{t('common.dashboard')}</Link>) : (<Linkto={routes.signin}- className='inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500'+ className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'>{t('auth.signin.button')}</Link>diff --git a/app/pages/UserSettings/UserSettings.tsx b/app/pages/UserSettings/UserSettings.tsxindex ccf99b219..2809483f8 100644--- a/app/pages/UserSettings/UserSettings.tsx+++ b/app/pages/UserSettings/UserSettings.tsx@@ -414,7 +414,7 @@ const UserSettings = ({const reportIconExtractor = (_: any, index: number) => {if (!isPaidTierUsed && reportFrequencies[index] === WEEKLY_REPORT_FREQUENCY) {- return <CurrencyDollarIcon className='w-5 h-5 mr-1' />+ return <CurrencyDollarIcon className='mr-1 h-5 w-5' />}return null@@ -527,8 +527,8 @@ const UserSettings = ({}return (- <div className='min-h-min-footer bg-gray-50 dark:bg-slate-900 flex flex-col py-6 px-4 sm:px-6 lg:px-8'>- <form className='max-w-7xl w-full mx-auto' onSubmit={handleSubmit}>+ <div className='flex min-h-min-footer flex-col bg-gray-50 px-4 py-6 dark:bg-slate-900 sm:px-6 lg:px-8'>+ <form className='mx-auto w-full max-w-7xl' onSubmit={handleSubmit}><h2 className='mt-2 text-3xl font-bold text-gray-900 dark:text-gray-50'>{t('titles.profileSettings')}</h2>{/* Tabs selector */}<div className='mt-2'>@@ -562,10 +562,10 @@ const UserSettings = ({key={tab.id}onClick={onClick}className={cx(- 'group inline-flex items-center whitespace-nowrap py-2 px-1 border-b-2 font-bold text-md cursor-pointer',+ 'text-md group inline-flex cursor-pointer items-center whitespace-nowrap border-b-2 px-1 py-2 font-bold',{- 'border-slate-900 text-slate-900 dark:text-gray-50 dark:border-gray-50': isCurrent,- 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 dark:text-gray-400 dark:hover:border-gray-300 dark:hover:text-gray-300':+ 'border-slate-900 text-slate-900 dark:border-gray-50 dark:text-gray-50': isCurrent,+ 'border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 dark:text-gray-400 dark:hover:border-gray-300 dark:hover:text-gray-300':!isCurrent,},)}@@ -616,17 +616,17 @@ const UserSettings = ({<><spanonClick={toggleShowPasswordFields}- className='flex items-center cursor-pointer max-w-max text-gray-900 dark:text-gray-50 hover:underline mt-2'+ className='mt-2 flex max-w-max cursor-pointer items-center text-gray-900 hover:underline dark:text-gray-50'>{t('auth.common.changePassword')}<ChevronDownIcon- className={cx('w-4 h-4 ml-2', {+ className={cx('ml-2 h-4 w-4', {'rotate-180': showPasswordFields,})}/></span>{showPasswordFields && (- <div className='grid grid-cols-1 gap-y-6 gap-x-4 sm:grid-cols-6 mt-4'>+ <div className='mt-4 grid grid-cols-1 gap-x-4 gap-y-6 sm:grid-cols-6'><Inputname='password'id='password'@@ -662,7 +662,7 @@ const UserSettings = ({<hr className='mt-5 border-gray-200 dark:border-gray-600' />{/* API access setup */}- <h3 className='flex items-center mt-2 text-lg font-bold text-gray-900 dark:text-gray-50'>+ <h3 className='mt-2 flex items-center text-lg font-bold text-gray-900 dark:text-gray-50'>{t('profileSettings.apiKey')}</h3>{user.apiKey ? (@@ -673,8 +673,8 @@ const UserSettings = ({<p className='mt-4 max-w-prose text-base text-gray-900 dark:text-gray-50'>{t('profileSettings.apiKey')}</p>- <div className='grid grid-cols-1 gap-y-6 gap-x-4 lg:grid-cols-2'>- <div className='relative group'>+ <div className='grid grid-cols-1 gap-x-4 gap-y-6 lg:grid-cols-2'>+ <div className='group relative'><Inputname='apiKey'id='apiKey'@@ -693,9 +693,9 @@ const UserSettings = ({noBorder><>- <ClipboardDocumentIcon className='w-6 h-6' />+ <ClipboardDocumentIcon className='h-6 w-6' />{copied && (- <div className='animate-appear bg-white dark:bg-slate-800 cursor-auto rounded p-1 absolute sm:top-0 top-0.5 right-8 text-xs text-green-600'>+ <div className='absolute right-8 top-0.5 animate-appear cursor-auto rounded bg-white p-1 text-xs text-green-600 dark:bg-slate-800 sm:top-0'>{t('common.copied')}</div>)}@@ -723,7 +723,7 @@ const UserSettings = ({{/* 2FA setting */}<hr className='mt-5 border-gray-200 dark:border-gray-600' />- <h3 className='flex items-center mt-2 text-lg font-bold text-gray-900 dark:text-gray-50'>+ <h3 className='mt-2 flex items-center text-lg font-bold text-gray-900 dark:text-gray-50'>{t('profileSettings.2fa')}</h3><TwoFA@@ -737,7 +737,7 @@ const UserSettings = ({<hr className='mt-5 border-gray-200 dark:border-gray-600' /><h3id='socialisations'- className='flex items-center mt-2 text-lg font-bold text-gray-900 dark:text-gray-50'+ className='mt-2 flex items-center text-lg font-bold text-gray-900 dark:text-gray-50'>{t('profileSettings.socialisations')}</h3>@@ -751,13 +751,13 @@ const UserSettings = ({{/* Shared projects setting */}<hr className='mt-5 border-gray-200 dark:border-gray-600' />- <h3 className='flex items-center mt-2 text-lg font-bold text-gray-900 dark:text-gray-50'>+ <h3 className='mt-2 flex items-center text-lg font-bold text-gray-900 dark:text-gray-50'>{t('profileSettings.shared')}</h3><div>{!_isEmpty(user.sharedProjects) ? (<div className='mt-3 flex flex-col'>- <div className='-my-2 -mx-4 overflow-x-auto sm:-mx-6 lg:-mx-8'>+ <div className='-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8'><div className='inline-block min-w-full py-2 align-middle md:px-6 lg:px-8'><div className='overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'><table className='min-w-full divide-y divide-gray-300 dark:divide-gray-600'>@@ -765,7 +765,7 @@ const UserSettings = ({<tr className='dark:bg-slate-800'><thscope='col'- className='py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6 dark:text-white'+ className='py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 dark:text-white sm:pl-6'>{t('profileSettings.sharedTable.project')}</th>@@ -810,21 +810,21 @@ const UserSettings = ({<hr className='mt-5 border-gray-200 dark:border-gray-600' />{!user.isActive && (<div- className='flex cursor-pointer mt-4 pl-0 underline text-blue-600 hover:text-indigo-800 dark:hover:text-indigo-600 max-w-max'+ className='mt-4 flex max-w-max cursor-pointer pl-0 text-blue-600 underline hover:text-indigo-800 dark:hover:text-indigo-600'onClick={() => onEmailConfirm(setError)}>- <EnvelopeIcon className='mt-0.5 mr-2 w-6 h-6 text-blue-500' />+ <EnvelopeIcon className='mr-2 mt-0.5 h-6 w-6 text-blue-500' />{t('profileSettings.noLink')}</div>)}- <div className='flex flex-wrap justify-center sm:justify-between gap-2 mt-4'>+ <div className='mt-4 flex flex-wrap justify-center gap-2 sm:justify-between'><Button onClick={() => setShowExportModal(true)} semiSmall primary><>- <ArrowDownTrayIcon className='w-5 h-5 mr-1' />+ <ArrowDownTrayIcon className='mr-1 h-5 w-5' />{t('profileSettings.requestExport')}</></Button>- <div className='flex justify-center flex-wrap gap-2'>+ <div className='flex flex-wrap justify-center gap-2'><Button onClick={logoutAll} semiSmall semiDanger><>{/* We need this div for the button to match the height of the button after it */}@@ -834,7 +834,7 @@ const UserSettings = ({</Button><Button onClick={() => setShowModal(true)} semiSmall semiDanger><>- <ExclamationTriangleIcon className='w-5 h-5 mr-1' />+ <ExclamationTriangleIcon className='mr-1 h-5 w-5' />{t('profileSettings.delete')}</></Button>@@ -850,10 +850,10 @@ const UserSettings = ({return (<>{/* Timezone selector */}- <h3 className='mt-2 text-lg font-bold text-gray-900 dark:text-gray-50 flex items-center'>+ <h3 className='mt-2 flex items-center text-lg font-bold text-gray-900 dark:text-gray-50'>{t('profileSettings.timezone')}</h3>- <div className='grid grid-cols-1 gap-y-6 gap-x-4 lg:grid-cols-2 mt-4'>+ <div className='mt-4 grid grid-cols-1 gap-x-4 gap-y-6 lg:grid-cols-2'><div><TimezonePicker value={timezone} onChange={_setTimezone} /></div>@@ -866,7 +866,7 @@ const UserSettings = ({<h3 className='mt-2 text-lg font-bold text-gray-900 dark:text-gray-50'>{t('profileSettings.timeFormat')}</h3>- <div className='grid grid-cols-1 gap-y-6 gap-x-4 lg:grid-cols-2 mt-4'>+ <div className='mt-4 grid grid-cols-1 gap-x-4 gap-y-6 lg:grid-cols-2'><div><Selecttitle={t(`profileSettings.${form.timeFormat}`)}@@ -914,7 +914,7 @@ const UserSettings = ({<h3 className='mt-2 text-lg font-bold text-gray-900 dark:text-gray-50'>{t('profileSettings.email')}</h3>- <div className='grid grid-cols-1 gap-y-6 gap-x-4 lg:grid-cols-2 mt-4'>+ <div className='mt-4 grid grid-cols-1 gap-x-4 gap-y-6 lg:grid-cols-2'><div><Selecttitle={t(`profileSettings.${reportFrequency}`)}@@ -939,7 +939,7 @@ const UserSettings = ({{/* Integrations setup */}<h3id='integrations'- className='flex items-center mt-2 text-lg font-bold text-gray-900 dark:text-gray-50'+ className='mt-2 flex items-center text-lg font-bold text-gray-900 dark:text-gray-50'>{t('profileSettings.integrations')}</h3>@@ -971,7 +971,7 @@ const UserSettings = ({<><h3id='socialisations'- className='flex items-center mt-2 text-lg font-bold text-gray-900 dark:text-gray-50'+ className='mt-2 flex items-center text-lg font-bold text-gray-900 dark:text-gray-50'>{t('profileSettings.referral.title')}</h3>diff --git a/app/pages/UserSettings/components/Integrations.tsx b/app/pages/UserSettings/components/Integrations.tsxindex 31796c175..81fae8062 100644--- a/app/pages/UserSettings/components/Integrations.tsx+++ b/app/pages/UserSettings/components/Integrations.tsx@@ -120,7 +120,7 @@ const Integrations = ({<Button className='mb-2 mt-2' onClick={() => setIntegrationConfigurating(null)} primary small>{t('common.goBack')}</Button>- <p className='text-base max-w-prose text-gray-900 dark:text-gray-50'>+ <p className='max-w-prose text-base text-gray-900 dark:text-gray-50'><Trans// @ts-ignoret={t}@@ -130,7 +130,7 @@ const Integrations = ({url: (<ahref={TG_BOT_URL}- className='hover:underline text-blue-600'+ className='text-blue-600 hover:underline'target='_blank'rel='noreferrer noopener'/>@@ -141,7 +141,7 @@ const Integrations = ({}}/></p>- <div className='flex items-center mt-4'>+ <div className='mt-4 flex items-center'><Inputtype='text'label={t('profileSettings.chatID')}@@ -171,7 +171,7 @@ const Integrations = ({return (<><p className='max-w-prose text-base text-gray-900 dark:text-gray-50'>{t('profileSettings.integrationsDesc')}</p>- <div className='overflow-hidden bg-white dark:bg-slate-800 mt-2 shadow sm:rounded-md'>+ <div className='mt-2 overflow-hidden bg-white shadow dark:bg-slate-800 sm:rounded-md'><ul className='divide-y divide-gray-200 dark:divide-slate-700'>{_map(available, ({ name, key, description, Icon }) => {const { connected, confirmed, id } = getIntegrationStatus(key)@@ -179,10 +179,10 @@ const Integrations = ({return (<li key={key}>- <div className='sm:flex items-center px-1 py-4 sm:px-6'>+ <div className='items-center px-1 py-4 sm:flex sm:px-6'><div className='flex min-w-0 flex-1 items-center'>- <div className='flex-shrink-0 hidden sm:block'>- <Icon className='max-h-12 max-w-12 h-12 w-12 rounded-full' />+ <div className='hidden flex-shrink-0 sm:block'>+ <Icon className='h-12 max-h-12 w-12 max-w-12 rounded-full' /></div><div className='min-w-0 flex-1 px-2 sm:px-4 md:grid md:grid-cols-2 md:gap-4'><div>@@ -216,7 +216,7 @@ const Integrations = ({</div></div></div>- <div className='flex justify-center mt-2 sm:block sm:mt-0'>+ <div className='mt-2 flex justify-center sm:mt-0 sm:block'>{connected ? (<Button onClick={() => removeIntegration(key)} small danger>{t('profileSettings.removeIntegration')}diff --git a/app/pages/UserSettings/components/NoSharedProjects.tsx b/app/pages/UserSettings/components/NoSharedProjects.tsxindex 4e5a87745..fa0b0ab90 100644--- a/app/pages/UserSettings/components/NoSharedProjects.tsx+++ b/app/pages/UserSettings/components/NoSharedProjects.tsx@@ -3,8 +3,8 @@ import type i18next from 'i18next'const NoSharedProjects = ({ t }: { t: typeof i18next.t }): JSX.Element => (<div className='flex flex-col py-6 sm:px-6 lg:px-8'>- <div className='max-w-7xl w-full mx-auto text-gray-900 dark:text-gray-50'>- <h2 className='text-2xl mb-4 text-center leading-snug'>{t('profileSettings.noSharedProjects')}</h2>+ <div className='mx-auto w-full max-w-7xl text-gray-900 dark:text-gray-50'>+ <h2 className='mb-4 text-center text-2xl leading-snug'>{t('profileSettings.noSharedProjects')}</h2></div></div>)diff --git a/app/pages/UserSettings/components/Referral.tsx b/app/pages/UserSettings/components/Referral.tsxindex 19d4d36c8..01034a9cc 100644--- a/app/pages/UserSettings/components/Referral.tsx+++ b/app/pages/UserSettings/components/Referral.tsx@@ -169,7 +169,7 @@ const Referral = ({url: (<ahref={DOCS_REFERRAL_PROGRAM_URL}- className='font-medium hover:underline text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500'+ className='font-medium text-indigo-600 hover:text-indigo-500 hover:underline dark:text-indigo-400 dark:hover:text-indigo-500'target='_blank'rel='noreferrer noopener'/>@@ -177,13 +177,13 @@ const Referral = ({}}/></p>- <h3 className='flex items-center mt-5 text-lg font-bold text-gray-900 dark:text-gray-50'>+ <h3 className='mt-5 flex items-center text-lg font-bold text-gray-900 dark:text-gray-50'>{t('profileSettings.referral.payoutEmail')}</h3><p className='max-w-prose text-base text-gray-900 dark:text-gray-50'>{t('profileSettings.referral.payoutEmailDesc')}</p>- <div className='flex space-x-2 mt-2'>+ <div className='mt-2 flex space-x-2'><Inputid='paypal-email'type='email'@@ -196,7 +196,7 @@ const Referral = ({{t('common.save')}</Button></div>- <h3 className='flex items-center mt-5 text-lg font-bold text-gray-900 dark:text-gray-50'>+ <h3 className='mt-5 flex items-center text-lg font-bold text-gray-900 dark:text-gray-50'>{t('profileSettings.referral.referralLink')}</h3><p className='max-w-prose text-base text-gray-900 dark:text-gray-50'>@@ -208,8 +208,8 @@ const Referral = ({</p>)}{user.refCode ? (- <div className='grid grid-cols-1 gap-y-6 gap-x-4 lg:grid-cols-2'>- <div className='relative group'>+ <div className='grid grid-cols-1 gap-x-4 gap-y-6 lg:grid-cols-2'>+ <div className='group relative'><Input name='refCode' id='refCode' type='text' className='pr-9' value={refUrl} disabled /><div className='absolute right-2 top-3'><div className='group relative'>@@ -220,9 +220,9 @@ const Referral = ({noBorder><>- <ClipboardDocumentIcon className='w-6 h-6' />+ <ClipboardDocumentIcon className='h-6 w-6' />{copied && (- <div className='animate-appear bg-white dark:bg-slate-800 cursor-auto rounded p-1 absolute sm:top-0 top-0.5 right-8 text-xs text-green-600'>+ <div className='absolute right-8 top-0.5 animate-appear cursor-auto rounded bg-white p-1 text-xs text-green-600 dark:bg-slate-800 sm:top-0'>{t('common.copied')}</div>)}@@ -239,7 +239,7 @@ const Referral = ({)}{!_isEmpty(referralStatistics) && (<>- <h3 className='flex items-center mt-5 text-lg font-bold text-gray-900 dark:text-gray-50'>+ <h3 className='mt-5 flex items-center text-lg font-bold text-gray-900 dark:text-gray-50'>{t('profileSettings.referral.referralStats')}</h3><div>@@ -250,7 +250,7 @@ const Referral = ({{t('profileSettings.referral.trial')}: <Highlighted>{referralStatistics.trials}</Highlighted></span>}- className='max-w-max !w-auto !h-auto'+ className='!h-auto !w-auto max-w-max'/><Tooltiptext={t('profileSettings.referral.activeDesc')}@@ -259,7 +259,7 @@ const Referral = ({{t('profileSettings.referral.active')}: <Highlighted>{referralStatistics.subscribers}</Highlighted></span>}- className='max-w-max !w-auto !h-auto'+ className='!h-auto !w-auto max-w-max'/><Tooltiptext={t('profileSettings.referral.paidDesc')}@@ -268,7 +268,7 @@ const Referral = ({{t('profileSettings.referral.paid')}: <Highlighted>US$ {referralStatistics.paid}</Highlighted></span>}- className='max-w-max !w-auto !h-auto'+ className='!h-auto !w-auto max-w-max'/><Tooltiptext={t('profileSettings.referral.nextPayoutDesc')}@@ -278,7 +278,7 @@ const Referral = ({<Highlighted>US$ {referralStatistics.nextPayout}</Highlighted></span>}- className='max-w-max !w-auto !h-auto'+ className='!h-auto !w-auto max-w-max'/><Tooltiptext={t('profileSettings.referral.pendingDesc', {@@ -289,17 +289,17 @@ const Referral = ({{t('profileSettings.referral.pending')}: <Highlighted>US$ {referralStatistics.pending}</Highlighted></span>}- className='max-w-max !w-auto !h-auto'+ className='!h-auto !w-auto max-w-max'/></div></>)}{!_isEmpty(activeReferrals) && (<>- <h3 className='flex items-center mt-5 text-lg font-bold text-gray-900 dark:text-gray-50'>+ <h3 className='mt-5 flex items-center text-lg font-bold text-gray-900 dark:text-gray-50'>{t('profileSettings.referral.activeReferrals')}</h3>- <table className='mt-2 min-w-full shadow ring-1 ring-black ring-opacity-5 md:rounded-lg divide-y divide-gray-300 200 dark:divide-gray-500'>+ <table className='200 mt-2 min-w-full divide-y divide-gray-300 shadow ring-1 ring-black ring-opacity-5 dark:divide-gray-500 md:rounded-lg'><thead className='bg-gray-50 dark:bg-slate-800'><tr><th@@ -315,7 +315,7 @@ const Referral = ({amount: REFERRAL_CUT * 100,})}tooltipNode={<>{t('profileSettings.referral.activeReferralsTable.yourCut')}</>}- className='max-w-max !w-auto !h-auto'+ className='!h-auto !w-auto max-w-max'/></th><th scope='col' className='px-3 py-3.5 text-left text-sm font-semibold text-gray-900 dark:text-gray-50'>@@ -323,7 +323,7 @@ const Referral = ({</th></tr></thead>- <tbody className='divide-y divide-gray-200 dark:divide-gray-600 bg-white dark:bg-slate-800'>+ <tbody className='divide-y divide-gray-200 bg-white dark:divide-gray-600 dark:bg-slate-800'>{_map(activeReferrals, ({ billingFrequency, created, planCode, tierCurrency }, index) => {// @ts-ignoreconst planPrice = PLAN_LIMITS[planCode].price[tierCurrency][billingFrequency]diff --git a/app/pages/UserSettings/components/Socialisations.tsx b/app/pages/UserSettings/components/Socialisations.tsxindex 3d63fcb9a..d124b17c8 100644--- a/app/pages/UserSettings/components/Socialisations.tsx+++ b/app/pages/UserSettings/components/Socialisations.tsx@@ -86,7 +86,7 @@ const Socialisations = ({ user, linkSSO, unlinkSSO, genericError, theme }: ISocireturn (<><p className='max-w-prose text-base text-gray-900 dark:text-gray-50'>{t('profileSettings.socialisationsDesc')}</p>- <div className='overflow-hidden bg-white dark:bg-slate-800 mt-2 shadow sm:rounded-md'>+ <div className='mt-2 overflow-hidden bg-white shadow dark:bg-slate-800 sm:rounded-md'><ul className='divide-y divide-gray-200 dark:divide-slate-700'>{_map(AVAILABLE_SSO_PROVIDERS, ({ name, key, icons }) => {const [connected, unlinkable] = getStatusByUser(user, key)@@ -96,13 +96,13 @@ const Socialisations = ({ user, linkSSO, unlinkSSO, genericError, theme }: ISocireturn (<li key={key}>- <div className='sm:flex items-center px-1 py-4 sm:px-6'>+ <div className='items-center px-1 py-4 sm:flex sm:px-6'><div className='flex min-w-0 flex-1 items-center'>- <div className='flex-shrink-0 hidden sm:block'>+ <div className='hidden flex-shrink-0 sm:block'>{theme === 'dark' ? (- <Light className='max-h-12 max-w-12 h-12 w-12 rounded-full' />+ <Light className='h-12 max-h-12 w-12 max-w-12 rounded-full' />) : (- <Dark className='max-h-12 max-w-12 h-12 w-12 rounded-full' />+ <Dark className='h-12 max-h-12 w-12 max-w-12 rounded-full' />)}</div><div className='min-w-0 flex-1 px-2 sm:px-4 md:grid md:grid-cols-2 md:gap-4'>@@ -123,7 +123,7 @@ const Socialisations = ({ user, linkSSO, unlinkSSO, genericError, theme }: ISoci</div></div></div>- <div className='flex justify-center mt-2 sm:block sm:mt-0'>+ <div className='mt-2 flex justify-center sm:mt-0 sm:block'>{connected && !unlinkable && (<Button onClick={() => genericError(t('profileSettings.cantUnlinkSocialisation'))} small danger>{t('common.unlink')}diff --git a/app/pages/UserSettings/components/TwoFA.tsx b/app/pages/UserSettings/components/TwoFA.tsxindex c995d838d..39cbcd0f5 100644--- a/app/pages/UserSettings/components/TwoFA.tsx+++ b/app/pages/UserSettings/components/TwoFA.tsx@@ -138,8 +138,8 @@ const TwoFA = ({if (twoFADisabling) {return (<>- <p className='text-base max-w-prose text-gray-900 dark:text-gray-50'>{t('profileSettings.2faDisableHint')}</p>- <div className='flex items-center mt-4'>+ <p className='max-w-prose text-base text-gray-900 dark:text-gray-50'>{t('profileSettings.2faDisableHint')}</p>+ <div className='mt-4 flex items-center'><Inputtype='text'label={t('profileSettings.enter2faToDisable')}@@ -181,14 +181,14 @@ const TwoFA = ({if (twoFAConfigurating) {return (<>- <p className='text-base max-w-prose text-gray-900 dark:text-gray-50'>{t('profileSettings.2faDesc')}</p>- <div className='mt-4 p-4 bg-white w-max'>+ <p className='max-w-prose text-base text-gray-900 dark:text-gray-50'>{t('profileSettings.2faDesc')}</p>+ <div className='mt-4 w-max bg-white p-4'><QRCode value={twoFAConfigData?.otpauthUrl || ''} /></div>- <p className='text-base whitespace-pre-line mt-2 text-gray-900 dark:text-gray-50'>+ <p className='mt-2 whitespace-pre-line text-base text-gray-900 dark:text-gray-50'>{t('profileSettings.2faQRAlt', { key: twoFAConfigData?.secret || '' })}</p>- <div className='flex items-center mt-4'>+ <div className='mt-4 flex items-center'><Inputtype='text'label={t('profileSettings.enter2faToEnable')}diff --git a/app/redux/constants/index.ts b/app/redux/constants/index.tsindex bdb58f7f3..0e9099e4c 100644--- a/app/redux/constants/index.ts+++ b/app/redux/constants/index.ts@@ -1,3 +1,4 @@+/* eslint-disable no-undef */import _endsWith from 'lodash/endsWith'const displayDateOptions: Intl.DateTimeFormatOptions = {diff --git a/app/root.tsx b/app/root.tsxindex 236edabe9..68e807a65 100644--- a/app/root.tsx+++ b/app/root.tsx@@ -1,3 +1,4 @@+/* eslint-disable no-undef */import type { LinksFunction, LoaderFunctionArgs, HeadersFunction } from '@remix-run/node'import { json, redirect } from '@remix-run/node'import { useState } from 'react'@@ -98,14 +99,14 @@ export function ErrorBoundary() {</head><body>{/* Using style because for some reason min-h-screen doesn't work */}- <div style={{ minHeight: '100vh' }} className='pt-16 pb-12 flex flex-col bg-gray-50 dark:bg-slate-900'>- <div className='flex-grow flex flex-col justify-center max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8'>- <div className='flex-shrink-0 flex justify-center'>+ <div style={{ minHeight: '100vh' }} className='flex flex-col bg-gray-50 pb-12 pt-16 dark:bg-slate-900'>+ <div className='mx-auto flex w-full max-w-7xl flex-grow flex-col justify-center px-4 sm:px-6 lg:px-8'>+ <div className='flex flex-shrink-0 justify-center'><ExclamationTriangleIcon className='h-24 w-auto text-yellow-400 dark:text-yellow-600' /></div><div className='py-8'><div className='text-center'>- <h1 className='text-4xl font-extrabold text-gray-900 dark:text-gray-50 tracking-tight sm:text-5xl'>+ <h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>Uh-oh..</h1><p className='mt-2 text-base font-medium text-gray-800 dark:text-gray-300'>@@ -127,22 +128,22 @@ export function ErrorBoundary() {<br /><spanonClick={() => setCrashStackShown((prev) => !prev)}- className='flex justify-center items-center text-base text-gray-800 dark:text-gray-300 cursor-pointer hover:underline'+ className='flex cursor-pointer items-center justify-center text-base text-gray-800 hover:underline dark:text-gray-300'>{crashStackShown ? (<>Hide crash stack- <ChevronUpIcon className='w-4 h-4 ml-2' />+ <ChevronUpIcon className='ml-2 h-4 w-4' /></>) : (<>Show crash stack- <ChevronDownIcon className='w-4 h-4 ml-2' />+ <ChevronDownIcon className='ml-2 h-4 w-4' /></>)}</span>{crashStackShown && (- <span className='text-sm text-gray-600 dark:text-gray-400 whitespace-pre-line'>+ <span className='whitespace-pre-line text-sm text-gray-600 dark:text-gray-400'>{error.stack}</span>)}diff --git a/app/routes/blog.tsx b/app/routes/blog.tsxindex abe95fbf3..58f1b71bd 100644--- a/app/routes/blog.tsx+++ b/app/routes/blog.tsx@@ -28,17 +28,17 @@ export default function Posts() {if (_filter(posts, (post) => !post.hidden).length === 0) {return (- <div className='flex justify-center items-center min-h-min-footer'>+ <div className='flex min-h-min-footer items-center justify-center'><h1 className='text-3xl font-bold text-slate-900 dark:text-slate-200'>No posts found</h1></div>)}return (- <div className='bg-gray-50 dark:bg-slate-900 text-gray-700 dark:text-gray-300 py-10'>- <div className='max-w-[52rem] mx-auto px-4 pb-28 sm:px-6 md:px-8 xl:px-12 lg:max-w-6xl'>- <div className='relative sm:pb-12 sm:ml-[calc(2rem+1px)] md:ml-[calc(3.5rem+1px)] lg:ml-[max(calc(14.5rem+1px),calc(100%-48rem))] mt-10 '>- <div className='hidden absolute top-3 bottom-0 right-full mr-7 md:mr-[3.25rem] w-px bg-slate-200 dark:bg-slate-700 sm:block'></div>+ <div className='bg-gray-50 py-10 text-gray-700 dark:bg-slate-900 dark:text-gray-300'>+ <div className='mx-auto max-w-[52rem] px-4 pb-28 sm:px-6 md:px-8 lg:max-w-6xl xl:px-12'>+ <div className='relative mt-10 sm:ml-[calc(2rem+1px)] sm:pb-12 md:ml-[calc(3.5rem+1px)] lg:ml-[max(calc(14.5rem+1px),calc(100%-48rem))] '>+ <div className='absolute bottom-0 right-full top-3 mr-7 hidden w-px bg-slate-200 dark:bg-slate-700 sm:block md:mr-[3.25rem]'></div><div className='space-y-16'>{_map(posts, (post) => {@@ -47,11 +47,11 @@ export default function Posts() {}return (- <article className='relative group' key={post.slug}>- <div className='absolute -inset-y-2.5 -inset-x-4 md:-inset-y-4 md:-inset-x-6 sm:rounded-2xl group-hover:bg-slate-50/70 dark:group-hover:bg-slate-800/50'></div>+ <article className='group relative' key={post.slug}>+ <div className='absolute -inset-x-4 -inset-y-2.5 group-hover:bg-slate-50/70 dark:group-hover:bg-slate-800/50 sm:rounded-2xl md:-inset-x-6 md:-inset-y-4'></div><svgviewBox='0 0 9 9'- className='hidden absolute right-full mr-6 top-2 text-slate-200 dark:text-slate-600 md:mr-12 w-[calc(0.5rem+1px)] h-[calc(0.5rem+1px)] overflow-visible sm:block'+ className='absolute right-full top-2 mr-6 hidden h-[calc(0.5rem+1px)] w-[calc(0.5rem+1px)] overflow-visible text-slate-200 dark:text-slate-600 sm:block md:mr-12'><circlecx='4.5'@@ -63,11 +63,11 @@ export default function Posts() {/></svg><div className='relative'>- <h3 className='text-base font-semibold tracking-tight text-slate-900 dark:text-slate-200 pt-8 lg:pt-0'>+ <h3 className='pt-8 text-base font-semibold tracking-tight text-slate-900 dark:text-slate-200 lg:pt-0'>{post.title}</h3>{post.intro && (- <div className='mt-2 mb-4 prose prose-slate prose-a:relative prose-a:z-10 dark:text-slate-400 line-clamp-2'>+ <div className='prose prose-slate mb-4 mt-2 line-clamp-2 prose-a:relative prose-a:z-10 dark:text-slate-400'><p>{post.intro}</p></div>)}@@ -79,13 +79,13 @@ export default function Posts() {</dl></div><Link- className='flex items-center text-sm text-indigo-600 dark:text-gray-50 font-medium'+ className='flex items-center text-sm font-medium text-indigo-600 dark:text-gray-50'to={post.slug}>- <span className='absolute -inset-y-2.5 -inset-x-4 md:-inset-y-4 md:-inset-x-6 sm:rounded-2xl'></span>+ <span className='absolute -inset-x-4 -inset-y-2.5 sm:rounded-2xl md:-inset-x-6 md:-inset-y-4'></span><span className='relative'>Read more</span><svg- className='relative mt-px overflow-visible ml-2.5 text-indigo-600 dark:text-gray-50'+ className='relative ml-2.5 mt-px overflow-visible text-indigo-600 dark:text-gray-50'width='3'height='6'viewBox='0 0 3 6'diff --git a/app/ui/Alert.tsx b/app/ui/Alert.tsxindex 70bba2c6c..cdebea1dc 100644--- a/app/ui/Alert.tsx+++ b/app/ui/Alert.tsx@@ -23,7 +23,7 @@ const AlertTemplate = ({ message, options, close }: IAlert): JSX.Element => {const isError = type === 'error'return (- <div className='pointer-events-auto w-72 min-[425px]:w-96 mb-5 mr-2 min-[425px]:mr-5 z-50 overflow-hidden rounded-lg bg-white dark:bg-slate-900 shadow-lg ring-1 ring-black dark:ring-slate-800 ring-opacity-5'>+ <div className='pointer-events-auto z-50 mb-5 mr-2 w-72 overflow-hidden rounded-lg bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-slate-900 dark:ring-slate-800 min-[425px]:mr-5 min-[425px]:w-96'><div className='p-4'><div className='flex items-start'><div className='flex-shrink-0'>@@ -42,7 +42,7 @@ const AlertTemplate = ({ message, options, close }: IAlert): JSX.Element => {<div className='ml-4 flex flex-shrink-0'><buttontype='button'- className='inline-flex rounded-md bg-white dark:bg-slate-900 text-gray-400 hover:text-gray-500 dark:text-gray-200 dark:hover:text-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'+ className='inline-flex rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-900 dark:text-gray-200 dark:hover:text-gray-400'onClick={close}><span className='sr-only'>{t('common.close')}</span>diff --git a/app/ui/Badge.tsx b/app/ui/Badge.tsxindex 0aa094022..f2bdf4765 100644--- a/app/ui/Badge.tsx+++ b/app/ui/Badge.tsx@@ -10,7 +10,7 @@ interface IBadge {const Badge = ({ label, className, colour }: IBadge): JSX.Element => (<spanclassName={cx('inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset', className, {- 'ring-slate-500/10 text-slate-600 bg-slate-50 dark:bg-slate-400/10 dark:text-slate-400 dark:ring-slate-400/20':+ 'bg-slate-50 text-slate-600 ring-slate-500/10 dark:bg-slate-400/10 dark:text-slate-400 dark:ring-slate-400/20':colour === 'slate','bg-indigo-50 text-indigo-700 ring-indigo-700/10 dark:bg-indigo-400/10 dark:text-indigo-400 dark:ring-indigo-400/30':colour === 'indigo',diff --git a/app/ui/Button.tsx b/app/ui/Button.tsxindex 3a8f1a21e..0508ea81a 100644--- a/app/ui/Button.tsx+++ b/app/ui/Button.tsx@@ -62,23 +62,23 @@ const Button = ({type={type}onClick={onClick}className={cx(- 'relative inline-flex select-none items-center border leading-4 font-medium rounded-md',+ 'relative inline-flex select-none items-center rounded-md border font-medium leading-4',{- 'shadow-sm text-gray-50 bg-slate-900 hover:bg-slate-700 dark:bg-indigo-700 dark:hover:bg-indigo-800 border-transparent':+ 'border-transparent bg-slate-900 text-gray-50 shadow-sm hover:bg-slate-700 dark:bg-indigo-700 dark:hover:bg-indigo-800':primary,- 'text-slate-900 bg-slate-300 hover:bg-slate-200 border-transparent': secondary,- 'text-gray-700 bg-white hover:bg-gray-50 border-transparent': white,- 'text-gray-50 bg-red-500 hover:bg-red-600 dark:bg-red-600 dark:hover:bg-red-700 border-transparent': danger,- 'text-red-500 hover:text-red-600 border-red-600 dark:text-red-300 dark:hover:text-red-400 dark:border-red-500 border-1':+ 'border-transparent bg-slate-300 text-slate-900 hover:bg-slate-200': secondary,+ 'border-transparent bg-white text-gray-700 hover:bg-gray-50': white,+ 'border-transparent bg-red-500 text-gray-50 hover:bg-red-600 dark:bg-red-600 dark:hover:bg-red-700': danger,+ 'border-1 border-red-600 text-red-500 hover:text-red-600 dark:border-red-500 dark:text-red-300 dark:hover:text-red-400':semiDanger,- 'focus:border-none border-none text-gray-700 dark:text-white focus:ring-0 focus:ring-offset-0': noBorder,+ 'border-none text-gray-700 focus:border-none focus:ring-0 focus:ring-offset-0 dark:text-white': noBorder,'px-2.5 py-1.5 text-xs': small,'px-2.5 py-1.5 text-sm': semiSmall,'px-4 py-2 text-sm': large,'px-6 py-3 text-base': giant,'px-3 py-2 text-sm': regular,'cursor-not-allowed': loading,- 'focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500': focus,+ 'focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2': focus,},className,)}diff --git a/app/ui/Checkbox.tsx b/app/ui/Checkbox.tsxindex add772890..799913f91 100644--- a/app/ui/Checkbox.tsx+++ b/app/ui/Checkbox.tsx@@ -36,7 +36,7 @@ const Checkbox = ({className,)}>- <div className='flex items-center h-5'>+ <div className='flex h-5 items-center'><inputid={identifier}aria-describedby={identifier}@@ -46,7 +46,7 @@ const Checkbox = ({checked={checked}onChange={onChange}className={cx(- 'focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 dark:border-slate-800 dark:bg-slate-700 dark:checked:bg-indigo-600 rounded cursor-pointer',+ 'h-4 w-4 cursor-pointer rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 dark:border-slate-800 dark:bg-slate-700 dark:checked:bg-indigo-600',{ '!cursor-not-allowed': disabled, 'opacity-50': disabled },)}/>@@ -54,7 +54,7 @@ const Checkbox = ({<div className='ml-3 text-sm'><labelhtmlFor={identifier}- className={cx('font-medium text-gray-700 dark:text-gray-200 cursor-pointer', {+ className={cx('cursor-pointer font-medium text-gray-700 dark:text-gray-200', {'!cursor-not-allowed': disabled,})}>diff --git a/app/ui/Combobox.tsx b/app/ui/Combobox.tsxindex 4100c5c5e..2b81d0a8a 100644--- a/app/ui/Combobox.tsx+++ b/app/ui/Combobox.tsx@@ -49,7 +49,7 @@ const Combobox = ({<div className='relative w-full cursor-default rounded-lg'><HeadlessCombobox.InputclassName={cx(- 'relative w-full bg-white border border-gray-300 dark:text-gray-50 dark:border-gray-800 dark:bg-slate-800 rounded-md shadow-sm pl-3 pr-10 py-2 text-left cursor-default focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm',+ 'relative w-full cursor-default rounded-md border border-gray-300 bg-white py-2 pl-3 pr-10 text-left shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50 sm:text-sm',buttonClassName,)}// @ts-ignore@@ -68,9 +68,9 @@ const Combobox = ({leaveTo='opacity-0'afterLeave={() => setQuery('')}>- <HeadlessCombobox.Options className='absolute z-10 mt-1 w-full bg-white dark:bg-slate-800 shadow-lg max-h-60 rounded-md py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none sm:text-sm'>+ <HeadlessCombobox.Options className='absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-slate-800 sm:text-sm'>{_isEmpty(filteredItems) && !_isEmpty(query) ? (- <div className='relative cursor-default select-none py-2 px-4 dark:text-white text-gray-900'>+ <div className='relative cursor-default select-none px-4 py-2 text-gray-900 dark:text-white'>{t('common.nothingFound')}</div>) : (@@ -78,8 +78,8 @@ const Combobox = ({<HeadlessCombobox.Optionkey={keyExtractor ? keyExtractor(item, index) : item}className={({ active }) =>- cx('dark:text-white cursor-default select-none relative py-2 pl-8 pr-4', {- 'text-white bg-indigo-600': active,+ cx('relative cursor-default select-none py-2 pl-8 pr-4 dark:text-white', {+ 'bg-indigo-600 text-white': active,'text-gray-900': !active,})}diff --git a/app/ui/Dropdown.tsx b/app/ui/Dropdown.tsxindex ab3e2a725..8f44d6b87 100644--- a/app/ui/Dropdown.tsx+++ b/app/ui/Dropdown.tsx@@ -56,9 +56,9 @@ const Dropdown = ({className={cx(buttonClassName, {'justify-between': aside,'justify-center': !aside,- 'inline-flex w-full rounded-md border border-gray-300 shadow-sm px-3 md:px-4 py-2 bg-white text-sm font-medium dark:border-gray-800 dark:bg-slate-800 hover:bg-gray-50 dark:hover:bg-slate-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-indigo-500':+ 'inline-flex w-full rounded-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:ring-offset-gray-100 dark:border-gray-800 dark:bg-slate-800 dark:hover:bg-slate-700 md:px-4':!headless,- 'inline-flex w-full px-3 md:px-4 py-2 text-sm font-medium outline-none group': headless,+ 'group inline-flex w-full px-3 py-2 text-sm font-medium outline-none md:px-4': headless,'text-gray-700 dark:text-gray-50': !disabled,'cursor-not-allowed text-gray-500 dark:text-gray-400': disabled,})}@@ -96,20 +96,20 @@ const Dropdown = ({<Menu.ItemsstaticclassName={cx(- 'z-50 origin-top-right absolute right-0 mt-2 w-40 min-w-max rounded-md shadow-lg bg-white dark:bg-slate-800 ring-1 ring-black ring-opacity-5 focus:outline-none',+ 'absolute right-0 z-50 mt-2 w-40 min-w-max origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-slate-800',menuItemsClassName,{'divide-y divide-gray-100 dark:divide-gray-600': header,},)}>- {header && <p className='text-gray-700 dark:text-gray-50 px-4 py-2 text-sm font-medium'>{header}</p>}+ {header && <p className='px-4 py-2 text-sm font-medium text-gray-700 dark:text-gray-50'>{header}</p>}{_map(items, (item) => (<Menu.Item key={keyExtractor ? keyExtractor(item) : item}><spanclassName={selectItemClassName ||- 'text-gray-700 dark:text-gray-50 dark:border-gray-800 dark:bg-slate-800 block px-4 py-2 text-sm cursor-pointer hover:bg-gray-200 dark:hover:bg-slate-700'+ 'block cursor-pointer px-4 py-2 text-sm text-gray-700 hover:bg-gray-200 dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'}role='menuitem'tabIndex={0}diff --git a/app/ui/Flatpicker.tsx b/app/ui/Flatpicker.tsxindex b26ddfd8d..ecd5fcb10 100644--- a/app/ui/Flatpicker.tsx+++ b/app/ui/Flatpicker.tsx@@ -102,7 +102,7 @@ class FlatPicker extends React.Component<}return (- <div className={cx('h-0 flatpicker-custom', className)}>+ <div className={cx('flatpicker-custom h-0', className)}><Flatpickrid='calendar'data-testid='calendar'diff --git a/app/ui/Highlighted.tsx b/app/ui/Highlighted.tsxindex cfe4e13cb..6c9adc567 100644--- a/app/ui/Highlighted.tsx+++ b/app/ui/Highlighted.tsx@@ -5,7 +5,7 @@ interface IHighlighted {}const Highlighted = ({ children }: IHighlighted) => (- <span className='px-1 bg-slate-200 text-gray-900 rounded dark:text-gray-50 dark:bg-slate-700'>{children}</span>+ <span className='rounded bg-slate-200 px-1 text-gray-900 dark:bg-slate-700 dark:text-gray-50'>{children}</span>)export default Highlighteddiff --git a/app/ui/Input.tsx b/app/ui/Input.tsxindex edc35e713..f6c584093 100644--- a/app/ui/Input.tsx+++ b/app/ui/Input.tsx@@ -67,7 +67,7 @@ const Input = ({onChange={onChange}onKeyDown={onKeyDown}className={cx(- 'shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm border-gray-300 dark:text-gray-50 dark:placeholder-gray-400 dark:border-slate-800/25 dark:bg-slate-800 rounded-md',+ 'block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 dark:border-slate-800/25 dark:bg-slate-800 dark:text-gray-50 dark:placeholder-gray-400 sm:text-sm',{'border-red-300 text-red-900 placeholder-red-300': isError,'cursor-text': disabled,@@ -78,13 +78,13 @@ const Input = ({disabled={disabled}/>{isError && (- <div className='absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none'>+ <div className='pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3'><ExclamationCircleIcon className='h-5 w-5 text-red-500' aria-hidden /></div>)}</div>{hint && (- <p className='mt-2 text-sm text-gray-500 dark:text-gray-300 whitespace-pre-line' id={`${identifier}-optional`}>+ <p className='mt-2 whitespace-pre-line text-sm text-gray-500 dark:text-gray-300' id={`${identifier}-optional`}>{hint}</p>)}diff --git a/app/ui/Modal.tsx b/app/ui/Modal.tsxindex de4e8205a..376fda29e 100644--- a/app/ui/Modal.tsx+++ b/app/ui/Modal.tsx@@ -51,12 +51,12 @@ const Modal = ({<Transition.Root show={isOpened} as={Fragment}><Dialogas='div'- className={cx('fixed z-10 inset-0 overflow-y-auto', className)}+ className={cx('fixed inset-0 z-10 overflow-y-auto', className)}open={isOpened}onClose={onClose}static>- <div className='flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0'>+ <div className='min-h-screen flex items-end justify-center px-4 pb-20 pt-4 text-center sm:block sm:p-0'><Transition.Childas={Fragment}enter='ease-out duration-300'@@ -66,11 +66,11 @@ const Modal = ({leaveFrom='opacity-100'leaveTo='opacity-0'>- <Dialog.Overlay className='fixed inset-0 bg-gray-500 bg-opacity-75 dark:bg-opacity-55 transition-opacity' />+ <Dialog.Overlay className='fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity dark:bg-opacity-55' /></Transition.Child>{/* This element is to trick the browser into centering the modal contents. */}- <span className='hidden sm:inline-block sm:align-middle sm:h-screen' aria-hidden='true'>+ <span className='hidden sm:inline-block sm:h-screen sm:align-middle' aria-hidden='true'>​</span><Transition.Child@@ -84,10 +84,10 @@ const Modal = ({><divclassName={cx(- 'inline-block align-bottom bg-white dark:bg-slate-900 rounded-lg px-4 pt-5 pb-4 text-left shadow-xl transform transition-all sm:my-8 sm:align-middle sm:px-5 sm:py-4',+ 'inline-block transform rounded-lg bg-white px-4 pb-4 pt-5 text-left align-bottom shadow-xl transition-all dark:bg-slate-900 sm:my-8 sm:px-5 sm:py-4 sm:align-middle',{- 'sm:max-w-lg sm:w-full': size === 'regular',- 'max-w-5xl w-full': size === 'large',+ 'sm:w-full sm:max-w-lg': size === 'regular',+ 'w-full max-w-5xl': size === 'large','overflow-visible': overflowVisible,'overflow-hidden': !overflowVisible,},@@ -95,35 +95,35 @@ const Modal = ({><div className='sm:flex sm:items-start'>{type === 'success' && (- <div className='sm:mr-3 mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-green-100 sm:h-10 sm:w-10'>+ <div className='mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-green-100 sm:mr-3 sm:h-10 sm:w-10'><CheckIcon className='h-6 w-6 text-green-600' aria-hidden='true' /></div>)}{type === 'error' && (- <div className='sm:mr-3 mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-red-100 sm:h-10 sm:w-10'>+ <div className='mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-red-100 sm:mr-3 sm:h-10 sm:w-10'><ExclamationTriangleIcon className='h-6 w-6 text-red-600' aria-hidden='true' /></div>)}{type === 'info' && (- <div className='sm:mr-3 mx-auto flex-shrink-0 flex items-center text-center justify-center h-12 w-12 rounded-full bg-blue-100 sm:h-10 sm:w-10'>+ <div className='mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-blue-100 text-center sm:mr-3 sm:h-10 sm:w-10'><InformationCircleIcon className='h-6 w-6 text-blue-600' aria-hidden='true' /></div>)}{type === 'warning' && (- <div className='sm:mr-3 mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-orange-100 sm:h-10 sm:w-10'>+ <div className='mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-orange-100 sm:mr-3 sm:h-10 sm:w-10'><ExclamationTriangleIcon className='h-6 w-6 text-amber-600' aria-hidden='true' /></div>)}{type === 'confirmed' && (- <div className='sm:mr-3 mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-green-100 sm:h-10 sm:w-10'>+ <div className='mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-green-100 sm:mr-3 sm:h-10 sm:w-10'><UserGroupIcon className='h-6 w-6 text-green-600' aria-hidden='true' /></div>)}- <div className='mt-3 text-center sm:mt-0 sm:text-left w-full'>+ <div className='mt-3 w-full text-center sm:mt-0 sm:text-left'>{title && (<Dialog.Titleas='h3'- className={cx('flex items-center text-lg leading-6 font-medium text-gray-900 dark:text-gray-50', {+ className={cx('flex items-center text-lg font-medium leading-6 text-gray-900 dark:text-gray-50', {'justify-between': !closeText,'justify-center sm:justify-start': closeText,})}@@ -134,7 +134,7 @@ const Modal = ({</div>{!closeText && (<XMarkIcon- className='h-6 w-6 cursor-pointer text-gray-700 dark:text-gray-200 hover:text-gray-500 dark:hover:text-gray-300'+ className='h-6 w-6 cursor-pointer text-gray-700 hover:text-gray-500 dark:text-gray-200 dark:hover:text-gray-300'onClick={(e) => {e.preventDefault()e.stopPropagation()@@ -144,16 +144,16 @@ const Modal = ({)}</Dialog.Title>)}- <div className='mt-2 text-sm text-gray-600 whitespace-pre-line dark:text-gray-200'>{message}</div>+ <div className='mt-2 whitespace-pre-line text-sm text-gray-600 dark:text-gray-200'>{message}</div></div></div>- <div className='px-4 py-3 sm:px-0 sm:pb-0 sm:flex sm:flex-row-reverse'>+ <div className='px-4 py-3 sm:flex sm:flex-row-reverse sm:px-0 sm:pb-0'>{customButtons}{submitText && (<buttontype='button'className={cx(- 'w-full inline-flex justify-center rounded-md shadow-sm px-4 py-2 text-base font-medium text-white sm:ml-3 sm:w-auto sm:text-sm',+ 'inline-flex w-full justify-center rounded-md px-4 py-2 text-base font-medium text-white shadow-sm sm:ml-3 sm:w-auto sm:text-sm',{'bg-indigo-600': submitType === 'regular','bg-red-600': submitType === 'danger',@@ -171,7 +171,7 @@ const Modal = ({{closeText && (<buttontype='button'- className='mt-3 w-full inline-flex justify-center rounded-md dark:border-none border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 dark:text-gray-50 dark:border-gray-600 dark:bg-slate-800 dark:hover:border-gray-600 dark:hover:bg-gray-700 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm'+ className='mt-3 inline-flex w-full justify-center rounded-md border border-gray-300 bg-white px-4 py-2 text-base font-medium text-gray-700 shadow-sm hover:bg-gray-50 dark:border-none dark:border-gray-600 dark:bg-slate-800 dark:text-gray-50 dark:hover:border-gray-600 dark:hover:bg-gray-700 sm:ml-3 sm:mt-0 sm:w-auto sm:text-sm'onClick={(e) => {e.preventDefault()e.stopPropagation()diff --git a/app/ui/MultiProgress.tsx b/app/ui/MultiProgress.tsxindex f256a3fe4..a15ecd67d 100644--- a/app/ui/MultiProgress.tsx+++ b/app/ui/MultiProgress.tsx@@ -16,7 +16,7 @@ interface IMultiProgress {const MultiProgress = ({ progress, theme, className }: IMultiProgress): JSX.Element => (<div className='relative' data-testid='multiprogress'>- <div className={cx('overflow-hidden h-5 text-xs flex rounded bg-gray-200 dark:bg-slate-600', className)}>+ <div className={cx('flex h-5 overflow-hidden rounded bg-gray-200 text-xs dark:bg-slate-600', className)}>{_map(progress, ({ value, lightColour, darkColour }) => (<divkey={`${value}-${lightColour}-${darkColour}`}@@ -24,7 +24,7 @@ const MultiProgress = ({ progress, theme, className }: IMultiProgress): JSX.Elemwidth: `${value}%`,backgroundColor: theme === 'dark' ? darkColour : lightColour,}}- className='shadow-none flex flex-col text-center whitespace-nowrap text-white justify-center'+ className='flex flex-col justify-center whitespace-nowrap text-center text-white shadow-none'/>))}</div>diff --git a/app/ui/MultiSelect.tsx b/app/ui/MultiSelect.tsxindex f4c466a35..0a06255ff 100644--- a/app/ui/MultiSelect.tsx+++ b/app/ui/MultiSelect.tsx@@ -37,24 +37,24 @@ const MultiSelect = ({const [selected, setSelected] = useState(false)return (- <div className={cx('w-full flex flex-col items-center keypress-multiselect', className)}>+ <div className={cx('keypress-multiselect flex w-full flex-col items-center', className)}><div className='w-full'>- <div className='flex flex-col items-center relative'>+ <div className='relative flex flex-col items-center'><divclassName='w-full cursor-pointer'onClick={() => {setSelected(!selected)}}>- <div className='my-2 p-1 flex border rounded w-ful shadow-sm bg-white text-sm font-medium text-gray-700 dark:text-gray-50 dark:border-gray-800 dark:bg-slate-800 hover:bg-gray-50 dark:hover:bg-slate-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-indigo-500 '>+ <div className='w-ful my-2 flex rounded border bg-white p-1 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:ring-offset-gray-100 dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 '><div className='flex flex-auto flex-wrap'>{!_isEmpty(label) ? (_map(label, (item) => (<divkey={keyExtractor ? keyExtractor(item) : item}- className='flex justify-center items-center m-1 font-medium py-1 px-2 rounded-full text-indigo-700 dark:text-gray-50 bg-indigo-100 dark:bg-slate-800 border border-indigo-300 dark:border-slate-500'+ className='m-1 flex items-center justify-center rounded-full border border-indigo-300 bg-indigo-100 px-2 py-1 font-medium text-indigo-700 dark:border-slate-500 dark:bg-slate-800 dark:text-gray-50'>- <div className='text-xs font-normal leading-none max-w-full flex-initial break-words flex'>+ <div className='flex max-w-full flex-initial break-words text-xs font-normal leading-none'>{labelExtractor ? labelExtractor(item) : item}</div><div className='flex flex-auto flex-row-reverse'>@@ -75,7 +75,7 @@ const MultiSelect = ({strokeWidth='2'strokeLinecap='round'strokeLinejoin='round'- className='feather feather-x cursor-pointer hover:text-indigo-400 rounded-full w-4 h-4 ml-2'+ className='feather feather-x ml-2 h-4 w-4 cursor-pointer rounded-full hover:text-indigo-400'><line x1='18' y1='6' x2='6' y2='18' /><line x1='6' y1='6' x2='18' y2='18' />@@ -85,14 +85,14 @@ const MultiSelect = ({</div>))) : (- <p className='text-gray-300 dark:text-gray-50 flex justify-center items-center px-2'>{placholder}</p>+ <p className='flex items-center justify-center px-2 text-gray-300 dark:text-gray-50'>{placholder}</p>)}</div>- <div className='text-gray-300 w-8 py-1 pl-2 pr-1 border-l flex items-center border-gray-200'>+ <div className='flex w-8 items-center border-l border-gray-200 py-1 pl-2 pr-1 text-gray-300'><buttontype='button'onClick={() => setSelected(!selected)}- className='cursor-pointer w-6 h-6 text-gray-600 dark:text-gray-300 outline-none focus:outline-none'+ className='h-6 w-6 cursor-pointer text-gray-600 outline-none focus:outline-none dark:text-gray-300'><svgxmlns='http://www.w3.org/2000/svg'@@ -104,7 +104,7 @@ const MultiSelect = ({strokeWidth='2'strokeLinecap='round'strokeLinejoin='round'- className=' rotate-180 w-4 h-4'+ className=' h-4 w-4 rotate-180'><polyline points='18 15 12 9 6 15' /></svg>@@ -113,12 +113,12 @@ const MultiSelect = ({</div></div>{selected && (- <div className=' shadow top-100 bg-white dark:bg-slate-800 z-40 w-full lef-0 rounded max-h-select overflow-y-auto overflow-x-hidden max-h-[200px]'>- <div className='flex flex-col w-full'>+ <div className=' top-100 lef-0 max-h-select z-40 max-h-[200px] w-full overflow-y-auto overflow-x-hidden rounded bg-white shadow dark:bg-slate-800'>+ <div className='flex w-full flex-col'>{onSearch && (- <div className='relative cursor-pointer w-full border-gray-100 dark:border-slate-700 rounded-t border-b hover:bg-indigo-100 dark:hover:bg-slate-700'>+ <div className='relative w-full cursor-pointer rounded-t border-b border-gray-100 hover:bg-indigo-100 dark:border-slate-700 dark:hover:bg-slate-700'><input- className='overflow-x-auto flex w-full items-center p-2 pl-2 bg-white dark:bg-slate-800 border-transparent border-l-2 relative hover:border-b-indigo-100 dark:hover:border-b-slate-700 focus:outline-none focus:border-transparent focus:ring-0 focus:box-shadow-none'+ className='focus:box-shadow-none relative flex w-full items-center overflow-x-auto border-l-2 border-transparent bg-white p-2 pl-2 hover:border-b-indigo-100 focus:border-transparent focus:outline-none focus:ring-0 dark:bg-slate-800 dark:hover:border-b-slate-700'placeholder={searchPlaseholder}onChange={(e) => {e.preventDefault()@@ -137,18 +137,18 @@ const MultiSelect = ({<divkey={keyExtractor ? `${keyExtractor(item)}select` : `${item}select`}onClick={() => onSelect(item)}- className='cursor-pointer w-full border-gray-100 dark:border-slate-500 rounded-t border-b hover:bg-indigo-100 dark:hover:bg-slate-700'+ className='w-full cursor-pointer rounded-t border-b border-gray-100 hover:bg-indigo-100 dark:border-slate-500 dark:hover:bg-slate-700'><divclassName={cx(- 'overflow-x-auto flex w-full items-center p-2 pl-2 border-transparent border-l-2 relative hover:border-indigo-100 dark:hover:border-slate-700',+ 'relative flex w-full items-center overflow-x-auto border-l-2 border-transparent p-2 pl-2 hover:border-indigo-100 dark:hover:border-slate-700',{- '!border-indigo-500 border-l-2 dark:!border-slate-400': _includes(label, item),+ 'border-l-2 !border-indigo-500 dark:!border-slate-400': _includes(label, item),},)}>- <div className='w-full items-center flex break-words'>- <div className='mx-2 leading-6 flex'>{itemExtractor ? itemExtractor(item) : item}</div>+ <div className='flex w-full items-center break-words'>+ <div className='mx-2 flex leading-6'>{itemExtractor ? itemExtractor(item) : item}</div></div></div></div>@@ -158,7 +158,7 @@ const MultiSelect = ({)}</div></div>- {hint && <p className='mt-2 text-sm text-gray-500 dark:text-gray-300 whitespace-pre-line'>{hint}</p>}+ {hint && <p className='mt-2 whitespace-pre-line text-sm text-gray-500 dark:text-gray-300'>{hint}</p>}</div>)}diff --git a/app/ui/Pagination.tsx b/app/ui/Pagination.tsxindex 859f852bc..738cc87b6 100644--- a/app/ui/Pagination.tsx+++ b/app/ui/Pagination.tsx@@ -18,16 +18,16 @@ const Pagination = ({ page, setPage, pageAmount, total, className }: IPaginationconst paginationRange = usePagination(total, page)return (- <nav className={cx('border-t-0 border-gray-200 px-4 flex items-center justify-between sm:px-0', className)}>- <div className='-mt-px w-0 flex-1 flex group'>+ <nav className={cx('flex items-center justify-between border-t-0 border-gray-200 px-4 sm:px-0', className)}>+ <div className='group -mt-px flex w-0 flex-1'>{page > 1 && (<buttontype='button'onClick={() => setPage(page - 1)}- className='pt-4 pr-1 inline-flex items-center text-sm font-medium dark:group-hover:text-gray-400 group-hover:text-gray-700 dark:text-gray-300 text-gray-500'+ className='inline-flex items-center pr-1 pt-4 text-sm font-medium text-gray-500 group-hover:text-gray-700 dark:text-gray-300 dark:group-hover:text-gray-400'><ArrowLongLeftIcon- className='mr-3 h-5 w-5 dark:group-hover:text-gray-400 group-hover:text-gray-700 dark:text-gray-300 text-gray-500 transition-none'+ className='mr-3 h-5 w-5 text-gray-500 transition-none group-hover:text-gray-700 dark:text-gray-300 dark:group-hover:text-gray-400'aria-hidden='true'/>{t('project.prev')}@@ -39,7 +39,7 @@ const Pagination = ({ page, setPage, pageAmount, total, className }: IPaginationif (item === DOTS) {return (<span- className='border-transparent text-gray-500 dark:text-gray-300 border-t-2 pt-4 px-4 inline-flex items-center text-sm font-medium'+ className='inline-flex items-center border-t-2 border-transparent px-4 pt-4 text-sm font-medium text-gray-500 dark:text-gray-300'key={item + index}>{DOTS}@@ -53,9 +53,9 @@ const Pagination = ({ page, setPage, pageAmount, total, className }: IPaginationtype='button'onClick={() => setPage(item)}className={cx({- 'border-slate-900 text-slate-900 dark:text-gray-50 dark:border-gray-50 border-t-2 pt-4 px-4 inline-flex items-center text-sm font-medium':+ 'inline-flex items-center border-t-2 border-slate-900 px-4 pt-4 text-sm font-medium text-slate-900 dark:border-gray-50 dark:text-gray-50':item === page,- 'border-transparent text-gray-500 dark:text-gray-300 hover:text-gray-700 dark:hover:text-gray-400 hover:border-gray-300 border-t-2 pt-4 px-4 inline-flex items-center text-sm font-medium':+ 'inline-flex items-center border-t-2 border-transparent px-4 pt-4 text-sm font-medium text-gray-500 hover:border-gray-300 hover:text-gray-700 dark:text-gray-300 dark:hover:text-gray-400':item !== page,})}>@@ -64,16 +64,16 @@ const Pagination = ({ page, setPage, pageAmount, total, className }: IPagination)})}</div>- <div className='-mt-px w-0 flex-1 flex justify-end group'>+ <div className='group -mt-px flex w-0 flex-1 justify-end'>{page !== pageAmount && (<buttontype='button'onClick={() => setPage(page + 1)}- className='pt-4 pl-1 inline-flex items-center text-sm font-medium dark:group-hover:text-gray-400 group-hover:text-gray-700 dark:text-gray-300 text-gray-500'+ className='inline-flex items-center pl-1 pt-4 text-sm font-medium text-gray-500 group-hover:text-gray-700 dark:text-gray-300 dark:group-hover:text-gray-400'>{t('project.next')}<ArrowLongRightIcon- className='ml-3 h-5 w-5 dark:group-hover:text-gray-400 group-hover:text-gray-700 dark:text-gray-300 text-gray-500 transition-none'+ className='ml-3 h-5 w-5 text-gray-500 transition-none group-hover:text-gray-700 dark:text-gray-300 dark:group-hover:text-gray-400'aria-hidden='true'/></button>diff --git a/app/ui/Progress.tsx b/app/ui/Progress.tsxindex 378da419f..bcf6defda 100644--- a/app/ui/Progress.tsx+++ b/app/ui/Progress.tsx@@ -6,10 +6,10 @@ interface IProgress {const Progress = ({ now }: IProgress): JSX.Element => (<div className='relative' data-testid='progress'>- <div className='overflow-hidden h-2 text-xs flex rounded bg-blue-200 dark:bg-slate-600'>+ <div className='flex h-2 overflow-hidden rounded bg-blue-200 text-xs dark:bg-slate-600'><divstyle={{ width: `${now}%` }}- className='shadow-none flex flex-col text-center whitespace-nowrap text-white justify-center bg-blue-500 dark:bg-blue-700'+ className='flex flex-col justify-center whitespace-nowrap bg-blue-500 text-center text-white shadow-none dark:bg-blue-700'/></div></div>diff --git a/app/ui/Select.tsx b/app/ui/Select.tsxindex 299e1ba0d..bf8dfe32d 100644--- a/app/ui/Select.tsx+++ b/app/ui/Select.tsx@@ -37,13 +37,13 @@ const Select = ({<Listbox id={id || ''} value={title} onChange={onSelect}>{({ open }) => (<>- <Listbox.Label className='block text-sm whitespace-pre-line font-medium text-gray-700 dark:text-gray-100'>+ <Listbox.Label className='block whitespace-pre-line text-sm font-medium text-gray-700 dark:text-gray-100'>{label}</Listbox.Label>- <div className={cx('mt-1 relative', className)}>+ <div className={cx('relative mt-1', className)}><Listbox.ButtonclassName={cx(- 'relative w-full bg-white border border-gray-300 dark:text-gray-50 dark:border-gray-800 dark:bg-slate-800 rounded-md shadow-sm pl-3 pr-10 py-2 text-left cursor-default focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm',+ 'relative w-full cursor-default rounded-md border border-gray-300 bg-white py-2 pl-3 pr-10 text-left shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50 sm:text-sm',buttonClassName,)}>@@ -54,7 +54,7 @@ const Select = ({>{title}</span>- <span className='absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none'>+ <span className='pointer-events-none absolute inset-y-0 right-0 flex items-center pr-2'><ChevronUpDownIcon className='h-5 w-5 text-gray-400' aria-hidden='true' /></span></Listbox.Button>@@ -68,14 +68,14 @@ const Select = ({><Listbox.Optionsstatic- className='absolute z-10 mt-1 w-full bg-white dark:bg-slate-800 shadow-lg max-h-60 rounded-md py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none sm:text-sm'+ className='absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-slate-800 sm:text-sm'>{_map(items, (item, index) => (<Listbox.Optionkey={keyExtractor ? keyExtractor(item, index) : item}className={({ active }) =>- cx('dark:text-white cursor-default select-none relative py-2 pl-8 pr-4', {- 'text-white bg-indigo-600': active,+ cx('relative cursor-default select-none py-2 pl-8 pr-4 dark:text-white', {+ 'bg-indigo-600 text-white': active,'text-gray-900': !active,})}diff --git a/app/ui/Textarea.tsx b/app/ui/Textarea.tsxindex fcd0a36a4..095a33c3f 100644--- a/app/ui/Textarea.tsx+++ b/app/ui/Textarea.tsx@@ -52,13 +52,13 @@ const Textarea = ({)}</label>)}- <div className='mt-1 relative'>+ <div className='relative mt-1'><textarearows={rows}name={identifier}id={identifier}className={cx(- 'shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm border-gray-300 dark:text-gray-50 dark:placeholder-gray-400 dark:border-slate-800/25 dark:bg-slate-800 rounded-md',+ 'block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 dark:border-slate-800/25 dark:bg-slate-800 dark:text-gray-50 dark:placeholder-gray-400 sm:text-sm',{'border-red-300 text-red-900 placeholder-red-300': isError,'cursor-text': disabled,@@ -71,12 +71,12 @@ const Textarea = ({readOnly={readOnly}/>{isError && (- <div className='absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none'>+ <div className='pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3'><ExclamationCircleIcon className='h-5 w-5 text-red-500' aria-hidden /></div>)}</div>- <p className='mt-2 text-sm text-gray-500 dark:text-gray-300 whitespace-pre-line' id={`${identifier}-optional`}>+ <p className='mt-2 whitespace-pre-line text-sm text-gray-500 dark:text-gray-300' id={`${identifier}-optional`}>{hint}</p>{isError && (diff --git a/app/ui/Tooltip.tsx b/app/ui/Tooltip.tsxindex 0f5dcdfa5..56a51f40d 100644--- a/app/ui/Tooltip.tsx+++ b/app/ui/Tooltip.tsx@@ -9,15 +9,15 @@ interface ITooltip {}const Tooltip = ({ text, className, tooltipNode }: ITooltip): JSX.Element => (- <div className={cx('relative flex flex-col group items-center', className)} data-testid='tooltip-wrapper'>+ <div className={cx('group relative flex flex-col items-center', className)} data-testid='tooltip-wrapper'>{tooltipNode || (- <QuestionMarkCircleIcon className='w-5 h-5 text-gray-700 dark:text-gray-300' data-testid='tooltip-icon' />+ <QuestionMarkCircleIcon className='h-5 w-5 text-gray-700 dark:text-gray-300' data-testid='tooltip-icon' />)}- <div className='absolute bottom-0 flex-col mb-6 hidden group-hover:flex items-center'>- <span className='opacity-95 relative w-60 z-10 p-2 text-xs leading-none text-white whitespace-no-wrap bg-gray-700 shadow-lg rounded-md'>+ <div className='absolute bottom-0 mb-6 hidden flex-col items-center group-hover:flex'>+ <span className='whitespace-no-wrap relative z-10 w-60 rounded-md bg-gray-700 p-2 text-xs leading-none text-white opacity-95 shadow-lg'>{text}</span>- <div className='w-3 h-3 -mt-2 rotate-45 bg-gray-700 opacity-95' />+ <div className='-mt-2 h-3 w-3 rotate-45 bg-gray-700 opacity-95' /></div></div>)diff --git a/app/ui/icons/PulsatingCircle.tsx b/app/ui/icons/PulsatingCircle.tsxindex 9dc06cff2..b323ffec1 100644--- a/app/ui/icons/PulsatingCircle.tsx+++ b/app/ui/icons/PulsatingCircle.tsx@@ -22,8 +22,8 @@ interface IPulsatingCircle {}const PulsatingCircle = ({ className, type = 'small' }: IPulsatingCircle): JSX.Element => (- <span className={cx('flex justify-center items-center', types[type]?.pulse, className)}>- <span className={cx('animate-ping-slow absolute inline-flex rounded-full bg-green-400', types[type]?.pulse)} />+ <span className={cx('flex items-center justify-center', types[type]?.pulse, className)}>+ <span className={cx('absolute inline-flex animate-ping-slow rounded-full bg-green-400', types[type]?.pulse)} /><span className={cx('relative inline-flex rounded-full bg-green-500', types[type]?.base)} /></span>)diff --git a/app/ui/icons/Sort.tsx b/app/ui/icons/Sort.tsxindex dc6ecf58f..b7136e8bb 100644--- a/app/ui/icons/Sort.tsx+++ b/app/ui/icons/Sort.tsx@@ -10,14 +10,14 @@ interface ISort {const Sort: React.FC<ISort> = ({ sortByAscend, sortByDescend, className }: ISort): JSX.Element => {if (sortByAscend) {- return <ChevronUpIcon className={cx(className, 'w-4 h-4')} />+ return <ChevronUpIcon className={cx(className, 'h-4 w-4')} />}if (sortByDescend) {- return <ChevronDownIcon className={cx(className, 'w-4 h-4')} />+ return <ChevronDownIcon className={cx(className, 'h-4 w-4')} />}- return <ChevronUpDownIcon className={cx(className, 'w-4 h-4')} />+ return <ChevronUpDownIcon className={cx(className, 'h-4 w-4')} />}export default Sortdiff --git a/app/ui/icons/Spin.tsx b/app/ui/icons/Spin.tsxindex 78c624dff..d7b6dee8f 100644--- a/app/ui/icons/Spin.tsx+++ b/app/ui/icons/Spin.tsx@@ -9,7 +9,7 @@ interface ISpin {const Spin = ({ className, alwaysLight }: ISpin): JSX.Element => (<svgclassName={cx(- 'animate-spin -ml-1 mr-2 h-4 w-4 text-slate-900 dark:text-white',+ '-ml-1 mr-2 h-4 w-4 animate-spin text-slate-900 dark:text-white',{'text-slate-900 dark:text-white': !alwaysLight,'text-white': alwaysLight,diff --git a/package.json b/package.jsonindex 853a4b136..f36ca6e69 100644--- a/package.json+++ b/package.json@@ -48,6 +48,7 @@"jszip": "^3.10.1","lodash": "^4.17.21","marked": "^12.0.2",+ "prettier-plugin-tailwindcss": "^0.5.14","react": "^18.2.0","react-dom": "^18.2.0","react-flagkit": "^2.0.4",