From 0922614dbcf94e4d722f7af7e8f8a02f1c10b6e6 Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Thu, 22 Oct 2026 16:37:16 -0500 Subject: [PATCH] finalize --- packages/i18n/strings/en.json | 4 +-- packages/website/src/components/Beg/index.tsx | 29 +++++++++---------- packages/website/src/components/Footer.astro | 6 ++-- packages/website/src/config/donations.ts | 19 +++++++++--- 4 files changed, 33 insertions(+), 25 deletions(-) diff --git a/packages/i18n/strings/en.json b/packages/i18n/strings/en.json index c55989b8f..c708e45c5 100644 --- a/packages/i18n/strings/en.json +++ b/packages/i18n/strings/en.json @@ -44,7 +44,7 @@ "branches": { "beta": "Beta", - "development": "Development", + "development": "Post Malone Edition", "opentest": "OpenTest", "preview": "Preview", "production": "Production" @@ -992,7 +992,7 @@ "footer": { "motto": "Everything World of Tanks Blitz", - "copyright": "Unaffiliated with Wargaming or any service", + "association": "An Open Collective Project", "about": { "title": "About", diff --git a/packages/website/src/components/Beg/index.tsx b/packages/website/src/components/Beg/index.tsx index e0d14fdd3..7f905c616 100644 --- a/packages/website/src/components/Beg/index.tsx +++ b/packages/website/src/components/Beg/index.tsx @@ -1,4 +1,6 @@ +import { HeartFilledIcon } from "@radix-ui/react-icons"; import { Button, Em, Flex, Strong, Text } from "@radix-ui/themes"; +import { donationTiers } from "../../config/donations"; import styles from "./index.module.css"; export function Beg() { @@ -24,26 +26,21 @@ export function Beg() { - But paying out of pocket makes than impossible.{" "} - We are a non-profit and don't run ads, so consider - donating to make the above possible. 100% of your money goes back - into BlitzKit. + But paying out of pocket makes that impossible. We are an earnest + non-profit, so consider donating to make the above possible. 100% of + your money goes back into BlitzKit. - - - - + {donationTiers.map(({ name, value, link }) => ( + + + + ))} diff --git a/packages/website/src/components/Footer.astro b/packages/website/src/components/Footer.astro index ff2f490d3..17b204b9b 100644 --- a/packages/website/src/components/Footer.astro +++ b/packages/website/src/components/Footer.astro @@ -43,9 +43,9 @@ const strings = getStrings(locale); }} > BlitzKit - {strings.website.footer.motto} - - {strings.website.footer.copyright} + {strings.website.footer.motto} + + {strings.website.footer.association} diff --git a/packages/website/src/config/donations.ts b/packages/website/src/config/donations.ts index 82f2a92fe..8b0d9c63d 100644 --- a/packages/website/src/config/donations.ts +++ b/packages/website/src/config/donations.ts @@ -1,12 +1,23 @@ +// TODO: source this from the open collective api, if even possible export const donationTiers = [ { name: "The Backer", value: 5, - id: 106312, + link: "https://opencollective.com/blitzkit/contribute/backers-106312/checkout", }, { - name: "The Backer", - value: 5, - id: 106312, + name: "The Engineer", + value: 10, + link: "https://opencollective.com/blitzkit/contribute/the-engineer-107057/checkout", + }, + { + name: "The Patron", + value: 25, + link: "https://opencollective.com/blitzkit/contribute/the-patron-107056/checkout", + }, + { + name: "The Sponsor", + value: null, + link: "https://opencollective.com/blitzkit/donate", }, ];