mirror of
https://github.com/Dokploy/website.git
synced 2026-06-15 20:25:25 +02:00
- Added new dependencies including @radix-ui/react-dropdown-menu, class-variance-authority, clsx, tailwind-merge, and tw-animate-css. - Introduced new JSON configuration for components and updated layout with logo and navigation links. - Created new MDX files for remote server documentation, including setup instructions and security recommendations. - Updated global CSS to include new styles and themes. - Removed outdated home layout and page components to streamline the documentation structure.
27 lines
692 B
TypeScript
27 lines
692 B
TypeScript
import defaultMdxComponents from 'fumadocs-ui/mdx';
|
|
import type { MDXComponents } from 'mdx/types';
|
|
import { ImageZoom } from 'fumadocs-ui/components/image-zoom';
|
|
import { Callout } from 'fumadocs-ui/components/callout';
|
|
|
|
export function getMDXComponents(components?: MDXComponents): MDXComponents {
|
|
return {
|
|
...defaultMdxComponents,
|
|
ImageZoom,
|
|
Callout,
|
|
...components,
|
|
p: ({ children }) => (
|
|
<p className="text-[#3E4342] dark:text-muted-foreground">
|
|
{children}
|
|
</p>
|
|
),
|
|
li: ({ children, id }) => (
|
|
<li
|
|
{...{ id }}
|
|
className="text-[#3E4342] dark:text-muted-foreground"
|
|
>
|
|
{children}
|
|
</li>
|
|
),
|
|
};
|
|
}
|