Files
zeekay a9e0257f07 feat: add platform docs with full API reference
Adds the Hanzo Platform documentation app with 47 MDX pages covering:
- Getting Started (overview, quickstart, concepts, CLI)
- Deployments (Kubernetes, Docker Swarm, Compose, Git, Registry, Domains)
- Clusters (fleet, registration, provisioning, node pools)
- Virtual Machines (AWS, DigitalOcean, Hetzner, volumes, terminal)
- Access Control (organizations, roles, permissions, invitations)
- Pricing (plans, compute, storage)
- API Reference (authentication, organizations, clusters, containers, VMs)

Also adds team app and K8s deployment manifest for platform-site.
2026-02-26 22:05:27 -08:00

27 lines
632 B
TypeScript

import type { Metadata } from 'next';
export const baseUrl = new URL(
process.env.NEXT_PUBLIC_SITE_URL ?? 'https://platform.hanzo.ai',
);
export function createMetadata(override: Metadata): Metadata {
return {
...override,
openGraph: {
title: override.title ?? undefined,
description: override.description ?? undefined,
url: baseUrl,
siteName: 'Hanzo Platform',
type: 'website',
...override.openGraph,
},
twitter: {
card: 'summary_large_image',
site: '@hanikidev',
creator: '@hanikidev',
...override.twitter,
},
metadataBase: baseUrl,
};
}