From cbc7a1699e045b7511b7d48528d01426849416c6 Mon Sep 17 00:00:00 2001 From: Osama Jandali Date: Sun, 28 Jul 2024 16:35:12 +0300 Subject: [PATCH] Fix hosts logos --- src/data/regional-events.json | 8 ++++---- src/pages/index.astro | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/data/regional-events.json b/src/data/regional-events.json index 1e208a5..5a455d4 100644 --- a/src/data/regional-events.json +++ b/src/data/regional-events.json @@ -14,7 +14,7 @@ { "name": "UBS", "logo": "/hosts/ubs.svg", - "class":"h-14" + "height": "3.5rem" } ] }, @@ -29,7 +29,7 @@ { "name": "NTT Data", "logo": "/hosts/ntt-data.svg", - "class": "h-8" + "height": "2rem" }, { "name": "Microsoft", @@ -130,7 +130,7 @@ { "name": "IIM Mumbai", "logo": "/hosts/iim-mumbai.png", - "class": "w-24" + "height": "5rem" } ] }, @@ -227,7 +227,7 @@ { "name": "NTT Data", "logo": "/hosts/ntt-data.svg", - "class": "h-8" + "height": "2rem" } ] } diff --git a/src/pages/index.astro b/src/pages/index.astro index ce32ce8..0f79d7e 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -18,7 +18,7 @@ const hosts = regionalEventsData .map((organizer) => ({ logo: organizer.logo, name: organizer.name, - class: organizer.class, + height: organizer.height, })) .sort((a, b) => a.name.localeCompare(b.name)); --- @@ -208,7 +208,8 @@ const hosts = regionalEventsData hosts.map((host) => (
{host.name}