Use the latest shared footer (#277)

* Use latest shared footer

* Use latest shared footer and restore square badges

* Keep the existing workspace lock structure

---------

Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
This commit is contained in:
sh1pt-actions-fleet[bot] 2026-10-31 07:14:35 +00:00 • committed by GitHub
parent ebdc0d122d
commit 4daee10537
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 24 additions and 18 deletions

View file

@ -1,16 +1,19 @@
// The Profullstack footer (links, copyright, the << Profullstack >> webring row and
// the built.indie + pwamart badges) from @profullstack/footer, on the public
// the square built.indie + PwaMart badges) from @profullstack/footer, on the public
// sign-in page. It is rendered into the HTML on the server because rssamplifier's
// ring verifier reads the page and never runs script.
//
// This origin holds vault identity keys in browser storage, so the footer is the
// template BUNDLED in the pinned package version only. It used to be refreshed
// from jsdelivr @latest every 15 minutes, which made whoever could publish the
// footer package able to put HTML on this origin, past a bypassable sanitizer.
// A footer change now reaches this app by bumping the pinned dependency.
// This origin holds vault identity keys in browser storage, so the footer uses
// the package's bundled template only: nothing is fetched at runtime. A footer
// release reaches this app through the shared latest dependency and normal deploy.
import { footerHtmlSync } from "@profullstack/footer";
export const RING_FOOTER_OPTIONS = { site: "https://app.logicsrc.com/" };
const SITE = "https://app.logicsrc.com/";
export const RING_FOOTER_OPTIONS = {
site: SITE,
builtIndieHref: `https://built.indie.pit.world/for?site=${SITE}`,
pwamartHref: `https://pwamart.com/for?site=${SITE}`,
};
const html = footerHtmlSync(RING_FOOTER_OPTIONS);