import React, { useState } from "react"; import { SectionHeader } from "../../components/section-header"; import { useSocket } from "../../hooks/use-socket"; import { StatCard } from "../../components/stat-card"; import { ActivityChart } from "../../components/activity-chart"; import { LootdropCard } from "../../components/lootdrop-card"; import { LeaderboardCard } from "../../components/leaderboard-card"; import { RecentActivity } from "../../components/recent-activity"; import { CommandsDrawer } from "../../components/commands-drawer"; import { Server, Users, Terminal, Activity, Coins, TrendingUp, Flame, Package } from "lucide-react"; import { cn } from "../../lib/utils"; export function AdminOverview() { const { isConnected, stats } = useSocket(); const [commandsDrawerOpen, setCommandsDrawerOpen] = useState(false); return ( <>
{/* Stats Grid */}
0 ? '+' : ''}${stats.guilds.changeFromLastMonth} from last month` : "Active Guilds" } /> setCommandsDrawerOpen(true)} />
{/* Activity Chart */}
{/* Economy Stats */}

Economy Overview

{/* Recent Activity & Lootdrops */}

Live Feed

{/* Commands Drawer */} ); } export default AdminOverview;