From 5d28f59d67bc61f9739029d774a088fe65c575a3 Mon Sep 17 00:00:00 2001 From: Saksham Agrawal <153260291+sksmagr23@users.noreply.github.com> Date: Fri, 18 Oct 2024 17:18:35 +0530 Subject: [PATCH 1/2] fixed color in fixtures (#96) --- frontend/src/components/LandingPages/matches/Fixtures.js | 2 +- frontend/src/components/LandingPages/matches/ResultFixture.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/LandingPages/matches/Fixtures.js b/frontend/src/components/LandingPages/matches/Fixtures.js index 6b76204..2a467b0 100644 --- a/frontend/src/components/LandingPages/matches/Fixtures.js +++ b/frontend/src/components/LandingPages/matches/Fixtures.js @@ -56,7 +56,7 @@ const Fixtures = ({ selectedSport , selectedDate}) => { {/* | Round {data.round }*/} -
+
{/*
*/} {data.team1} diff --git a/frontend/src/components/LandingPages/matches/ResultFixture.css b/frontend/src/components/LandingPages/matches/ResultFixture.css index 71706a6..28f58ef 100644 --- a/frontend/src/components/LandingPages/matches/ResultFixture.css +++ b/frontend/src/components/LandingPages/matches/ResultFixture.css @@ -93,6 +93,7 @@ p { width: 12.5rem; justify-content: center; justify-items: center; + color: white; } .Supreme { display: grid; From fb95ff2ae4fe1c3210286b8ac98431349c42b41f Mon Sep 17 00:00:00 2001 From: Vipul <126176216+vipul6042@users.noreply.github.com> Date: Fri, 18 Oct 2024 17:32:35 +0530 Subject: [PATCH 2/2] [UPDATED] fixtures --- frontend/src/components/LandingPages/matches/matches.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/LandingPages/matches/matches.js b/frontend/src/components/LandingPages/matches/matches.js index b080d53..6d61d3a 100644 --- a/frontend/src/components/LandingPages/matches/matches.js +++ b/frontend/src/components/LandingPages/matches/matches.js @@ -28,7 +28,7 @@ const Matches = () => { 'Volleyball', 'Weight Lifting', ]; - const [selectedDate, setSelectedDate] = useState('2023-10-13'); + const [selectedDate, setSelectedDate] = useState('2024-10-18'); const [selectedSport, setSelectedSport] = useState('All'); const handleDateChange = (event) => { setSelectedDate(event.target.value); @@ -165,4 +165,4 @@ const Matches = () => { ); }; -export default Matches; \ No newline at end of file +export default Matches;