From 3d58ef185c5e33cf2b4a1e68e52c4485661d2806 Mon Sep 17 00:00:00 2001 From: evanpelle Date: Mon, 27 Jan 2025 16:45:19 -0800 Subject: [PATCH] improve front page UI --- src/client/PublicLobby.ts | 38 +++++++++++++++++--------------------- src/client/index.html | 12 ++++++------ 2 files changed, 23 insertions(+), 27 deletions(-) diff --git a/src/client/PublicLobby.ts b/src/client/PublicLobby.ts index 9581b75d8..6b495a8b3 100644 --- a/src/client/PublicLobby.ts +++ b/src/client/PublicLobby.ts @@ -52,31 +52,27 @@ export class PublicLobby extends LitElement { render() { if (this.lobbies.length === 0) return html``; + const lobby = this.lobbies[0]; const timeRemaining = Math.max(0, Math.floor(lobby.msUntilStart / 1000)); - // return html` - //
- // Test Tailwind - //
- // `; - return html` - -`; + + `; } private lobbyClicked(lobby: Lobby) { diff --git a/src/client/index.html b/src/client/index.html index 379155105..ddf38982e 100644 --- a/src/client/index.html +++ b/src/client/index.html @@ -70,7 +70,7 @@
OpenFront.io + class="pt-6 md:pt-12 h-auto w-3/4 lg:w-1/2 mx-auto transform sm:scale-125 md:scale-150 lg:scale-175">

(v0.14.0)