Files
website/apps/docs-new/app/layout.tsx
Mauricio Siu 8f334c6d1f chore: update Next.js and third-party dependencies
- Upgraded Next.js from version 16.0.1 to 16.0.7 in package.json and pnpm-lock.yaml.
- Added @next/third-parties dependency at version 16.0.7 to enhance third-party integration.
- Integrated Google Analytics component from @next/third-parties into the layout for improved tracking.
2025-12-07 06:14:23 -06:00

36 lines
1.1 KiB
TypeScript

import { RootProvider } from 'fumadocs-ui/provider/next';
import './global.css';
import { Inter } from 'next/font/google';
import type { Metadata } from 'next';
import { GoogleAnalytics } from '@next/third-parties/google';
const inter = Inter({
subsets: ['latin'],
});
export const metadata: Metadata = {
title: {
default: 'Dokploy Documentation',
template: '%s | Dokploy',
},
description: 'Open Source Alternative to Vercel, Netlify and Heroku. Deploy your applications with ease.',
keywords: ['dokploy', 'deployment', 'docker', 'hosting', 'devops', 'open source'],
authors: [{ name: 'Dokploy Team' }],
openGraph: {
title: 'Dokploy Documentation',
description: 'Open Source Alternative to Vercel, Netlify and Heroku',
type: 'website',
},
};
export default function Layout({ children }: LayoutProps<'/'>) {
return (
<html lang="en" className={inter.className} suppressHydrationWarning>
<body className="flex flex-col min-h-screen">
<GoogleAnalytics gaId="G-HZ71HG38HN" />
<RootProvider>{children}</RootProvider>
</body>
</html>
);
}