"use client"; import { Button } from "@mcpengine/ui"; import { ProjectGrid } from "../../components/project/ProjectGrid"; const mockProjects = [ { id: "1", name: "Trello MCP Server", status: "deployed" as const, toolCount: 24, updatedAt: new Date(Date.now() - 1000 * 60 * 30), // 30 min ago }, { id: "2", name: "Stripe Payments", status: "tested" as const, toolCount: 18, updatedAt: new Date(Date.now() - 1000 * 60 * 60 * 2), // 2 hrs ago }, { id: "3", name: "Internal CRM", status: "draft" as const, toolCount: 0, updatedAt: new Date(Date.now() - 1000 * 60 * 60 * 24), // 1 day ago }, ]; const recentActivity = [ { action: "Deployed", target: "Trello MCP Server", time: "30 minutes ago", icon: "🚀" }, { action: "Tests passed", target: "Stripe Payments", time: "2 hours ago", icon: "✅" }, { action: "Created", target: "Internal CRM", time: "1 day ago", icon: "📄" }, ]; export default function DashboardPage() { return (
{mockProjects.length} project{mockProjects.length !== 1 ? "s" : ""}
{item.action}{" "} {item.target}