diff --git a/src/components/Score.tsx b/src/components/Score.tsx index f270b49..114c4b0 100644 --- a/src/components/Score.tsx +++ b/src/components/Score.tsx @@ -23,6 +23,7 @@ export default function Score({ score, leaderboard }: ScoreProps) { {moment(score.timeSet).fromNow()}

+ {/* Song Image */}
+ {/* Song Info */}

{leaderboard.songName}

@@ -41,10 +43,13 @@ export default function Score({ score, leaderboard }: ScoreProps) {

+ {/* Score rank */}

#{score.rank}

+ + {/* Time Set (Mobile) */}
{" "}

@@ -52,13 +57,17 @@ export default function Score({ score, leaderboard }: ScoreProps) {

-
+ + {/* PP */} +
{score.pp > 0 && ( )} + + {/* Percentage score */} + + {/* Missed Notes */} +
diff --git a/src/components/ScoreStatLabel.tsx b/src/components/ScoreStatLabel.tsx index d9e2996..55962bf 100644 --- a/src/components/ScoreStatLabel.tsx +++ b/src/components/ScoreStatLabel.tsx @@ -2,17 +2,26 @@ import clsx from "clsx"; type LabelProps = { value: string; + title?: string; className?: string; }; export default function ScoreStatLabel({ value, + title, className = "bg-neutral-700", }: LabelProps) { return ( -
+
-

{value}

+

+ {value} +

);