Skip to content

Commit 80901ff

Browse files
committed
chore: add new sponsor
1 parent 12accb2 commit 80901ff

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

‎src/assets/sponsors/foliofyi.png‎

41.9 KB
Loading

‎src/components/Sponsors.astro‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import LogoDzeio from '../assets/sponsors/dzeio.svg'
44
import LogoCardCodex from '../assets/sponsors/card-codex.png'
55
import NinthPocket from '../assets/sponsors/ninthpocket.svg'
66
import PCC from '../assets/sponsors/pcc.svg'
7+
import Folio from '../assets/sponsors/foliofyi.png'
78
89
const sponsors: Array<{
910
name: string
@@ -17,6 +18,13 @@ const sponsors: Array<{
1718
url: 'https://dzeio.com',
1819
size: 'large'
1920
},
21+
{
22+
name: 'Folio', // foliofyi
23+
img: Folio,
24+
url: 'https://folio.fyi/',
25+
size: 'large'
26+
},
27+
2028
{
2129
name: 'Card Codex', // frinja313
2230
img: LogoCardCodex,
@@ -40,12 +48,12 @@ const sponsors: Array<{
4048

4149
<section class="mt-6 max-w-64">
4250
<p>Sponsors</p>
43-
<div class="grid 2xl:grid-cols-2 rounded-xl overflow-hidden gap-1 w-full mt-2">
51+
<div class="grid lg:grid-cols-2 rounded-xl overflow-hidden gap-1 w-full mt-2">
4452
{sponsors.map(sponsor => (
4553
<a href={sponsor.url} class:list={{'col-span-2': sponsor.size === 'large'}} target="_blank" rel="noopener">
4654
<article>
4755
{sponsor.img ? (
48-
<Image height={sponsor.size === 'large' ? 30 : 24} src={sponsor.img} style={{width: '100%'}} alt={`Logo ${sponsor.name}`}/>
56+
<Image height={sponsor.size === 'large' ? 30 : 24} src={sponsor.img} style={{ maxWidth: '100%' }} alt={`Logo ${sponsor.name}`}/>
4957
) : (
5058
<p class:list={["font-bold text-black text-center", {'text-xl w-full': sponsor.size === 'large', 'text-sm': sponsor.size !== 'large'}]}>{sponsor.name}</p>
5159
)}

0 commit comments

Comments
 (0)