"use client" import { TrendingUpIcon, SparklesIcon, BarChart3Icon } from "lucide-react" import { TrendingGamesChart } from "./trending-games-chart" import { BestReleasesChart } from "./best-releases-chart" import { MostTestedChart } from "./most-tested-chart" interface TrendingGame { id: string title: string capsule_image: string | null header_image: string | null playability_status: string | null benchmark_count: number comment_count: number upvote_count: number activity_score: number } interface BestRelease { id: string title: string capsule_image: string | null header_image: string | null release_date: string | null created_at: string | null playability_status: string | null avg_fps: number | null benchmark_count: number } interface MostTestedGame { id: string title: string capsule_image: string | null header_image: string | null playability_status: string | null benchmark_count: number } interface MostReportedGame { id: string title: string capsule_image: string | null header_image: string | null report_count: number } interface DashboardClientProps { trending: TrendingGame[] bestNew: BestRelease[] mostTested: MostTestedGame[] mostReported: MostReportedGame[] } export function DashboardClient({ trending, bestNew, mostTested, mostReported, }: DashboardClientProps) { return (

Community Dashboard

Real-time insights from the DeckyVault community — trending games, top performers, and activity highlights.

{/* Trending Games */}

Trending Games (7 days)

Top games by community activity: benchmarks, comments, and upvotes.

{/* Best New Releases */}

Best Performing New Releases

Newly added games with the highest average FPS (minimum 3 benchmarks).

{/* Most Tested & Most Reported */}

Most Tested & Most Reported

Games with the most benchmarks submitted and the most open reports.

) }