feat(web): og:image, /pricing + FAQ schema, llms-full.txt, GitHub nav

More AEO audit fixes (the content-independent quick wins):

- Generated 1200x630 OpenGraph/Twitter card (app/opengraph-image.tsx);
  drop the SVG fallback and use summary_large_image.
- /pricing page with question-style headings and FAQPage JSON-LD; clarifies
  the spec/tooling is free and implementation is $250/week.
- /llms-full.txt — full markdown of the curated docs concatenated for
  large-context RAG ingestion.
- GitHub link added to both navs (SPA rail + SiteShell) and Pricing nav item;
  /pricing added to the sitemap.

Verified in a running build: og image renders as PNG and is referenced in
head; /pricing serves FAQ + schema; /llms-full.txt concatenates docs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Anthony Ettinger 2026-06-08 12:51:51 +00:00
parent fb20fd2e99
commit 74abf8985f
7 changed files with 176 additions and 4 deletions

View file

@ -0,0 +1,32 @@
import { DOC_SLUGS, docTitle, readDoc } from "@/lib/docs";
const SITE_URL = (process.env.PUBLIC_URL ?? "https://logicsrc.com").replace(/\/$/, "");
// GET /llms-full.txt — full markdown of every curated doc concatenated into a
// single response, so large-context models can ingest the whole reference at
// once (https://llmstxt.org).
export function GET(): Response {
const parts: string[] = [
"# LogicSRC — Full Documentation",
"",
"> Open schemas, primitives, and conventions for coordination between humans, AI agents, plugins, payment systems, and hosted products. A Profullstack, Inc. open-specification project.",
"",
`Source: ${SITE_URL}`,
"",
];
for (const slug of DOC_SLUGS) {
const md = readDoc(slug);
if (!md) continue;
parts.push(`\n---\n\n## ${docTitle(md, slug)} (${SITE_URL}/docs/${slug})\n`);
parts.push(md.trim());
parts.push("");
}
return new Response(parts.join("\n"), {
headers: {
"content-type": "text/plain; charset=utf-8",
"cache-control": "public, max-age=3600",
},
});
}