-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsponsor.config.ts
43 lines (42 loc) · 984 Bytes
/
sponsor.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
import { defineConfig, presets } from '@simon_he/sponsorkit'
import { customGithubUser } from './sponsors'
export default defineConfig({
// includePrivate: true,
type: 'all',
tiers: [
{
title: 'Past Sponsors',
monthlyDollars: -1,
preset: presets.xs,
},
{
title: 'Backers',
// to replace the entire tier rendering
// compose: (composer, tierSponsors, config) => {
// composer.addRaw(
// '<-- custom svg -->',
// )
// },
},
{
title: 'Sponsors',
monthlyDollars: 10,
preset: presets.medium,
// to insert custom elements after the tier block
composeAfter: (composer, _tierSponsors, _config) => {
composer.addSpan(10)
},
},
{
title: 'Silver Sponsors',
monthlyDollars: 50,
preset: presets.large,
},
{
title: 'Gold Sponsors',
monthlyDollars: 100,
preset: presets.xl,
},
],
customGithubUser
})