Files
zeekay 5815ee6cf7 feat: add Hanzo Insights landing page + docs app
- New insights-docs app at apps/insights-docs/ (port 3006, static export)
- 712-line landing page with 8 sections: hero, products, all 45 features,
  why self-host, tech stack, quick deploy, ecosystem, CTA
- 16 MDX content pages: getting-started, products, API, self-hosting, privacy
- Deploy workflow: .github/workflows/deploy-insights-docs.yml (Cloudflare Pages)
- Analytics tracking UUID: ebdee691 (analytics.hanzo.ai)
- Build verified: 9 routes, static export, 20s build time
2026-02-28 12:35:10 -08:00

27 lines
628 B
TypeScript

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