📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
added dark-mode picture to the 'swetrix opensource' section
Blue Mousea89637ff1f76
diff --git a/public/assets/opensource_dark.png b/public/assets/opensource_dark.pngnew file mode 100644index 000000000..ade65ed02Binary files /dev/null and b/public/assets/opensource_dark.png differdiff --git a/public/assets/openSource.png b/public/assets/opensource_light.pngsimilarity index 100%rename from public/assets/openSource.pngrename to public/assets/opensource_light.pngdiff --git a/src/pages/MainPage/NewMainPage.jsx b/src/pages/MainPage/NewMainPage.jsxindex 8656c1839..13e669f62 100644--- a/src/pages/MainPage/NewMainPage.jsx+++ b/src/pages/MainPage/NewMainPage.jsx@@ -519,7 +519,7 @@ const Main = () => {</div></section><section className='flex items-center lg:flex-row flex-col-reverse justify-between max-w-[1300px] w-full mx-auto py-20 lg:py-32 px-5'>- <img src='/assets/openSource.png' alt='Swetrix open source' />+ <img src={theme === 'dark' ? '/assets/opensource_dark.png' : '/assets/opensource_light.png'} loading='lazy' alt='Swetrix open source' /><div className='max-w-[516px] w-full lg:ml-5'><h1 className='text-[30px] md:text-[38px] text-white font-extrabold'><Trans