uchill/front_material/app/layout.tsx

49 lines
1.1 KiB
TypeScript

import type { Metadata } from 'next';
import { Providers } from './providers';
import '@/styles/globals.css';
import '@/styles/material-theme.css';
export const metadata: Metadata = {
title: 'Uchill Platform',
description: 'Образовательная платформа',
viewport: 'width=device-width, initial-scale=1, maximum-scale=5, viewport-fit=cover',
themeColor: '#7444FD',
manifest: '/manifest.json',
icons: {
icon: '/icon.svg',
shortcut: '/icon.svg',
apple: '/icon.svg',
},
appleWebApp: {
capable: true,
statusBarStyle: 'black-translucent',
title: 'Uchill',
},
formatDetection: {
telephone: false,
},
other: {
'mobile-web-app-capable': 'yes',
},
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="ru" suppressHydrationWarning>
<head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
</head>
<body>
<Providers>
{children}
</Providers>
</body>
</html>
);
}