From f1a73f34bbf9d3d5ace3c9b377072fcdccff778a Mon Sep 17 00:00:00 2001 From: padreug Date: Fri, 31 Oct 2025 21:55:41 +0100 Subject: [PATCH] Adds demo login page with demo account creation Implements a new login page that allows users to either log in with credentials or quickly create a demo account. This is done to provide a quick onboarding experience for new users without requiring them to go through a full registration process. The demo account comes pre-funded with test currency, making it easy to explore the platform's features. A toggle is included to switch between demo account creation and standard login. --- src/app.ts | 2 +- src/pages/LoginDemo.vue | 231 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 232 insertions(+), 1 deletion(-) create mode 100644 src/pages/LoginDemo.vue diff --git a/src/app.ts b/src/app.ts index 459283e..5ee12b8 100644 --- a/src/app.ts +++ b/src/app.ts @@ -60,7 +60,7 @@ export async function createAppInstance() { { path: '/login', name: 'login', - component: () => import('./pages/Login.vue'), + component: () => import('./pages/LoginDemo.vue'), meta: { requiresAuth: false } }, // Pre-register module routes diff --git a/src/pages/LoginDemo.vue b/src/pages/LoginDemo.vue new file mode 100644 index 0000000..f90aaa7 --- /dev/null +++ b/src/pages/LoginDemo.vue @@ -0,0 +1,231 @@ + + +