Files
website/apps/docs/app/layout.tsx
Mauricio Siu 0b52b9b1af docs: refactor code for consistency and readability
- Standardized import statements across various components to use double quotes for consistency.
- Updated component files to ensure proper formatting and adherence to coding standards.
- Enhanced overall code readability by aligning code structure and improving comment clarity.
- Made minor adjustments to ensure all components follow the same coding conventions, improving maintainability.
2025-12-07 18:13:12 -06:00

51 lines
1.2 KiB
TypeScript

import { RootProvider } from "fumadocs-ui/provider/next";
import "./global.css";
import SearchDialog from "@/components/SearchDialog";
import { GoogleAnalytics } from "@next/third-parties/google";
import type { Metadata } from "next";
import { Inter } from "next/font/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
search={{
SearchDialog,
}}
>
{children}
</RootProvider>
</body>
</html>
);
}