From 538545a30b53e3efda0e38e592384a46fa2f201a Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Sat, 10 Oct 2026 09:26:34 +0000 Subject: [PATCH] feat(footer): use @profullstack/footer Co-Authored-By: Claude Opus 5.5 --- bun.lock | 3 +++ package.json | 1 + src/app/client-layout.jsx | 4 ++-- src/app/layout.jsx | 6 +++++- src/lib/components/Footer.jsx | 20 ++++---------------- 5 files changed, 15 insertions(+), 19 deletions(-) diff --git a/bun.lock b/bun.lock index e71271b7..65ed61ff 100644 --- a/bun.lock +++ b/bun.lock @@ -9,6 +9,7 @@ "@noble/hashes": "^2.0.0", "@profullstack/autoblog": "github:profullstack/autoblog#75e54af77cbcf61dbd90fb3ed529c1b2dad1ed6f", "@profullstack/encrypt": "^0.1.0", + "@profullstack/footer": "latest", "@profullstack/openprofile": "^0.2.0", "@profullstack/pairux-embed": "^0.1.0", "@profullstack/stack": "^0.1.3", @@ -416,6 +417,8 @@ "@profullstack/encrypt": ["@profullstack/encrypt@0.1.0", "", { "dependencies": { "@noble/ciphers": "^2.0.0", "@noble/hashes": "^2.0.0", "mlkem": "^2.5.0" }, "bin": { "pfencrypt": "bin/pfencrypt.js" } }, "sha512-FPwim78SLavWt/j2phmFkxlH8wv6oOGamcPCei4PxgNRDaBF+j/OcSRYB7pOJqhpaU3VD1oYX0V9ReVjnWSanA=="], + "@profullstack/footer": ["@profullstack/footer@0.2.1", "", { "peerDependencies": { "react": ">=18" }, "optionalPeers": ["react"], "bin": { "profullstack-footer": "bin/profullstack-footer.js" } }, "sha512-KHmKVwrlzCBrSAAJ4zobNFCxTg8VF0gvNMeAut00dX3+gbWCtk6eOwIR2AaqEC7smj6Aio6cIexzt/dUnv1McA=="], + "@profullstack/hqtui": ["@profullstack/hqtui@0.10.2", "", { "bin": { "hqtui": "bin/hqtui.mjs" } }, "sha512-rflKGzBWdX8xXsQgoMq9L0QhK4DP6a0+vqQu0Uq29XoB6OT4zM2QhMXXcIw2FgyoUyF43nf4dDFB0CauMSvwRg=="], "@profullstack/openprofile": ["@profullstack/openprofile@0.2.0", "", {}, "sha512-cdFsBbfRXurvy5KqHDNcKXxurK2s/YlfVgnILFRpVl2hq3860rExqDee8IfsFGxw5cPdqGv2fxUxtek1Xy2U5Q=="], diff --git a/package.json b/package.json index 9fe421e1..b7b8e6bc 100644 --- a/package.json +++ b/package.json @@ -61,6 +61,7 @@ "@noble/hashes": "^2.0.0", "@profullstack/autoblog": "github:profullstack/autoblog#75e54af77cbcf61dbd90fb3ed529c1b2dad1ed6f", "@profullstack/encrypt": "^0.1.0", + "@profullstack/footer": "latest", "@profullstack/openprofile": "^0.2.0", "@profullstack/pairux-embed": "^0.1.0", "@profullstack/stack": "^0.1.3", diff --git a/src/app/client-layout.jsx b/src/app/client-layout.jsx index 2c125384..f6d101d9 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 }) { +export default function ClientLayout({ children, footerBottom }) { const pathname = usePathname(); const currentTheme = useThemeStore((s) => s.currentTheme); const { t: _t } = useI18n(); @@ -60,7 +60,7 @@ export default function ClientLayout({ children }) {
{children}
- {shouldShowFooter &&