logicsrc/apps/logicsrc-web/src/lib/site-footer.ts
Anthony Ettinger 5f2a2fb9c6 feat(footer): use @profullstack/footer
Replaces the hand-written footer / ring nav with the shared @profullstack/footer, rendered on the server so the ring verifier sees it and a package release updates the footer without a redeploy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 09:50:31 +00:00

26 lines
964 B
TypeScript

import { footerHtml, type FooterOptions } from "@profullstack/footer";
/**
* The site footer: @profullstack/footer (links, copyright and the Profullstack
* webring). SiteShell renders it as the package's React server component; the
* homepage, which is the legacy markup string (lib/page-markup.ts), gets the same
* footer as HTML. Both render on the server, which is what the ring's verifier reads.
*/
export const SITE_FOOTER: FooterOptions = {
site: "https://logicsrc.com/",
links: [
{ label: "Specs", href: "/specs" },
{ label: "Docs", href: "/docs" },
{ label: "RSS", href: "/blog/rss.xml" },
{ label: "llms.txt", href: "/llms.txt" },
{ label: "Terms", href: "/terms" },
{ label: "Privacy", href: "/privacy" },
],
};
/** Muted text, as the old footer had; the package inherits `color`. */
export const SITE_FOOTER_COLOR = "#5b6b7a";
export function siteFooterHtml(): Promise<string> {
return footerHtml(SITE_FOOTER);
}