From 0c13a7678f62ba058019ea08595ae6cac16f5d3a Mon Sep 17 00:00:00 2001 From: padreug Date: Thu, 4 Sep 2025 17:47:10 +0200 Subject: [PATCH] feat: Implement mode toggle for demo and login in LoginDemo component - Add a mode toggle to switch between demo account creation and login functionalities. - Refactor the layout to conditionally display content based on the selected mode. - Enhance the login form with validation and error handling for user credentials. - Update button texts and improve user experience with clearer instructions and feedback. --- src/pages/LoginDemo.vue | 219 ++++++++++++++++++++++++++++++---------- 1 file changed, 165 insertions(+), 54 deletions(-) diff --git a/src/pages/LoginDemo.vue b/src/pages/LoginDemo.vue index 7a8ecb0..1589d16 100644 --- a/src/pages/LoginDemo.vue +++ b/src/pages/LoginDemo.vue @@ -25,62 +25,132 @@ - -
-

Create Demo Account

-

- Get instant access with a pre-funded demo account containing - 1,000,000 FAKE satoshis -

-
- - -
-
-
- -
- - -
-
-
- -
- - -
-
-
-
- These credentials will be used to automatically log you in + +
+
+ +
- - + +
+ +
+

Create Demo Account

+

+ Get instant access with a pre-funded demo account containing + 1,000,000 FAKE satoshis +

+
+ + +
+
+
+ +
+ + +
+
+
+ +
+ + +
+
+
+
+ These credentials will be used to automatically log you in +
+
+ + + +
+ + +
+ +
+

Sign In

+

+ Sign in to your existing account +

+
+ + +
+
+ + +
+
+ + +
+
+ + + +

@@ -111,7 +181,7 @@