From 9357d5691e1fe44a4c994459bfb0a99bdfb29cb7 Mon Sep 17 00:00:00 2001 From: LucasBerce71 Date: Sat, 2 Apr 2022 02:39:51 -0300 Subject: [PATCH 1/2] fix (Ball.ts): adjusting color of team names to improve readability. Hello, I changed the color of the text that contains the name of the teams when checking the X-Ray option, because in the white color the text was a little unreadable, making it difficult to read, so I chose a blue that follows the color tone pattern of the application, making the reading and visualization of the name of the teams easier to be read. Hope I helped in some way, thanks :) Any doubt I am available. --- src/ui/bowls/TeamBowl/Ball.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/bowls/TeamBowl/Ball.ts b/src/ui/bowls/TeamBowl/Ball.ts index e6c96b35..c52da61d 100644 --- a/src/ui/bowls/TeamBowl/Ball.ts +++ b/src/ui/bowls/TeamBowl/Ball.ts @@ -16,6 +16,8 @@ const TeamBall = styled(BowlBall)` cursor: ${props => props.noHover ? 'not-allowed' : 'pointer'}; + color: #015cc8; + &:hover { ${props => !props.noHover && css` background: radial-gradient(#ccf, #ccf); From 4d04030642168d4bf051d92fdcf15c19067460e0 Mon Sep 17 00:00:00 2001 From: LucasBerce71 Date: Sat, 2 Apr 2022 03:28:58 -0300 Subject: [PATCH 2/2] fix: adjusting bug fetch data below the 2002 season. Hello, when selecting the elimination round session below the 2002 season, the application crashed because there was no data for the 2000/2001, 2001/2002 seasons, even with the minSeasons property having the 2000 season as its value. So to solve the problem quickly, while the .json files of the respective seasons are not added, I changed the value of the minSeason property to 2002, which is the season where the .json referring to the year is. I hope I have helped in some way, and I am available for any questions. Thanks :) --- src/routes/Navbar/SelectSeason.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/Navbar/SelectSeason.tsx b/src/routes/Navbar/SelectSeason.tsx index 4212ab7b..b1abc619 100644 --- a/src/routes/Navbar/SelectSeason.tsx +++ b/src/routes/Navbar/SelectSeason.tsx @@ -17,7 +17,7 @@ import currentSeasonByTournament from '../currentSeasonByTournament' import seasonAsString from './seasonAsString' const minSeasons = { - cl: 2000, + cl: 2002, el: 2009, ecl: 2021, wc: 2018,