2023-11-23 17:06:58 +03:00

63 lines
1.4 KiB
TypeScript

import './globals.css';
import { Auth, Logo } from '@/components/layout';
import { Controls } from '@/components/layout/controls';
import type { Metadata } from 'next';
import localFont from 'next/font/local';
import { Content, Header } from 'ui';
const inter = localFont({
src: [
{
path: '../public/fonts/Inter/Inter-VariableFont_slnt,wght.ttf',
},
],
});
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>
<Controls />
{children}
</Content>
</body>
</html>
);
}