* convert /documents/privacy to .mdx * fix: update h2 styling in MDX components - Changed h2 font weight from bold to semibold for improved visual hierarchy in rendered content. * fix build * feat: implement public offer document and layout - Added a new layout component for the public offer document. - Created the public offer page in MDX format, detailing terms and conditions for service usage. - Removed the old offer page in TSX format. - Updated links for offer and support to a new shared component for better maintainability. - Integrated Tailwind CSS typography plugin for improved text styling. * fix: correct formatting in privacy policy terms section - Adjusted the formatting of terms and definitions in the privacy policy to ensure consistent presentation and clarity. - Removed unnecessary hyphenation in the definition of "Разработчик" and "Политика" for improved readability.
19 lines
498 B
TypeScript
19 lines
498 B
TypeScript
import { Container } from '@/components/layout';
|
|
import { PageHeader } from '@/components/navigation';
|
|
import { type PropsWithChildren } from 'react';
|
|
|
|
export function DocumentsLayout({
|
|
children,
|
|
title,
|
|
}: Readonly<PropsWithChildren> & { readonly title: string }) {
|
|
return (
|
|
<>
|
|
<PageHeader title={title} />
|
|
<Container className="prose prose-neutral md:prose-lg dark:prose-invert max-w-none">
|
|
{children}
|
|
</Container>
|
|
<div className="h-10" />
|
|
</>
|
|
);
|
|
}
|