mirror of
https://github.com/hanzo-docs/team.git
synced 2026-10-30 18:59:50 +00:00
- 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
25 lines
617 B
TypeScript
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,
|
|
};
|
|
}
|