-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsponsorkit.config.ts
More file actions
54 lines (52 loc) 路 1.21 KB
/
Copy pathsponsorkit.config.ts
File metadata and controls
54 lines (52 loc) 路 1.21 KB
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
import "dotenv/config"
import { BadgePreset, defineConfig, tierPresets } from 'sponsorkit'
const past: BadgePreset = {
avatar: {
size: 20,
},
boxWidth: 22,
boxHeight: 22,
container: {
sidePadding: 35,
},
}
export default defineConfig({
mode: 'sponsors',
github: {
login: 'ArsenTech',
type: 'user',
},
outputDir: 'public/sponsors',
width: 800,
renderer: 'tiers',
formats: ['svg', 'png'],
tiers: [
{
title: 'Past Sponsors',
monthlyDollars: -1,
preset: past,
},
{
title: 'Backers',
preset: tierPresets.small,
},
{
title: 'Sponsors',
monthlyDollars: 5,
preset: {
avatar: {
size: 42,
},
boxWidth: 52,
boxHeight: 52,
container: {
sidePadding: 30,
},
}
},
{
title: 'Special Sponsor',
monthlyDollars: Infinity,
},
]
})