import Link from "next/link"; import { notFound } from "next/navigation"; import { ArrowLeft, Compass, MapPinned } from "lucide-react"; import { Footer, Header } from "@/components/Shell"; import { PlayerAvatar } from "@/components/PixelArt"; import { Username } from "@/components/Username"; import { getI18n } from "@/lib/i18n"; import { publicProfile } from "@/lib/public-profile"; export const dynamic = "force-dynamic"; export default async function PlayerProfilePage({ params, }: { params: Promise<{ id: string }>; }) { const { id } = await params; const profile = await publicProfile(id); if (!profile) notFound(); const { t, formatDate, formatNumber } = await getI18n(); return ( <>