Restyle look and feel of the copy game link button

This commit is contained in:
sepia 2025-07-20 13:06:00 -05:00
parent badbe1f749
commit c112fa99cf
8 changed files with 99 additions and 27 deletions

View file

@ -23,9 +23,10 @@
<div id="messages" hx-swap-oob="beforeend"></div>
</div>
<div id="game-link-container">
Share link to this game:
<input type="text" id="game-link" size="50" readonly />
<button onclick="copyGameLink()">Copy</button>
<button id="copy-link-button" onclick="copyGameLink()">
<img src="/icons/clipboard-copy.svg" alt="Copy Game Link" class="icon" />
<span id="copy-link-text">Click to copy game link!</span>
</button>
</div>
<div id="ws-status" style="margin-top: 10px; color: grey">Disconnected</div>
<script src="scripts/display-ws-connection.js"></script>