mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-11-29 15:51:52 +00:00
feat(webring): Random link in the Profullstack ring footer (#234)
Adds the Random (⚄) hop to the Profullstack OpenWebring footer per the 2026-10-10 ring spec. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
356a850cb2
commit
c4dcc4e219
3 changed files with 23 additions and 3 deletions
|
|
@ -90,6 +90,14 @@ describe("server-rendered page markup", () => {
|
|||
expect(markup).toContain("/api/oauth/coinpay/start");
|
||||
expect(markup).toContain('id="project-request-form"');
|
||||
});
|
||||
|
||||
it("carries the Profullstack webring links (the ring verifier reads the homepage)", () => {
|
||||
const markup = renderPageMarkup();
|
||||
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}`);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
describe("payment rail selection", () => {
|
||||
|
|
|
|||
|
|
@ -60,11 +60,12 @@ export function SiteShell({
|
|||
<a href="/terms" style={{ color: "inherit" }}>Terms</a>
|
||||
<a href="/privacy" style={{ color: "inherit" }}>Privacy</a>
|
||||
</span>
|
||||
{/* Member of the Profullstack OpenWebring (/openwebring): the ring reads these three links. */}
|
||||
{/* Member of the Profullstack OpenWebring (/openwebring): the ring reads these links. */}
|
||||
<span style={{ display: "flex", gap: "0.75rem", width: "100%" }}>
|
||||
<a href="https://rssamplifier.com/ring/profullstack/previous?from=https%3A%2F%2Flogicsrc.com%2F" rel="prev" style={{ color: "inherit" }}>{"<<"}</a>
|
||||
<a href="https://rssamplifier.com/ring/profullstack/previous?from=https%3A%2F%2Flogicsrc.com%2F" rel="prev" title="Previous site" style={{ color: "inherit" }}>{"<<"}</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" style={{ color: "inherit" }}>{">>"}</a>
|
||||
<a href="https://rssamplifier.com/ring/profullstack/next?from=https%3A%2F%2Flogicsrc.com%2F" rel="next" title="Next site" style={{ color: "inherit" }}>{">>"}</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" }}>{"⚄"}</a>
|
||||
</span>
|
||||
</footer>
|
||||
</section>
|
||||
|
|
|
|||
|
|
@ -431,6 +431,17 @@ 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"><<</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">>></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">⚄</a>
|
||||
</nav>
|
||||
</footer>
|
||||
</section>
|
||||
</main>
|
||||
`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue