-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
2,842 additions
and
2,171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
; GitHub provider. | ||
; Token requires the `read:user` and `read:org` scopes. | ||
SPONSORKIT_GITHUB_TOKEN= | ||
SPONSORKIT_GITHUB_LOGIN= | ||
; Polar provider. | ||
; Token requires the `user:read`, `organizations:read`, `products:read`, `benefits:read` and `subscriptions:read` scopes. | ||
; Get your token at https://polar.sh/settings | ||
SPONSORKIT_POLAR_TOKEN= | ||
SPONSORKIT_POLAR_ORGANIZATION=cva |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,6 @@ dist | |
coverage | ||
.next | ||
.swc | ||
*.tsbuildinfo | ||
*.tsbuildinfo | ||
.env | ||
.github/static/sponsorkit/**/*.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { defineConfig, tierPresets } from "sponsorkit"; | ||
|
||
export default defineConfig({ | ||
renderer: "tiers", | ||
outputDir: ".github/static/sponsorkit", | ||
tiers: [ | ||
{ | ||
title: "Backers", | ||
preset: tierPresets.none, | ||
}, | ||
{ | ||
title: "Individual Backers", | ||
monthlyDollars: 5, | ||
preset: tierPresets.small, | ||
}, | ||
{ | ||
title: "Generous Backers", | ||
monthlyDollars: 25, | ||
preset: tierPresets.medium, | ||
}, | ||
], | ||
}); |