mirror of
https://github.com/hanzo-docs/team.git
synced 2026-10-30 18:59:50 +00:00
- Standalone Fumadocs (Next 16 static export) app, same stack as hanzo-docs org - 79 pages ported from upstream Huly docs, fully rebranded to Hanzo Team - Removed lead/inventory; added Account & billing (orgs/workspaces, usage, agents) - Login updated to Continue with Hanzo (hanzo.id) + Google/GitHub + email - CF Pages deploy workflow (org CF creds) -> docs.hanzo.team
42 lines
1.2 KiB
TypeScript
42 lines
1.2 KiB
TypeScript
import './global.css';
|
|
import type { Viewport } from 'next';
|
|
import { baseUrl, createMetadata } from '@/lib/metadata';
|
|
import { RootProvider } from 'fumadocs-ui/provider/next';
|
|
import type { ReactNode } from 'react';
|
|
|
|
export const metadata = createMetadata({
|
|
title: {
|
|
template: '%s | Hanzo Team',
|
|
default: 'Hanzo Team Documentation',
|
|
},
|
|
description:
|
|
'Hanzo Team is the all-in-one workspace for project tracking, documents, chat, planning, and drive — one place to run your team.',
|
|
metadataBase: baseUrl,
|
|
});
|
|
|
|
export const viewport: Viewport = {
|
|
themeColor: [
|
|
{ media: '(prefers-color-scheme: dark)', color: '#0a0a0a' },
|
|
{ media: '(prefers-color-scheme: light)', color: '#ffffff' },
|
|
],
|
|
};
|
|
|
|
export default function Layout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<html lang="en" className="dark" suppressHydrationWarning>
|
|
<head>
|
|
<script
|
|
defer
|
|
src="https://analytics.hanzo.ai/script.js"
|
|
data-website-id="hanzo-team-docs"
|
|
data-do-not-track="true"
|
|
data-exclude-search="true"
|
|
/>
|
|
</head>
|
|
<body className="antialiased">
|
|
<RootProvider search={{ options: { type: 'static' } }}>{children}</RootProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|