2023-11-09 20:59:20 +03:00

53 lines
1.2 KiB
TypeScript

import './globals.css';
import { Auth, Logo } from '@/components/layout';
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import { Content, Header } from 'ui';
const inter = Inter({ subsets: ['latin'] });
export const metadata: Metadata = {
description: 'External | Эволюция',
icons: {
apple: '/apple-touch-icon.png',
icon: '/favicon.ico',
other: [
{
rel: 'icon',
sizes: '32x32',
type: 'image/png',
url: '/favicon-32x32.png',
},
{
rel: 'icon',
sizes: '16x16',
type: 'image/png',
url: '/favicon-16x16.png',
},
{
rel: 'mask-icon',
url: '/safari-pinned-tab.svg',
},
],
},
title: 'External | Эволюция',
};
export default function RootLayout({ children }: { readonly children: React.ReactNode }) {
return (
<html lang="ru" translate="no">
<head>
<meta charSet="utf-8" />
<meta name="theme-color" content="#000000" />
</head>
<body className={inter.className}>
<Header>
<Logo />
<Auth />
</Header>
<Content>{children}</Content>
</body>
</html>
);
}