Files
zeekay f8cde1decb feat(zt-docs): add Hanzo Zero Trust documentation site
Complete documentation app for the Hanzo ZT SDK suite at zerotrust.hanzo.ai:
- Landing page with hero, feature cards, SDK grid, and architecture diagram
- Overview: design principles, components, SDK comparison matrix
- Getting Started: multi-language install, auth setup, connect examples
- Architecture: network topology, transport stack, auth flow, billing, ZAP framing
- Integration: ZAP transport, MCP, dev CLI, gateway, tunnel
- SDK docs for all 6 languages: Rust (436L), Go (902L), TypeScript (908L),
  Python (606L), C++ (587L), C (655L)
- Static export builds to 16 pages, runs on port 3004
2026-02-22 14:56:02 -08:00

31 lines
736 B
TypeScript

import type { MetadataRoute } from 'next';
import { source } from '@/lib/source';
import { baseUrl } from '@/lib/metadata';
export const dynamic = 'force-static';
export default function sitemap(): MetadataRoute.Sitemap {
const url = (path: string) => new URL(path, baseUrl).toString();
return [
{
url: url('/'),
changeFrequency: 'monthly',
priority: 1,
},
{
url: url('/docs'),
changeFrequency: 'weekly',
priority: 0.9,
},
...source.getPages().map((page) => ({
url: url(page.url),
lastModified: page.data.lastModified
? new Date(page.data.lastModified)
: undefined,
changeFrequency: 'weekly' as const,
priority: 0.8,
})),
];
}