From 199dd99353907aa6211692bb3babb5d810e6b692 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Mon, 19 Oct 2026 12:34:22 +0000 Subject: [PATCH] Add the pit.world global footer, trim the site footer Fetch https://pit.world/snippets/footer.html?site=qrypt.chat on the server (1h revalidate, 3s timeout, renders nothing on failure) as the last thing in . Cut the four-column footer (brand + tagline, Product/Company/ Legal/Connect columns, @profullstack/footer webring row) down to one link row and a copyright line; the Tor link stays as a short '.onion' link. Co-Authored-By: Claude Opus 5.5 --- package.json | 2 +- src/app/client-layout.jsx | 4 +- src/app/layout.jsx | 9 +-- src/lib/components/Footer.jsx | 118 ++++++++----------------------- src/lib/components/PitFooter.jsx | 19 +++++ 5 files changed, 57 insertions(+), 95 deletions(-) create mode 100644 src/lib/components/PitFooter.jsx diff --git a/package.json b/package.json index ec18af0d..5820aa6d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "qryptchat-web", "private": true, - "version": "0.9.1", + "version": "0.9.2", "type": "module", "bin": { "qc": "./bin/qc.js", diff --git a/src/app/client-layout.jsx b/src/app/client-layout.jsx index f6d101d9..2c125384 100644 --- a/src/app/client-layout.jsx +++ b/src/app/client-layout.jsx @@ -17,7 +17,7 @@ import ActiveCallInterface from '@/lib/components/voice-call/ActiveCallInterface // token, since passkey/CoinPay/phone sessions have no cookie. installApiAuth({ refresh: (token) => useAuthStore.getState().refreshSession(token) }); -export default function ClientLayout({ children, footerBottom }) { +export default function ClientLayout({ children }) { const pathname = usePathname(); const currentTheme = useThemeStore((s) => s.currentTheme); const { t: _t } = useI18n(); @@ -60,7 +60,7 @@ export default function ClientLayout({ children, footerBottom }) {
{children}
- {shouldShowFooter &&