From 009760cd3375050fa0a95e470ee402e7e9cd4ec7 Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Wed, 30 Mar 2022 00:58:15 +0200 Subject: [PATCH] Clean mistakes --- src/client/src/FrontPage.js | 36 +++++++++++++++-------------- src/client/src/TournamentCreator.js | 4 ++-- 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/src/client/src/FrontPage.js b/src/client/src/FrontPage.js index f663b53..e642c3e 100644 --- a/src/client/src/FrontPage.js +++ b/src/client/src/FrontPage.js @@ -59,32 +59,34 @@ function TournamentListItem(props) { component="img" alt="tournament image" height="140" - // image="Asura_Rex.png" image="banner2.png" /> {props.tournament.name} - Start: {props.tournament.startTime.toLocaleString()} - End: {props.tournament.endTime.toLocaleString()} + + + Start: {props.tournament.startTime.toLocaleString()} + End: {props.tournament.endTime.toLocaleString()} + + Players {props.tournament.teamCount} / {props.tournament.teamLimit} - {/* {longDescription ? props.tournament.description : (shorten(props.tournament.description, 200))} */} - - - - + + + + + + + + + - - - - - - - + + diff --git a/src/client/src/TournamentCreator.js b/src/client/src/TournamentCreator.js index e90a97c..17e0212 100644 --- a/src/client/src/TournamentCreator.js +++ b/src/client/src/TournamentCreator.js @@ -125,8 +125,8 @@ function TournamentForm(props) { */} - - + + Maximum number of teams