From 1f04d95a84faff806d7da2d47995e5e0212017d7 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Mon, 22 Nov 2021 10:36:38 +0000 Subject: [PATCH] Dashboard page + Force Email Verification. --- client/src/app/pages/RegisterPage.tsx | 2 +- .../src/app/pages/dashboard/DashboardPage.tsx | 136 +++++++++++++++- .../pages/dashboard/users/UserGamesPage.tsx | 62 +++---- client/src/app/routes/DashboardRoutes.tsx | 31 +++- .../components/layout/misc/EmailVerify.tsx | 79 +++++++++ .../src/components/sessions/SessionCard.tsx | 152 ++++++++++++++++++ client/src/types/api-returns.ts | 6 + client/src/util/splashes.ts | 2 +- client/src/util/time.ts | 5 +- 9 files changed, 425 insertions(+), 50 deletions(-) create mode 100644 client/src/components/layout/misc/EmailVerify.tsx create mode 100644 client/src/components/sessions/SessionCard.tsx diff --git a/client/src/app/pages/RegisterPage.tsx b/client/src/app/pages/RegisterPage.tsx index ec4e3ce34..1326acc6d 100644 --- a/client/src/app/pages/RegisterPage.tsx +++ b/client/src/app/pages/RegisterPage.tsx @@ -143,7 +143,7 @@ export default function RegisterPage() { -