diff --git a/apps/web/components/site/nav.tsx b/apps/web/components/site/nav.tsx index 127e0a9..f402725 100644 --- a/apps/web/components/site/nav.tsx +++ b/apps/web/components/site/nav.tsx @@ -1,5 +1,6 @@ import Image from "next/image"; import Link from "next/link"; +import { Footer } from "@profullstack/footer/react"; import { Button } from "@/components/ui/button"; /** lucide dropped brand icons in v1, so the mark lives here. */ @@ -84,34 +85,28 @@ export function SiteNav() { ); } +/** + * @profullstack/footer: links, copyright and the webring, from the package's + * @latest template (an async server component). + */ export function SiteFooter({ views }: { views?: number }) { return ( - +
+
); } diff --git a/apps/web/package.json b/apps/web/package.json index 5dc2c88..245a6ad 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -9,6 +9,7 @@ }, "dependencies": { "@base-ui/react": "1.7.0", + "@profullstack/footer": "latest", "@profullstack/hqtui": "^0.10.3", "@profullstack/libsql-pg": "^0.1.3", "class-variance-authority": "0.7.1", diff --git a/bun.lock b/bun.lock index b962b1f..29ff304 100644 --- a/bun.lock +++ b/bun.lock @@ -34,6 +34,7 @@ "version": "0.1.0", "dependencies": { "@base-ui/react": "1.7.0", + "@profullstack/footer": "latest", "@profullstack/hqtui": "^0.10.3", "@profullstack/libsql-pg": "^0.1.3", "class-variance-authority": "0.7.1", @@ -281,6 +282,8 @@ "@nodelib/fs.walk": ["@nodelib/fs.walk@1.2.8", "", { "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" } }, "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg=="], + "@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@workspace:packages/hqtui"], "@profullstack/hqtui-benchmark": ["@profullstack/hqtui-benchmark@workspace:apps/benchmark"],