Updated display name and heads display
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user