mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-12-01 09:24:46 +00:00
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
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:
parent
d150717f90
commit
3b1bdfbef0
4 changed files with 35 additions and 37 deletions
|
|
@ -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}`);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue