From 11c5364510ad6dd8c1ef207fb1cdb524b5e2f3c4 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Mon, 26 Nov 2018 13:18:32 +0100
Subject: [PATCH] Add bug report instructions to index page

---
 public/stylesheets/index.sass |  5 ++++-
 views/index.pug               | 23 ++++++++++++++---------
 2 files changed, 18 insertions(+), 10 deletions(-)

diff --git a/public/stylesheets/index.sass b/public/stylesheets/index.sass
index f46fca5d..fcf7958c 100644
--- a/public/stylesheets/index.sass
+++ b/public/stylesheets/index.sass
@@ -10,5 +10,8 @@
 .help
   cursor: pointer
 
-.card > h3.section
+.card > h3.section.blue
   color: blue
+
+.card > h3.section.purple
+  color: purple
diff --git a/views/index.pug b/views/index.pug
index 47e7de02..d658e7ef 100644
--- a/views/index.pug
+++ b/views/index.pug
@@ -15,17 +15,22 @@ block content
 						label.modal-close(for="modal-control")
 						h3.blue.section Modes
 						p.section.
-							Each variant page offers two modes: against a human or computer opponent.
-							The latter is not designed to play well: it is here to help learning the rules.
-							When you beat the bot easily consider playing human opponents!
-						h3.blue.section Initial position
-						p.section.
-							All games start with a random assymetric position.
+							Each variant page offers two modes: against a human or computer opponent,
+							which is here to help learning the rules.
 						h3.blue.section Comments
 						p.section.
-							Games are untimed, and played anonymously. This website lacks a user/challenge/chat/... system,
-							both for technical reasons (difficult to maintain all that alone) and also a bit for
-							focusing on the essential: the moves! :)
+							All games start with a random assymetric position. #[br]
+							Games are untimed, and played anonymously. #[br]
+							No chat, to rather focus on the moves :)
+						h3.purple.section Bug report
+						p.section.
+							If you find a bug in a game, please follow this procedure: #[br]
+							1. stop playing (click on the resign button); #[br]
+							2. click on the PGN to download it; #[br]
+							3. send an email to #[a(href="mailto:contact@vchess.club?subject=Bug report") this address],
+							describing the situation (what is expected vs. what is observed),
+							with the PGN attached :)#[br]
+							Thank you!
 		.row
 			my-variant-summary(
 				v-for="(v,idx) in sortedCounts",
-- 
2.44.0