aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/Leaderboards.tsx
diff options
context:
space:
mode:
authorFifthWit <fifthwitbusiness@gmail.com>2025-08-14 14:01:01 -0500
committerFifthWit <fifthwitbusiness@gmail.com>2025-08-14 14:01:01 -0500
commit6a8b909afbe1560be95f7ad0a3e19cfe4717aec6 (patch)
tree83cdbe3b5b7e5b83d5f0d08964634cc942264072 /frontend/src/components/Leaderboards.tsx
parentSwitched to Vite as build tool (diff)
downloadlphub-6a8b909afbe1560be95f7ad0a3e19cfe4717aec6.tar.gz
lphub-6a8b909afbe1560be95f7ad0a3e19cfe4717aec6.tar.bz2
lphub-6a8b909afbe1560be95f7ad0a3e19cfe4717aec6.zip
Switched to tailwind/vite
Diffstat (limited to 'frontend/src/components/Leaderboards.tsx')
-rw-r--r--frontend/src/components/Leaderboards.tsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/frontend/src/components/Leaderboards.tsx b/frontend/src/components/Leaderboards.tsx
index b388aba..99481a2 100644
--- a/frontend/src/components/Leaderboards.tsx
+++ b/frontend/src/components/Leaderboards.tsx
@@ -36,7 +36,7 @@ const Leaderboards: React.FC<LeaderboardsProps> = ({ mapID }) => {
36 return ( 36 return (
37 <section id="section6" className="summary2"> 37 <section id="section6" className="summary2">
38 <h1 style={{ textAlign: "center" }}> 38 <h1 style={{ textAlign: "center" }}>
39 Map is not available for competitive boards. 39 Loading...
40 </h1> 40 </h1>
41 </section> 41 </section>
42 ); 42 );
@@ -195,6 +195,7 @@ const Leaderboards: React.FC<LeaderboardsProps> = ({ mapID }) => {
195 filter: 195 filter:
196 "hue-rotate(160deg) contrast(60%) saturate(1000%)", 196 "hue-rotate(160deg) contrast(60%) saturate(1000%)",
197 }} 197 }}
198 className="w-6 h-6 mx-4"
198 /> 199 />
199 </button> 200 </button>
200 <button 201 <button
@@ -209,6 +210,7 @@ const Leaderboards: React.FC<LeaderboardsProps> = ({ mapID }) => {
209 filter: 210 filter:
210 "hue-rotate(300deg) contrast(60%) saturate(1000%)", 211 "hue-rotate(300deg) contrast(60%) saturate(1000%)",
211 }} 212 }}
213 className="w-6 h-6"
212 /> 214 />
213 </button> 215 </button>
214 </span> 216 </span>
@@ -227,7 +229,7 @@ const Leaderboards: React.FC<LeaderboardsProps> = ({ mapID }) => {
227 (window.location.href = `/api/v1/demos?uuid=${r.demo_id}`) 229 (window.location.href = `/api/v1/demos?uuid=${r.demo_id}`)
228 } 230 }
229 > 231 >
230 <img src={DownloadIcon} alt="download" /> 232 <img src={DownloadIcon} alt="download" className="w-6 h-6 mr-4" />
231 </button> 233 </button>
232 </span> 234 </span>
233 ) 235 )