From 8ac834ec80d899fa90138ee5e7b2f19916ff85be Mon Sep 17 00:00:00 2001 From: dumbmoron Date: Fri, 26 Jul 2024 08:22:30 +0000 Subject: [PATCH] web: initial donate page --- web/src/lib/env.ts | 15 ++ web/src/routes/donate/+page.svelte | 289 ++++++++++++++++++++++++++++- 2 files changed, 301 insertions(+), 3 deletions(-) diff --git a/web/src/lib/env.ts b/web/src/lib/env.ts index a5f08382..d20d69ff 100644 --- a/web/src/lib/env.ts +++ b/web/src/lib/env.ts @@ -6,4 +6,19 @@ const variables = { PLAUSIBLE_ENABLED: env.PUBLIC_HOST && env.PUBLIC_PLAUSIBLE_HOST, } +const donate = { + stripe: 'https://donate.stripe.com/3cs2cc6ew1Qda4wbII', + liberapay: 'https://liberapay.com/imput/donate', + crypto: { + monero: '4B1SNB6s8Pq1hxjNeKPEe8Qa8EP3zdL16Sqsa7QDoJcUecKQzEj9BMxWnEnTGu12doKLJBKRDUqnn6V9qfSdXpXi3Nw5Uod', + litecoin: 'ltc1qvp0xhrk2m7pa6p6z844qcslfyxv4p3vf95rhna', + ethereum: '0x4B4cF23051c78c7A7E0eA09d39099621c46bc302', + tron: 'TVbx7YT3rBfu931Gxko6pRfXtedYqbgnBB', + bitcoin: 'bc1qlvcnlnyzfsgnuxyxsv3k0p0q0yln0azjpadyx4', + 'bitcoin (legacy)': '18PKf6N2cHrmSzz9ZzTSvDd2jAkqGC7SxA', + ton: 'UQA3SO-hHZq1oCCT--u6or6ollB8fd2o52aD8mXiLk9iDZd3' + } +}; + +export { donate }; export default variables; diff --git a/web/src/routes/donate/+page.svelte b/web/src/routes/donate/+page.svelte index 51d6af81..f305ce3a 100644 --- a/web/src/routes/donate/+page.svelte +++ b/web/src/routes/donate/+page.svelte @@ -1,7 +1,32 @@ - @@ -10,4 +35,262 @@ - +
+

support cobalt

+

+ cobalt doesn't shove ads in your face and doesn't sell your personal data, meaning that + it's completely free to use for everyone. but development and maintenance of a media-heavy + service used by over 1 million people is quite costly. both in terms of time and money. +

+ +

+ if cobalt helped you in the past and you want to keep it growing and evolving, you can + return the favor by making a donation! +

+ +

+ your donation will help all cobalt users: educators, students, content creators, artists, + musicians, and many, many more! +

+ +

+ in past, donations have let cobalt: +

+
    +
  • increase stability and uptime to nearly 100%.
  • +
  • speed up ALL downloads, especially heavier ones.
  • +
  • open the api for free public use.
  • +
  • withstand several huge user influxes with 0 downtime.
  • +
  • add resource-intensive features (such as gif conversion).
  • +
  • continue improving our infrastructure.
  • +
  • keep developers happy.
  • +
+ +

+ every cent matters and is extremely appreciated, you can truly make a difference! +

+

+ if you can't donate, share cobalt with a friend! we don't get ads anywhere, so cobalt + is spread by word of mouth. +

+

+ sharing is the easiest way to help achieve the goal of better internet for everyone. +

+ +
+

make a one-time donation via stripe

+
+ + + +
+
+ +
+

make a recurring donation via liberapay

+
+ + + +
+
+ +
+

donate with cryptocurrencies

+
+ {#each Object.entries(donate.crypto) as [ name, address ]} +
+
{ name } (press to copy)
+ +
+ {/each} +
+
+
+ +