Small changes
This commit is contained in:
@@ -2,7 +2,7 @@ import { formatNumber } from "@/lib/formatters"
|
||||
import { bedwarsLevelColors, getBedwarsStar, getPrestigeName, getTextColor } from "@/lib/hypixel/bedwars/bedwars"
|
||||
import { getBWLevelForExp } from "@/lib/hypixel/bedwars/level"
|
||||
import { cn } from "@/lib/utils"
|
||||
import GenericProgress from "../../_components/GenericProgress"
|
||||
import { GenericProgress } from "../../_components/GenericProgress"
|
||||
import Multicolored from "../../_components/Multicolored"
|
||||
|
||||
export function BedwarsLevel({ xp }: { xp: number }) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { getBuildBattleRank, getNextBuildBattleRank } from "@/lib/hypixel/build-battle/general"
|
||||
import { getProgress } from "@/lib/hypixel/general"
|
||||
import { cn } from "@/lib/utils"
|
||||
import GenericProgress from "../../_components/GenericProgress"
|
||||
import { GenericProgress } from "../../_components/GenericProgress"
|
||||
|
||||
export default function BuildBattleTitleProgress({ score }: { score: number }) {
|
||||
const current = getBuildBattleRank(score)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { formatNumber } from "@/lib/formatters"
|
||||
import { getProgress } from "@/lib/hypixel/general"
|
||||
import { getPrestigeColor, getXpForPrestige } from "@/lib/hypixel/pit/general"
|
||||
import GenericProgress from "../../_components/GenericProgress"
|
||||
import { GenericProgress } from "../../_components/GenericProgress"
|
||||
|
||||
export default function PitProgress({ prestige, xp }: { prestige: number, xp: number }) {
|
||||
const presColor = getPrestigeColor(prestige)
|
||||
|
||||
@@ -2,7 +2,7 @@ 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 { GenericProgress } from "../../_components/GenericProgress"
|
||||
import { HeadsBar, PresigeousHeads } from "./client"
|
||||
|
||||
type SkywarsHeadsProps = {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { formatNumber } from "@/lib/formatters"
|
||||
import { getProgress } from "@/lib/hypixel/general"
|
||||
import { getNextUhcStar, getUhcStar } from "@/lib/hypixel/uhc/level"
|
||||
import GenericProgress from "../../_components/GenericProgress"
|
||||
import { GenericProgress } from "../../_components/GenericProgress"
|
||||
|
||||
export default function UHCProgress({ score }: { score: number }) {
|
||||
const current = getUhcStar(score)
|
||||
|
||||
Reference in New Issue
Block a user