From d66de37eca2132fa0264aeeb363554437a60e7f2 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 23 Dec 2022 21:15:51 +0100 Subject: [PATCH] Add documentation links to the page --- src/js/Components.js | 13 ++++++++++++- src/styles/style.css | 4 ++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/js/Components.js b/src/js/Components.js index 59b6643..1ca6e29 100644 --- a/src/js/Components.js +++ b/src/js/Components.js @@ -95,7 +95,18 @@ export function App() `It's player "${Constants.PLAYER_NAMES[game.currentPlayer]}"s turn` ], [MenuBar, { game }], - [Ad] + [Ad], + [ + "div", + { className: "links" }, + [ + "a", + { + href: "./docs/Documentation" + }, + "Documentation" + ] + ] ]; } diff --git a/src/styles/style.css b/src/styles/style.css index 8bd3c18..e519310 100644 --- a/src/styles/style.css +++ b/src/styles/style.css @@ -93,3 +93,7 @@ div { .ad { margin-top: 3rem; } + +.links { + text-align: center; +}