From c30d6912e6cff61e34f01bfa9fa242e66bb227dd Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Fri, 29 Apr 2022 10:52:51 +0200 Subject: [PATCH] Major spring cleaning: Remove unused code, clarify comments, move assets --- src/client/package.json | 2 +- src/client/public/index.html | 2 +- src/client/public/manifest.json | 9 +-- src/client/src/AdminsOverview.js | 11 +-- src/client/src/FrontPage.js | 18 ++--- src/client/src/LoginPage.js | 5 +- src/client/src/ProfilePage.js | 4 +- src/client/src/TournamentCreator.js | 9 +-- src/client/src/TournamentHistory.js | 65 +++++++++--------- src/client/src/TournamentManager.js | 13 +--- src/client/src/TournamentOverview.js | 32 +++------ src/client/src/TournamentTeams.js | 52 +++++++------- src/client/src/components/AsuraBar.js | 11 ++- .../AsuraLogo.png} | Bin src/client/src/components/ErrorSnackbar.js | 3 +- src/client/src/components/NoSuchPage.js | 18 +++-- src/client/src/components/NoUserPage.js | 18 +++-- src/client/src/components/TournamentBar.js | 2 +- src/client/src/components/savebutton.js | 12 ---- src/client/src/components/theme.js | 6 -- .../src/components/tournamentBracket.css | 20 +----- src/client/src/index.css | 4 -- src/server/dotenv-template | 1 + src/server/index.js | 47 ++++++++----- 24 files changed, 150 insertions(+), 214 deletions(-) rename src/client/src/{Asura2222.png => components/AsuraLogo.png} (100%) delete mode 100644 src/client/src/components/savebutton.js diff --git a/src/client/package.json b/src/client/package.json index 50d75ec..6715101 100644 --- a/src/client/package.json +++ b/src/client/package.json @@ -1,6 +1,6 @@ { "name": "tournament-server", - "version": "1.0.0", + "version": "1.1.0", "description": "DCST1008 Project - Server - Asura Tournament Management System", "author": "felixalb, kristoju, jonajha, krisleri", "private": true, diff --git a/src/client/public/index.html b/src/client/public/index.html index c1d44de..b8483a8 100644 --- a/src/client/public/index.html +++ b/src/client/public/index.html @@ -9,7 +9,7 @@ name="description" content="Asura Tournament System" /> - +