Skip to content

Commit 882610b

Browse files
committed
add new sponsors category
1 parent 641076d commit 882610b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/fetch-sponsors.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,14 @@ const fetchData = async (client, vars) => {
133133
.sort(sortByOrder),
134134
category: 'Bronze',
135135
},
136+
{
137+
title: 'Founding Community Partners',
138+
mod: 'logos_sm sponsors-block_lg',
139+
list: sponsorsList
140+
.filter(({ category }) => category === 'FoundingPartner')
141+
.sort(sortByOrder),
142+
category: 'FoundingPartner',
143+
},
136144
{
137145
title: 'Party Partners',
138146
mod: 'logos_sm sponsors-block_lg',

src/utils.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ function newSponsorCategoryToOld(category) {
177177
return 'TechPartner';
178178
case 'Entertainment':
179179
return 'EntertainmentPartner';
180+
case 'Founding':
181+
return 'FoundingPartner';
180182
default:
181183
return category;
182184
}

0 commit comments

Comments
 (0)