mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-27 09:19:53 +00:00
47 lines
1.5 KiB
TypeScript
47 lines
1.5 KiB
TypeScript
// Brand tokens load before the app's own sheet so the theme can override
|
|
// where the two meet.
|
|
import '@hanzo/brand/styles/variables.css';
|
|
import './global.css';
|
|
import type { Metadata, Viewport } from 'next';
|
|
import type { ReactNode } from 'react';
|
|
import { Zen, ZenMono } from '@hanzo/font';
|
|
import { Analytics } from '@hanzo/docs-analytics';
|
|
import { Footer } from '@/components/footer';
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Hanzo Team — Project Management & Collaboration',
|
|
description:
|
|
'All-in-one project management, issue tracking, knowledge base, and real-time collaboration for modern teams.',
|
|
openGraph: {
|
|
title: 'Hanzo Team — Project Management & Collaboration',
|
|
description:
|
|
'All-in-one project management with issue tracking, knowledge base, and real-time collaboration.',
|
|
url: 'https://hanzo.team',
|
|
siteName: 'Hanzo Team',
|
|
type: 'website',
|
|
},
|
|
twitter: {
|
|
card: 'summary_large_image',
|
|
site: '@hanikidev',
|
|
creator: '@hanikidev',
|
|
},
|
|
metadataBase: new URL('https://hanzo.team'),
|
|
};
|
|
|
|
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={`${Zen.variable} ${ZenMono.variable} dark`}>
|
|
<body className="antialiased">{children}
|
|
<Footer />
|
|
<Analytics product="team" /></body>
|
|
</html>
|
|
);
|
|
}
|