From bd504f78173351d43fcbc6b9b26f28aae11681f4 Mon Sep 17 00:00:00 2001 From: Theis Gaedigk Date: Tue, 2 Sep 2025 20:55:29 +0200 Subject: [PATCH] fix: update favicon to user-star.svg and remove vite.svg; enhance Login component layout --- admin/index.html | 2 +- admin/public/user-star.svg | 1 + admin/public/vite.svg | 1 - admin/src/Layout/Login.tsx | 70 ++++++++++++++++++++------------------ 4 files changed, 39 insertions(+), 35 deletions(-) create mode 100644 admin/public/user-star.svg delete mode 100644 admin/public/vite.svg diff --git a/admin/index.html b/admin/index.html index 63dd3fc..aaeae25 100644 --- a/admin/index.html +++ b/admin/index.html @@ -2,7 +2,7 @@ - + Admin panel diff --git a/admin/public/user-star.svg b/admin/public/user-star.svg new file mode 100644 index 0000000..66ac716 --- /dev/null +++ b/admin/public/user-star.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/public/vite.svg b/admin/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/admin/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/src/Layout/Login.tsx b/admin/src/Layout/Login.tsx index 8646f99..818c9dd 100644 --- a/admin/src/Layout/Login.tsx +++ b/admin/src/Layout/Login.tsx @@ -23,39 +23,43 @@ const Login: React.FC<{ onSuccess: () => void }> = ({ onSuccess }) => { }; return ( - - - Login - - Bitte unten Ihre Admin Zugangsdaten eingeben. - - - - - - username - setUsername(e.target.value)} - /> - - - password - setPassword(e.target.value)} - /> - - - - - {isError && } - - - +
+ + + Login + + Bitte unten Ihre Admin Zugangsdaten eingeben. + + + + + + username + setUsername(e.target.value)} + /> + + + password + setPassword(e.target.value)} + /> + + + + + {isError && ( + + )} + + + +
); };