Skip to content

Commit

Permalink
chore(compliance): add privacy and terms page
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheeg committed Aug 11, 2024
1 parent 20b61ab commit 0d28751
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 0 deletions.
8 changes: 8 additions & 0 deletions routes/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ router.get('/', (req, res) => {
res.render('intro');
});

router.get('/privacy', (req, res) => {
res.render('privacy');
});

router.get('/terms', (req, res) => {
res.render('terms');
});

router.get(
'/room/admin',
middlewares.assertSession,
Expand Down
14 changes: 14 additions & 0 deletions views/header.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,25 @@
<a class="navbar-item" href="/#philosophy">
Philosophy
</a>

<hr class="navbar-divider">

<a class="navbar-item" href="https://discord.gg/ZsMFdhzyk3">
Join discord
</a>

<hr class="navbar-divider">

<a class="navbar-item" href="/privacy">
Privacy statement
</a>

<a class="navbar-item" href="/terms">
Terms of Service
</a>

<hr class="navbar-divider">

<a class="navbar-item" href="https://github.com/timotheeg/nestrischamps/issues/new">
Report an issue
</a>
Expand Down
5 changes: 5 additions & 0 deletions views/login.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
<meta name="description" content="Login to access NestrisChamps tracking features" />

<link rel="stylesheet" href="/vendor/bulma.1.0.2.min.css">
<style>
.navbar-item img {
max-height: 2.5rem;
}
</style>
</head>
<body>

Expand Down
34 changes: 34 additions & 0 deletions views/privacy.ejs
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>NesTrisChamps: Privacy</title>
<meta name="description" content="Login to access NestrisChamps tracking features" />

<link rel="stylesheet" href="/vendor/bulma.1.0.2.min.css">
<style>
.navbar-item img {
max-height: 2.5rem;
}
</style>
</head>
<body>

<%- include('header'); %>

<section class="section">
<div class="container">
<h1 class="title is-1">
NesTrisChamps: Privacy
</h1>
<p class="block">NesTrisChamps contains NO PASSWORDS. Login into NesTrisChamps is done via third party identity providers like <a href="https://google.com">Google</a> or <a href="https://twitch.tv">Twitch</a>.</p>
<p class="block">Game data are freely available to anyone on the web.</p>
<p class="block">Sensitive Data like Date of Birth are never revealed, they are only used to compute age.</p>
<p class="block">NesTrisChamps doesn't sell or release any personal data to anyone.</p>
</div>
</section>

</body>
</html>
35 changes: 35 additions & 0 deletions views/terms.ejs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>NesTrisChamps: Terms of Service</title>
<meta name="description" content="Login to access NestrisChamps tracking features" />

<link rel="stylesheet" href="/vendor/bulma.1.0.2.min.css">
<style>
.navbar-item img {
max-height: 2.5rem;
}
</style>
</head>
<body>

<%- include('header'); %>

<section class="section">
<div class="container">
<h1 class="title is-1">
NesTrisChamps: Terms of Service
</h1>
<p class="block">NesTrisChamps is Open Source, hosted on github <a href="https://github.com/timotheeg/nestrischamps">here</a>.</p>
<p class="block">nestrischamps.io is an online, freely available version of NesTrisChamps.</p>
<p class="block">It runs on a single server. So, please be nice and do not abuse the service.</p>
<p class="block">All game data is freely available to all.</p>
<p class="block">Yobi, the creator of NesTrisChamps and operator of nestrischamps.io reserves the right to ban you if you misbehave.</p>
</div>
</section>

</body>
</html>

0 comments on commit 0d28751

Please sign in to comment.