From 838d88bef6f1f6e02df63c62a5a53c705a2aed94 Mon Sep 17 00:00:00 2001 From: Gerson Junior <58490266+GresosJ@users.noreply.github.com> Date: Wed, 24 Jan 2024 19:06:06 +0000 Subject: [PATCH] fix: size of sponsor logos (#639) --- 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}