diff options
Diffstat (limited to 'frontend/src/components')
| -rw-r--r-- | frontend/src/components/Leaderboards.tsx | 2 | ||||
| -rw-r--r-- | frontend/src/components/Summary.tsx | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/frontend/src/components/Leaderboards.tsx b/frontend/src/components/Leaderboards.tsx index 99481a2..1de9b08 100644 --- a/frontend/src/components/Leaderboards.tsx +++ b/frontend/src/components/Leaderboards.tsx | |||
| @@ -51,7 +51,7 @@ const Leaderboards: React.FC<LeaderboardsProps> = ({ mapID }) => { | |||
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | return ( | 53 | return ( |
| 54 | <div> | 54 | <div className="text-foreground"> |
| 55 | {MessageDialogComponent} | 55 | {MessageDialogComponent} |
| 56 | <section id="section6" className="summary2"> | 56 | <section id="section6" className="summary2"> |
| 57 | <div | 57 | <div |
diff --git a/frontend/src/components/Summary.tsx b/frontend/src/components/Summary.tsx index cdecf30..686652a 100644 --- a/frontend/src/components/Summary.tsx +++ b/frontend/src/components/Summary.tsx | |||
| @@ -81,7 +81,7 @@ const Summary: React.FC<SummaryProps> = ({ | |||
| 81 | 81 | ||
| 82 | return ( | 82 | return ( |
| 83 | <> | 83 | <> |
| 84 | <section id="section3" className="summary1"> | 84 | <section id="section3" className="summary1 text-foreground"> |
| 85 | <div | 85 | <div |
| 86 | id="category" | 86 | id="category" |
| 87 | style={data.map.image === "" ? { backgroundColor: "#202232" } : {}} | 87 | style={data.map.image === "" ? { backgroundColor: "#202232" } : {}} |
| @@ -174,8 +174,8 @@ const Summary: React.FC<SummaryProps> = ({ | |||
| 174 | </section> | 174 | </section> |
| 175 | <section id="section4" className="summary1"> | 175 | <section id="section4" className="summary1"> |
| 176 | <div id="difficulty"> | 176 | <div id="difficulty"> |
| 177 | <span>Difficulty</span> | 177 | <span className="">Difficulty</span> |
| 178 | {data.summary.routes[selectedRun].rating === 0 && <span>N/A</span>} | 178 | {data.summary.routes[selectedRun].rating === 0 && <span className="text-foreground">N/A</span>} |
| 179 | {data.summary.routes[selectedRun].rating === 1 && ( | 179 | {data.summary.routes[selectedRun].rating === 1 && ( |
| 180 | <span style={{ color: "lime" }}>Very easy</span> | 180 | <span style={{ color: "lime" }}>Very easy</span> |
| 181 | )} | 181 | )} |
| @@ -255,9 +255,9 @@ const Summary: React.FC<SummaryProps> = ({ | |||
| 255 | ) : ( | 255 | ) : ( |
| 256 | "" | 256 | "" |
| 257 | )} | 257 | )} |
| 258 | <h3>Route Description</h3> | 258 | <h3 className="font-semibold">Route Description</h3> |
| 259 | <span id="description-text"> | 259 | <span id="description-text"> |
| 260 | <ReactMarkdown> | 260 | <ReactMarkdown className="text-foreground"> |
| 261 | {data.summary.routes[selectedRun].description} | 261 | {data.summary.routes[selectedRun].description} |
| 262 | </ReactMarkdown> | 262 | </ReactMarkdown> |
| 263 | </span> | 263 | </span> |