fix pp color on ranking page
All checks were successful
Deploy Website / deploy (push) Successful in 4m5s
All checks were successful
Deploy Website / deploy (push) Successful in 4m5s
This commit is contained in:
parent
27c88cdb75
commit
eb89987614
@ -24,9 +24,11 @@ export default async function HomePage() {
|
|||||||
<Statistic title="Total Tracked Players" value={statistics.trackedPlayers} />
|
<Statistic title="Total Tracked Players" value={statistics.trackedPlayers} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div className="flex gap-2 flex-wrap">
|
||||||
<Link href="/search">
|
<Link href="/search">
|
||||||
<Button className="w-fit">Get started</Button>
|
<Button className="w-fit">Get started</Button>
|
||||||
</Link>
|
</Link>
|
||||||
|
</div>
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,7 @@ export function PlayerRanking({ player, isCountry }: PlayerRankingProps) {
|
|||||||
</p>
|
</p>
|
||||||
</Link>
|
</Link>
|
||||||
</td>
|
</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.totalPlayCount)}</td>
|
||||||
<td className="px-4 py-2 text-center">{formatNumberWithCommas(player.scoreStats.rankedPlayCount)}</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>
|
<td className="px-4 py-2 text-center">{player.scoreStats.averageRankedAccuracy.toFixed(2) + "%"}</td>
|
||||||
|
Reference in New Issue
Block a user