various pax things

This commit is contained in:
ntr
2019-10-10 15:00:45 +11:00
parent a3d5c3a29b
commit 43a53e5651
5 changed files with 23 additions and 6 deletions
+4
View File
@@ -123,4 +123,8 @@
padding: 0;
}
}
.play-p {
display: none;
}
}
@@ -38,6 +38,15 @@ function InstanceCtrlBtns(args) {
const finished = instance && instance.phase === 'Finished';
// cheeky to make sure nubs don't just abandon their first game
const beingNub = instance.phase_end
&& instance.phase === 'Lobby'
&& Date.parse(instance.phase_end) - Date.now() < 2000;
if (beingNub) {
sendReady();
}
return (
<div class="instance-ctrl-btns">
<button disabled={true} >Chat</button>
+1 -1
View File
@@ -94,7 +94,7 @@ function Play(args) {
<section class="top">
<div class="news">
<h1>v{VERSION}</h1>
<p>Use the buttons on the right to join an instance.</p>
<p class="play-p">Use the buttons on the right to join an instance.</p>
<p>
Select <b>PVP</b> to play against other players.<br />
Select <b>INVITE</b> then click <b>COPY LINK</b> to generate an instance invitation for a friend.<br />