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
51 lines
1.5 KiB
TypeScript
51 lines
1.5 KiB
TypeScript
import './global.css';
|
|
import type { Viewport } from 'next';
|
|
import { baseUrl, createMetadata } from '@/lib/metadata';
|
|
import { Body } from '@/app/layout.client';
|
|
import { Provider } from './provider';
|
|
import type { ReactNode } from 'react';
|
|
import { Geist, Geist_Mono } from 'next/font/google';
|
|
import { TreeContextProvider } from '@hanzo/docs/ui/contexts/tree';
|
|
import { source } from '@/lib/source';
|
|
import { NextProvider } from '@hanzo/docs/core/framework/next';
|
|
|
|
export const metadata = createMetadata({
|
|
title: {
|
|
template: '%s | Bootnode Docs',
|
|
default: 'Bootnode - Blockchain Infrastructure Platform',
|
|
},
|
|
description: 'Complete blockchain development platform. Multi-chain RPC, Token API, NFT API, Smart Wallets, Fleet Management, and Infrastructure Services.',
|
|
metadataBase: baseUrl,
|
|
});
|
|
|
|
const geist = Geist({
|
|
variable: '--font-sans',
|
|
subsets: ['latin'],
|
|
});
|
|
|
|
const mono = Geist_Mono({
|
|
variable: '--font-mono',
|
|
subsets: ['latin'],
|
|
});
|
|
|
|
export const viewport: Viewport = {
|
|
themeColor: [
|
|
{ media: '(prefers-color-scheme: dark)', color: '#0A0A0A' },
|
|
{ media: '(prefers-color-scheme: light)', color: '#0A0A0A' },
|
|
],
|
|
};
|
|
|
|
export default function RootLayout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<html lang="en" className={`${geist.variable} ${mono.variable}`} suppressHydrationWarning>
|
|
<Body>
|
|
<NextProvider>
|
|
<TreeContextProvider tree={source.getPageTree()}>
|
|
<Provider>{children}</Provider>
|
|
</TreeContextProvider>
|
|
</NextProvider>
|
|
</Body>
|
|
</html>
|
|
);
|
|
}
|