Fix penang sponsors+logo

This commit is contained in:
Gus Ruben 2025-08-12 19:30:00 -04:00
parent 55b07311a8
commit 20362e1461

View file

@ -1,5 +1,5 @@
<script lang="ts">
const eventName = "DayDream Penang";
const eventName = "Penang";
const eventLocation = "Penang";
const eventAddress = "Wisma Yeap Chor Ee, 37, Gat Lebuh China, Georgetown, 10200 George Town, Penang";
const directionsURL = "https://www.google.com/maps/place/PSC@Heritage+(Penang+Science+Cluster)/@5.4153623,100.3397381,17z/data=!3m1!4b1!4m6!3m5!1s0x304ac38e9e1ad7e9:0xdb5c3a2cdee5013c!8m2!3d5.415357!4d100.342313!16s%2Fg%2F11clvx6mkl?entry=ttu&g_ep=EgoyMDI1MDgwNi4wIKXMDSoASAFQAw%3D%3D"
@ -814,7 +814,7 @@ Mumbai`.split("\n")
>
September 27th 2025
</h2>
<img src="./daydream.svg" alt="Daydream" class="h-40 mb-6 w-auto object-contain max-w-full px-4" />
<img src="./penang/daydream.svg" alt="Daydream" class="h-40 mb-6 w-auto object-contain max-w-full px-4" />
<a href="https://hackclub.com" class="absolute top-0 -right-6 max-sm:right-0 max-sm:scale-80 animate-hover ![animation-delay:0.9s] ![--hover:-0.2rem]">
<img src="flag-plane.png" alt="Hack Club" class="h-28">
</a>
@ -1049,7 +1049,7 @@ Mumbai`.split("\n")
{:else}
<!-- Single row for 4 or fewer sponsors -->
<div class="flex justify-center">
<div class="grid gap-8 items-center justify-items-center max-w-4xl {sponsors.length === 1 ? 'grid-cols-1' : sponsors.length === 2 ? 'grid-cols-1 md:grid-cols-2' : sponsors.length === 3 ? 'grid-cols-2 md:grid-cols-3' : 'grid-cols-2 md:grid-cols-4'}">
<div class="grid gap-8 w-full items-center justify-items-center max-w-4xl {sponsors.length === 1 ? 'grid-cols-1' : sponsors.length === 2 ? 'grid-cols-1 md:grid-cols-2' : sponsors.length === 3 ? 'grid-cols-2 md:grid-cols-3' : 'grid-cols-2 md:grid-cols-4'}">
{#each sponsors as sponsor}
<a href={sponsor.url} class="bg-white/20 rounded-lg p-4 w-full h-20 flex items-center justify-center hover:bg-white/40 transition-colors" target="_blank" rel="noopener noreferrer">
<img src={sponsor.image} alt={sponsor.name} class="max-w-full max-h-full object-contain">