Files
zeekay d61c5f219e Hanzo Team docs: port + rebrand from upstream, Fumadocs static site
- Standalone Fumadocs (Next 16 static export) app, same stack as hanzo-docs org
- 79 pages ported from upstream Huly docs, fully rebranded to Hanzo Team
- Removed lead/inventory; added Account & billing (orgs/workspaces, usage, agents)
- Login updated to Continue with Hanzo (hanzo.id) + Google/GitHub + email
- CF Pages deploy workflow (org CF creds) -> docs.hanzo.team
2026-07-21 10:34:45 -07:00

25 lines
617 B
TypeScript

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