mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-12-01 09:24:46 +00:00
Reddit, Slack, X and Facebook read og:title, and every page of
logicsrc.com was serving the homepage's. The <title> tag was correct per
page, which is why it went unnoticed: Next.js shallow-merges metadata, so
a page exporting only `{ title, description, alternates }` inherits the
root layout's `openGraph` object whole. og:title, og:description and
og:url were the homepage's on all 45 spec landing pages, every doc, every
report and every SPA section.
Blog posts were the one route that declared openGraph, and they proved
the mechanism: their og:title is right. They also showed the other half
of it -- declaring openGraph drops the file-convention opengraph-image,
so live posts shipped with no og:image at all, and their twitter:title
was still the homepage's.
- src/lib/page-meta.ts: one builder, three entry points. specMetadata
titles a spec landing page from its lib/specs.ts entry, pageMetadata
titles the site's own pages from PAGE_META, contentMetadata titles a
doc, post, skill or ontology record from its content. All three always
emit openGraph and twitter title, description, url and image.
- Spec titles come from the registry, so they cannot drift from the way
the sidebar, /specs and the home page describe the same spec, and a new
spec page is titled the moment its registry entry exists. composeTitle
trims a long subject line at a clause boundary to fit a link preview.
- Doc pages carry that subject line too, because every spec's H1 is just
its name: "OpenStream" alone was the whole title.
- docExcerpt joins the wrapped lines of the first real paragraph and
skips Status:/Slug: headers and list lead-ins, so descriptions stopped
being "Status: 0.1 draft" and "Core tables:".
- contract/page-metadata.contract.test.ts fails if a sitemap route has no
title, if a spec page has no registry entry, if two pages share a
title, if a page declares metadata without the builder, or if a page
loses its social image.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
79 lines
3 KiB
TypeScript
79 lines
3 KiB
TypeScript
import type { ReactNode } from "react";
|
|
import type { Metadata } from "next";
|
|
import { pageMetadata } from "@/lib/page-meta";
|
|
import { SiteShell } from "@/components/site-shell";
|
|
|
|
export const metadata: Metadata = pageMetadata("/pricing");
|
|
|
|
const FAQ: Array<{ q: string; a: string }> = [
|
|
{
|
|
q: "Is LogicSRC free?",
|
|
a: "Yes. The LogicSRC specification, JSON schemas, SDKs, CLI, TUI, and reference plugins are open source and free to use under the project license. There is no license fee to implement the standard.",
|
|
},
|
|
{
|
|
q: "How does pricing work?",
|
|
a: "The standard is free. If you want Profullstack to build a LogicSRC-based system for you, implementation work is billed at $400/hour/agent against actual agent-hours worked, invoiced through CoinPay after you approve them. The minimum engagement is 10 agent-hours.",
|
|
},
|
|
{
|
|
q: "Who is LogicSRC for?",
|
|
a: "Engineering and AI-platform teams building systems where humans and AI agents coordinate — boards, tasks, agent runs, identity, payments, and audit — without locking into a single vendor's proprietary platform.",
|
|
},
|
|
{
|
|
q: "How do I pay or get started?",
|
|
a: "Read the docs and adopt the schemas for free, or submit a project through the Hire Us form. Accepted projects are invoiced for approved hours via CoinPay.",
|
|
},
|
|
];
|
|
|
|
export default function PricingPage(): ReactNode {
|
|
const jsonLd = {
|
|
"@context": "https://schema.org",
|
|
"@type": "FAQPage",
|
|
mainEntity: FAQ.map((item) => ({
|
|
"@type": "Question",
|
|
name: item.q,
|
|
acceptedAnswer: { "@type": "Answer", text: item.a },
|
|
})),
|
|
};
|
|
|
|
return (
|
|
<SiteShell active="Pricing">
|
|
<script
|
|
type="application/ld+json"
|
|
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}
|
|
/>
|
|
<article className="band" style={{ maxWidth: "48rem" }}>
|
|
<div className="section-head">
|
|
<h2>Pricing</h2>
|
|
<p>
|
|
The LogicSRC specification and tooling are open source and free. You
|
|
only pay if you want us to build it for you.
|
|
</p>
|
|
</div>
|
|
|
|
<div className="blog-content" style={{ lineHeight: 1.7, marginTop: "1rem" }}>
|
|
<ul>
|
|
<li>
|
|
<strong>Standard & tooling — $0.</strong> Spec, schemas, SDKs,
|
|
CLI, TUI, and reference plugins are open source.
|
|
</li>
|
|
<li>
|
|
<strong>Implementation — $400/hour/agent.</strong> Profullstack builds
|
|
LogicSRC-based systems for accepted projects, billed against actual
|
|
hours worked and invoiced via CoinPay once you approve them.
|
|
Ten-agent-hour minimum engagement. See <a href="/hire-us">Hire Us</a> and{" "}
|
|
<a href="/terms">Terms</a>.
|
|
</li>
|
|
</ul>
|
|
|
|
<h3>Frequently asked questions</h3>
|
|
{FAQ.map((item) => (
|
|
<div key={item.q}>
|
|
<h4>{item.q}</h4>
|
|
<p>{item.a}</p>
|
|
</div>
|
|
))}
|
|
</div>
|
|
</article>
|
|
</SiteShell>
|
|
);
|
|
}
|