fix pp color on ranking page
All checks were successful
Deploy Website / deploy (push) Successful in 4m5s

This commit is contained in:
Lee 2024-10-12 04:25:00 +01:00
parent 27c88cdb75
commit eb89987614
2 changed files with 6 additions and 4 deletions

@ -24,9 +24,11 @@ export default async function HomePage() {
<Statistic title="Total Tracked Players" value={statistics.trackedPlayers} />
</div>
<Link href="/search">
<Button className="w-fit">Get started</Button>
</Link>
<div className="flex gap-2 flex-wrap">
<Link href="/search">
<Button className="w-fit">Get started</Button>
</Link>
</div>
</main>
);
}

@ -45,7 +45,7 @@ export function PlayerRanking({ player, isCountry }: PlayerRankingProps) {
</p>
</Link>
</td>
<td className="px-4 py-2 text-pp-blue text-center">{formatPp(player.pp)}pp</td>
<td className="px-4 py-2 text-pp text-center">{formatPp(player.pp)}pp</td>
<td className="px-4 py-2 text-center">{formatNumberWithCommas(player.scoreStats.totalPlayCount)}</td>
<td className="px-4 py-2 text-center">{formatNumberWithCommas(player.scoreStats.rankedPlayCount)}</td>
<td className="px-4 py-2 text-center">{player.scoreStats.averageRankedAccuracy.toFixed(2) + "%"}</td>