-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from game-node-app/dev
About, Privacy and broken link fixing
- Loading branch information
Showing
12 changed files
with
223 additions
and
18 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
2 changes: 1 addition & 1 deletion
2
...s/game/util/getGameSpecialCategoryText.ts → ...mponents/game/util/getGameCategoryText.ts
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
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,14 @@ | ||
import { Game } from "@/wrapper/server"; | ||
import status = Game.status; | ||
|
||
export function getGameStatusText(statusNumber?: number) { | ||
if (!statusNumber) return undefined; | ||
const STATUS_TO_TEXT = { | ||
[status._0.valueOf()]: "Released", | ||
[status._2.valueOf()]: "Alpha", | ||
[status._3.valueOf()]: "Beta", | ||
[status._4.valueOf()]: "Early Access", | ||
}; | ||
|
||
return STATUS_TO_TEXT[statusNumber]; | ||
} |
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
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,83 @@ | ||
import React from "react"; | ||
import { | ||
Container, | ||
Flex, | ||
Group, | ||
Image, | ||
SimpleGrid, | ||
Stack, | ||
Text, | ||
} from "@mantine/core"; | ||
|
||
const About = () => { | ||
return ( | ||
<Container fluid p={0}> | ||
<SimpleGrid | ||
w={"100%"} | ||
cols={{ | ||
base: 1, | ||
lg: 2, | ||
}} | ||
className={"p-2 mb-8"} | ||
> | ||
<Flex className={"w-full h-full items-center"}> | ||
<Text className={"text-center lg:text-start"}> | ||
Welcome to GameNode, where the community is the key to | ||
review and recommend the best games in the market! You | ||
can search games by platforms, genres and popularity, | ||
and find detailed reviews made by our users. | ||
</Text> | ||
</Flex> | ||
<Image | ||
alt={"Preview of a GameNode design"} | ||
src={"/img/about_preview_1.png"} | ||
/> | ||
|
||
<Image | ||
alt={"Another of a GameNode design"} | ||
src={"/img/about_preview_2.png"} | ||
/> | ||
<Flex className={"w-full h-full items-center"}> | ||
<Text className={"text-center lg:text-start"}> | ||
With our website, you will have access to a community of | ||
avid gamers which are always ready to share their | ||
opinion. You can also connect with your friends and get | ||
the latest news and updates on games. | ||
</Text> | ||
</Flex> | ||
<Stack className={" h-full justify-center w-fit"}> | ||
<Text className={"text-center lg:text-start"}> | ||
Join our community on Discord or contribute with our | ||
code on Github. | ||
</Text> | ||
<Flex className={"w-full justify-center lg:justify-start"}> | ||
<a href={"https://discord.gg/8cPtfHtk"}> | ||
<Image | ||
alt={"Discord button"} | ||
src={"/img/about_button_discord.png"} | ||
className={"w-40"} | ||
/> | ||
</a> | ||
</Flex> | ||
</Stack> | ||
<Stack className={"h-full justify-center w-full"}> | ||
<Text className={"text-center lg:text-end"}> | ||
Help us keep GameNode alive and ad-free by donating in | ||
our Patreon | ||
</Text> | ||
<Flex className={"w-full justify-center lg:justify-end"}> | ||
<a href={"https://patreon.com/GameNodeApp"}> | ||
<Image | ||
alt={"Patreon button"} | ||
src={"/img/about_button_patreon.png"} | ||
className={"w-40"} | ||
/> | ||
</a> | ||
</Flex> | ||
</Stack> | ||
</SimpleGrid> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default About; |
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,80 @@ | ||
import React from "react"; | ||
import { Container, Flex, Paper, Stack, Text, Title } from "@mantine/core"; | ||
|
||
const Privacy = () => { | ||
return ( | ||
<Container fluid p={0}> | ||
<Flex justify={"center"}> | ||
<Paper | ||
w={{ | ||
base: "100%", | ||
lg: "80%", | ||
}} | ||
className={"p-4"} | ||
> | ||
<Stack w={"100%"}> | ||
<Title size={"h2"}>Your data stays with us.</Title> | ||
<Text> | ||
This is the most important aspect of how we handle | ||
data at GameNode. We take extra care to make sure | ||
your data never leaves our server. | ||
</Text> | ||
<Title size={"h4"}> | ||
What does this mean in practice? | ||
</Title> | ||
<Text> | ||
Everything you do in GameNode (and any other service | ||
for that matter) is stored somewhere. That somewhere | ||
is usually a database - a system that stores | ||
information effectively - so it can be retrieved | ||
later. This data may include anything from a user's | ||
shopping tendencies, to what they've left in the | ||
cart in the last visit, to (in our case) games you | ||
have in a collection. | ||
</Text> | ||
<Text> | ||
In the age of information, such information equals | ||
money. And advertisement companies are willing to | ||
spent thousands upon thousands of dollars to obtain | ||
it and improve their marketing campaigns. | ||
</Text> | ||
<Title size={"h3"}>How do we handle analytics?</Title> | ||
<Text> | ||
If you are not aware, analytics is a term used to | ||
describe services or methods for identifying user | ||
behaviour, popular parts of a website/app, or track | ||
any kind of marketing goal. | ||
</Text> | ||
<Text> | ||
To keep this data locally, we choose a open-sourced, | ||
privacy-first analytics solution called{" "} | ||
<a href={"https://matomo.org"}>Matomo</a>. | ||
</Text> | ||
<Text> | ||
Matomo helps us keep a good record of the pages our | ||
visitors and users are most frequently using, while | ||
also keep data as anonymized as possible. Since | ||
Matomo doesn't make use of any cross-site tracking | ||
method (usually referred to as third-party cookies) | ||
you can be assured that neither we or Matomo will | ||
ever know what you were doing before visiting our | ||
website, or what you would be doing after. | ||
</Text> | ||
<Text> | ||
All other, non-analytics data (for example, the | ||
games a user have in their collections) is stored in | ||
our database and only used our systems require such | ||
information. For example, we retrieve the games a | ||
user may have when a visitor visits their library. | ||
</Text> | ||
<Text> | ||
This data is not used for any other purpose. | ||
</Text> | ||
</Stack> | ||
</Paper> | ||
</Flex> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default Privacy; |