Updated display name and heads display

This commit is contained in:
2025-09-07 22:51:48 +02:00
parent e0a54114d0
commit fbfd8b8bbc
4 changed files with 14 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
"use client"
import { head } from "@/lib/hypixel/general"
import { getHeads } from "@/lib/hypixel/skywars/skywars"
import { cn } from "@/lib/utils"
import Image from "next/image"
@@ -36,7 +37,7 @@ export function PresigeousHeads({ heads }: { heads: { username: string, timestam
data-id="presigeous-heads"
data-tooltip-id="presigeous-heads"
data-tooltip-content={text}
src={`https://minotar.net/helm/${username}/24.png`}
src={head(username, 24)}
width={24}
height={24}
alt={username}

View File

@@ -81,6 +81,7 @@ async function SuspendedPage({ ign: pign }: { ign: string }) {
<div className="flex flex-col items-center pb-5">
<DisplayName
ign={player.displayname}
uuid={player.uuid}
rank={player.newPackageRank}
monthly={player.monthlyPackageRank}
rankColor={player.monthlyRankColor}