feat(footer): use @profullstack/footer (#236)
Some checks failed
CI / build (push) Waiting to run
Deploy to dev2 / deploy (push) Has been cancelled
test / test (push) Has been cancelled

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>
This commit is contained in:
Anthony Ettinger 2026-10-10 02:53:51 -07:00 • committed by GitHub
parent 334b38528c
commit 0f5c479e2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 50 additions and 46 deletions

View file

@ -111,7 +111,12 @@ const comparisonRows = [
}
];
export function renderPageMarkup(path = "/"): string {
/**
* `footer` is the site footer's HTML (lib/site-footer.ts, @profullstack/footer), placed
* at the end of the workspace. The page route passes it; it is server-rendered, which
* the Profullstack ring's verifier needs.
*/
export function renderPageMarkup(path = "/", footer = ""): string {
return `
<main class="shell">
<aside class="rail">
@ -431,17 +436,7 @@ COINPAY_STATUS=pending_acceptance</code></pre>
`).join("")}
</div>
</section>
<!-- Member of the Profullstack OpenWebring (/openwebring). The homepage is this
markup, not SiteShell, so it carries its own copy of the shell's ring footer:
the ring's verifier reads these links from the server-rendered homepage. -->
<footer style="max-width:72rem;margin:2rem auto 0;padding:1.25rem 0;border-top:1px solid #d9ded4;font-size:0.85rem;color:#5b6b7a">
<nav class="webring" aria-label="Profullstack webring" style="display:flex;gap:0.75rem;justify-content:center">
<a href="https://rssamplifier.com/ring/profullstack/previous?from=https%3A%2F%2Flogicsrc.com%2F" rel="prev" title="Previous site" style="color:inherit">&lt;&lt;</a>
<a href="https://rssamplifier.com/ring/profullstack" style="color:inherit">Profullstack</a>
<a href="https://rssamplifier.com/ring/profullstack/next?from=https%3A%2F%2Flogicsrc.com%2F" rel="next" title="Next site" style="color:inherit">&gt;&gt;</a>
<a href="https://rssamplifier.com/ring/profullstack/random?from=https%3A%2F%2Flogicsrc.com%2F" title="Random site" aria-label="Random site" style="color:inherit">&#x2684;</a>
</nav>
</footer>
<div style="color:#5b6b7a">${footer}</div>
</section>
</main>
`;