aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/Summary.tsx
diff options
context:
space:
mode:
authorFifthWit <fifthwitbusiness@gmail.com>2025-08-14 15:44:50 -0500
committerFifthWit <fifthwitbusiness@gmail.com>2025-08-14 15:44:50 -0500
commitcfd377e29c0fa6f10c4d6bf3f507de4ca2f0b10a (patch)
tree6e30957cf5119a8ab83dd2c719e907e988619841 /frontend/src/components/Summary.tsx
parentSwitched to tailwind/vite (diff)
downloadlphub-cfd377e29c0fa6f10c4d6bf3f507de4ca2f0b10a.tar.gz
lphub-cfd377e29c0fa6f10c4d6bf3f507de4ca2f0b10a.tar.bz2
lphub-cfd377e29c0fa6f10c4d6bf3f507de4ca2f0b10a.zip
Mobile Design looking decent
Diffstat (limited to 'frontend/src/components/Summary.tsx')
-rw-r--r--frontend/src/components/Summary.tsx10
1 files changed, 5 insertions, 5 deletions
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>