Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Sets up sponsors to query from the GitHub graphql endpoint

Paul Copplestonec473a35d0202
diff --git a/web/package-lock.json b/web/package-lock.json
index 5a4af3abd99..1166a6ec789 100644
--- a/web/package-lock.json
+++ b/web/package-lock.json
@@ -21,6 +21,7 @@
"axios": "^0.21.1",
"babel-plugin-css-modules-transform": "^1.6.2",
"clsx": "^1.1.1",
+ "dotenv": "^10.0.0",
"js-yaml": "^3.14.0",
"minimist": "^1.2.5",
"ts-node": "^9.0.0",
@@ -5852,6 +5853,15 @@
"node": ">=8"
}
},
+ "node_modules/dotenv": {
+ "version": "10.0.0",
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz",
+ "integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ }
+ },
"node_modules/duplexer": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz",
@@ -22579,6 +22589,12 @@
"is-obj": "^2.0.0"
}
},
+ "dotenv": {
+ "version": "10.0.0",
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz",
+ "integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==",
+ "dev": true
+ },
"duplexer": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz",
diff --git a/web/package.json b/web/package.json
index 4bee66a86ef..ce47953e32d 100644
--- a/web/package.json
+++ b/web/package.json
@@ -41,6 +41,7 @@
"axios": "^0.21.1",
"babel-plugin-css-modules-transform": "^1.6.2",
"clsx": "^1.1.1",
+ "dotenv": "^10.0.0",
"js-yaml": "^3.14.0",
"minimist": "^1.2.5",
"ts-node": "^9.0.0",
diff --git a/web/sponsors.js b/web/sponsors.js
new file mode 100644
index 00000000000..385612ed914
--- /dev/null
+++ b/web/sponsors.js
@@ -0,0 +1,71 @@
+require('dotenv').config()
+var axios = require('axios')
+var fs = require('fs')
+
+const query = `
+query BIO_QUERY($username: String!) {
+ organization(login: $username) {
+ id
+ sponsorshipsAsMaintainer(first: 100) {
+ totalCount
+ nodes {
+ createdAt
+ privacyLevel
+ tier {
+ name
+ }
+ sponsor {
+ login
+ }
+ }
+ }
+ }
+}
+`
+
+const fetchAllSponsors = async () => {
+ const { data } = await axios.post(
+ `https://api.github.com/graphql`,
+ {
+ query,
+ variables: {
+ username: 'supabase',
+ },
+ },
+ {
+ headers: {
+ 'Content-Type': 'application/json',
+ Authorization: `token ${process.env.GITHUB_SPONSORS_TOKEN}`,
+ },
+ }
+ )
+ return data.data.organization.sponsorshipsAsMaintainer
+}
+
+const formatResults = (graphqlResponse) => {
+ return graphqlResponse.nodes
+ .filter((x) => !!x.sponsor)
+ .map((x) => ({
+ tier: x.tier.name,
+ sponsor: x.sponsor.login,
+ }))
+}
+
+const writeFile = (data) => {
+ fs.writeFile(
+ './src/data/sponsors.json',
+ JSON.stringify(data, null, 2),
+ 'utf8',
+ function (err) {
+ if (err) throw err
+ console.log('sponsors.json saved.')
+ }
+ )
+}
+
+const main = async () => {
+ const sponsorsResponse = await fetchAllSponsors()
+ const formatted = formatResults(sponsorsResponse)
+ writeFile(formatted)
+}
+main()
diff --git a/web/src/data/sponsors.json b/web/src/data/sponsors.json
index 7cf683f3ea4..5b5a619f4c7 100644
--- a/web/src/data/sponsors.json
+++ b/web/src/data/sponsors.json
@@ -1,641 +1,182 @@
[
{
- "sponsor_handle": "sleepypikachu",
- "sponsor_profile_name": "Elliot",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-05-27T17:06:42.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "prashantpawar",
- "sponsor_profile_name": "Prashant Singh Pawar",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-05-27T18:58:54.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "sebastianbachmann",
- "sponsor_profile_name": "Sebastian Bachmann",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-05-27T19:27:21.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IK68eEQsq43iHhXqVHfPLUP",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-02-13T02:13:16.000+08:00"
- },
- {
- "transaction_id": "ch_1IJD2JEQsq43iHhXR6DSwLW3",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-02-10T15:23:01.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "arnaudbonzom",
- "sponsor_profile_name": "Arnaud Bonzom",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-05-27T20:38:34.000+08:00",
- "is_public": false,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "reverie",
- "sponsor_profile_name": "Andrew Badr",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-05-27T23:07:56.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "saphp",
- "sponsor_profile_name": "Saleh Almatrafi",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-05-28T12:57:15.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "Cmarenburg",
- "sponsor_profile_name": "Colin Arenburg",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-06-01T18:23:00.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "Aaron-A",
- "sponsor_profile_name": "Aaron",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-06-01T19:58:42.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IIHw9EQsq43iHhXWinCozGk",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-02-08T02:24:54.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "gabrielpires",
- "sponsor_profile_name": "Gabriel Pires",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-06-06T18:20:23.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "Julianwan",
- "sponsor_profile_name": "Julian Wan",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-06-16T03:30:05.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "2WG586875J4914044",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-02-16T02:31:05.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "affluent-bilby-classifieds",
- "sponsor_profile_name": null,
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-06-22T19:09:58.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "KoreyPeters",
- "sponsor_profile_name": "Korey Peters",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-07-03T05:23:58.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IGTluEQsq43iHhXghflEAXV",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-02-03T02:38:50.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "patrickxchong",
- "sponsor_profile_name": "Patrick Chong",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-07-05T22:59:43.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "gregdenson",
- "sponsor_profile_name": null,
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-07-18T01:44:44.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "StephaneP",
- "sponsor_profile_name": "Stephane Leandre Paul",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-08-07T21:43:49.000+08:00",
- "is_public": true,
- "is_yearly": true,
- "transactions": []
- },
- {
- "sponsor_handle": "thorwebdev",
- "sponsor_profile_name": "Thor 雷神 Schaeff",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-08-08T02:08:34.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "briannekimmel",
- "sponsor_profile_name": null,
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-08-11T01:25:23.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "Idered",
- "sponsor_profile_name": "Kasper Mikiewicz",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-08-19T04:03:03.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "singareddynm",
- "sponsor_profile_name": null,
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-08-25T14:55:22.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "zlwaterfield",
- "sponsor_profile_name": "Zach Waterfield",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-08-28T22:39:16.000+08:00",
- "is_public": true,
- "is_yearly": true,
- "transactions": []
- },
- {
- "sponsor_handle": "tpberntsen",
- "sponsor_profile_name": "Thomas Peter Berntsen",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-10-16T16:05:31.000+08:00",
- "is_public": true,
- "is_yearly": true,
- "transactions": []
- },
- {
- "sponsor_handle": "harrisi",
- "sponsor_profile_name": "Ian Harris",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-10-21T12:04:49.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "CodeByCorey",
- "sponsor_profile_name": "Corey O'Donnell",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-11-18T04:32:48.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "deanpress",
- "sponsor_profile_name": "Dean van Dugteren",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-11-19T02:12:34.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "kopi-cloud",
- "sponsor_profile_name": null,
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-11-26T12:51:03.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "jvieirar",
- "sponsor_profile_name": "Juan Vieira",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-12-01T13:22:27.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "tmm",
- "sponsor_profile_name": "Tom Meagher",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-12-04T13:40:45.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "gregaltuna",
- "sponsor_profile_name": "Greg Altuna",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-12-05T01:50:46.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IHCMoEQsq43iHhXx3yIDfwx",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-02-05T02:15:55.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "lIIIIIIIIIIIIIIIIIIIII",
- "sponsor_profile_name": null,
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-12-06T07:48:00.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "74U75508XD131542P",
- "tier_name": "$19 a month",
- "tier_monthly_amount": "$19.00",
- "processed_amount": "$19.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-02-06T02:16:23.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "peachp",
- "sponsor_profile_name": "Waldemar",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-12-07T00:07:37.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IHvGHEQsq43iHhXu6LzNJEV",
- "tier_name": "$19 a month",
- "tier_monthly_amount": "$19.00",
- "processed_amount": "$19.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-02-07T02:12:11.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "guido4000",
- "sponsor_profile_name": "Guido",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-12-08T04:17:27.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "calendee",
- "sponsor_profile_name": "Justin Noel",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-12-09T03:46:00.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IHZSCEQsq43iHhXGEY4toH6",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-02-06T02:55:00.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "lexifdev",
- "sponsor_profile_name": "sl kim",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-12-14T23:06:43.000+08:00",
- "is_public": true,
- "is_yearly": true,
- "transactions": []
- },
- {
- "sponsor_handle": "tacowaco",
- "sponsor_profile_name": null,
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-12-16T16:17:12.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "dshukertjr",
- "sponsor_profile_name": "Tyler",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-12-29T10:50:15.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "killshot13",
- "sponsor_profile_name": "Michael R.",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2021-01-01T15:06:41.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "georgedalai",
- "sponsor_profile_name": null,
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-01-03T18:13:16.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "83M10465R1047023R",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-02-04T03:00:20.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "emschwartz",
- "sponsor_profile_name": "Evan Schwartz",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-01-03T23:44:19.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "8JY63239BU234533F",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-02-05T02:54:30.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "ricdex",
- "sponsor_profile_name": "Ricardo Avila",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2021-01-05T04:28:01.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IHCYPEQsq43iHhX6OliBTTA",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-02-05T02:27:58.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "danalloway",
- "sponsor_profile_name": "Dan Alloway",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-01-05T11:49:11.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "7XC149329V6287225",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-02-05T02:10:56.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "gohappylabs",
- "sponsor_profile_name": "goHappy Labs",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2021-01-05T11:49:49.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "stopyellingatme",
- "sponsor_profile_name": "Taylor King",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-01-13T23:47:20.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IKSijEQsq43iHhXfwEiwjtu",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-02-14T02:20:01.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "jwanner83",
- "sponsor_profile_name": "Jonas Wanner",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-01-19T19:33:04.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IHCc7EQsq43iHhXGEyyKbak",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-02-05T02:31:43.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "EvonuX",
- "sponsor_profile_name": "Djordje Stevanovic",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-01-23T06:16:44.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "elijificent",
- "sponsor_profile_name": null,
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-01-27T16:49:23.000+08:00",
- "is_public": false,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "hype08",
- "sponsor_profile_name": "Henry",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-01-30T16:46:31.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "bookofdom",
- "sponsor_profile_name": "Dominic Luciano",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2021-02-05T03:55:01.000+08:00",
- "is_public": true,
- "is_yearly": true,
- "transactions": [
- {
- "transaction_id": "ch_1IHDuuEQsq43iHhXNwitNnUb",
- "tier_name": "$19 a month",
- "tier_monthly_amount": "$19.00",
- "processed_amount": "$96.82",
- "is_prorated": true,
- "status": "settled",
- "transaction_date": "2021-02-05T03:55:15.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "dsernst",
- "sponsor_profile_name": "David Ernst",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-02-10T03:32:47.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "71992373LA592170D",
- "tier_name": "$19 a month",
- "tier_monthly_amount": "$19.00",
- "processed_amount": "$19.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-02-10T03:32:58.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "gabrielmip",
- "sponsor_profile_name": "Gabriel Pedrosa",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2021-02-15T08:49:36.000+08:00",
- "is_public": true,
- "is_yearly": true,
- "transactions": [
- {
- "transaction_id": "04F81079FC483611D",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$60.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-02-15T08:49:46.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "Brotakuu",
- "sponsor_profile_name": "Brotaku",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-02-16T05:21:43.000+08:00",
- "is_public": false,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "6PU95874S0445412S",
- "tier_name": "$19 a month",
- "tier_monthly_amount": "$19.00",
- "processed_amount": "$19.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-02-16T05:21:54.000+08:00"
- }
- ]
+ "tier": "$19 a month",
+ "sponsor": "dshukertjr"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "calendee"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "kylewelsby"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "ricdex"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "lexifdev"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "tacowaco"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "kachar"
+ },
+ {
+ "tier": "$19 a month",
+ "sponsor": "tpberntsen"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "AndersGerner"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "stopyellingatme"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "danalloway"
+ },
+ {
+ "tier": "$19 a month",
+ "sponsor": "bookofdom"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "juzhiyuan"
+ },
+ {
+ "tier": "$19 a month",
+ "sponsor": "Alileus"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "gregaltuna"
+ },
+ {
+ "tier": "$19 a month",
+ "sponsor": "mkiisoft"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "emschwartz"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "ctwhome"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "alienzz"
+ },
+ {
+ "tier": "$19 a month",
+ "sponsor": "dsernst"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "zlwaterfield"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "Aaron-A"
+ },
+ {
+ "tier": "$49 a month",
+ "sponsor": "tmm"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "gabrielmip"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "zoutiyx"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "adammoyle"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "EvonuX"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "KoreyPeters"
+ },
+ {
+ "tier": "$19 a month",
+ "sponsor": "fefurst"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "sebastianbachmann"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "jvieirar"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "CmplxStack"
+ },
+ {
+ "tier": "$19 a month",
+ "sponsor": "Kunstderfug"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "ConorEB"
+ },
+ {
+ "tier": "$19 a month",
+ "sponsor": "hype08"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "jwanner83"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "affluent-bilby-classifieds"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "Lucostus"
+ },
+ {
+ "tier": "$19 a month",
+ "sponsor": "peachp"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "killshot13"
+ },
+ {
+ "tier": "$19 a month",
+ "sponsor": "lIIIIIIIIIIIIIIIIIIIII"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "hugodemelo"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "georgedalai"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "gregdenson"
+ },
+ {
+ "tier": "$5 a month",
+ "sponsor": "i-infra"
}
-]
+]
\ No newline at end of file
diff --git a/web/src/data/sponsorsPreviousMonth.json b/web/src/data/sponsorsPreviousMonth.json
deleted file mode 100644
index 6e47ef736b7..00000000000
--- a/web/src/data/sponsorsPreviousMonth.json
+++ /dev/null
@@ -1,806 +0,0 @@
-[
- {
- "sponsor_handle": "sleepypikachu",
- "sponsor_profile_name": "Elliot",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-05-27T17:06:42.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "prashantpawar",
- "sponsor_profile_name": "Prashant Singh Pawar",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-05-27T18:58:54.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "sebastianbachmann",
- "sponsor_profile_name": "Sebastian Bachmann",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-05-27T19:27:21.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "arnaudbonzom",
- "sponsor_profile_name": "Arnaud Bonzom",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-05-27T20:38:34.000+08:00",
- "is_public": false,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "reverie",
- "sponsor_profile_name": "Andrew Badr",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-05-27T23:07:56.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "saphp",
- "sponsor_profile_name": "Saleh Almatrafi",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-05-28T12:57:15.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "Cmarenburg",
- "sponsor_profile_name": "Colin Arenburg",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-06-01T18:23:00.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "Aaron-A",
- "sponsor_profile_name": "Aaron",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-06-01T19:58:42.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1I73BnEQsq43iHhXk4DyMpwE",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-08T02:26:36.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "gabrielpires",
- "sponsor_profile_name": "Gabriel Pires",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-06-06T18:20:23.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "Julianwan",
- "sponsor_profile_name": "Julian Wan",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-06-16T03:30:05.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "0XR035377V1609144",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-19T20:46:48.000+08:00"
- },
- {
- "transaction_id": "ch_1I9x22EQsq43iHhXjeWPkSs3",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "processor_declined",
- "transaction_date": "2021-01-16T02:28:30.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "affluent-bilby-classifieds",
- "sponsor_profile_name": null,
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-06-22T19:09:58.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1ICURFEQsq43iHhXfn0Jrag2",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-23T02:33:01.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "KoreyPeters",
- "sponsor_profile_name": "Korey Peters",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-07-03T05:23:58.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1I5ExUEQsq43iHhXYXxwfm4D",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-03T02:36:20.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "patrickxchong",
- "sponsor_profile_name": "Patrick Chong",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-07-05T22:59:43.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "gregdenson",
- "sponsor_profile_name": null,
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-07-18T01:44:44.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "83974223F40803450",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-18T02:10:08.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "StephaneP",
- "sponsor_profile_name": "Stephane Leandre Paul",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-08-07T21:43:49.000+08:00",
- "is_public": true,
- "is_yearly": true,
- "transactions": []
- },
- {
- "sponsor_handle": "thorwebdev",
- "sponsor_profile_name": "Thor 雷神 Schaeff",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-08-08T02:08:34.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "briannekimmel",
- "sponsor_profile_name": null,
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-08-11T01:25:23.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IDCtREQsq43iHhXp7BWPLkg",
- "tier_name": "$49 a month",
- "tier_monthly_amount": "$49.00",
- "processed_amount": "$49.00",
- "is_prorated": false,
- "status": "processor_declined",
- "transaction_date": "2021-01-25T02:01:06.000+08:00"
- },
- {
- "transaction_id": "ch_1IAfaHEQsq43iHhXaNITEt2h",
- "tier_name": "$49 a month",
- "tier_monthly_amount": "$49.00",
- "processed_amount": "$49.00",
- "is_prorated": false,
- "status": "processor_declined",
- "transaction_date": "2021-01-18T02:02:49.000+08:00"
- },
- {
- "transaction_id": "ch_1I88vqEQsq43iHhXKNEcdZJl",
- "tier_name": "$49 a month",
- "tier_monthly_amount": "$49.00",
- "processed_amount": "$49.00",
- "is_prorated": false,
- "status": "processor_declined",
- "transaction_date": "2021-01-11T02:46:39.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "Idered",
- "sponsor_profile_name": "Kasper Mikiewicz",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-08-19T04:03:03.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IB27REQsq43iHhXACEPfUmJ",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-19T02:06:32.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "singareddynm",
- "sponsor_profile_name": null,
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-08-25T14:55:22.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IDDKGEQsq43iHhX8kxtLXr3",
- "tier_name": "$19 a month",
- "tier_monthly_amount": "$19.00",
- "processed_amount": "$19.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-25T02:28:48.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "zlwaterfield",
- "sponsor_profile_name": "Zach Waterfield",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-08-28T22:39:16.000+08:00",
- "is_public": true,
- "is_yearly": true,
- "transactions": []
- },
- {
- "sponsor_handle": "tpberntsen",
- "sponsor_profile_name": "Thomas Peter Berntsen",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-10-16T16:05:31.000+08:00",
- "is_public": true,
- "is_yearly": true,
- "transactions": []
- },
- {
- "sponsor_handle": "harrisi",
- "sponsor_profile_name": "Ian Harris",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-10-21T12:04:49.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IFP17EQsq43iHhXR9hBgrO1",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-31T03:22:06.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "CodeByCorey",
- "sponsor_profile_name": "Corey O'Donnell",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-11-18T04:32:48.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IAg7SEQsq43iHhX6tFa9i1C",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-18T02:37:06.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "deanpress",
- "sponsor_profile_name": "Dean van Dugteren",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-11-19T02:12:34.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "2UT47376FD455223D",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-19T02:42:54.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "kopi-cloud",
- "sponsor_profile_name": null,
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-11-26T12:51:03.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "jvieirar",
- "sponsor_profile_name": "Juan Vieira",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-12-01T13:22:27.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "1T854615DP1431849",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-31T03:45:08.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "tmm",
- "sponsor_profile_name": "Tom Meagher",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-12-04T13:40:45.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1ICqzqEQsq43iHhXO8kSysJB",
- "tier_name": "$49 a month",
- "tier_monthly_amount": "$49.00",
- "processed_amount": "$49.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-24T02:38:15.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "gregaltuna",
- "sponsor_profile_name": "Greg Altuna",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-12-05T01:50:46.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1I5xeKEQsq43iHhXyhCRVgog",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-05T02:19:32.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "lIIIIIIIIIIIIIIIIIIIII",
- "sponsor_profile_name": null,
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-12-06T07:48:00.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "1BJ63588522967438",
- "tier_name": "$19 a month",
- "tier_monthly_amount": "$19.00",
- "processed_amount": "$19.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-06T02:16:49.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "peachp",
- "sponsor_profile_name": "Waldemar",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-12-07T00:07:37.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1I6gXaEQsq43iHhXfoZYVakU",
- "tier_name": "$19 a month",
- "tier_monthly_amount": "$19.00",
- "processed_amount": "$19.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-07T02:15:33.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "guido4000",
- "sponsor_profile_name": "Guido",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-12-08T04:17:27.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "calendee",
- "sponsor_profile_name": "Justin Noel",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-12-09T03:46:00.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1I6KfHEQsq43iHhXMCxLkWZi",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-06T02:54:02.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "lexifdev",
- "sponsor_profile_name": "sl kim",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2020-12-14T23:06:43.000+08:00",
- "is_public": true,
- "is_yearly": true,
- "transactions": []
- },
- {
- "sponsor_handle": "tacowaco",
- "sponsor_profile_name": null,
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-12-16T16:17:12.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "8DJ75851H3733583S",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-17T02:45:41.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "dshukertjr",
- "sponsor_profile_name": "Tyler",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2020-12-29T10:50:15.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IEfyEEQsq43iHhXbA6WZ5Li",
- "tier_name": "$19 a month",
- "tier_monthly_amount": "$19.00",
- "processed_amount": "$19.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-29T03:16:08.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "killshot13",
- "sponsor_profile_name": "Michael R.",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2021-01-01T15:06:41.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "2D680055SF450970T",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-30T02:38:55.000+08:00"
- },
- {
- "transaction_id": "89837496D7189294Y",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$4.68",
- "is_prorated": true,
- "status": "settled",
- "transaction_date": "2021-01-01T15:06:52.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "georgedalai",
- "sponsor_profile_name": null,
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-01-03T18:13:16.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "6HS12818CK944954C",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-03T18:13:27.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "emschwartz",
- "sponsor_profile_name": "Evan Schwartz",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-01-03T23:44:19.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "3CF615228K257884B",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-05T02:51:53.000+08:00"
- },
- {
- "transaction_id": "22U43273R4514970H",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": true,
- "status": "settled",
- "transaction_date": "2021-01-03T23:44:30.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "ricdex",
- "sponsor_profile_name": "Ricardo Avila",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2021-01-05T04:28:01.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1I5zeqEQsq43iHhXY5oUDgfY",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-05T04:28:13.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "danalloway",
- "sponsor_profile_name": "Dan Alloway",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-01-05T11:49:11.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "88467465TA388912B",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-05T11:49:23.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "gohappylabs",
- "sponsor_profile_name": "goHappy Labs",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2021-01-05T11:49:49.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IBOiWEQsq43iHhXWvxWACwA",
- "tier_name": "$19 a month",
- "tier_monthly_amount": "$19.00",
- "processed_amount": "$19.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-20T02:14:21.000+08:00"
- },
- {
- "transaction_id": "ch_1I66YOEQsq43iHhXm8f3Tu3C",
- "tier_name": "$19 a month",
- "tier_monthly_amount": "$19.00",
- "processed_amount": "$19.00",
- "is_prorated": true,
- "status": "settled",
- "transaction_date": "2021-01-05T11:50:02.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "stopyellingatme",
- "sponsor_profile_name": "Taylor King",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-01-13T23:47:20.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1I9BZ9EQsq43iHhXwR9OqvkA",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-13T23:47:32.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "jwanner83",
- "sponsor_profile_name": "Jonas Wanner",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-01-19T19:33:04.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IBISOEQsq43iHhXQo9QR9ZH",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": true,
- "status": "settled",
- "transaction_date": "2021-01-19T19:33:15.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "EvonuX",
- "sponsor_profile_name": "Djordje Stevanovic",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-01-23T06:16:44.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "1AE02287DS665125L",
- "tier_name": "$19 a month",
- "tier_monthly_amount": "$19.00",
- "processed_amount": "$19.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-23T06:16:53.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "elijificent",
- "sponsor_profile_name": null,
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-01-27T16:49:23.000+08:00",
- "is_public": false,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IE9iLEQsq43iHhXwJmMrS4X",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-27T16:49:31.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "hype08",
- "sponsor_profile_name": "Henry",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-01-30T16:46:31.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1IFF6EEQsq43iHhXLLIGWQOb",
- "tier_name": "$19 a month",
- "tier_monthly_amount": "$19.00",
- "processed_amount": "$19.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2021-01-30T16:46:41.000+08:00"
- }
- ]
- },
- {
- "sponsor_handle": "bookofdom",
- "sponsor_profile_name": "Dominic Luciano",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2021-02-05T03:55:01.000+08:00",
- "is_public": true,
- "is_yearly": true,
- "transactions": []
- },
- {
- "sponsor_handle": "dsernst",
- "sponsor_profile_name": "David Ernst",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-02-10T03:32:47.000+08:00",
- "is_public": true,
- "is_yearly": false,
- "transactions": []
- },
- {
- "sponsor_handle": "gabrielmip",
- "sponsor_profile_name": "Gabriel Pedrosa",
- "sponsor_public_email": "[email protected]",
- "sponsorship_started_on": "2021-02-15T08:49:36.000+08:00",
- "is_public": true,
- "is_yearly": true,
- "transactions": []
- },
- {
- "sponsor_handle": "Brotakuu",
- "sponsor_profile_name": "Brotaku",
- "sponsor_public_email": null,
- "sponsorship_started_on": "2021-02-16T05:21:43.000+08:00",
- "is_public": false,
- "is_yearly": false,
- "transactions": []
- }
-]
diff --git a/web/src/pages/oss.js b/web/src/pages/oss.js
index 86373e1dccb..8cede60cc2c 100644
--- a/web/src/pages/oss.js
+++ b/web/src/pages/oss.js
@@ -1,8 +1,7 @@
import React from 'react'
import Layout from '@theme/Layout'
import useDocusaurusContext from '@docusaurus/useDocusaurusContext'
-import sponsorThisMonth from '../data/sponsors.json'
-import sponsorsPreviousMonth from '../data/sponsorsPreviousMonth.json'
+import sponsors from '../data/sponsors.json'
import maintainers from '../data/maintainers.json'
import GithubCard from '../components/GithubCard'
import { repos } from '../data/github'
@@ -12,16 +11,7 @@ export default function Oss() {
const context = useDocusaurusContext()
const { siteConfig = {} } = context
- // Hacky solution to get sponsors for the past 1 month
- let oneMonthAgo = new Date()
- oneMonthAgo.setMonth(oneMonthAgo.getMonth() - 1)
- const sponsors = sponsorThisMonth
- .concat(sponsorsPreviousMonth)
- .filter((x) => {
- let paid = x.transactions.some((t) => t.transaction_date > oneMonthAgo.toISOString())
- return paid
- })
- .sort((a, b) => a.sponsor_handle.localeCompare(b.sponsor_handle))
+
const maintainerTags = maintainers
.reduce((acc, x) => acc.concat(x.tags), []) // get all tags
@@ -32,56 +22,32 @@ export default function Oss() {
{
tier_name: '$5,000 a month',
heading: 'Enterprise: $5,000 per month',
- transactions: sponsors.filter(
- (x) =>
- x.transactions[0]?.tier_name == '$5,000 a month' &&
- x.transactions[0]?.status != 'processor_declined'
- ),
+ transactions: sponsors.filter((x) => (x.tier == '$5,000 a month')),
},
{
tier_name: '$2,500 a month',
heading: 'Agency: $2,500 per month',
- transactions: sponsors.filter(
- (x) =>
- x.transactions[0]?.tier_name == '$2,500 a month' &&
- x.transactions[0]?.status != 'processor_declined'
- ),
+ transactions: sponsors.filter((x) => (x.tier == '$2,500 a month')),
},
{
tier_name: '$1,000 a month',
heading: 'Startup: $1,000 per month',
- transactions: sponsors.filter(
- (x) =>
- x.transactions[0]?.tier_name == '$1,000 a month' &&
- x.transactions[0]?.status != 'processor_declined'
- ),
+ transactions: sponsors.filter((x) => (x.tier == '$1,000 a month')),
},
{
tier_name: '$49 a month',
heading: 'Evangelist: $49 per month',
- transactions: sponsors.filter(
- (x) =>
- x.transactions[0]?.tier_name == '$49 a month' &&
- x.transactions[0]?.status != 'processor_declined'
- ),
+ transactions: sponsors.filter((x) => (x.tier == '$49 a month')),
},
{
tier_name: '$19 a month',
heading: 'Supporter: $19 per month',
- transactions: sponsors.filter(
- (x) =>
- x.transactions[0]?.tier_name == '$19 a month' &&
- x.transactions[0]?.status != 'processor_declined'
- ),
+ transactions: sponsors.filter((x) => (x.tier == '$19 a month')),
},
{
tier_name: '$5 a month',
heading: 'Contributor: $5 per month',
- transactions: sponsors.filter(
- (x) =>
- x.transactions[0]?.tier_name == '$5 a month' &&
- x.transactions[0]?.status != 'processor_declined'
- ),
+ transactions: sponsors.filter((x) => (x.tier == '$5 a month')),
},
]
@@ -93,7 +59,7 @@ export default function Oss() {
<div className="col">
<h2 className="with-underline">Open source</h2>
<p className="">
- Supabase is an opensource company, supporting existing open source tools and
+ Supabase is an open source company, supporting existing open source tools and
communities wherever possible.
</p>
</div>
@@ -112,14 +78,14 @@ export default function Oss() {
<h4 className="">{t.heading}</h4>
<div className="row is-multiline">
{t.transactions.map((x) => (
- <div className="col col--3" key={x.sponsor_handle}>
- <a className="avatar" href={`https://github.com/${x.sponsor_handle}`}>
+ <div className="col col--3" key={x.sponsor}>
+ <a className="avatar" href={`https://github.com/${x.sponsor}`}>
<img
className="avatar__photo avatar__photo--sm"
- src={`https://github.com/${x.sponsor_handle}.png`}
+ src={`https://github.com/${x.sponsor}.png`}
/>
<div className="avatar__intro">
- <h5 className="avatar__name">{x.sponsor_handle}</h5>
+ <h5 className="avatar__name">{x.sponsor}</h5>
</div>
</a>
</div>