mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
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.
27 lines
632 B
TypeScript
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,
|
|
};
|
|
}
|