add more statistics
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 48s
Deploy Website / docker (ubuntu-latest) (push) Successful in 2m26s

This commit is contained in:
Lee
2024-10-24 14:36:24 +01:00
parent aaee96ad7b
commit 6d0c6aa47f
3 changed files with 27 additions and 0 deletions

View File

@ -25,6 +25,9 @@ export default async function HomePage() {
<div className="flex items-center flex-col">
<p className="font-semibold">Site Statistics</p>
<Statistic title="Total Tracked Players" value={statistics.trackedPlayers} />
<Statistic title="Total Tracked Scores" value={statistics.trackedScores} />
<Statistic title="Total Additional Scores Data" value={statistics.additionalScoresData} />
<Statistic title="Cached BeatSaver Maps" value={statistics.cachedBeatSaverMaps} />
</div>
)}