36 lines
950 B
TypeScript
36 lines
950 B
TypeScript
import type { Metadata } from 'next';
|
|
import { Inter } from 'next/font/google';
|
|
|
|
import { Providers } from '@/shared/providers/providers';
|
|
|
|
import { Footer } from '@/widgets/footer';
|
|
import { Header } from '@/widgets/header';
|
|
|
|
import './globals.css';
|
|
|
|
const inter = Inter({ subsets: ['latin', 'cyrillic'] });
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'GasNetwork - Сеть заправок в Таджикистане',
|
|
description:
|
|
'Качественное топливо, удобное расположение и отличный сервис для наших клиентов',
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang='en' suppressHydrationWarning>
|
|
<body className={`${inter.className} antialiased`}>
|
|
<Providers>
|
|
<Header />
|
|
{children}
|
|
<Footer />
|
|
</Providers>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|