From 8b092fed5152cfd994f5766d2dca1ea640b9a16f Mon Sep 17 00:00:00 2001 From: julius Date: Thu, 6 Mar 2025 13:29:10 +0100 Subject: [PATCH] feat: implement login auth for all also show the username underneath the logo --- src/App.css | 3 +- src/App.tsx | 4 -- src/Avatar.tsx | 99 +++++++++++++++++++++++++++++++++++++++++++++++++ src/Footer.tsx | 16 ++++---- src/Header.tsx | 19 +++++++--- src/Login.tsx | 94 ++++++++++++++++++++-------------------------- src/Network.tsx | 10 ----- src/Session.tsx | 76 ++++++++++++++++++++++++++++++++----- src/api.ts | 39 +++++++++++-------- 9 files changed, 252 insertions(+), 108 deletions(-) create mode 100644 src/Avatar.tsx diff --git a/src/App.css b/src/App.css index 876888f..a2937f1 100644 --- a/src/App.css +++ b/src/App.css @@ -398,11 +398,10 @@ button, padding: 2px 8px; width: fit-content; margin: auto; - z-index: 3; } .networkroute { - z-index: 10; + z-index: 3; position: absolute; top: 24px; left: 48px; diff --git a/src/App.tsx b/src/App.tsx index 7fcb82b..7da942f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -14,14 +14,10 @@ function App() {
- } /> - } /> - } /> - } />