mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
Removed standalone apps (content absorbed into main docs): - apps/explorer-docs/ - apps/hsm-docs/ - apps/indexer-docs/ Added new standalone apps: - apps/bootnode-docs/ — Blockchain infrastructure - apps/dns-docs/ — DNS/domain management Expanded main docs (apps/docs/): - New Infrastructure section: tasks, functions, pubsub, o11y, zt - New Web3 section: services/web3/ (7 pages) - Services meta.json: 40+ services in 7 categories S3 domain consolidation: - hanzo.space → s3.hanzo.ai - s3.hanzo.space → s3-api.hanzo.ai Updated footer with s3.hanzo.ai link
27 lines
626 B
TypeScript
27 lines
626 B
TypeScript
import type { Metadata } from 'next';
|
|
|
|
export const baseUrl = new URL(
|
|
process.env.NEXT_PUBLIC_SITE_URL ?? 'https://docs.bootno.de',
|
|
);
|
|
|
|
export function createMetadata(override: Metadata): Metadata {
|
|
return {
|
|
...override,
|
|
openGraph: {
|
|
title: override.title ?? undefined,
|
|
description: override.description ?? undefined,
|
|
url: baseUrl,
|
|
siteName: 'Bootnode Docs',
|
|
type: 'website',
|
|
...override.openGraph,
|
|
},
|
|
twitter: {
|
|
card: 'summary_large_image',
|
|
site: '@bootnode',
|
|
creator: '@bootnode',
|
|
...override.twitter,
|
|
},
|
|
metadataBase: baseUrl,
|
|
};
|
|
}
|