27 lines
649 B
TypeScript
27 lines
649 B
TypeScript
import './globals.css';
|
|
import { Auth, Logo } from '@/components/layout';
|
|
import type { Metadata } from 'next';
|
|
import { Inter } from 'next/font/google';
|
|
import { Header } from 'ui';
|
|
|
|
const inter = Inter({ subsets: ['latin'] });
|
|
|
|
export const metadata: Metadata = {
|
|
description: 'Generated by create next app',
|
|
title: 'Create Next App',
|
|
};
|
|
|
|
export default function RootLayout({ children }: { readonly children: React.ReactNode }) {
|
|
return (
|
|
<html lang="ru" translate="no">
|
|
<body className={inter.className}>
|
|
<Header>
|
|
<Logo />
|
|
<Auth />
|
|
</Header>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|