This commit is contained in:
parent
1aa8630db0
commit
383923a768
@ -118,7 +118,7 @@ export default function Leaderboard({ id, page }: LeaderboardProps) {
|
|||||||
<div className="flex">
|
<div className="flex">
|
||||||
<p>Stars:</p>
|
<p>Stars:</p>
|
||||||
<StarIcon width={20} height={20} className="ml-1" />
|
<StarIcon width={20} height={20} className="ml-1" />
|
||||||
<p>{stars}</p>
|
<p className="text-pp-blue">{stars}</p>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
Plays: {formatNumber(plays)} ({dailyPlays} in the last day)
|
Plays: {formatNumber(plays)} ({dailyPlays} in the last day)
|
||||||
|
@ -57,7 +57,7 @@ export default function LeaderboardScore({
|
|||||||
href={`/leaderboard/${leaderboard.id}/1`}
|
href={`/leaderboard/${leaderboard.id}/1`}
|
||||||
className="transform-gpu transition-all hover:opacity-70"
|
className="transform-gpu transition-all hover:opacity-70"
|
||||||
>
|
>
|
||||||
<div className="w-fit truncate text-blue-500">
|
<div className="w-fit truncate">
|
||||||
<p className="font-bold">{player.name}</p>
|
<p className="font-bold">{player.name}</p>
|
||||||
</div>
|
</div>
|
||||||
</Link>
|
</Link>
|
||||||
@ -67,7 +67,7 @@ export default function LeaderboardScore({
|
|||||||
{/* PP */}
|
{/* PP */}
|
||||||
{score.pp > 0 && (
|
{score.pp > 0 && (
|
||||||
<ScoreStatLabel
|
<ScoreStatLabel
|
||||||
className="bg-blue-500 text-center"
|
className="bg-pp-blue text-center"
|
||||||
value={formatNumber(score.pp.toFixed(2)) + "pp"}
|
value={formatNumber(score.pp.toFixed(2)) + "pp"}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
Loading…
Reference in New Issue
Block a user