import type { ReactNode } from "react"; import Link from "next/link"; import { ArrowLeft } from "lucide-react"; import { LeaderboardSearch } from "@/components/leaderboard/leaderboard-search"; import { LeaderboardTabs } from "@/components/leaderboard/leaderboard-tabs"; import { SpaceBackground } from "@/components/space-background"; import { ThemeToggle } from "@/components/theme-toggle"; import { Button } from "@/components/ui/button"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; type LeaderboardShellProps = { active: "xp" | "vc"; title: string; description: string; searchQuery: string; children: ReactNode; }; export function LeaderboardShell({ active, title, description, searchQuery, children, }: LeaderboardShellProps) { return (

{title}

{description}
{children}
); }