Skip to content

Commit a172498

Browse files
Added sponsor list generator
* feat: add sponsor list generator; * feat: added deploy action; * fix: fixed layout; * fix: use utm links inside tooltips; * fix(CI): set engine version; * chore: reverted the start button title change; * fix: add the ability to retry the request to get a list of sponsors;
1 parent 871ece2 commit a172498

27 files changed

+1788
-1779
lines changed

.github/workflows/netlify-build.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Trigger Netlify Build
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
# Run at 0000 daily
6+
- cron: '0 0 * * *'
7+
jobs:
8+
build:
9+
name: Request Netlify Webhook
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Curl request
13+
run: curl -X POST -d {} ${{ secrets.NETLIFY_DEPLOY_WEBHOOK }}

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
node_modules
22
.DS_Store
33
public/
4+
temp/
5+
assets/sponsors/opencollective
46
*.css
57
*.css.map
68
# Local Netlify folder
7-
.netlify
9+
.netlify

.node-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v16

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v16

assets/icons/social/facebook.png

889 Bytes
Loading

assets/icons/social/github.png

2.58 KB
Loading

assets/icons/social/instagram.png

2.63 KB
Loading

assets/icons/social/reddit.png

1.78 KB
Loading

assets/icons/social/tiktok.png

974 Bytes
Loading

assets/icons/social/twitter.png

2.08 KB
Loading

assets/icons/social/website.png

2.79 KB
Loading

assets/icons/social/youtube.png

657 Bytes
Loading

assets/style/index.css

-253
This file was deleted.

assets/style/variables.css

-41
This file was deleted.

data/sponsors.json

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"totalAmountDonatedThreshold": 100,
3+
"monthlyContributionThreshold": 10,
4+
"disappearCredit": 10,
5+
"scoreTierPriceFactor": 0.5,
6+
"scoreTotalAmountFactor": 0.2,
7+
"tiers": {
8+
"$49 a month": {
9+
"price": 49,
10+
"benefits": {
11+
"showAtSponsorList": true
12+
}
13+
},
14+
"$99 a month" : {
15+
"price": 99,
16+
"benefits": {
17+
"showAtSponsorList": true,
18+
"showAtPages": true
19+
}
20+
}
21+
},
22+
"sponsors": {
23+
"serp_api": {
24+
"image": "/assets/sponsors/serpapi.png",
25+
"showCaption": false
26+
},
27+
"casinoreviews": {
28+
"image": "/assets/sponsors/casinoreviews.png"
29+
},
30+
"github-sponsors": {
31+
"hide": true
32+
},
33+
"intra-mart": {
34+
"showCaption": false
35+
}
36+
}
37+
}

en.lang.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ module.exports = {
3434
"Website Copy Right Footer": undefined,
3535
"View On Github": undefined,
3636
"Axios Project Copy Right Footer": undefined,
37-
"License Label Footer": undefined
37+
"License Label Footer": undefined,
38+
"Sponsors": undefined,
39+
"Become a sponsor": undefined
3840
},
3941
sidebar: [
4042
{

0 commit comments

Comments
 (0)