-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsponsorkit.config.ts
64 lines (62 loc) · 1.32 KB
/
sponsorkit.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import { defineConfig, presets } from 'sponsorkit'
import { genSpecialSponsorShips, specialMonthlyDollars } from './specialSponsors'
export default defineConfig({
tiers: [
{
title: 'Past Sponsors',
monthlyDollars: -1,
preset: {
avatar: {
size: 20,
},
boxWidth: 22,
boxHeight: 22,
container: {
sidePadding: 35,
},
},
},
{
title: 'Backers',
preset: presets.small,
},
{
title: 'Sponsors',
monthlyDollars: 5,
preset: {
avatar: {
size: 42,
},
boxWidth: 52,
boxHeight: 52,
container: {
sidePadding: 30,
},
},
},
// Sponsors who support this project on a long-term basis through a one-time sponsorship
{
title: 'Special Sponsor',
// sort only
monthlyDollars: specialMonthlyDollars,
},
{
title: 'Silver Sponsors',
monthlyDollars: 25,
preset: presets.medium,
},
{
title: 'Gold Sponsors',
monthlyDollars: 50,
preset: presets.large,
},
{
title: 'Platinum Sponsors',
monthlyDollars: 200,
preset: presets.xl,
},
],
async onSponsorsReady(allSponsorShips) {
return [...allSponsorShips, ...await genSpecialSponsorShips()]
}
})