From b278b2066589e26b0308a22b14c5faa15876008f Mon Sep 17 00:00:00 2001 From: Andrew Anderson Date: Thu, 24 Sep 2026 08:53:05 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20footer:=20replace=20Console=20le?= =?UTF-8?q?ftovers=20with=20Hive=20Commons=20links?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Andrew Anderson --- messages/en.json | 4 +- messages/it.json | 4 +- src/__tests__/DocsFooter.copy.test.ts | 36 ++++ src/app/docs/layout.tsx | 4 +- src/components/docs/DocsFooter.tsx | 251 +++++++++++++++++++------- 5 files changed, 227 insertions(+), 72 deletions(-) create mode 100644 src/__tests__/DocsFooter.copy.test.ts diff --git a/messages/en.json b/messages/en.json index f811d96..c241239 100644 --- a/messages/en.json +++ b/messages/en.json @@ -992,8 +992,8 @@ } }, "metadata": { - "title": "Hive - AI-Powered Multi-Cluster Kubernetes Dashboard", - "description": "Simplify multi-cluster Kubernetes operations with intelligent workload distribution, unified management, and seamless orchestration across any infrastructure." + "title": "Hive Commons - AI Agent Collaboration Projects", + "description": "Explore Hive Commons projects that help AI coding agents and maintainers work together with governance, auditability, and accountability." }, "notFound": { "description": "Sorry, the page you are looking for does not exist.", diff --git a/messages/it.json b/messages/it.json index 2d46b38..0f7eaa6 100644 --- a/messages/it.json +++ b/messages/it.json @@ -949,8 +949,8 @@ } }, "metadata": { - "title": "Hive Commons - Orchestrazione Kubernetes Multi‑Cluster", - "description": "Semplifica le operazioni Kubernetes multi‑cluster con distribuzione intelligente dei workload, gestione unificata e orchestrazione trasparente su qualsiasi infrastruttura." + "title": "Hive Commons - Progetti per agenti AI", + "description": "Scopri i progetti Hive Commons che aiutano agenti di coding AI e maintainer a collaborare con governance, auditabilità e responsabilità." }, "notFound": { "description": "Spiacenti, la pagina che stai cercando non esiste.", diff --git a/src/__tests__/DocsFooter.copy.test.ts b/src/__tests__/DocsFooter.copy.test.ts new file mode 100644 index 0000000..20930b8 --- /dev/null +++ b/src/__tests__/DocsFooter.copy.test.ts @@ -0,0 +1,36 @@ +import fs from 'fs' +import path from 'path' +import { describe, expect, it } from 'vitest' + +const footerPath = path.join(process.cwd(), 'src/components/docs/DocsFooter.tsx') + +describe('DocsFooter copy and links', () => { + const footer = fs.readFileSync(footerPath, 'utf8') + + it('uses Hive Commons project copy instead of KubeStellar Console leftovers', () => { + expect(footer).toContain('Hive Commons is an open source home for projects') + expect(footer).not.toMatch(/Console|MCP server|A2A agent|Kubernetes orchestration|multi-cluster management/i) + }) + + it('links to Hive Commons projects and community resources', () => { + expect(footer).toContain('href="/docs/hive/overview/introduction"') + expect(footer).toContain('href="/docs/hotshot/overview/introduction"') + expect(footer).toContain('href="/docs/pluk/overview/introduction"') + expect(footer).toContain('href="/docs/rationguard/overview/introduction"') + expect(footer).toContain('href="/docs/promptargs/overview/introduction"') + expect(footer).toContain('href="/docs/spektacular/overview/introduction"') + expect(footer).toContain('href="/docs/dibs/overview/introduction"') + expect(footer).toContain('href="/docs/community/meetings"') + expect(footer).toContain('href="https://hive.hivecommons.dev"') + expect(footer).toContain('href="https://hivecommons.dev/discord"') + expect(footer).toContain('href="https://hivecommons.dev/tv"') + }) + + it('keeps social links accessible and removes unsupported networks', () => { + expect(footer).toContain('aria-label="Hive Commons on GitHub"') + expect(footer).toContain('aria-label="Hive Commons on YouTube"') + expect(footer).toContain('aria-label="Hive Commons Discord"') + expect(footer).not.toContain('aria-label="X (Twitter)"') + expect(footer).not.toContain('aria-label="LinkedIn"') + }) +}) diff --git a/src/app/docs/layout.tsx b/src/app/docs/layout.tsx index 0cbb5cc..417d2b2 100644 --- a/src/app/docs/layout.tsx +++ b/src/app/docs/layout.tsx @@ -26,9 +26,9 @@ const jetbrainsMono = JetBrains_Mono({ }) const SITE_URL = 'https://docs.hivecommons.dev' -const SITE_TITLE = 'Hive Commons Docs - Autonomous AI Agent Fleets' +const SITE_TITLE = 'Hive Commons Docs - AI Agent Collaboration Projects' const SITE_DESCRIPTION = - 'Official documentation for the Hive Commons projects: Hive autonomous agent fleets, hotshot, and pluk.' + 'Documentation for Hive Commons projects that help AI coding agents and maintainers work together: Hive, Spektacular, hotshot, pluk, promptargs, rationguard, and dibs.' export const metadata: Metadata = { title: { diff --git a/src/components/docs/DocsFooter.tsx b/src/components/docs/DocsFooter.tsx index 682936d..54e5960 100644 --- a/src/components/docs/DocsFooter.tsx +++ b/src/components/docs/DocsFooter.tsx @@ -84,8 +84,9 @@ export default function Footer() { />

- AI-enabled multi-cluster management ecosystem featuring Console, - MCP server, and A2A agent for seamless Kubernetes orchestration. + Hive Commons is an open source home for projects that help AI coding + agents and maintainers work together with governance, auditability, + and accountability.

@@ -136,38 +137,17 @@ export default function Footer() {

- AI-enabled multi-cluster management ecosystem featuring Console, - MCP server, and A2A agent for seamless Kubernetes orchestration. + Hive Commons is an open source home for projects that help AI coding + agents and maintainers work together with governance, auditability, + and accountability.

- - - - - @@ -228,93 +212,226 @@ export default function Footer() {
- {/* Navigation Links Container - 3 columns on mobile */} -
- {/* Docs Links */} + {/* Navigation Links Container */} +
+ {/* Project Links */}

- Docs + Projects

  • - Console + Hive
  • - Quick Start + hotshot
  • - + + pluk +
  • + rationguard + +
  • +
  • + + promptargs + +
  • +
  • + - MCP Server + Spektacular + +
  • +
  • + + dibs
- {/* Getting Started Links */} + {/* Get Started Links */}

- Getting Started + Get started

  • - + + Hive getting started +
  • - Contributor Ladder + What is Hive Commons?
  • - How to Contribute + Join Hive Commons
  • +
  • + + Contributing + +
  • +
+
+ + {/* Community Links */} +
+

+ Community +

+
@@ -328,7 +445,7 @@ export default function Footer() {