import { familyFooterHtml } from "capsomer/behavior/family-footer";
import "capsomer/manual.css"; // the double stripe and the letterhead
import "capsomer/family-footer.css";
// On another site: its own part, and the family's paths point at https://dustinedwards.info.
footer.innerHTML = familyFooterHtml({ site: "capsid", center });
// On dustinedwards.info itself: its own paths, and the Accessibility link only while that page is published.
familyFooterHtml({ site: "dustinedwards", origin: "", published: PUBLISHED_PAGES });
// A site that serves its own accessibility statement: the Legal group's Accessibility link goes to it.
familyFooterHtml({ site: "capsid", center, statement: "/accessibility" });
<div class="cap-family-footer-center">
<div><p class="cap-family-footer-center-name">Capsid</p><p class="cap-family-footer-about">What it is.</p></div>
<div class="cap-family-footer-columns">
<ul class="cap-family-footer-links"><li><a href="/tools">Tools</a></li></ul>
<!-- up to three groups, on the letterhead's columns -->
</div>
<p class="cap-family-footer-stamp"><span>Data as of 2026-10-26</span></p>
</div>
({ site, center, origin, published, statement, year, }?: FamilyFooterOptions): string
The footer as HTML: plain string building, so a server, a React page or a static build writes the same markup. Its band is the family's --on, so each site's own color draws it.
copyright
(name: string, since?: number | undefined, now?: Date): string