Updated layout and added suspense

This commit is contained in:
2025-08-22 11:24:31 +02:00
parent b9959e86b7
commit a7c8b1cef4
7 changed files with 234 additions and 203 deletions

View File

@@ -1,11 +1,11 @@
import { Card, CardContent } from "@/components/ui/card"
import { Separator } from "@/components/ui/separator"
import { getColor } from "@/data/colors"
import { formatDate, formatNumber } from "@/lib/formatters"
import { getGuildMember, getGuildRankTag, getMemberGEXP, getMemberWeeklyGEXP } from "@/lib/hypixel/guild"
import { getCoinMultiplier, getTotalChallenges, getTotalCoins, getTotalQuests, rewardClaimed } from "@/lib/hypixel/stats"
import { Guild } from "@/lib/schema/guild"
import { Player } from "@/lib/schema/player"
import { Separator } from "@radix-ui/react-separator"
import Link from "next/link"
import SocialIcons from "./SocialIcons"
@@ -18,7 +18,7 @@ type SidebarProps = {
export default function Sidebar({ level, ign, player, guild }: SidebarProps) {
return (
<Card className="w-1/4">
<Card className="overflow-hidden w-1/4 max-h-fit">
<CardContent>
<div className="flex justify-between px-8">
<div className="text-center">