This commit is contained in:
tresabhi committed 2026-10-22 16:37:16 -05:00
1 parent ae4b2e1bb3
commit 0922614dbc
4 files changed
+33 -25

No files matched your search

+2 -2
View File
@@ -44,7 +44,7 @@
"branches": { "branches": {
"beta": "Beta", "beta": "Beta",
"development": "Development", "development": "Post Malone Edition",
"opentest": "OpenTest", "opentest": "OpenTest",
"preview": "Preview", "preview": "Preview",
"production": "Production" "production": "Production"
@@ -992,7 +992,7 @@
"footer": { "footer": {
"motto": "Everything World of Tanks Blitz", "motto": "Everything World of Tanks Blitz",
"copyright": "Unaffiliated with Wargaming or any service", "association": "An Open Collective Project",
"about": { "about": {
"title": "About", "title": "About",
+13 -16
View File
@@ -1,4 +1,6 @@
import { HeartFilledIcon } from "@radix-ui/react-icons";
import { Button, Em, Flex, Strong, Text } from "@radix-ui/themes"; import { Button, Em, Flex, Strong, Text } from "@radix-ui/themes";
import { donationTiers } from "../../config/donations";
import styles from "./index.module.css"; import styles from "./index.module.css";
export function Beg() { export function Beg() {
@@ -24,26 +26,21 @@ export function Beg() {
</Text> </Text>
<Text> <Text>
But paying out of pocket makes than impossible.{" "} But paying out of pocket makes that impossible. We are an earnest
<Strong>We are a non-profit and don't run ads</Strong>, so consider non-profit, so consider donating to make the above possible. 100% of
donating to make the above possible. 100% of your money goes back your money goes back into BlitzKit.
into BlitzKit.
</Text> </Text>
</Flex> </Flex>
<Flex gap="3"> <Flex gap="3">
<Button size="3" color="crimson"> {donationTiers.map(({ name, value, link }) => (
$5 <a target="_blank" key={name} href={link}>
</Button> <Button size="3" color="crimson">
<Button size="3" color="crimson"> {value === null && <HeartFilledIcon />}
$10 {value === null ? "Custom" : `$${value}`}
</Button> </Button>
<Button size="3" color="crimson"> </a>
$25 ))}
</Button>
<Button size="3" color="crimson">
Custom
</Button>
</Flex> </Flex>
</Flex> </Flex>
</Flex> </Flex>
+3 -3
View File
@@ -43,9 +43,9 @@ const strings = getStrings(locale);
}} }}
> >
<Heading>BlitzKit</Heading> <Heading>BlitzKit</Heading>
<Text color="gray">{strings.website.footer.motto}</Text> <Text size="2" color="gray">{strings.website.footer.motto}</Text>
<Text size="1" color="gray"> <Text size="2" color="gray">
{strings.website.footer.copyright} {strings.website.footer.association}
</Text> </Text>
<Box mt="2"> <Box mt="2">
+15 -4
View File
@@ -1,12 +1,23 @@
// TODO: source this from the open collective api, if even possible
export const donationTiers = [ export const donationTiers = [
{ {
name: "The Backer", name: "The Backer",
value: 5, value: 5,
id: 106312, link: "https://opencollective.com/blitzkit/contribute/backers-106312/checkout",
}, },
{ {
name: "The Backer", name: "The Engineer",
value: 5, value: 10,
id: 106312, 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",
}, },
]; ];