Restore the @profullstack/footer webring row (#248)
Some checks are pending
CI / build (push) Waiting to run
Deploy to dev2 / deploy (push) Waiting to run
test / test (push) Waiting to run

The fleet is rolling out @profullstack/footer on purpose; put it back as
the site footer (links, webring, copyright) on SiteShell pages and the
homepage, before the pit.world global footer (still last in <body>).

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Anthony Ettinger 2026-10-19 06:41:41 -07:00 • committed by GitHub
parent d150717f90
commit 3b1bdfbef0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 35 additions and 37 deletions

View file

@ -92,12 +92,14 @@ describe("server-rendered page markup", () => {
expect(markup).toContain('id="project-request-form"');
});
it("carries the site footer (links + copyright), with no webring of its own", async () => {
it("carries the Profullstack webring links (the ring verifier reads the homepage)", async () => {
process.env.PROFULLSTACK_FOOTER_OFFLINE = "1";
const markup = renderPageMarkup("/", await siteFooterHtml());
expect(markup).toContain('class="site-footer"');
expect(markup).toContain('href="/terms"');
expect(markup).toContain('href="/privacy"');
expect(markup).not.toContain("rssamplifier.com/ring");
expect(markup).toContain("data-pfs-footer");
const from = "from=https%3A%2F%2Flogicsrc.com%2F";
for (const hop of ["previous", "next", "random"]) {
expect(markup).toContain(`https://rssamplifier.com/ring/profullstack/${hop}?${from}`);
}
});
});