diff --git a/src/app/(stats)/player/[ign]/_stats/skywars/client.tsx b/src/app/(stats)/player/[ign]/_stats/skywars/client.tsx index 9a77ec7..150c88d 100644 --- a/src/app/(stats)/player/[ign]/_stats/skywars/client.tsx +++ b/src/app/(stats)/player/[ign]/_stats/skywars/client.tsx @@ -70,7 +70,7 @@ export function HeadsBar({ heads, heads_total }: { heads: [string, number][], he return ( <> -
+
{heads.map(([key, total]) => { const head = getHeads(key) const percent = total / heads_total @@ -83,7 +83,7 @@ export function HeadsBar({ heads, heads_total }: { heads: [string, number][], he data-tooltip-id="heads-bar" data-tooltip-content={`${total} ${head === null ? "Undefined" : head.name} heads`} key={key} - className={cn("h-5 first:rounded-l-md last:rounded-r-md", head === null ? "bg-background" : `bg-mc-${head.color}`)} + className={cn("h-5", head === null ? "bg-background" : `bg-mc-${head.color}`)} style={{ width: `${percent * 100}%` }} diff --git a/src/data/hypixel/skywars.ts b/src/data/hypixel/skywars.ts index d3facd3..681e03a 100644 --- a/src/data/hypixel/skywars.ts +++ b/src/data/hypixel/skywars.ts @@ -271,6 +271,7 @@ export const HEADS = [ { id: "succulent", name: "Succulent", color: "light-purple" }, { id: "sweet", name: "Sweet", color: "aqua" }, { id: "divine", name: "Divine", color: "gold" }, - { id: "heavenly", name: "Heavenly", color: "dark-purple" } + { id: "heavenly", name: "Heavenly", color: "dark-purple" }, + { id: "ethereal", name: "Ethereal", color: "dark-green" }, + { id: "indescribable", name: "Indescribable", color: "dark-blue" } ] as const - diff --git a/src/lib/schema/stats.ts b/src/lib/schema/stats.ts index b2153c3..05a7d14 100644 --- a/src/lib/schema/stats.ts +++ b/src/lib/schema/stats.ts @@ -156,6 +156,8 @@ export const skywarsStatsSchema = z.looseObject({ heads_sweet: z.number().default(0), heads_divine: z.number().default(0), heads_heavenly: z.number().default(0), + heads_ethereal: z.number().default(0), + heads_indescribable: z.number().default(0), head_collection: z.looseObject({ prestigious: z.array(z.object({ username: z.string().nullable().default(null),