import Link from "next/link";
import { ArrowRight } from "lucide-react";
import { PixelTrophy, PlayerAvatar } from "./PixelArt";
import {
formatScore,
type LeaderboardData,
type LeaderboardEntry,
} from "@/shared/leaderboard";
export function LeaderboardEmpty({
unavailable = false,
search = false,
}: {
unavailable?: boolean;
search?: boolean;
}) {
return (
{unavailable
? "The scoreboard is taking a break."
: search
? "No explorers found."
: "The first place is still open."}
{unavailable
? "We couldn’t load the scores. Try again in a moment."
: search
? "Try another player name or clear your search."
: "Log in and finish five rounds to put your name on the board."}