* 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.
32 lines
1009 B
TypeScript
32 lines
1009 B
TypeScript
import { AuthProvider } from '@/providers/auth';
|
|
import { ErrorProvider } from '@/providers/error';
|
|
import { QueryProvider } from '@/providers/query';
|
|
import { ThemeProvider } from '@/providers/theme-provider';
|
|
import '@repo/ui/globals.css';
|
|
import { cn } from '@repo/ui/lib/utils';
|
|
import { type Metadata } from 'next';
|
|
import { Inter } from 'next/font/google';
|
|
import { type PropsWithChildren } from 'react';
|
|
|
|
const inter = Inter({ subsets: ['latin', 'cyrillic'] });
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Запишись.онлайн',
|
|
};
|
|
|
|
export default async function RootLayout({ children }: Readonly<PropsWithChildren>) {
|
|
return (
|
|
<html lang="ru">
|
|
<body className={cn(inter.className, 'flex min-h-screen flex-col bg-app-background')}>
|
|
<ErrorProvider>
|
|
<ThemeProvider>
|
|
<AuthProvider>
|
|
<QueryProvider>{children}</QueryProvider>
|
|
</AuthProvider>
|
|
</ThemeProvider>
|
|
</ErrorProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|