Added first stat on bedwars
This commit is contained in:
@@ -4,6 +4,7 @@ import { getUuid } from "@/lib/hypixel/api/mojang"
|
||||
import { getPlayer } from "@/lib/hypixel/api/player"
|
||||
import { getExactLevel } from "@/lib/hypixel/level"
|
||||
import Sidebar from "./_components/Sidebar"
|
||||
import BedwarsStats from "./_components/stats/bedewars"
|
||||
|
||||
export default async function PlayerPage({
|
||||
params
|
||||
@@ -53,9 +54,8 @@ export default async function PlayerPage({
|
||||
</h1>
|
||||
<div className="flex gap-6 px-6 mt-8 w-full max-w-7xl">
|
||||
<Sidebar level={level} ign={pign} player={player} guild={guild ?? undefined} />
|
||||
<div className="p-6 w-3/4 rounded-xl border shadow-sm bg-card">
|
||||
<h2 className="mb-4 text-xl font-semibold">Game Statistics</h2>
|
||||
<p>Game stats will be displayed here...</p>
|
||||
<div className="w-3/4">
|
||||
<BedwarsStats stats={player.stats.Bedwars} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user