mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
- New visor-docs app: VM management landing + docs + pricing (41 files) - 6 VM tiers, GPU pricing, block storage - 11 MDX doc pages (providers, features, API) - K8s manifests + Dockerfile + nginx - Add /pricing page to platform site - Cloud VMs, K8s pods, Docker containers, AI models - Feature comparison table, enterprise CTA - Add Pricing nav link to platform layout - Fix platform Dockerfile to use simple nginx pattern
29 lines
761 B
TypeScript
29 lines
761 B
TypeScript
import type { Metadata } from 'next';
|
|
|
|
export const baseUrl = new URL(
|
|
process.env.NEXT_PUBLIC_SITE_URL ?? 'https://visor.hanzo.ai',
|
|
);
|
|
|
|
export function createMetadata(override: Metadata): Metadata {
|
|
return {
|
|
...override,
|
|
openGraph: {
|
|
title: override.title ?? undefined,
|
|
description: override.description ?? undefined,
|
|
url: baseUrl,
|
|
siteName: 'Hanzo Visor',
|
|
images: [{ url: '/og-image.svg', width: 1200, height: 630, alt: 'Hanzo Visor Documentation' }],
|
|
type: 'website',
|
|
...override.openGraph,
|
|
},
|
|
twitter: {
|
|
card: 'summary_large_image',
|
|
site: '@hanikidev',
|
|
creator: '@hanikidev',
|
|
images: ['/og-image.svg'],
|
|
...override.twitter,
|
|
},
|
|
metadataBase: baseUrl,
|
|
};
|
|
}
|