📈 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
Improve lighthouse
Blue Mousea21c9ad1fd4b
diff --git a/web/app/components/Header/index.tsx b/web/app/components/Header/index.tsxindex ba351f247..95074840f 100644--- a/web/app/components/Header/index.tsx+++ b/web/app/components/Header/index.tsx@@ -722,8 +722,8 @@ const AuthedHeader = ({type='button'onClick={openMenu}className='rounded-md p-1 text-slate-700 transition-colors hover:bg-gray-400/20 hover:text-slate-600 dark:text-gray-200 dark:hover:bg-slate-700/50 dark:hover:text-gray-300'+ aria-label={t('common.openMenu')}>- <span className='sr-only'>{t('common.openMenu')}</span><ListIcon className='h-8 w-8 flex-none' aria-hidden='true' /></button></div>@@ -814,8 +814,8 @@ const NotAuthedHeader = ({type='button'onClick={openMenu}className='rounded-md p-1 text-slate-700 transition-colors hover:bg-gray-400/20 hover:text-slate-600 dark:text-gray-200 dark:hover:bg-slate-700/50 dark:hover:text-gray-300'+ aria-label={t('common.openMenu')}>- <span className='sr-only'>{t('common.openMenu')}</span><ListIcon className='h-8 w-8 flex-none' aria-hidden='true' /></button></div>@@ -901,8 +901,8 @@ const Header = ({ refPage, transparent }: HeaderProps) => {type='button'onClick={() => setMobileMenuOpen(false)}className='rounded-md p-1 text-slate-700 transition-colors hover:bg-gray-400/20 hover:text-slate-600 dark:text-gray-200 dark:hover:bg-slate-700/50 dark:hover:text-gray-300'+ aria-label={t('common.close')}>- <span className='sr-only'>{t('common.close')}</span><XIcon className='h-8 w-8 flex-none' aria-hidden='true' /></button></div>diff --git a/web/app/routes/_index.tsx b/web/app/routes/_index.tsxindex 61c02fb4e..21b960452 100644--- a/web/app/routes/_index.tsx+++ b/web/app/routes/_index.tsx@@ -101,7 +101,10 @@ export const FeedbackDual = () => {? '/assets/users/casterlabs-dark.svg': '/assets/users/casterlabs-light.svg'}- className='h-12 self-start'+ className='h-12 w-auto self-start'+ width={157}+ height={48}+ loading='lazy'/><figure className='mt-10 flex flex-auto flex-col justify-between'><blockquote className='text-lg/8 text-gray-900 dark:text-gray-100'>@@ -117,9 +120,12 @@ export const FeedbackDual = () => {</blockquote><figcaption className='mt-10 flex items-center gap-x-6'><img- alt=''+ alt='Alex Bowles'src='/assets/users/alex-casterlabs.jpg'- className='size-14 rounded-full bg-gray-50 dark:bg-gray-800'+ className='size-14 rounded-full bg-gray-50 object-cover dark:bg-gray-800'+ width={56}+ height={56}+ loading='lazy'/><div className='text-base'><div className='font-semibold text-gray-900 dark:text-gray-100'>@@ -140,7 +146,10 @@ export const FeedbackDual = () => {? '/assets/users/phalcode-dark.svg': '/assets/users/phalcode-light.svg'}- className='h-8 self-start'+ className='h-8 w-auto self-start'+ width={200}+ height={32}+ loading='lazy'/><figure className='mt-10 flex flex-auto flex-col justify-between'><blockquote className='text-lg/8 text-gray-900 dark:text-gray-100'>@@ -157,9 +166,12 @@ export const FeedbackDual = () => {</blockquote><figcaption className='mt-10 flex items-center gap-x-6'><img- alt=''+ alt='Alper Alkan'src='/assets/users/alper-phalcode.jpg'- className='size-14 rounded-full bg-gray-50 dark:bg-gray-800'+ className='size-14 rounded-full bg-gray-50 object-cover dark:bg-gray-800'+ width={56}+ height={56}+ loading='lazy'/><div className='text-base'><div className='font-semibold text-gray-900 dark:text-gray-100'>@@ -225,8 +237,10 @@ const Testimonials = ({><imgalt={name}- width='400'- height='400'+ width={48}+ height={48}+ loading='lazy'+ className='object-cover'style={{ color: 'transparent' }}src={image}/>@@ -275,9 +289,10 @@ const LiveDemoPreview = () => {? '/assets/screenshot_dark.png': '/assets/screenshot_light.png'}- className='relative w-full'- width='100%'- height='auto'+ className='relative h-auto w-full'+ width={2328}+ height={1666}+ fetchPriority='high'alt='Swetrix Analytics dashboard'/><div className='absolute inset-0 flex items-center justify-center bg-slate-900/20 opacity-100 backdrop-blur-[1px] transition-opacity duration-200'>