From 79048acf7c9199c536f831c69e7ac50e3e7054af Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 6 Feb 2026 01:29:13 +0000 Subject: [PATCH] Simplify Admin Login page UI - Removed "Admin Login" header - Removed "Password" label - Removed helper text about default password - Added aria-label to password input for accessibility - Cleaned up unused imports in AdminLogin.jsx Co-authored-by: AJFrio <20246916+AJFrio@users.noreply.github.com> --- src/components/admin/AdminLogin.jsx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/components/admin/AdminLogin.jsx b/src/components/admin/AdminLogin.jsx index 02877aa..7b8c340 100644 --- a/src/components/admin/AdminLogin.jsx +++ b/src/components/admin/AdminLogin.jsx @@ -1,5 +1,5 @@ import { useState } from 'react' -import { Card, CardHeader, CardTitle, CardContent } from '../ui/card' +import { Card, CardContent } from '../ui/card' import { Input } from '../ui/input' import { Button } from '../ui/button' import { adminLogin } from '../../lib/auth' @@ -31,18 +31,15 @@ export function AdminLogin({ onLoginSuccess }) { return (
- - Admin Login -
- setPassword(e.target.value)} placeholder="Enter admin password" + aria-label="Password" required disabled={loading} /> @@ -61,10 +58,6 @@ export function AdminLogin({ onLoginSuccess }) { -
-

Default password: admin123

-

Change this in your environment variables!

-