diff --git a/src/common/song-utils.ts b/src/common/song-utils.ts index 5bef4ac..3003d41 100644 --- a/src/common/song-utils.ts +++ b/src/common/song-utils.ts @@ -1,9 +1,9 @@ const diffColors: Record = { - easy: "MediumSeaGreen", + easy: "#3CB371", normal: "#59b0f4", - hard: "tomato", + hard: "#FF6347", expert: "#bf2a42", - expertPlus: "#8f48db", + expertplus: "#8f48db", }; const badgesDef: { diff --git a/src/components/score/score.tsx b/src/components/score/score.tsx index 5e3e3a3..d5aca5c 100644 --- a/src/components/score/score.tsx +++ b/src/components/score/score.tsx @@ -4,7 +4,7 @@ import { beatsaverService } from "@/common/service/impl/beatsaver"; import ScoreSaberPlayerScore from "@/common/service/types/scoresaber/scoresaber-player-score"; import BeatSaverMap from "@/common/database/types/beatsaver-map"; import LeaderboardScores from "@/components/leaderboard/leaderboard-scores"; -import { useCallback, useEffect, useState } from "react"; +import { Suspense, useCallback, useEffect, useState } from "react"; import ScoreButtons from "./score-buttons"; import ScoreSongInfo from "./score-info"; import ScoreRankInfo from "./score-rank-info"; @@ -33,15 +33,19 @@ export default function Score({ playerScore }: Props) { return (
-
+
- + + +
{isLeaderboardExpanded && }