From b62289d77ccf01ac967e8a6ee9101061a3f0855f Mon Sep 17 00:00:00 2001 From: tudor <7089284+tudddorrr@users.noreply.github.com> Date: Tue, 22 Oct 2024 22:19:20 +0100 Subject: [PATCH] add talo info card and footer --- src/Router.tsx | 33 ++++++++++-------- src/assets/talo-icon.svg | 5 +++ src/components/Footer.tsx | 61 +++++++++++++++++++++++++++++++++ src/components/Link.tsx | 4 +-- src/components/LinkButton.tsx | 6 ++-- src/components/TaloInfoCard.tsx | 28 +++++++++++++++ src/pages/Login.tsx | 9 ++++- src/pages/Register.tsx | 2 +- 8 files changed, 127 insertions(+), 21 deletions(-) create mode 100644 src/assets/talo-icon.svg create mode 100644 src/components/Footer.tsx create mode 100644 src/components/TaloInfoCard.tsx diff --git a/src/Router.tsx b/src/Router.tsx index 611af27f..1f6d6160 100644 --- a/src/Router.tsx +++ b/src/Router.tsx @@ -8,6 +8,7 @@ import canViewPage from './utils/canViewPage' import IntendedRouteHandler from './components/IntendedRouteHandler' import userState from './state/userState' import activeGameState from './state/activeGameState' +import Footer from './components/Footer' const Login = lazy(() => import(/* webpackChunkName: 'login' */ './pages/Login')) const Dashboard = lazy(() => import(/* webpackChunkName: 'dashboard' */ './pages/Dashboard')) @@ -57,26 +58,29 @@ function Router({ return ( <> {!AuthService.getToken() && -
- - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> +
+
+ + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> - } /> - -
+ } /> + +
+