diff --git a/đ b/đ deleted file mode 100644 index 01cde9d..0000000 --- a/đ +++ /dev/null @@ -1,236 +0,0 @@ -import { formatNumber } from "@/lib/formatters" -import { getSkywarsLevel } from "@/lib/hypixel/skywars/level" -import { getPrestige, getSkyWarsIcon } from "@/lib/hypixel/skywars/skywars" -import { cn } from "@/lib/utils" -import GenericProgress from "../../_components/GenericProgress" -import { HeadsBar, PresigeousHeads } from "./client" - -type SkywarsHeadsProps = { - heads: number - heads_special: { - eww: number - yucky: number - meh: number - decent: number - salty: number - tasty: number - succulent: number - sweet: number - divine: number - heavenly: number - } - prestigeous: { username: string, timestamp: number, sacrifice: string }[] -} - -export function SkywarsHeads({ - heads, - heads_special, - prestigeous -}: SkywarsHeadsProps) { - const total_special = Object.values(heads_special).reduce((a, b) => a + b) - const percentages = { - heavenly: heads_special.heavenly, - divine: heads_special.divine, - sweet: heads_special.sweet, - succulent: heads_special.succulent, - tasty: heads_special.tasty, - salty: heads_special.salty, - decent: heads_special.decent, - meh: heads_special.meh, - yucky: heads_special.yucky, - eww: heads_special.eww, - rest: (heads - total_special) - } - - const headsArray = Object.entries(percentages) - - return ( -
- {"Total Heads Gathered: "} - {formatNumber(heads)} -
- {total_special > 0 ?This person has no heads collected.
} -Prestigious Head Collection
- {prestigeous.length > 0 ?No prestigeous heads. Now what a skill issue.
} -- {"Shards: "} - {shards} -
-- {"Opals: "} - {opals} -
-- {"Lifetime Shards: "} - {formatNumber(lifetime_shards)} -
-- {"Lifetime Opals: "} - {lifetime_opals} -
-- // [ - // - // {`${val}`} - // - // ] - //
- // ) - // } - // - // if (level === 50) { - //- // [ - // - // {`${val}`} - // - // ] - //
- // } - - function MapSkywarsPrestigeColors() { - if (typeof pres.colormap_2 === "string") { - return {val} - } - - return ( - <> - {val.split("").map((c, i) => { - if (level.toString().length === 2) { - return {c} - } else { - } - })} - > - ) - } - - return ( -
- [
-