From 97b3c28f3a2485949c8e1d20effb3d12c38ea062 Mon Sep 17 00:00:00 2001 From: xangelo Date: Wed, 23 Aug 2023 15:23:12 -0400 Subject: [PATCH] fix: make signup collapsible If you are using a session account, we make the actual form portion collapsible so that you can hide it and play. --- src/server/views/player-bar.ts | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/src/server/views/player-bar.ts b/src/server/views/player-bar.ts index d02ea68..9092eee 100644 --- a/src/server/views/player-bar.ts +++ b/src/server/views/player-bar.ts @@ -4,21 +4,23 @@ import { expToLevel, maxHp, Player } from "../../shared/player"; function displayLoginSignupForm(): string { return ` -
-

Hey there! It looks like you're using a SESSION account. This allows you to play right away, but the account is tied to your current device, and will be lost if you ever clear your cookies.

-

-
- - -
-
- - -
- - -

-
+
+ + Hey there! It looks like you're using a SESSION account. This allows you to play right away, but the account is tied to your current device, and will be lost if you ever clear your cookies. + +
+
+ + +
+
+ + +
+ + +
+
` } -- 2.25.1