-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
1 parent
c7d3dfe
commit e027c81
Showing
3 changed files
with
1,018 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Oops, something went wrong.