Skip to content

Commit

Permalink
About page (#264)
Browse files Browse the repository at this point in the history
* Added Tabs and broke out content to own component

* Add example text

* Switch to anchors, make menu sticky

* Remove id from leaderboards component as no longer required.

---------

Co-authored-by: Mark Tallentire <[email protected]>
  • Loading branch information
MarkTallentire and Mark Tallentire authored Oct 5, 2023
1 parent c7d3dfe commit e027c81
Show file tree
Hide file tree
Showing 3 changed files with 1,018 additions and 80 deletions.
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

0 comments on commit e027c81

Please sign in to comment.