37 lines
954 B
TypeScript
37 lines
954 B
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',
|
|
themeColor: '#7444FD',
|
|
icons: {
|
|
icon: '/favicon.png',
|
|
shortcut: '/favicon.png',
|
|
apple: '/favicon.png',
|
|
},
|
|
};
|
|
|
|
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>
|
|
);
|
|
}
|