add ethrome

This commit is contained in:
tree🌴 2023-04-28 12:21:30 +02:00
parent 893e90e82c
commit 72c41b520f
3 changed files with 13 additions and 1 deletions

View file

@ -186,6 +186,13 @@ partners:
web: https://ethbrno.cz web: https://ethbrno.cz
img: ethbrno.svg img: ethbrno.svg
twitter: ETHBrno twitter: ETHBrno
padding: 2
- id: ethrome
name: ETHRome
web: https://ethrome.org
img: ethrome.svg
twitter: ethereumrome
padding: 4
hosts: hosts:
- mykola - mykola
- tree - tree

View file

@ -68,7 +68,7 @@
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 gap-4 mb-12"> <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 gap-4 mb-12">
{#each data.config.partners as partner} {#each data.config.partners as partner}
<div class="partner-item text-center uppercase hover:lowercase items-center p-4" on:mouseenter={animateSection(40)}> <div class="partner-item text-center uppercase hover:lowercase items-center p-4" on:mouseenter={animateSection(40)}>
<div><a href={partner.web}><img src="/partners/{partner.img}" class="partner-img aspect-[16/11] w-full h-full object-contain" /></a></div> <div><a href={partner.web}><img src="/partners/{partner.img}" class="partner-img aspect-[16/11] w-full h-full object-contain {partner.padding ? `p-${partner.padding}` : ''}" /></a></div>
<div class="p-2 partner-text"> <div class="p-2 partner-text">
<div><a href={partner.web} class="font-mono2 animate-section">{partner.name}</a></div> <div><a href={partner.web} class="font-mono2 animate-section">{partner.name}</a></div>
<div><a href="https://twitter.com/{partner.twitter}" class="text-sm">@{partner.twitter}</a></div> <div><a href="https://twitter.com/{partner.twitter}" class="text-sm">@{partner.twitter}</a></div>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.8 KiB