Files
blitzkit/packages/website/src/components/Beg/index.tsx
T

48 lines
1.6 KiB
TypeScript
Raw Normal View History

2026-10-22 16:37:16 -05:00
import { HeartFilledIcon } from "@radix-ui/react-icons";
2026-10-22 11:45:18 -05:00
import { Button, Em, Flex, Strong, Text } from "@radix-ui/themes";
2026-10-22 16:37:16 -05:00
import { donationTiers } from "../../config/donations";
2026-10-22 11:30:03 -05:00
import styles from "./index.module.css";
export function Beg() {
return (
2026-10-22 11:45:18 -05:00
<Flex align="center" gap="4" direction="column" className={styles.outer}>
<Text size="3" className={styles.important}>
<Flex gap="2" align="center">
<img src="https://github.com/tresabhi.png" />
<Em>We need your attention</Em>
</Flex>
</Text>
2026-10-22 11:30:03 -05:00
2026-10-22 11:45:18 -05:00
<Flex direction="column" className={styles.center} gap="4">
<Flex direction="column" gap="3">
<Text color="tomato">
We can no longer keep BlitzKit sustainable for <Strong>free</Strong>
.
2026-10-22 11:30:03 -05:00
</Text>
<Text>
2026-10-22 11:45:18 -05:00
We want to add tank modules, player statistics, rebalancing patch
notes, bring back the Discord bot, and more.
</Text>
<Text>
2026-10-22 16:37:16 -05:00
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.
2026-10-22 11:30:03 -05:00
</Text>
</Flex>
2026-10-22 11:45:18 -05:00
<Flex gap="3">
2026-10-22 16:37:16 -05:00
{donationTiers.map(({ name, value, link }) => (
<a target="_blank" key={name} href={link}>
<Button size="3" color="crimson">
{value === null && <HeartFilledIcon />}
{value === null ? "Custom" : `$${value}`}
</Button>
</a>
))}
2026-10-22 11:45:18 -05:00
</Flex>
2026-10-22 11:30:03 -05:00
</Flex>
</Flex>
);
}