Skip to content

Commit 7d168f0

Browse files
committed
update sponsors automation script
1 parent 8e4286f commit 7d168f0

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

scripts/sync-sponsors.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ const README_END = '<!-- sponsors:end -->'
3535
// The ladder, highest rung first. Thresholds are monthly dollars and mirror what
3636
// the tier descriptions promise, so changing one means changing the other. A
3737
// sponsor lands in the first rung they clear, and anything under the last rung is
38-
// not listed at all. Adding a rung later — Partner, Advisory — is one entry here
39-
// and nothing else.
38+
// not listed at all. A rung with no occupants renders nothing, so an entry can
39+
// sit here before the tier has sold — which is why Partner and Advisory are
40+
// already listed.
4041
const TIERS = [
42+
{ dollars: 1000, heading: 'Advisory Sponsors', logoSize: 128 },
43+
{ dollars: 500, heading: 'Partner Sponsors', logoSize: 112 },
4144
{ dollars: 250, heading: 'Production Sponsors', logoSize: 96 },
4245
{ dollars: 50, heading: 'Sponsors', logoSize: 64 },
4346
{ dollars: 10, heading: 'Backers' }
@@ -58,8 +61,8 @@ const QUERY = `
5861
tier { monthlyPriceInDollars isOneTime }
5962
sponsorEntity {
6063
__typename
61-
... on User { login name url websiteUrl avatarUrl(size: 200) }
62-
... on Organization { login name url websiteUrl avatarUrl(size: 200) }
64+
... on User { login name url websiteUrl avatarUrl(size: 256) }
65+
... on Organization { login name url websiteUrl avatarUrl(size: 256) }
6366
}
6467
}
6568
}

0 commit comments

Comments
 (0)