From 34717ff9a58d7230ebe2544dd8609767a676013f Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Sat, 31 Oct 2026 07:23:22 +0000 Subject: [PATCH 1/2] fix(footer): use the universal footer --- bun.lock | 3 +++ package.json | 1 + src/views/Layout.jsx | 34 +++++++++++++++++----------------- 3 files changed, 21 insertions(+), 17 deletions(-) diff --git a/bun.lock b/bun.lock index b8388e6..7beda58 100644 --- a/bun.lock +++ b/bun.lock @@ -5,6 +5,7 @@ "": { "name": "d1sks", "dependencies": { + "@profullstack/footer": "latest", "hono": "^4.10.3", }, "devDependencies": { @@ -32,6 +33,8 @@ "@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@2.5.14", "", { "os": "win32", "cpu": "x64" }, "sha512-oJWmBhoHsnhUKIke+0gXDX0mltJrWHA1UyHsrTlXwX0TL64ilVZAo+TYZm97baecV0esBdpzy3k96q+09JaZUQ=="], + "@profullstack/footer": ["@profullstack/footer@0.6.9", "", { "peerDependencies": { "react": ">=18" }, "optionalPeers": ["react"], "bin": { "profullstack-footer": "bin/profullstack-footer.js" } }, "sha512-IlLCHq4QHXI6Vj+69o+AC4ZNVSxr/9l+ycC/+Fv3dr5wie8d2mUT/b3go5HH+JmJArW6qE+pa/pRmWJAs0JoYg=="], + "@types/node": ["@types/node@26.6.2", "", { "dependencies": { "undici-types": "~8.9.0" } }, "sha512-X1P21scMv4zGKLYqjdGjaKa7COa0RKVYYZZN/NfvLQ1JegxFhdhpZG/Lyn8AXx6CDUavKAd11v6BvfpkDByK8g=="], "bun-types": ["bun-types@1.4.2", "", { "dependencies": { "@types/node": "*" } }, "sha512-bxV1FgK7yBIzjRe5zBozIM4Bem11ZJcCXSrjWRG3YWLt8yFDePu4cLjpebO8OvPeIE9trbyPF4fuj3Cia4Fj3w=="], diff --git a/package.json b/package.json index 0da5713..aadf43e 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "secrets:push": "logicsrc teams push profullstack d1sks-com prod --env .env" }, "dependencies": { + "@profullstack/footer": "latest", "hono": "^4.10.3" }, "devDependencies": { diff --git a/src/views/Layout.jsx b/src/views/Layout.jsx index 80f7d85..c21eebb 100644 --- a/src/views/Layout.jsx +++ b/src/views/Layout.jsx @@ -1,4 +1,20 @@ import { config } from '../config.js'; +import { footerHtmlSync } from '@profullstack/footer'; + +const footerLinks = [ + { label: 'OpenDisk', href: 'https://logicsrc.com/opendisk' }, + { label: 'OpenObject', href: 'https://logicsrc.com/openobject' }, + { label: 'Compute', href: 'https://c0mpute.com' }, + { label: 'Pair', href: 'https://slic3s.com' }, + { label: 'GitHub', href: 'https://github.com/profullstack/d1sks.com' }, + { label: 'Profullstack', href: 'https://profullstack.com' }, + { label: 'llms.txt', href: '/llms.txt' }, + { label: 'openobject.json', href: '/.well-known/openobject.json' }, + { label: 'openserver.json', href: '/.well-known/openserver.json' }, + { label: 'Pool API', href: '/api/disks' }, +]; +const footerOptions = { site: 'https://d1sks.com/', tagline: 'MIT licensed', links: footerLinks }; +const footer = `
${footerHtmlSync(footerOptions)}
`; export function Layout({ title, description, path = '/', children }) { const fullTitle = title ? `${title} · d1sks` : 'd1sks: the OpenDisk marketplace'; @@ -55,23 +71,7 @@ export function Layout({ title, description, path = '/', children }) {
{children}
- +
); From 4da3de29ba7511af2b027163a452d32fcb50657f Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Sat, 31 Oct 2026 07:25:54 +0000 Subject: [PATCH 2/2] fix(footer): use the universal footer --- src/views/Layout.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Layout.jsx b/src/views/Layout.jsx index c21eebb..b9b7669 100644 --- a/src/views/Layout.jsx +++ b/src/views/Layout.jsx @@ -1,5 +1,5 @@ -import { config } from '../config.js'; import { footerHtmlSync } from '@profullstack/footer'; +import { config } from '../config.js'; const footerLinks = [ { label: 'OpenDisk', href: 'https://logicsrc.com/opendisk' },