diff --git a/client/src/modules/game_creation/GameCreationStepManager.js b/client/src/modules/game_creation/GameCreationStepManager.js
index 7dfb6b9..4d0b097 100644
--- a/client/src/modules/game_creation/GameCreationStepManager.js
+++ b/client/src/modules/game_creation/GameCreationStepManager.js
@@ -500,7 +500,7 @@ function showButtons (back, forward, forwardHandler, backHandler, builtGame = nu
document.querySelector('#create-game')?.remove();
if (back) {
const backButton = document.createElement('button');
- backButton.innerHTML = '

';
+ backButton.innerHTML = '

';
backButton.addEventListener('click', backHandler);
backButton.setAttribute('id', 'step-back-button');
backButton.classList.add('app-button');
@@ -509,7 +509,7 @@ function showButtons (back, forward, forwardHandler, backHandler, builtGame = nu
if (forward && builtGame === null) {
const fwdButton = document.createElement('button');
- fwdButton.innerHTML = '

';
+ fwdButton.innerHTML = '

';
fwdButton.addEventListener('click', forwardHandler);
fwdButton.setAttribute('id', 'step-forward-button');
fwdButton.classList.add('app-button');
diff --git a/client/src/scripts/home.js b/client/src/scripts/home.js
index 3839f23..266855a 100644
--- a/client/src/scripts/home.js
+++ b/client/src/scripts/home.js
@@ -46,9 +46,7 @@ function attemptToJoinGame (event) {
} else {
res.json().then(json => {
window.location = window.location.protocol + '//' + window.location.host +
- '/join/' + encodeURIComponent(json.accessCode) +
- '?playerCount=' + encodeURIComponent(json.playerCount) +
- '&timer=' + encodeURIComponent(getTimeString(json.timerParams));
+ '/join/' + encodeURIComponent(json.accessCode);
});
}
}).catch(() => {
@@ -62,29 +60,6 @@ function attemptToJoinGame (event) {
}
}
-function getTimeString (timerParams) {
- let timeString = '';
- if (timerParams) {
- const hours = timerParams.hours;
- const minutes = timerParams.minutes;
- if (hours) {
- timeString += hours > 1
- ? hours + ' hours '
- : hours + ' hour ';
- }
- if (minutes) {
- timeString += minutes > 1
- ? minutes + ' minutes '
- : minutes + ' minute ';
- }
-
- return timeString;
- } else {
- timeString = 'untimed';
- return timeString;
- }
-}
-
if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {
module.exports = home;
} else {
diff --git a/client/src/styles/GLOBAL.css b/client/src/styles/GLOBAL.css
index 2441968..e00fe1f 100644
--- a/client/src/styles/GLOBAL.css
+++ b/client/src/styles/GLOBAL.css
@@ -299,7 +299,6 @@ button {
}
#game-parameters img {
- height: 20px;
margin-right: 10px;
}
diff --git a/client/src/styles/home.css b/client/src/styles/home.css
index ec21e96..6e2d304 100644
--- a/client/src/styles/home.css
+++ b/client/src/styles/home.css
@@ -95,7 +95,7 @@ a button {
#join-button:hover {
background-color: #326243;
- border: 2px solid #1c8a36;
+ border: 3px solid #1c8a36;
}
#join-form div:nth-child(1) {
diff --git a/client/src/view_templates/CreateTemplate.js b/client/src/view_templates/CreateTemplate.js
index f7473a3..c7d1053 100644
--- a/client/src/view_templates/CreateTemplate.js
+++ b/client/src/view_templates/CreateTemplate.js
@@ -36,9 +36,9 @@ export const hiddenMenus =
-
+
-
+