From ca18e4e9582081f60dc6c6f39bb2c15e9441659e Mon Sep 17 00:00:00 2001 From: Gerson Junior Date: Wed, 24 Jan 2024 18:51:36 +0000 Subject: [PATCH] fix: size of sponsor logos --- layout/Home/components/Sponsors/index.jsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/layout/Home/components/Sponsors/index.jsx b/layout/Home/components/Sponsors/index.jsx index df1b27a3..b7ffa9af 100644 --- a/layout/Home/components/Sponsors/index.jsx +++ b/layout/Home/components/Sponsors/index.jsx @@ -54,12 +54,19 @@ export default function Sponsors(props) {

{elem.map((sponsor, i) => { + const imageSize = !val + ? { width: 250, height: 60 } + : key == 0 + ? { width: 200, height: 60 } + : { width: 175, height: 60 }; + + return ( {sponsor.image}