Skip to content

Commit ddb9e2c

Browse files
committed
feat: add JetBrains as bronze sponsor
Sort sponsors alphabetically within each tier so the order is stable as new sponsors are added. JetBrains logo viewBox is padded with brand- compliant clear space so the card height matches other bronze sponsors.
1 parent c91f4af commit ddb9e2c

3 files changed

Lines changed: 24 additions & 1 deletion

File tree

public/sponsors/jetbrains.svg

Lines changed: 13 additions & 0 deletions
Loading

src/components/home/SectionSponsors.astro

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ const { lang } = Astro.props
1717
const t = texts[lang as keyof typeof texts]
1818
1919
function filterSponsorsByTier(tier: string): ISponsor[] {
20-
return sponsors.filter((s) => s.frontmatter.tier === tier).map((s) => s.frontmatter)
20+
return sponsors
21+
.filter((s) => s.frontmatter.tier === tier)
22+
.map((s) => s.frontmatter)
23+
.sort((a, b) => a.name.localeCompare(b.name))
2124
}
2225
2326
const bronze = filterSponsorsByTier('bronze')

src/data/sponsors/jetbrains.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
name: 'JetBrains'
3+
website: 'https://www.jetbrains.com/'
4+
tier: 'bronze'
5+
logobg: '#ffffff'
6+
logo: '/sponsors/jetbrains.svg'
7+
---

0 commit comments

Comments
 (0)