"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 (
{/* Header */}

My Projects

{mockProjects.length} project{mockProjects.length !== 1 ? "s" : ""}

{/* Project Grid */} {/* Quick Actions */}

Quick Actions

{[ { label: "Upload Spec", desc: "Import an OpenAPI or Swagger file", icon: ( ), }, { label: "Browse Templates", desc: "Start from 37 production templates", icon: ( ), }, { label: "View Docs", desc: "Read the MCPEngine documentation", icon: ( ), }, ].map((action) => ( ))}
{/* Recent Activity */}

Recent Activity

{recentActivity.map((item, i) => (
{item.icon}

{item.action}{" "} {item.target}

{item.time}
))}
); }