Added user head icon
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { getColor } from "@/lib/colors"
|
||||
import { Player } from "@/lib/schema/player"
|
||||
import Image from "next/image"
|
||||
import Link from "next/link"
|
||||
import { OnlineStatus } from "./online-status"
|
||||
|
||||
@@ -22,7 +23,17 @@ export default function DisplayName(
|
||||
}
|
||||
) {
|
||||
return (
|
||||
<div className="flex items-end mt-35">
|
||||
<div className="flex gap-2 items-center mt-35">
|
||||
<Link href={`/player/${ign}`}>
|
||||
<Image
|
||||
src={`https://minotar.net/helm/${ign}/36.png`}
|
||||
width={36}
|
||||
height={36}
|
||||
alt={ign}
|
||||
unoptimized
|
||||
className="shadow-2xl"
|
||||
/>
|
||||
</Link>
|
||||
<h1 className="text-3xl font-bold">
|
||||
<PlayerRank rank={rank} monthly={monthly} plusColor={plusColor} rankColor={rankColor} specialRank={specialRank} />{" "}
|
||||
<PlayerIGN ign={ign} rank={rank} monthly={monthly} rankColor={rankColor} specialRank={specialRank} />{" "}
|
||||
|
||||
Reference in New Issue
Block a user