mirror of
https://github.com/rrousselGit/freezed.git
synced 2025-08-06 15:11:55 +08:00
39 lines
871 B
TypeScript
39 lines
871 B
TypeScript
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
import { defineConfig, presets } from "sponsorkit";
|
|
|
|
export default defineConfig({
|
|
github: {
|
|
login: "rrousselGit",
|
|
},
|
|
tiers: [
|
|
{
|
|
title: "Backers",
|
|
// to replace the entire tier rendering
|
|
// compose: (composer, tierSponsors, config) => {
|
|
// composer.addRaw(
|
|
// '<-- custom svg -->',
|
|
// )
|
|
// },
|
|
},
|
|
{
|
|
title: "Sponsors",
|
|
monthlyDollars: 24,
|
|
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,
|
|
},
|
|
],
|
|
});
|