diff --git a/client/src/images/framed-phone-screenshot-2_resized.webp b/client/src/images/framed-phone-screenshot-2_resized.webp new file mode 100644 index 0000000..9558a5a Binary files /dev/null and b/client/src/images/framed-phone-screenshot-2_resized.webp differ diff --git a/client/src/images/framed-phone-screenshot_resized.webp b/client/src/images/framed-phone-screenshot_resized.webp new file mode 100644 index 0000000..6fa0a33 Binary files /dev/null and b/client/src/images/framed-phone-screenshot_resized.webp differ diff --git a/client/src/modules/front_end_components/HTMLFragments.js b/client/src/modules/front_end_components/HTMLFragments.js index 2be68a5..de45459 100644 --- a/client/src/modules/front_end_components/HTMLFragments.js +++ b/client/src/modules/front_end_components/HTMLFragments.js @@ -10,17 +10,17 @@ export const HTMLFragments = {
- clock + clock
- person + person
- +
@@ -84,7 +84,7 @@ export const HTMLFragments = {
- +
@@ -127,7 +127,7 @@ export const HTMLFragments = {
- +
@@ -187,7 +187,7 @@ export const HTMLFragments = { Transfer Mod Powers transfer icon
- +
@@ -229,7 +229,7 @@ export const HTMLFragments = {
- +
@@ -309,7 +309,7 @@ export const HTMLFragments = { `

🏁 The moderator has ended the game. Roles are revealed.

- +
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 = 'back'; + backButton.innerHTML = 'back'; 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 = 'next'; + fwdButton.innerHTML = 'next'; 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 =