mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
New docs site for Hanzo Base following the monorepo docs framework pattern: - Landing page with feature grid, quick start, and architecture highlights - 9 documentation sections: getting-started, collections, auth, realtime, file-storage, cloud-functions, SDK (JS + Go), and deployment - K8s manifests for base.hanzo.ai (static docs) and api.base.hanzo.ai (multi-tenant Base platform with IAM/KMS integration) - Dockerfile with nginx for static export serving - Monochrome Hanzo theme via neutral.css + Geist fonts
27 lines
624 B
TypeScript
27 lines
624 B
TypeScript
import type { Metadata } from 'next';
|
|
|
|
export const baseUrl = new URL(
|
|
process.env.NEXT_PUBLIC_SITE_URL ?? 'https://base.hanzo.ai',
|
|
);
|
|
|
|
export function createMetadata(override: Metadata): Metadata {
|
|
return {
|
|
...override,
|
|
openGraph: {
|
|
title: override.title ?? undefined,
|
|
description: override.description ?? undefined,
|
|
url: baseUrl,
|
|
siteName: 'Hanzo Base',
|
|
type: 'website',
|
|
...override.openGraph,
|
|
},
|
|
twitter: {
|
|
card: 'summary_large_image',
|
|
site: '@hanikidev',
|
|
creator: '@hanikidev',
|
|
...override.twitter,
|
|
},
|
|
metadataBase: baseUrl,
|
|
};
|
|
}
|