feat(footer): use @profullstack/footer (#236)
Some checks failed
CI / build (push) Waiting to run
Deploy to dev2 / deploy (push) Has been cancelled
test / test (push) Has been cancelled

Replaces the hand-written footer / ring nav with the shared @profullstack/footer, rendered on the server so the ring verifier sees it and a package release updates the footer without a redeploy.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Anthony Ettinger 2026-10-10 02:53:51 -07:00 • committed by GitHub
parent 334b38528c
commit 0f5c479e2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 50 additions and 46 deletions

View file

@ -4,6 +4,7 @@ import type { ReactNode } from "react";
import { renderPageMarkup } from "@/lib/page-markup";
import { pageMetadata, specMetadata } from "@/lib/page-meta";
import { HomeInteractivity } from "@/components/home-interactivity";
import { siteFooterHtml } from "@/lib/site-footer";
// The legacy SPA served the same single page for every top-level path and just
// scrolled to the matching section. We preserve those URLs (they are canonical
@ -50,9 +51,10 @@ export default async function Page({
}
}
const footer = await siteFooterHtml();
return (
<>
<div id="app" dangerouslySetInnerHTML={{ __html: renderPageMarkup(slug?.[0] ? `/${slug[0]}` : "/") }} />
<div id="app" dangerouslySetInnerHTML={{ __html: renderPageMarkup(slug?.[0] ? `/${slug[0]}` : "/", footer) }} />
<HomeInteractivity />
</>
);