From 7659306ed7ee949b193d540a2ba202eb49c1dd57 Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Thu, 14 Aug 2025 09:56:44 +0000 Subject: [PATCH] revert: restore gradient animated login page - Bring back the blue-cyan gradient background - Restore animated Pulse logo with hover effects - Keep the semi-transparent backdrop-blur card design - Maintain the improved form field styling with icons --- frontend-modern/src/components/Login.tsx | 37 +++++++++++++----------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/frontend-modern/src/components/Login.tsx b/frontend-modern/src/components/Login.tsx index ba2b6df49..98cf04b7e 100644 --- a/frontend-modern/src/components/Login.tsx +++ b/frontend-modern/src/components/Login.tsx @@ -47,24 +47,27 @@ export const Login: Component = (props) => { }; return ( -
+
-
-
- Pulse Logo +
+
+
+
+ Pulse Logo +
-

- Sign in to Pulse +

+ Welcome to Pulse

- Enter your credentials to access the dashboard + Enter your credentials to continue

-
+
@@ -82,7 +85,7 @@ export const Login: Component = (props) => { type="text" autocomplete="username" required - class="appearance-none relative block w-full pl-10 pr-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 sm:text-sm dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:placeholder-gray-400" + class="appearance-none relative block w-full pl-10 pr-3 py-3 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all sm:text-sm dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:placeholder-gray-400" placeholder="Username" value={username()} onInput={(e) => setUsername(e.currentTarget.value)} @@ -103,7 +106,7 @@ export const Login: Component = (props) => { type="password" autocomplete="current-password" required - class="appearance-none relative block w-full pl-10 pr-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 sm:text-sm dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:placeholder-gray-400" + class="appearance-none relative block w-full pl-10 pr-3 py-3 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all sm:text-sm dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:placeholder-gray-400" placeholder="Password" value={password()} onInput={(e) => setPassword(e.currentTarget.value)} @@ -130,7 +133,7 @@ export const Login: Component = (props) => {