mirror of
https://github.com/Dokploy/website.git
synced 2026-07-02 20:45:25 +02:00
- Added a new SearchDialog component to enhance user experience for searching documentation. - Updated the layout to include the SearchDialog within the RootProvider for improved accessibility. - Enhanced the search API to support tag filtering based on the first slug, allowing for more refined search results.
43 lines
1.2 KiB
TypeScript
43 lines
1.2 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';
|
|
import SearchDialog from '@/components/SearchDialog';
|
|
|
|
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>
|
|
);
|
|
}
|