w's in the chat

This commit is contained in:
Sequoia Haynes 2024-12-18 11:36:22 -08:00
parent 87a3e019ed
commit 30403150f3
4 changed files with 10 additions and 3 deletions

View File

@ -67,7 +67,7 @@
</ul>
<h3>Join Us!</h3>
<p>If you're ready to dive into the action, head to our <a href="/play">pl</p>
<p>If you're ready to dive into the action, head to our <a href="/play">play page</a> to get started. we can't wait to see you on CactusSMP!</p>
</p>
</p>
</div>

View File

@ -18,7 +18,7 @@
<a id="discord" href="https://discord.gg/2xHAsegC">Discord</a>
<div id="copyIp">
<button id="copyButton" type="button">
<i class="bi bi-clipboard-check-fill" id="copyIcon"></i>
<i class="bi bi-clipboard" id="copyIcon"></i>
</button>
<input type="text" readonly="true" value="Coming Soon!" id="ip"/>
</div>

View File

@ -6,7 +6,11 @@ function sillyToClipboard(value) {
async function copyToClipboard(){
//ik this function is deprecated, but the main clipboard api doesnt work for me
sillyToClipboard(ipField.value)
ipField.className = "bi bi-clipboard-check-fill"
setTimeout(() => {
ipField.className = "bi bi-clipboard"
},6000)
//im too lazy to go make a proper hovertext thing, il do it later
alert("Copied!")
alert(" IP Copied!")
}
copyButton.addEventListener("click",copyToClipboard)

3
play/index.html Normal file
View File

@ -0,0 +1,3 @@
<html>
<p>go make the play page (idk what we should put here, maybe go embed some random client with the server already added in the multiplayer menu?)</p>
</html>