Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About page #264

Merged
merged 4 commits into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 82 additions & 0 deletions components/about/AboutUs.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
import { Group, ActionIcon, Anchor, Text, Title } from "@mantine/core";
import { IconBarrierBlock } from "@tabler/icons-react";
import config from "../../config";
import Link from "next/link";
import { Donate } from "../icon/donate";
import { PayPalDonation } from "../other/paypal-donations";

const AboutUs = () => {
return (
<>
<Group>
<ActionIcon color="orange" size="sm" radius="xl" variant="transparent">
<IconBarrierBlock size={24} />
</ActionIcon>{" "}
BETA version of the site.
</Group>
<Text pt="sm">Find your player card using search or leaderboards.</Text>
<Text pt="sm">More info on Github or Discord</Text>
<Title order={1} size="h4" pt="md">
API Usage / Collaboration
</Title>
We are open for collaboration / sharing the data. Reach out to us on Discord.
<br />
Its forbidden to use API / scrape the site without previous consulting!
<Title order={1} size="h4" pt="md">
Bug reports
</Title>
You can report the issues on{" "}
<Anchor
component={Link}
href={"https://github.com/cohstats/coh3-stats/issues"}
target={"_blank"}
>
{" "}
GitHub
</Anchor>{" "}
or on our Discord
<Title order={1} size="h4" pt="md">
Donation
</Title>
All the donations are used for covering the server costs and expenses for running the site.
<br />
If we want to expand the functionality of the site - long history of matches / match
analysis / history of player cards, it will significantly eat up the system resources -
increase the cost.
<br />
<br />
Actually all the donations for{" "}
<Anchor component={Link} href={"https://coh2stats.com"} target={"_blank"}>
coh2stats.com{" "}
</Anchor>
have been already used to pay for 2022 server costs. So all of them are appreciated.
<br />
<br />
<div>
<div>
<Group>
<Text>
All the donations are listed at{" "}
<Anchor href={config.DONATION_LINK} target={"_blank"}>
Ko-Fi
</Anchor>
:
</Text>
<Donate />
</Group>

<Text fz={"sm"} fs="italic">
You can Donate via PayPal or Card at Ko-Fi, no registration required.
</Text>
</div>

<Group pt={"xl"}>
<Text>Direct PayPal if you have problems with Ko-Fi:</Text>
<PayPalDonation />
</Group>
</div>
</>
);
};

export default AboutUs;
Loading
Loading