From b0b14bc5594ebd3c3e38fca368ef0161c2dddd8f Mon Sep 17 00:00:00 2001 From: Araozu Date: Thu, 16 May 2024 15:01:47 -0500 Subject: [PATCH] changes --- src/pages/Index.tsx | 48 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 46 insertions(+), 2 deletions(-) diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index 03012e7..6360ab3 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -162,9 +162,53 @@ function UserRegistration(props: {setUserInfo: (u: UserInfo) => void}) { } function LobbyConnection() { + const [loading, setLoading] = createSignal(false); + + const joinLobby = (ev: Event) => { + ev.preventDefault(); + }; + + const createLobby = async() => { + // + setLoading(true); + }; + return ( -
- Lobby creation :D +
+

Join a lobby:

+ +
+ +
+ +
+ +
+ +

Create a new lobby:

+ + +
); }