Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

explicitly setting width/height for images

Blue Mouse94434d2c5601
diff --git a/src/components/Footer/index.jsx b/src/components/Footer/index.jsx
index 963884a61..b966f4d30 100644
--- a/src/components/Footer/index.jsx
+++ b/src/components/Footer/index.jsx
@@ -83,7 +83,7 @@ const Footer = ({ minimal, authenticated }) => {
<div className='w-11/12 mx-auto py-8 px-4 sm:px-6 lg:px-8'>
<div className='xl:grid xl:grid-cols-3 xl:gap-8'>
<div className='space-y-8 xl:col-span-1'>
- <img className='h-10' src='/assets/logo_white.png' height='40' alt='Swetrix Analytics' />
+ <img className='h-10 w-28' src='/assets/logo_white.png' height='40' width='112' alt='Swetrix Analytics' />
<p className='text-gray-300 text-base'>
The best apps need the best services.<br />
Swetrix is a powerful analytics platform that respects user privacy.
diff --git a/src/components/Header/index.jsx b/src/components/Header/index.jsx
index cfcc85996..8b4054aa4 100644
--- a/src/components/Header/index.jsx
+++ b/src/components/Header/index.jsx
@@ -20,7 +20,7 @@ const Header = ({ authenticated }) => {
<div className='flex items-center'>
<Link to={routes.main}>
<span className='sr-only'>Swetrix</span>
- <img className='h-10 w-28' src='/assets/logo_white.png' height='40' w alt='' />
+ <img className='h-10 w-28' src='/assets/logo_white.png' height='40' width='112' alt='' />
</Link>
<div className='hidden ml-10 space-x-1 lg:block'>
<NavLink to={routes.features} className='text-base select-none font-medium text-white hover:text-indigo-50 py-2 px-3 hover:bg-indigo-500 rounded-md' activeClassName='bg-indigo-700 hover:bg-indigo-700' key='Features'>Features</NavLink>