import type { Metadata } from "next"; import Link from "next/link"; import "./globals.css"; import ThemeToggle from "@/components/ThemeToggle"; import Sidebar from "@/components/Sidebar"; export const metadata: Metadata = { title: "MCPedia — Knowledge base for humans and AI agents", description: "A content-first knowledge base. Humans read the Web UI; AI agents use the MCP server. Both share one Core.", }; const SECTIONS = [ { id: "docs", label: "Documentation", icon: "📄" }, { id: "writeups", label: "Writeups", icon: "📝" }, { id: "research", label: "Research", icon: "🔬" }, { id: "notes", label: "Notes", icon: "📌" }, ] as const; export default function RootLayout({ children, }: { children: React.ReactNode; }) { return (
MCPedia
{/* Sticky sidebar for doc navigation */}
{children}
); }