Small changes

This commit is contained in:
2025-09-06 23:04:07 +02:00
parent a3da8a892c
commit e604294208
11 changed files with 14 additions and 9 deletions

View File

@@ -4,7 +4,7 @@ export default function Home() {
return (
<div className="flex flex-col items-center min-h-screen">
<div className="mt-[20vh]">
<h1 className="text-4xl font-bold text-center">Stats Hypixel</h1>
<h1 className="text-4xl font-bold text-center">Hypixel Stats</h1>
</div>
<SearchBar />
</div>

View File

@@ -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 }) {

View File

@@ -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)

View File

@@ -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)

View File

@@ -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 = {

View File

@@ -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)

View File

@@ -1,5 +1,6 @@
@import "tailwindcss";
@import "tw-animate-css";
@plugin "@designbycode/tailwindcss-text-stroke";
@custom-variant dark (&:is(.dark *));

View File

@@ -8,8 +8,8 @@ import type { Metadata } from "next"
export const metadata: Metadata = {
title: {
template: "%s | Stats Hypixel",
default: "Stats Hypixel"
template: "%s | Hypixel Stats",
default: "Hypixel Stats"
}
}