Skip to content

Commit 5f9e295

Browse files
ralyodioclaude
andcommitted
feat(footer): use @profullstack/footer
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>
1 parent af20ed0 commit 5f9e295

3 files changed

Lines changed: 53 additions & 54 deletions

File tree

‎bun.lock‎

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎components/site-footer.tsx‎

Lines changed: 49 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,57 @@
1-
"use client";
2-
31
import Link from "next/link";
2+
import { Footer } from "@profullstack/footer/react";
43

4+
/** Server component: the bottom bar is @profullstack/footer (copyright + Profullstack webring). */
55
export function SiteFooter() {
66
return (
7-
<footer className="mt-24 border-t border-[var(--color-border)]">
8-
<div className="mx-auto grid max-w-6xl grid-cols-2 gap-8 px-4 sm:px-6 py-10 text-sm text-[var(--color-muted)] md:grid-cols-5">
9-
<div>
10-
<div className="font-semibold text-[var(--color-fg)]">CrawlProof</div>
11-
<p className="mt-2">See your site the way AI crawlers do.</p>
12-
</div>
13-
<div>
14-
<div className="font-semibold text-[var(--color-fg)]">Product</div>
15-
<ul className="mt-2 space-y-1">
16-
<li><Link href="/pricing">Pricing</Link></li>
17-
<li><Link href="/lead-generation">Lead generation</Link></li>
18-
<li><Link href="/slop">Slop Score</Link></li>
19-
<li><Link href="/get-guide">Get guide</Link></li>
20-
<li><Link href="/recent">Recent scans</Link></li>
21-
<li><Link href="/blog">Blog</Link></li>
22-
</ul>
23-
</div>
24-
<div>
25-
<div className="font-semibold text-[var(--color-fg)]">Company</div>
26-
<ul className="mt-2 space-y-1">
27-
<li><Link href="/about">About</Link></li>
28-
<li><Link href="/press">Press &amp; News</Link></li>
29-
<li><Link href="/bot">Bot info</Link></li>
30-
{/* Member of the Profullstack OpenWebring (logicsrc.com/openwebring): the ring reads these links. */}
31-
<li>
32-
<a href="https://rssamplifier.com/ring/profullstack/previous?from=https%3A%2F%2Fcrawlproof.com%2F" rel="prev" title="Previous site">{"<<"}</a>{" "}
33-
<a href="https://rssamplifier.com/ring/profullstack">Profullstack</a>{" "}
34-
<a href="https://rssamplifier.com/ring/profullstack/next?from=https%3A%2F%2Fcrawlproof.com%2F" rel="next" title="Next site">{">>"}</a>{" "}
35-
<a href="https://rssamplifier.com/ring/profullstack/random?from=https%3A%2F%2Fcrawlproof.com%2F" title="Random site" aria-label="Random site">{"⚄"}</a>
36-
</li>
37-
</ul>
7+
<>
8+
<footer className="mt-24 border-t border-[var(--color-border)]">
9+
<div className="mx-auto grid max-w-6xl grid-cols-2 gap-8 px-4 sm:px-6 py-10 text-sm text-[var(--color-muted)] md:grid-cols-5">
10+
<div>
11+
<div className="font-semibold text-[var(--color-fg)]">CrawlProof</div>
12+
<p className="mt-2">See your site the way AI crawlers do.</p>
13+
</div>
14+
<div>
15+
<div className="font-semibold text-[var(--color-fg)]">Product</div>
16+
<ul className="mt-2 space-y-1">
17+
<li><Link href="/pricing">Pricing</Link></li>
18+
<li><Link href="/lead-generation">Lead generation</Link></li>
19+
<li><Link href="/slop">Slop Score</Link></li>
20+
<li><Link href="/get-guide">Get guide</Link></li>
21+
<li><Link href="/recent">Recent scans</Link></li>
22+
<li><Link href="/blog">Blog</Link></li>
23+
</ul>
24+
</div>
25+
<div>
26+
<div className="font-semibold text-[var(--color-fg)]">Company</div>
27+
<ul className="mt-2 space-y-1">
28+
<li><Link href="/about">About</Link></li>
29+
<li><Link href="/press">Press &amp; News</Link></li>
30+
<li><Link href="/bot">Bot info</Link></li>
31+
</ul>
32+
</div>
33+
<div>
34+
<div className="font-semibold text-[var(--color-fg)]">Partners</div>
35+
<ul className="mt-2 space-y-1">
36+
<li>
37+
<a href="https://vu1nz.com" target="_blank" rel="noreferrer">
38+
Vu1nz scanner
39+
</a>
40+
</li>
41+
</ul>
42+
</div>
43+
<div>
44+
<div className="font-semibold text-[var(--color-fg)]">Legal</div>
45+
<ul className="mt-2 space-y-1">
46+
<li><Link href="/privacy">Privacy</Link></li>
47+
<li><Link href="/terms">Terms</Link></li>
48+
</ul>
49+
</div>
3850
</div>
39-
<div>
40-
<div className="font-semibold text-[var(--color-fg)]">Partners</div>
41-
<ul className="mt-2 space-y-1">
42-
<li>
43-
<a href="https://vu1nz.com" target="_blank" rel="noreferrer">
44-
Vu1nz scanner
45-
</a>
46-
</li>
47-
</ul>
48-
</div>
49-
<div>
50-
<div className="font-semibold text-[var(--color-fg)]">Legal</div>
51-
<ul className="mt-2 space-y-1">
52-
<li><Link href="/privacy">Privacy</Link></li>
53-
<li><Link href="/terms">Terms</Link></li>
54-
</ul>
55-
</div>
56-
</div>
57-
<div className="mx-auto max-w-6xl px-4 sm:px-6 pb-8 text-xs text-[var(--color-muted)]">
58-
© {new Date().getFullYear()} CrawlProof
51+
</footer>
52+
<div className="text-[var(--color-muted)]">
53+
<Footer site="https://crawlproof.com/" />
5954
</div>
60-
</footer>
55+
</>
6156
);
6257
}

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"@modelcontextprotocol/sdk": "^1.26.0",
3131
"@profullstack/autoblog": "github:profullstack/autoblog#75e54af",
3232
"@profullstack/coinpay": "^0.9.0",
33+
"@profullstack/footer": "latest",
3334
"@profullstack/hqtui": "^0.6.3",
3435
"@profullstack/referrals": "^0.1.0",
3536
"@profullstack/stack": "^0.1.3",

0 commit comments

Comments
 (0)