import type { ReactNode } from "react"; import { renderInstallCommand } from "@/lib/install-command"; // Mirrors the rail/nav from page-markup.ts so standalone routes (e.g. /blog) // share the site chrome. Anchor links point at the homepage sections. const NAV: Array<{ href: string; label: string; external?: boolean }> = [ { href: "/#overview", label: "Overview" }, { href: "/#schemas", label: "Schemas" }, { href: "/agent-swarm", label: "Soon" }, { href: "/agentbyte", label: "AgentByte" }, { href: "/credential-sharing", label: "Credentials" }, { href: "/openontology", label: "OpenOntology" }, { href: "/opencreds", label: "OpenCreds" }, { href: "/openswarm", label: "OpenSwarm" }, { href: "/openprd", label: "OpenPRD" }, { href: "/asdlc", label: "ASDLC" }, { href: "/openprofile", label: "OpenProfile" }, { href: "/openmcp", label: "OpenMCP" }, { href: "/openaccess", label: "OpenAccess" }, { href: "/openserver", label: "OpenServer" }, { href: "/openthreat", label: "OpenThreat" }, { href: "/opencpu", label: "OpenCPU" }, { href: "/openmemory", label: "OpenMemory" }, { href: "/opengpu", label: "OpenGPU" }, { href: "/openbandwidth", label: "OpenBandwidth" }, { href: "/openfile", label: "OpenFile" }, { href: "/opendisk", label: "OpenDisk" }, { href: "/opencoupon", label: "OpenCoupon" }, { href: "/openrecipe", label: "OpenRecipe.md" }, { href: "/openaffiliate", label: "OpenAffiliate" }, { href: "/#cli", label: "CLI" }, { href: "/docs", label: "Docs" }, { href: "/blog", label: "Blog" }, { href: "/openspec", label: "OpenSpec" }, { href: "/pricing", label: "Pricing" }, { href: "/hire-us", label: "Hire Us" }, { href: "/about", label: "About" }, { href: "https://github.com/profullstack/logicsrc", label: "GitHub ↗", external: true }, { href: "/terms", label: "Terms" }, { href: "/privacy", label: "Privacy" }, { href: "/#reference", label: "Reference" }, ]; export function SiteShell({ children, active, }: { children: ReactNode; active?: string; }): ReactNode { return (
{children}
); }