From 4591c1d1fad0897c59444a4d21e834f7ab0556d8 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 14 Sep 2021 23:34:18 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Do=20something=20about=20the=20l?= =?UTF-8?q?ogin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/inspectionProfiles/Project_Default.xml | 1 + .../Start_sophon_frontend.xml | 2 +- frontend/package.json | 4 + frontend/src/App.tsx | 7 +- frontend/src/components/GuestBox.tsx | 30 + frontend/src/components/InstanceBox.tsx | 63 +- frontend/src/components/LoginBox.tsx | 25 +- frontend/src/hooks/useValidatedState.ts | 64 - frontend/src/routes/AccountPage.tsx | 24 + frontend/src/routes/Router.jsx | 13 + frontend/src/utils/SophonContext.tsx | 2 +- frontend/yarn.lock | 3724 +++++++++-------- 12 files changed, 2025 insertions(+), 1934 deletions(-) create mode 100644 frontend/src/components/GuestBox.tsx delete mode 100644 frontend/src/hooks/useValidatedState.ts create mode 100644 frontend/src/routes/AccountPage.tsx create mode 100644 frontend/src/routes/Router.jsx diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 637eb1a..a9b267f 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -58,5 +58,6 @@